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

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1QueryMetadata

Returns a new instance of GoogleCloudApigeeV1QueryMetadata.


4149
4150
4151
# File 'generated/google/apis/apigee_v1/classes.rb', line 4149

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

Instance Attribute Details

#dimensionsArray<String>

Dimensions of the AsyncQuery. Corresponds to the JSON property dimensions

Returns:

  • (Array<String>)

4121
4122
4123
# File 'generated/google/apis/apigee_v1/classes.rb', line 4121

def dimensions
  @dimensions
end

#end_timestampString

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

Returns:

  • (String)

4126
4127
4128
# File 'generated/google/apis/apigee_v1/classes.rb', line 4126

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>)

4132
4133
4134
# File 'generated/google/apis/apigee_v1/classes.rb', line 4132

def metrics
  @metrics
end

#output_formatString

Output format. Corresponds to the JSON property outputFormat

Returns:

  • (String)

4137
4138
4139
# File 'generated/google/apis/apigee_v1/classes.rb', line 4137

def output_format
  @output_format
end

#start_timestampString

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

Returns:

  • (String)

4142
4143
4144
# File 'generated/google/apis/apigee_v1/classes.rb', line 4142

def start_timestamp
  @start_timestamp
end

#time_unitString

Query GroupBy time unit. Corresponds to the JSON property timeUnit

Returns:

  • (String)

4147
4148
4149
# File 'generated/google/apis/apigee_v1/classes.rb', line 4147

def time_unit
  @time_unit
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


4154
4155
4156
4157
4158
4159
4160
4161
# File 'generated/google/apis/apigee_v1/classes.rb', line 4154

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