class Google::Apis::ApigeeV1::GoogleCloudApigeeV1AsyncQuery

Attributes

created[RW]

Creation time of the query. Corresponds to the JSON property `created` @return [String]

envgroup_hostname[RW]

Hostname is available only when query is executed at host level. Corresponds to the JSON property `envgroupHostname` @return [String]

error[RW]

Error is set when query fails. Corresponds to the JSON property `error` @return [String]

execution_time[RW]

ExecutionTime is available only after the query is completed. Corresponds to the JSON property `executionTime` @return [String]

name[RW]

Asynchronous Query Name. Corresponds to the JSON property `name` @return [String]

query_params[RW]

Contains information like metrics, dimenstions etc of the AsyncQuery. Corresponds to the JSON property `queryParams` @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1QueryMetadata]

report_definition_id[RW]

Asynchronous Report ID. Corresponds to the JSON property `reportDefinitionId` @return [String]

result[RW]

Result is available only after the query is completed. Corresponds to the JSON property `result` @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AsyncQueryResult]

result_file_size[RW]

ResultFileSize is available only after the query is completed. Corresponds to the JSON property `resultFileSize` @return [String]

result_rows[RW]

ResultRows is available only after the query is completed. Corresponds to the JSON property `resultRows` @return [Fixnum]

self[RW]

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` Corresponds to the JSON property `self` @return [String]

state[RW]

Query state could be “enqueued”, “running”, “completed”, “failed”. Corresponds to the JSON property `state` @return [String]

updated[RW]

Last updated timestamp for the query. Corresponds to the JSON property `updated` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/apigee_v1/classes.rb, line 1093
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/apigee_v1/classes.rb, line 1098
def update!(**args)
  @created = args[:created] if args.key?(:created)
  @envgroup_hostname = args[:envgroup_hostname] if args.key?(:envgroup_hostname)
  @error = args[:error] if args.key?(:error)
  @execution_time = args[:execution_time] if args.key?(:execution_time)
  @name = args[:name] if args.key?(:name)
  @query_params = args[:query_params] if args.key?(:query_params)
  @report_definition_id = args[:report_definition_id] if args.key?(:report_definition_id)
  @result = args[:result] if args.key?(:result)
  @result_file_size = args[:result_file_size] if args.key?(:result_file_size)
  @result_rows = args[:result_rows] if args.key?(:result_rows)
  @self = args[:self] if args.key?(:self)
  @state = args[:state] if args.key?(:state)
  @updated = args[:updated] if args.key?(:updated)
end