Class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaAlertConfigAlertPolicyRecipient
- Inherits:
-
Object
- Object
- Google::Apis::RetailV2beta::GoogleCloudRetailV2betaAlertConfigAlertPolicyRecipient
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/retail_v2beta/classes.rb,
lib/google/apis/retail_v2beta/representations.rb,
lib/google/apis/retail_v2beta/representations.rb
Overview
Recipient contact information.
Instance Attribute Summary collapse
-
#email_address ⇒ String
Email address of the recipient.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRetailV2betaAlertConfigAlertPolicyRecipient
constructor
A new instance of GoogleCloudRetailV2betaAlertConfigAlertPolicyRecipient.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRetailV2betaAlertConfigAlertPolicyRecipient
Returns a new instance of GoogleCloudRetailV2betaAlertConfigAlertPolicyRecipient.
2707 2708 2709 |
# File 'lib/google/apis/retail_v2beta/classes.rb', line 2707 def initialize(**args) update!(**args) end |
Instance Attribute Details
#email_address ⇒ String
Email address of the recipient.
Corresponds to the JSON property emailAddress
2705 2706 2707 |
# File 'lib/google/apis/retail_v2beta/classes.rb', line 2705 def email_address @email_address end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2712 2713 2714 |
# File 'lib/google/apis/retail_v2beta/classes.rb', line 2712 def update!(**args) @email_address = args[:email_address] if args.key?(:email_address) end |