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.
1452 1453 1454 |
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 1452 def initialize(**args) update!(**args) end |
Instance Attribute Details
#email_address ⇒ String
Email address of the recipient.
Corresponds to the JSON property emailAddress
1450 1451 1452 |
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 1450 def email_address @email_address end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1457 1458 1459 |
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 1457 def update!(**args) @email_address = args[:email_address] if args.key?(:email_address) end |