class Google::Apis::ApigeeV1::GoogleCloudApigeeV1AsyncQuery
Attributes
Creation time of the query. Corresponds to the JSON property `created` @return [String]
Hostname is available only when query is executed at host level. Corresponds to the JSON property `envgroupHostname` @return [String]
Error is set when query fails. Corresponds to the JSON property `error` @return [String]
ExecutionTime is available only after the query is completed. Corresponds to the JSON property `executionTime` @return [String]
Asynchronous Query Name. Corresponds to the JSON property `name` @return [String]
Contains information like metrics, dimenstions etc of the AsyncQuery. Corresponds to the JSON property `queryParams` @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1QueryMetadata]
Asynchronous Report ID. Corresponds to the JSON property `reportDefinitionId` @return [String]
Result is available only after the query is completed. Corresponds to the JSON property `result` @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AsyncQueryResult]
ResultFileSize is available only after the query is completed. Corresponds to the JSON property `resultFileSize` @return [String]
ResultRows is available only after the query is completed. Corresponds to the JSON property `resultRows` @return [Fixnum]
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]
Query state could be “enqueued”, “running”, “completed”, “failed”. Corresponds to the JSON property `state` @return [String]
Last updated timestamp for the query. Corresponds to the JSON property `updated` @return [String]
Public Class Methods
# File lib/google/apis/apigee_v1/classes.rb, line 1093 def initialize(**args) update!(**args) end
Public Instance Methods
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