Class: Google::Apis::CloudsearchV1::EmailOwnerProto
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::EmailOwnerProto
- 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
Represents a verified owner of the given email address. Note that a single address may have many owners, and a single user may own many addresses. (All lower-case, in display form -- see com.google.gaia.client.GaiaEmail)
Instance Attribute Summary collapse
-
#email ⇒ String
Corresponds to the JSON property
email
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EmailOwnerProto
constructor
A new instance of EmailOwnerProto.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EmailOwnerProto
Returns a new instance of EmailOwnerProto.
8487 8488 8489 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8487 def initialize(**args) update!(**args) end |
Instance Attribute Details
#email ⇒ String
Corresponds to the JSON property email
8485 8486 8487 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8485 def email @email end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8492 8493 8494 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8492 def update!(**args) @email = args[:email] if args.key?(:email) end |