Class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaEventParameter
- Inherits:
-
Object
- Object
- Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaEventParameter
- 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
This message is used for processing and persisting (when applicable) key value pair parameters for each event in the event bus.
Instance Attribute Summary collapse
-
#key ⇒ String
Key is used to retrieve the corresponding parameter value.
-
#value ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaValueType
The type of the parameter.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaEventParameter
constructor
A new instance of GoogleCloudIntegrationsV1alphaEventParameter.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaEventParameter
Returns a new instance of GoogleCloudIntegrationsV1alphaEventParameter.
6504 6505 6506 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 6504 def initialize(**args) update!(**args) end |
Instance Attribute Details
#key ⇒ String
Key is used to retrieve the corresponding parameter value. This should be
unique for a given fired event. These parameters must be predefined in the
integration definition.
Corresponds to the JSON property key
6497 6498 6499 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 6497 def key @key end |
#value ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaValueType
The type of the parameter.
Corresponds to the JSON property value
6502 6503 6504 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 6502 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6509 6510 6511 6512 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 6509 def update!(**args) @key = args[:key] if args.key?(:key) @value = args[:value] if args.key?(:value) end |