Class: Google::Apis::CloudsearchV1::EmailOwnerProto

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

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

Instance Method Summary collapse

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

#emailString

Corresponds to the JSON property email

Returns:

  • (String)


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