Class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaAlertConfigAlertPolicyRecipient

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/retail_v2alpha/classes.rb,
lib/google/apis/retail_v2alpha/representations.rb,
lib/google/apis/retail_v2alpha/representations.rb

Overview

Recipient contact information.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRetailV2alphaAlertConfigAlertPolicyRecipient

Returns a new instance of GoogleCloudRetailV2alphaAlertConfigAlertPolicyRecipient.



1451
1452
1453
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 1451

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#email_addressString

Email address of the recipient. Corresponds to the JSON property emailAddress

Returns:

  • (String)


1449
1450
1451
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 1449

def email_address
  @email_address
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1456
1457
1458
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 1456

def update!(**args)
  @email_address = args[:email_address] if args.key?(:email_address)
end