Class: Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoAddress
- Inherits:
-
Object
- Object
- Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoAddress
- 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
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::IntegrationsV1::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.
112 113 114 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 112 def initialize(**args) update!(**args) end |
Instance Attribute Details
#email ⇒ String
Required.
Corresponds to the JSON property email
100 101 102 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 100 def email @email end |
#name ⇒ String
Corresponds to the JSON property name
105 106 107 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 105 def name @name end |
#tokens ⇒ Array<Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoToken>
Corresponds to the JSON property tokens
110 111 112 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 110 def tokens @tokens end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
117 118 119 120 121 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 117 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 |