Skip to main content

host_queries_result

Creates, updates, deletes, gets or lists a host_queries_result resource.

Overview

Namehost_queries_result
TypeResource
Idgoogle.apigee.host_queries_result

Fields

The following fields are returned by SELECT queries:

Successful response

NameDatatypeDescription
contentTypestringThe HTTP Content-Type header value specifying the content type of the body.
datastring (byte)The HTTP request/response body as raw binary.
extensionsarrayApplication specific response metadata. Must be set in the first response for streaming APIs.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
organizations_host_queries_get_resultselectorganizationsId, hostQueriesIdAfter the query is completed, use this API to retrieve the results. If the request succeeds, and there is a non-zero result set, the result is downloaded to the client as a zipped JSON file. The name of the downloaded file will be: OfflineQueryResult-.zip Example: OfflineQueryResult-9cfc0d85-0f30-46d6-ae6f-318d0cb961bd.zip

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
hostQueriesIdstring
organizationsIdstring

SELECT examples

After the query is completed, use this API to retrieve the results. If the request succeeds, and there is a non-zero result set, the result is downloaded to the client as a zipped JSON file. The name of the downloaded file will be: OfflineQueryResult-.zip Example: OfflineQueryResult-9cfc0d85-0f30-46d6-ae6f-318d0cb961bd.zip

SELECT
contentType,
data,
extensions
FROM google.apigee.host_queries_result
WHERE organizationsId = '{{ organizationsId }}' -- required
AND hostQueriesId = '{{ hostQueriesId }}' -- required;