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

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GetOobConfirmationCodeResponse

Returns a new instance of GetOobConfirmationCodeResponse



234
235
236
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 234

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)


222
223
224
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 222

def email
  @email
end

#kindString

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

Returns:

  • (String)


227
228
229
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 227

def kind
  @kind
end

#oob_codeString

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

Returns:

  • (String)


232
233
234
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 232

def oob_code
  @oob_code
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



239
240
241
242
243
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 239

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