Class: Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaParameterMapEntry

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/integrations_v1alpha/classes.rb,
lib/google/apis/integrations_v1alpha/representations.rb,
lib/google/apis/integrations_v1alpha/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.



8231
8232
8233
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8231

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

Instance Attribute Details

#keyGoogle::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaParameterMapField

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



8224
8225
8226
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8224

def key
  @key
end

#valueGoogle::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaParameterMapField

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



8229
8230
8231
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8229

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8236
8237
8238
8239
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8236

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