Method: organizations.environments.queries.get

Get query status If the query is still in progress, the state is set to "running" After the query has completed successfully, state is set to "completed"

HTTP request

GET https://apigee.googleapis.com/v1/{name=organizations/*/environments/*/queries/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. Name of the asynchronous query to get. Must be of the form organizations/{org}/environments/{env}/queries/{queryId}.

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

  • apigee.queries.get

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of AsyncQuery.

Authorization scopes

Requires the following OAuth scope:

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