Class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationConfigParameter

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

Integration Config Parameter is defined in the integration config and are used to provide external configuration for integration. It provide information about data types of the expected parameters and provide any default values or value. They can also be used to add custom attributes.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaIntegrationConfigParameter

Returns a new instance of GoogleCloudIntegrationsV1alphaIntegrationConfigParameter.



8518
8519
8520
# File 'lib/google/apis/integrations_v1/classes.rb', line 8518

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

Instance Attribute Details

#parameterGoogle::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationParameter

Integration Parameter is defined in the integration config and are used to provide information about data types of the expected parameters and provide any default values if needed. They can also be used to add custom attributes. These are static in nature and should not be used for dynamic event definition. Corresponds to the JSON property parameter



8511
8512
8513
# File 'lib/google/apis/integrations_v1/classes.rb', line 8511

def parameter
  @parameter
end

#valueGoogle::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaValueType

The type of the parameter. Corresponds to the JSON property value



8516
8517
8518
# File 'lib/google/apis/integrations_v1/classes.rb', line 8516

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8523
8524
8525
8526
# File 'lib/google/apis/integrations_v1/classes.rb', line 8523

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