Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1Stats
- Inherits:
-
Object
- Object
- Google::Apis::ApigeeV1::GoogleCloudApigeeV1Stats
- 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 stats response.
Instance Attribute Summary collapse
-
#environments ⇒ Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1StatsEnvironmentStats>
List of query results on the environment level.
-
#hosts ⇒ Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1StatsHostStats>
List of query results grouped by host.
-
#meta_data ⇒ Google::Apis::ApigeeV1::GoogleCloudApigeeV1Metadata
Encapsulates additional information about query execution.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudApigeeV1Stats
constructor
A new instance of GoogleCloudApigeeV1Stats.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApigeeV1Stats
Returns a new instance of GoogleCloudApigeeV1Stats.
12466 12467 12468 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 12466 def initialize(**args) update!(**args) end |
Instance Attribute Details
#environments ⇒ Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1StatsEnvironmentStats>
List of query results on the environment level.
Corresponds to the JSON property environments
12454 12455 12456 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 12454 def environments @environments end |
#hosts ⇒ Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1StatsHostStats>
List of query results grouped by host.
Corresponds to the JSON property hosts
12459 12460 12461 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 12459 def hosts @hosts end |
#meta_data ⇒ Google::Apis::ApigeeV1::GoogleCloudApigeeV1Metadata
Encapsulates additional information about query execution.
Corresponds to the JSON property metaData
12464 12465 12466 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 12464 def @meta_data end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12471 12472 12473 12474 12475 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 12471 def update!(**args) @environments = args[:environments] if args.key?(:environments) @hosts = args[:hosts] if args.key?(:hosts) @meta_data = args[:meta_data] if args.key?(:meta_data) end |