AsyncQuery

JSON representation
{
  "self": string,
  "state": string,
  "created": string,
  "updated": string,
  "result": {
    object (Result)
  },
  "resultRows": string,
  "resultFileSize": string,
  "executionTime": string,
  "error": string,
  "queryParams": {
    object (QueryMetadata)
  },
  "reportDefinitionId": string,
  "name": string
}
Fields
state

string

Query state could be "enqueued", "running", "completed", "failed"

created

string

Creation time of the query

updated

string

Last updated timestamp for the query

result

object (Result)

Result is available only after the query is completed

resultRows

string (Int64Value format)

ResultRows is available only after the query is completed

resultFileSize

string

ResultFileSize is available only after the query is completed

executionTime

string

ExecutionTime is available only after the query is completed

error

string

Error is set when query fails

queryParams

object (QueryMetadata)

Contains information like metrics, dimenstions etc of the AsyncQuery

reportDefinitionId

string

Asynchronous Report ID.

name

string

Asynchronous Query Name.

Result

JSON representation
{
  "self": string,
  "expires": string
}
Fields
expires

string

Query result will be unaccessable after this time.