Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1OptimizedStatsNode

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

Overview

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.

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

Returns a new instance of GoogleCloudApigeeV1OptimizedStatsNode.


3669
3670
3671
# File 'generated/google/apis/apigee_v1/classes.rb', line 3669

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

Instance Attribute Details

#dataArray<Object>

Corresponds to the JSON property data

Returns:

  • (Array<Object>)

3667
3668
3669
# File 'generated/google/apis/apigee_v1/classes.rb', line 3667

def data
  @data
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


3674
3675
3676
# File 'generated/google/apis/apigee_v1/classes.rb', line 3674

def update!(**args)
  @data = args[:data] if args.key?(:data)
end