Class: Google::Apis::CloudsearchV1::Recipient

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Recipient

Returns a new instance of Recipient.



17017
17018
17019
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17017

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

Instance Attribute Details

#emailString

Corresponds to the JSON property email

Returns:

  • (String)


17015
17016
17017
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17015

def email
  @email
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



17022
17023
17024
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17022

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