Skip to main content

host_queries_result_view

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

Overview

Namehost_queries_result_view
TypeResource
Idgoogle.apigee.host_queries_result_view

Fields

The following fields are returned by SELECT queries:

Successful response

NameDatatypeDescription
codeinteger (int32)Error code when there is a failure.
errorstringError message when there is a failure.
metadataobjectMetadata contains information like metrics, dimenstions etc of the AsyncQuery. (id: GoogleCloudApigeeV1QueryMetadata)
rowsarrayRows of query result. Each row is a JSON object. Example: {sum(message_count): 1, developer_app: "(not set)",…}
statestringState of retrieving ResultView.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
organizations_host_queries_get_result_viewselectorganizationsId, hostQueriesId

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

Successful response

SELECT
code,
error,
metadata,
rows,
state
FROM google.apigee.host_queries_result_view
WHERE organizationsId = '{{ organizationsId }}' -- required
AND hostQueriesId = '{{ hostQueriesId }}' -- required;