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

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1Stats

Returns a new instance of GoogleCloudApigeeV1Stats.



3777
3778
3779
# File 'generated/google/apis/apigee_v1/classes.rb', line 3777

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

Instance Attribute Details

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

Corresponds to the JSON property environments



3770
3771
3772
# File 'generated/google/apis/apigee_v1/classes.rb', line 3770

def environments
  @environments
end

#meta_dataGoogle::Apis::ApigeeV1::GoogleCloudApigeeV1Metadata

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



3775
3776
3777
# File 'generated/google/apis/apigee_v1/classes.rb', line 3775

def 
  @meta_data
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3782
3783
3784
3785
# File 'generated/google/apis/apigee_v1/classes.rb', line 3782

def update!(**args)
  @environments = args[:environments] if args.key?(:environments)
  @meta_data = args[:meta_data] if args.key?(:meta_data)
end