Class: Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoAddress
- Inherits:
-
Object
- Object
- Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoAddress
- 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
Email address along with optional name and tokens. These tokens will be
substituted for the variables in the form of [var_name], where var_name
could be any string of no more than 32 bytes.
Instance Attribute Summary collapse
-
#email ⇒ String
Required.
-
#name ⇒ String
Corresponds to the JSON property
name. -
#tokens ⇒ Array<Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoToken>
Corresponds to the JSON property
tokens.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EnterpriseCrmEventbusProtoAddress
constructor
A new instance of EnterpriseCrmEventbusProtoAddress.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EnterpriseCrmEventbusProtoAddress
Returns a new instance of EnterpriseCrmEventbusProtoAddress.
291 292 293 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 291 def initialize(**args) update!(**args) end |
Instance Attribute Details
#email ⇒ String
Required.
Corresponds to the JSON property email
279 280 281 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 279 def email @email end |
#name ⇒ String
Corresponds to the JSON property name
284 285 286 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 284 def name @name end |
#tokens ⇒ Array<Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoToken>
Corresponds to the JSON property tokens
289 290 291 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 289 def tokens @tokens end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
296 297 298 299 300 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 296 def update!(**args) @email = args[:email] if args.key?(:email) @name = args[:name] if args.key?(:name) @tokens = args[:tokens] if args.key?(:tokens) end |