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

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

Overview

A person's email address.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ EmailAddress

Returns a new instance of EmailAddress



651
652
653
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 651

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

Instance Attribute Details

#email_addressString

The email address. Corresponds to the JSON property emailAddress

Returns:

  • (String)


649
650
651
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 649

def email_address
  @email_address
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



656
657
658
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 656

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