class Google::Apis::ApigeeV1::GoogleCloudApigeeV1QueryMetadata

Attributes

dimensions[RW]

Dimensions of the AsyncQuery. Corresponds to the JSON property `dimensions` @return [Array<String>]

end_timestamp[RW]

End timestamp of the query range. Corresponds to the JSON property `endTimestamp` @return [String]

metrics[RW]

Metrics of the AsyncQuery. Example: [“name:message_count,func:sum,alias: sum_message_count”] Corresponds to the JSON property `metrics` @return [Array<String>]

output_format[RW]

Output format. Corresponds to the JSON property `outputFormat` @return [String]

start_timestamp[RW]

Start timestamp of the query range. Corresponds to the JSON property `startTimestamp` @return [String]

time_unit[RW]

Query GroupBy time unit. Corresponds to the JSON property `timeUnit` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/apigee_v1/classes.rb, line 5471
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 5476
def update!(**args)
  @dimensions = args[:dimensions] if args.key?(:dimensions)
  @end_timestamp = args[:end_timestamp] if args.key?(:end_timestamp)
  @metrics = args[:metrics] if args.key?(:metrics)
  @output_format = args[:output_format] if args.key?(:output_format)
  @start_timestamp = args[:start_timestamp] if args.key?(:start_timestamp)
  @time_unit = args[:time_unit] if args.key?(:time_unit)
end