Class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaParameterMapEntry

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

Overview

Entry is a pair of key and value.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaParameterMapEntry

Returns a new instance of GoogleCloudIntegrationsV1alphaParameterMapEntry.



9727
9728
9729
# File 'lib/google/apis/integrations_v1/classes.rb', line 9727

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

Instance Attribute Details

#keyGoogle::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaParameterMapField

Field represents either the key or value in an entry. Corresponds to the JSON property key



9720
9721
9722
# File 'lib/google/apis/integrations_v1/classes.rb', line 9720

def key
  @key
end

#valueGoogle::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaParameterMapField

Field represents either the key or value in an entry. Corresponds to the JSON property value



9725
9726
9727
# File 'lib/google/apis/integrations_v1/classes.rb', line 9725

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9732
9733
9734
9735
# File 'lib/google/apis/integrations_v1/classes.rb', line 9732

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