Class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaAlertConfigAlertPolicyRecipient
- Inherits:
-
Object
- Object
- Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaAlertConfigAlertPolicyRecipient
- 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
-
#email_address ⇒ String
Email address of the recipient.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRetailV2alphaAlertConfigAlertPolicyRecipient
constructor
A new instance of GoogleCloudRetailV2alphaAlertConfigAlertPolicyRecipient.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_address ⇒ String
Email address of the recipient.
Corresponds to the JSON property emailAddress
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 |