class Google::Apis::IdentitytoolkitV3::IdentitytoolkitRelyingpartyVerifyPhoneNumberResponse

Response for Identitytoolkit-VerifyPhoneNumber

Attributes

expires_in[RW]

Corresponds to the JSON property `expiresIn` @return [Fixnum]

id_token[RW]

Corresponds to the JSON property `idToken` @return [String]

is_new_user[RW]

Corresponds to the JSON property `isNewUser` @return [Boolean]

is_new_user?[RW]

Corresponds to the JSON property `isNewUser` @return [Boolean]

local_id[RW]

Corresponds to the JSON property `localId` @return [String]

phone_number[RW]

Corresponds to the JSON property `phoneNumber` @return [String]

refresh_token[RW]

Corresponds to the JSON property `refreshToken` @return [String]

temporary_proof[RW]

Corresponds to the JSON property `temporaryProof` @return [String]

temporary_proof_expires_in[RW]

Corresponds to the JSON property `temporaryProofExpiresIn` @return [Fixnum]

verification_proof[RW]

Corresponds to the JSON property `verificationProof` @return [String]

verification_proof_expires_in[RW]

Corresponds to the JSON property `verificationProofExpiresIn` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/identitytoolkit_v3/classes.rb, line 1627
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/identitytoolkit_v3/classes.rb, line 1632
def update!(**args)
  @expires_in = args[:expires_in] if args.key?(:expires_in)
  @id_token = args[:id_token] if args.key?(:id_token)
  @is_new_user = args[:is_new_user] if args.key?(:is_new_user)
  @local_id = args[:local_id] if args.key?(:local_id)
  @phone_number = args[:phone_number] if args.key?(:phone_number)
  @refresh_token = args[:refresh_token] if args.key?(:refresh_token)
  @temporary_proof = args[:temporary_proof] if args.key?(:temporary_proof)
  @temporary_proof_expires_in = args[:temporary_proof_expires_in] if args.key?(:temporary_proof_expires_in)
  @verification_proof = args[:verification_proof] if args.key?(:verification_proof)
  @verification_proof_expires_in = args[:verification_proof_expires_in] if args.key?(:verification_proof_expires_in)
end