Class: Google::Apis::CloudsearchV1::EmailAddress
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::EmailAddress
- 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
-
#email_address ⇒ String
The email address.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EmailAddress
constructor
A new instance of EmailAddress.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EmailAddress
Returns a new instance of EmailAddress.
906 907 908 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 906 def initialize(**args) update!(**args) end |
Instance Attribute Details
#email_address ⇒ String
The email address.
Corresponds to the JSON property emailAddress
904 905 906 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 904 def email_address @email_address end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
911 912 913 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 911 def update!(**args) @email_address = args[:email_address] if args.key?(:email_address) end |