Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1OptimizedStatsNode
- Inherits:
-
Object
- Object
- Google::Apis::ApigeeV1::GoogleCloudApigeeV1OptimizedStatsNode
- 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
Overview
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
-
#data ⇒ Array<Object>
Corresponds to the JSON property
data
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudApigeeV1OptimizedStatsNode
constructor
A new instance of GoogleCloudApigeeV1OptimizedStatsNode.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApigeeV1OptimizedStatsNode
Returns a new instance of GoogleCloudApigeeV1OptimizedStatsNode.
6991 6992 6993 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 6991 def initialize(**args) update!(**args) end |
Instance Attribute Details
#data ⇒ Array<Object>
Corresponds to the JSON property data
6989 6990 6991 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 6989 def data @data end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6996 6997 6998 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 6996 def update!(**args) @data = args[:data] if args.key?(:data) end |