Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1Stats

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1Stats

Returns a new instance of GoogleCloudApigeeV1Stats.



10766
10767
10768
# File 'lib/google/apis/apigee_v1/classes.rb', line 10766

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

Instance Attribute Details

#environmentsArray<Google::Apis::ApigeeV1::GoogleCloudApigeeV1StatsEnvironmentStats>

List of query results on the environment level. Corresponds to the JSON property environments



10754
10755
10756
# File 'lib/google/apis/apigee_v1/classes.rb', line 10754

def environments
  @environments
end

#hostsArray<Google::Apis::ApigeeV1::GoogleCloudApigeeV1StatsHostStats>

List of query results grouped by host. Corresponds to the JSON property hosts



10759
10760
10761
# File 'lib/google/apis/apigee_v1/classes.rb', line 10759

def hosts
  @hosts
end

#meta_dataGoogle::Apis::ApigeeV1::GoogleCloudApigeeV1Metadata

Encapsulates additional information about query execution. Corresponds to the JSON property metaData



10764
10765
10766
# File 'lib/google/apis/apigee_v1/classes.rb', line 10764

def 
  @meta_data
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10771
10772
10773
10774
10775
# File 'lib/google/apis/apigee_v1/classes.rb', line 10771

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