class Google::Apis::ApigeeV1::GoogleCloudApigeeV1OptimizedStatsResponse

This message type encapsulates a response format for Js Optimized Scenario.

Attributes

meta_data[RW]

This message type encapsulates additional information about query execution. Corresponds to the JSON property `metaData` @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Metadata]

result_truncated[RW]

This ia a boolean field to indicate if the results were truncated based on the limit parameter. Corresponds to the JSON property `resultTruncated` @return [Boolean]

result_truncated?[RW]

This ia a boolean field to indicate if the results were truncated based on the limit parameter. Corresponds to the JSON property `resultTruncated` @return [Boolean]

stats[RW]

This message type encapsulates a data node as represented below: ` “identifier” : ` “names”: [ “apiproxy” ], “values”: [ “sirjee” ] `, “metric”: [ ` “env”: “ prod”, “name”: “sum(message_count)”, “values”: [ 36.0 ] ` ] ` OR ` “env”: “ prod”, “name”: “sum(message_count)”, “values”: [ 36.0 ] ` Depending on whether a dimension is present in the query or not the data node type can be a simple metric value or dimension identifier with list of metrics. Corresponds to the JSON property `stats` @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1OptimizedStatsNode]

time_unit[RW]

This field contains a list of time unit values. Time unit refers to an epoch timestamp value. Corresponds to the JSON property `TimeUnit` @return [Array<Fixnum>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/apigee_v1/classes.rb, line 4944
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 4949
def update!(**args)
  @time_unit = args[:time_unit] if args.key?(:time_unit)
  @meta_data = args[:meta_data] if args.key?(:meta_data)
  @result_truncated = args[:result_truncated] if args.key?(:result_truncated)
  @stats = args[:stats] if args.key?(:stats)
end