GetQueryResult constructor

const GetQueryResult({
  1. required String created,
  2. required String envgroupHostname,
  3. required String error,
  4. required String executionTime,
  5. required String name,
  6. required GoogleCloudApigeeV1QueryMetadataResponse queryParams,
  7. required String reportDefinitionId,
  8. required GoogleCloudApigeeV1AsyncQueryResultResponse result,
  9. required String resultFileSize,
  10. required String resultRows,
  11. required String self,
  12. required String state,
  13. required String updated,
})

Creates a new GetQueryResult. created Creation time of the query. envgroupHostname Hostname is available only when query is executed at host level. error Error is set when query fails. executionTime ExecutionTime is available only after the query is completed. name Asynchronous Query Name. queryParams Contains information like metrics, dimenstions etc of the AsyncQuery. reportDefinitionId Asynchronous Report ID. result Result is available only after the query is completed. resultFileSize ResultFileSize is available only after the query is completed. resultRows ResultRows is available only after the query is completed. self Self link of the query. Example: /organizations/myorg/environments/myenv/queries/9cfc0d85-0f30-46d6-ae6f-318d0cb961bd or following format if query is running at host level: /organizations/myorg/hostQueries/9cfc0d85-0f30-46d6-ae6f-318d0cb961bd state Query state could be "enqueued", "running", "completed", "failed". updated Last updated timestamp for the query.

Implementation

const GetQueryResult({
  required this.created,
  required this.envgroupHostname,
  required this.error,
  required this.executionTime,
  required this.name,
  required this.queryParams,
  required this.reportDefinitionId,
  required this.result,
  required this.resultFileSize,
  required this.resultRows,
  required this.self,
  required this.state,
  required this.updated,
});