Class: Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoParameterEntry
- Inherits:
-
Object
- Object
- Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoParameterEntry
- 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
Key-value pair of EventBus parameters.
Instance Attribute Summary collapse
-
#key ⇒ String
Key is used to retrieve the corresponding parameter value.
-
#value ⇒ Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoParameterValueType
LINT.IfChange To support various types of parameter values.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EnterpriseCrmEventbusProtoParameterEntry
constructor
A new instance of EnterpriseCrmEventbusProtoParameterEntry.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EnterpriseCrmEventbusProtoParameterEntry
Returns a new instance of EnterpriseCrmEventbusProtoParameterEntry.
1931 1932 1933 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1931 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
1923 1924 1925 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1923 def key @key end |
#value ⇒ Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoParameterValueType
LINT.IfChange To support various types of parameter values. Next available id:
14
Corresponds to the JSON property value
1929 1930 1931 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1929 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1936 1937 1938 1939 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1936 def update!(**args) @key = args[:key] if args.key?(:key) @value = args[:value] if args.key?(:value) end |