NOTE: Some aspects of this product are in Beta. The hybrid installation options are GA. To join the Beta program, reach out to your Apigee representative.

Method: organizations.environments.queries.list

Return a list of Asynchronous Queries

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The parent resource name. Must be of the form organizations/{org}/environments/{env}.

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

  • apigee.queries.list

Query parameters

Parameters
submittedBy

string

Filter response list by user who submitted queries.

status

string

Filter response list by asynchronous query status.

from

string

Filter response list by returning asynchronous queries that created after this date time. Time must be in ISO date-time format like '2011-12-03T10:15:30Z'.

to

string

Filter response list by returning asynchronous queries that created before this date time. Time must be in ISO date-time format like '2011-12-03T10:16:30Z'.

dataset

string

Filter response list by dataset.

Example: api, mint

inclQueriesWithoutReport

string

Flag to include asynchronous queries that don't have a report denifition.

Request body

The request body must be empty.

Response body

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

The response for queries.list.

JSON representation
{
  "queries": [
    {
      object (AsyncQuery)
    }
  ]
}
Fields
queries[]

object (AsyncQuery)

The asynchronous queries belong to requested resource name.

Authorization Scopes

Requires the following OAuth scope:

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