Class: Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoAddress

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#emailString

Required. Corresponds to the JSON property email

Returns:

  • (String)


279
280
281
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 279

def email
  @email
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


284
285
286
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 284

def name
  @name
end

#tokensArray<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