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.



8551
8552
8553
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8551

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

Instance Attribute Details

#emailString

Corresponds to the JSON property email

Returns:

  • (String)


8549
8550
8551
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8549

def email
  @email
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8556
8557
8558
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8556

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