Class: Google::Apis::IdentitytoolkitV3::GetOobConfirmationCodeResponse
- Inherits:
-
Object
- Object
- Google::Apis::IdentitytoolkitV3::GetOobConfirmationCodeResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/identitytoolkit_v3/classes.rb,
lib/google/apis/identitytoolkit_v3/representations.rb,
lib/google/apis/identitytoolkit_v3/representations.rb
Overview
Response of getting a code for user confirmation (reset password, change email etc.).
Instance Attribute Summary collapse
-
#email ⇒ String
The email address that the email is sent to.
-
#kind ⇒ String
The fixed string "identitytoolkit#GetOobConfirmationCodeResponse".
-
#oob_code ⇒ String
The code to be send to the user.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GetOobConfirmationCodeResponse
constructor
A new instance of GetOobConfirmationCodeResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GetOobConfirmationCodeResponse
Returns a new instance of GetOobConfirmationCodeResponse.
296 297 298 |
# File 'lib/google/apis/identitytoolkit_v3/classes.rb', line 296 def initialize(**args) update!(**args) end |
Instance Attribute Details
#email ⇒ String
The email address that the email is sent to.
Corresponds to the JSON property email
284 285 286 |
# File 'lib/google/apis/identitytoolkit_v3/classes.rb', line 284 def email @email end |
#kind ⇒ String
The fixed string "identitytoolkit#GetOobConfirmationCodeResponse".
Corresponds to the JSON property kind
289 290 291 |
# File 'lib/google/apis/identitytoolkit_v3/classes.rb', line 289 def kind @kind end |
#oob_code ⇒ String
The code to be send to the user.
Corresponds to the JSON property oobCode
294 295 296 |
# File 'lib/google/apis/identitytoolkit_v3/classes.rb', line 294 def oob_code @oob_code end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
301 302 303 304 305 |
# File 'lib/google/apis/identitytoolkit_v3/classes.rb', line 301 def update!(**args) @email = args[:email] if args.key?(:email) @kind = args[:kind] if args.key?(:kind) @oob_code = args[:oob_code] if args.key?(:oob_code) end |