Class: Google::Apis::CloudsearchV1::EmailAddress

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

Overview

A person's email address.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EmailAddress

Returns a new instance of EmailAddress.



839
840
841
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 839

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

Instance Attribute Details

#email_addressString

The email address. Corresponds to the JSON property emailAddress

Returns:

  • (String)


837
838
839
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 837

def email_address
  @email_address
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



844
845
846
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 844

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