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

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

Methods

NameAccessible byRequired ParamsDescription
organizations_host_queries_get_resultSELECThostQueriesId, organizationsIdAfter 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 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 hostQueriesId = '{{ hostQueriesId }}'
AND organizationsId = '{{ organizationsId }}';