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.



16921
16922
16923
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 16921

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

Instance Attribute Details

#emailString

Corresponds to the JSON property email

Returns:

  • (String)


16919
16920
16921
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 16919

def email
  @email
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



16926
16927
16928
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 16926

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