Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1OptimizedStatsResponse
- Inherits:
-
Object
- Object
- Google::Apis::ApigeeV1::GoogleCloudApigeeV1OptimizedStatsResponse
- 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 response format for Js Optimized Scenario.
Instance Attribute Summary collapse
-
#meta_data ⇒ Google::Apis::ApigeeV1::GoogleCloudApigeeV1Metadata
This message type encapsulates additional information about query execution.
-
#result_truncated ⇒ Boolean
(also: #result_truncated?)
This ia a boolean field to indicate if the results were truncated based on the limit parameter.
-
#stats ⇒ Google::Apis::ApigeeV1::GoogleCloudApigeeV1OptimizedStatsNode
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. -
#time_unit ⇒ Array<Fixnum>
This field contains a list of time unit values.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudApigeeV1OptimizedStatsResponse
constructor
A new instance of GoogleCloudApigeeV1OptimizedStatsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApigeeV1OptimizedStatsResponse
Returns a new instance of GoogleCloudApigeeV1OptimizedStatsResponse.
4197 4198 4199 |
# File 'generated/google/apis/apigee_v1/classes.rb', line 4197 def initialize(**args) update!(**args) end |
Instance Attribute Details
#meta_data ⇒ Google::Apis::ApigeeV1::GoogleCloudApigeeV1Metadata
This message type encapsulates additional information about query execution.
Corresponds to the JSON property metaData
4178 4179 4180 |
# File 'generated/google/apis/apigee_v1/classes.rb', line 4178 def @meta_data end |
#result_truncated ⇒ Boolean Also known as: result_truncated?
This ia a boolean field to indicate if the results were truncated based on the
limit parameter.
Corresponds to the JSON property resultTruncated
4184 4185 4186 |
# File 'generated/google/apis/apigee_v1/classes.rb', line 4184 def result_truncated @result_truncated end |
#stats ⇒ Google::Apis::ApigeeV1::GoogleCloudApigeeV1OptimizedStatsNode
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
4195 4196 4197 |
# File 'generated/google/apis/apigee_v1/classes.rb', line 4195 def stats @stats end |
#time_unit ⇒ Array<Fixnum>
This field contains a list of time unit values. Time unit refers to an epoch
timestamp value.
Corresponds to the JSON property TimeUnit
4173 4174 4175 |
# File 'generated/google/apis/apigee_v1/classes.rb', line 4173 def time_unit @time_unit end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4202 4203 4204 4205 4206 4207 |
# File 'generated/google/apis/apigee_v1/classes.rb', line 4202 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 |