Class: Google::Apis::CloudbillingV1beta::Map

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/cloudbilling_v1beta/classes.rb,
lib/google/apis/cloudbilling_v1beta/representations.rb,
lib/google/apis/cloudbilling_v1beta/representations.rb

Overview

An unordered mapping from key to value, represented as a collection of map entries.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Map

Returns a new instance of Map.



1987
1988
1989
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 1987

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

Instance Attribute Details

#entryArray<Google::Apis::CloudbillingV1beta::MapEntry>

Represents the map entries in the map. Corresponds to the JSON property entry



1985
1986
1987
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 1985

def entry
  @entry
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1992
1993
1994
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 1992

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