Class: Google::Apis::MybusinessverificationsV1::EmailVerificationData
- Inherits:
-
Object
- Object
- Google::Apis::MybusinessverificationsV1::EmailVerificationData
- 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
-
#domain ⇒ String
Domain name in the email address.
-
#is_user_name_editable ⇒ Boolean
(also: #is_user_name_editable?)
Whether client is allowed to provide a different user name.
-
#user ⇒ String
User name in the email address.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EmailVerificationData
constructor
A new instance of EmailVerificationData.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#domain ⇒ String
Domain name in the email address. e.g. "gmail.com" in foo@gmail.com
Corresponds to the JSON property domain
130 131 132 |
# File 'lib/google/apis/mybusinessverifications_v1/classes.rb', line 130 def domain @domain end |
#is_user_name_editable ⇒ Boolean Also known as: is_user_name_editable?
Whether client is allowed to provide a different user name.
Corresponds to the JSON property isUserNameEditable
135 136 137 |
# File 'lib/google/apis/mybusinessverifications_v1/classes.rb', line 135 def is_user_name_editable @is_user_name_editable end |
#user ⇒ String
User name in the email address. e.g. "foo" in foo@gmail.com
Corresponds to the JSON property user
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 |