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

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 stats response.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1Stats

Returns a new instance of GoogleCloudApigeeV1Stats.



5670
5671
5672
# File 'generated/google/apis/apigee_v1/classes.rb', line 5670

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

Instance Attribute Details

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

This field contains a list of query results on environment level. Corresponds to the JSON property environments



5658
5659
5660
# File 'generated/google/apis/apigee_v1/classes.rb', line 5658

def environments
  @environments
end

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

This field contains a list of query results grouped by host. Corresponds to the JSON property hosts



5663
5664
5665
# File 'generated/google/apis/apigee_v1/classes.rb', line 5663

def hosts
  @hosts
end

#meta_dataGoogle::Apis::ApigeeV1::GoogleCloudApigeeV1Metadata

This message type encapsulates additional information about query execution. Corresponds to the JSON property metaData



5668
5669
5670
# File 'generated/google/apis/apigee_v1/classes.rb', line 5668

def 
  @meta_data
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5675
5676
5677
5678
5679
# File 'generated/google/apis/apigee_v1/classes.rb', line 5675

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