Class: Google::Apis::MybusinessverificationsV1::EmailVerificationData

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/mybusinessverifications_v1/classes.rb,
lib/google/apis/mybusinessverifications_v1/representations.rb,
lib/google/apis/mybusinessverifications_v1/representations.rb

Overview

Display data for verifications through email.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EmailVerificationData

Returns a new instance of EmailVerificationData.



143
144
145
# File 'lib/google/apis/mybusinessverifications_v1/classes.rb', line 143

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

Instance Attribute Details

#domainString

Domain name in the email address. e.g. "gmail.com" in foo@gmail.com Corresponds to the JSON property domain

Returns:

  • (String)


130
131
132
# File 'lib/google/apis/mybusinessverifications_v1/classes.rb', line 130

def domain
  @domain
end

#is_user_name_editableBoolean Also known as: is_user_name_editable?

Whether client is allowed to provide a different user name. Corresponds to the JSON property isUserNameEditable

Returns:

  • (Boolean)


135
136
137
# File 'lib/google/apis/mybusinessverifications_v1/classes.rb', line 135

def is_user_name_editable
  @is_user_name_editable
end

#userString

User name in the email address. e.g. "foo" in foo@gmail.com Corresponds to the JSON property user

Returns:

  • (String)


141
142
143
# File 'lib/google/apis/mybusinessverifications_v1/classes.rb', line 141

def user
  @user
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



148
149
150
151
152
# File 'lib/google/apis/mybusinessverifications_v1/classes.rb', line 148

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