Method: organizations.environments.queries.getResultView

HTTP request

GET https://apigee.googleapis.com/v1/{name=organizations/*/environments/*/queries/*/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}/environments/{env}/queries/{queryId}/resultView.

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": number,
  "error": string
}
Fields
metadata

object (QueryMetadata)

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

rows

array (ListValue format)

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

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

state

string

Output only. State of retrieving ResultView.

code

number

Output only. Error code when there is a failure.

error

string

Output only. Error message when there is a failure.

Authorization Scopes

Requires the following OAuth scope:

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