Class: Google::Apis::IdentitytoolkitV3::GetOobConfirmationCodeResponse

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

Overview

Response of getting a code for user confirmation (reset password, change email etc.).

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GetOobConfirmationCodeResponse

Returns a new instance of GetOobConfirmationCodeResponse.



296
297
298
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 296

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

Instance Attribute Details

#emailString

The email address that the email is sent to. Corresponds to the JSON property email

Returns:

  • (String)


284
285
286
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 284

def email
  @email
end

#kindString

The fixed string "identitytoolkit#GetOobConfirmationCodeResponse". Corresponds to the JSON property kind

Returns:

  • (String)


289
290
291
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 289

def kind
  @kind
end

#oob_codeString

The code to be send to the user. Corresponds to the JSON property oobCode

Returns:

  • (String)


294
295
296
# File 'generated/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 'generated/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