Method: organizations.hostQueries.getResultView

HTTP request

GET https://apigee.googleapis.com/v1/{name=organizations/*/hostQueries/*/resultView}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. Name of the asynchronous query result view to get. Must be of the form organizations/{org}/queries/{queryId}/resultView.

Authorization requires the following IAM permission on the specified resource name:

  • apigee.hostqueries.get

Request body

The request body must be empty.

Response body

If successful, the response body contains data with the following structure:

JSON representation
{
  "metadata": {
    object (QueryMetadata)
  },
  "rows": array,
  "state": string,
  "code": integer,
  "error": string
}
Fields
metadata

object (QueryMetadata)

Metadata contains information like metrics, dimenstions etc of the AsyncQuery.

rows

array (ListValue format)

Rows of query result. Each row is a JSON object.

Example: {sum(message_count): 1, developerApp: "(not set)",…}

state

string

State of retrieving ResultView.

code

integer

Error code when there is a failure.

error

string

Error message when there is a failure.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform