Class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaAlertConfigAlertPolicyRecipient

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRetailV2betaAlertConfigAlertPolicyRecipient

Returns a new instance of GoogleCloudRetailV2betaAlertConfigAlertPolicyRecipient.



2713
2714
2715
# File 'lib/google/apis/retail_v2beta/classes.rb', line 2713

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

Instance Attribute Details

#email_addressString

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

Returns:

  • (String)


2711
2712
2713
# File 'lib/google/apis/retail_v2beta/classes.rb', line 2711

def email_address
  @email_address
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2718
2719
2720
# File 'lib/google/apis/retail_v2beta/classes.rb', line 2718

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