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.
8024 8025 8026 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8024 def initialize(**args) update!(**args) end |
Instance Attribute Details
#email ⇒ String
Corresponds to the JSON property email
8022 8023 8024 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8022 def email @email end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8029 8030 8031 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8029 def update!(**args) @email = args[:email] if args.key?(:email) end |