Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1QueryMetadata

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/apigee_v1/classes.rb,
lib/google/apis/apigee_v1/representations.rb,
lib/google/apis/apigee_v1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1QueryMetadata

Returns a new instance of GoogleCloudApigeeV1QueryMetadata.



9127
9128
9129
# File 'lib/google/apis/apigee_v1/classes.rb', line 9127

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#dimensionsArray<String>

Dimensions of the AsyncQuery. Corresponds to the JSON property dimensions

Returns:

  • (Array<String>)


9099
9100
9101
# File 'lib/google/apis/apigee_v1/classes.rb', line 9099

def dimensions
  @dimensions
end

#end_timestampString

End timestamp of the query range. Corresponds to the JSON property endTimestamp

Returns:

  • (String)


9104
9105
9106
# File 'lib/google/apis/apigee_v1/classes.rb', line 9104

def end_timestamp
  @end_timestamp
end

#metricsArray<String>

Metrics of the AsyncQuery. Example: ["name:message_count,func:sum,alias: sum_message_count"] Corresponds to the JSON property metrics

Returns:

  • (Array<String>)


9110
9111
9112
# File 'lib/google/apis/apigee_v1/classes.rb', line 9110

def metrics
  @metrics
end

#output_formatString

Output format. Corresponds to the JSON property outputFormat

Returns:

  • (String)


9115
9116
9117
# File 'lib/google/apis/apigee_v1/classes.rb', line 9115

def output_format
  @output_format
end

#start_timestampString

Start timestamp of the query range. Corresponds to the JSON property startTimestamp

Returns:

  • (String)


9120
9121
9122
# File 'lib/google/apis/apigee_v1/classes.rb', line 9120

def start_timestamp
  @start_timestamp
end

#time_unitString

Query GroupBy time unit. Corresponds to the JSON property timeUnit

Returns:

  • (String)


9125
9126
9127
# File 'lib/google/apis/apigee_v1/classes.rb', line 9125

def time_unit
  @time_unit
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9132
9133
9134
9135
9136
9137
9138
9139
# File 'lib/google/apis/apigee_v1/classes.rb', line 9132

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