Class: Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoPropertyEntry
- Inherits:
-
Object
- Object
- Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoPropertyEntry
- 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 property.
Instance Attribute Summary collapse
-
#key ⇒ String
Key is used to retrieve the corresponding property value.
-
#value ⇒ Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoValueType
Used for define type for values.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EnterpriseCrmEventbusProtoPropertyEntry
constructor
A new instance of EnterpriseCrmEventbusProtoPropertyEntry.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EnterpriseCrmEventbusProtoPropertyEntry
Returns a new instance of EnterpriseCrmEventbusProtoPropertyEntry.
2256 2257 2258 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2256 def initialize(**args) update!(**args) end |
Instance Attribute Details
#key ⇒ String
Key is used to retrieve the corresponding property value. This should be
unique for a given fired event. The Tasks should be aware of the keys used
while firing the events for them to be able to retrieve the values.
Corresponds to the JSON property key
2248 2249 2250 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2248 def key @key end |
#value ⇒ Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoValueType
Used for define type for values. Currently supported value types include int,
string, double, array, and any proto message.
Corresponds to the JSON property value
2254 2255 2256 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2254 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2261 2262 2263 2264 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2261 def update!(**args) @key = args[:key] if args.key?(:key) @value = args[:value] if args.key?(:value) end |