host_queries_result_view
Creates, updates, deletes, gets or lists a host_queries_result_view
resource.
Overview
Name | host_queries_result_view |
Type | Resource |
Id | google.apigee.host_queries_result_view |
Fields
The following fields are returned by SELECT
queries:
- organizations_host_queries_get_result_view
Successful response
Name | Datatype | Description |
---|---|---|
code | integer (int32) | Error code when there is a failure. |
error | string | Error message when there is a failure. |
metadata | object | Metadata contains information like metrics, dimenstions etc of the AsyncQuery. (id: GoogleCloudApigeeV1QueryMetadata) |
rows | array | Rows of query result. Each row is a JSON object. Example: {sum(message_count): 1, developer_app: "(not set)",…} |
state | string | State of retrieving ResultView. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
organizations_host_queries_get_result_view | select | organizationsId , 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.
Name | Datatype | Description |
---|---|---|
hostQueriesId | string | |
organizationsId | string |
SELECT
examples
- organizations_host_queries_get_result_view
Successful response
SELECT
code,
error,
metadata,
rows,
state
FROM google.apigee.host_queries_result_view
WHERE organizationsId = '{{ organizationsId }}' -- required
AND hostQueriesId = '{{ hostQueriesId }}' -- required;