Class: Google::Apis::IdentitytoolkitV3::IdentitytoolkitRelyingpartyVerifyPhoneNumberResponse
- Inherits:
-
Object
- Object
- Google::Apis::IdentitytoolkitV3::IdentitytoolkitRelyingpartyVerifyPhoneNumberResponse
- 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 for Identitytoolkit-VerifyPhoneNumber
Instance Attribute Summary collapse
-
#expires_in ⇒ Fixnum
Corresponds to the JSON property
expiresIn
. -
#id_token ⇒ String
Corresponds to the JSON property
idToken
. -
#is_new_user ⇒ Boolean
(also: #is_new_user?)
Corresponds to the JSON property
isNewUser
. -
#local_id ⇒ String
Corresponds to the JSON property
localId
. -
#phone_number ⇒ String
Corresponds to the JSON property
phoneNumber
. -
#refresh_token ⇒ String
Corresponds to the JSON property
refreshToken
. -
#temporary_proof ⇒ String
Corresponds to the JSON property
temporaryProof
. -
#temporary_proof_expires_in ⇒ Fixnum
Corresponds to the JSON property
temporaryProofExpiresIn
. -
#verification_proof ⇒ String
Corresponds to the JSON property
verificationProof
. -
#verification_proof_expires_in ⇒ Fixnum
Corresponds to the JSON property
verificationProofExpiresIn
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ IdentitytoolkitRelyingpartyVerifyPhoneNumberResponse
constructor
A new instance of IdentitytoolkitRelyingpartyVerifyPhoneNumberResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ IdentitytoolkitRelyingpartyVerifyPhoneNumberResponse
Returns a new instance of IdentitytoolkitRelyingpartyVerifyPhoneNumberResponse.
1627 1628 1629 |
# File 'lib/google/apis/identitytoolkit_v3/classes.rb', line 1627 def initialize(**args) update!(**args) end |
Instance Attribute Details
#expires_in ⇒ Fixnum
Corresponds to the JSON property expiresIn
1579 1580 1581 |
# File 'lib/google/apis/identitytoolkit_v3/classes.rb', line 1579 def expires_in @expires_in end |
#id_token ⇒ String
Corresponds to the JSON property idToken
1584 1585 1586 |
# File 'lib/google/apis/identitytoolkit_v3/classes.rb', line 1584 def id_token @id_token end |
#is_new_user ⇒ Boolean Also known as: is_new_user?
Corresponds to the JSON property isNewUser
1589 1590 1591 |
# File 'lib/google/apis/identitytoolkit_v3/classes.rb', line 1589 def is_new_user @is_new_user end |
#local_id ⇒ String
Corresponds to the JSON property localId
1595 1596 1597 |
# File 'lib/google/apis/identitytoolkit_v3/classes.rb', line 1595 def local_id @local_id end |
#phone_number ⇒ String
Corresponds to the JSON property phoneNumber
1600 1601 1602 |
# File 'lib/google/apis/identitytoolkit_v3/classes.rb', line 1600 def phone_number @phone_number end |
#refresh_token ⇒ String
Corresponds to the JSON property refreshToken
1605 1606 1607 |
# File 'lib/google/apis/identitytoolkit_v3/classes.rb', line 1605 def refresh_token @refresh_token end |
#temporary_proof ⇒ String
Corresponds to the JSON property temporaryProof
1610 1611 1612 |
# File 'lib/google/apis/identitytoolkit_v3/classes.rb', line 1610 def temporary_proof @temporary_proof end |
#temporary_proof_expires_in ⇒ Fixnum
Corresponds to the JSON property temporaryProofExpiresIn
1615 1616 1617 |
# File 'lib/google/apis/identitytoolkit_v3/classes.rb', line 1615 def temporary_proof_expires_in @temporary_proof_expires_in end |
#verification_proof ⇒ String
Corresponds to the JSON property verificationProof
1620 1621 1622 |
# File 'lib/google/apis/identitytoolkit_v3/classes.rb', line 1620 def verification_proof @verification_proof end |
#verification_proof_expires_in ⇒ Fixnum
Corresponds to the JSON property verificationProofExpiresIn
1625 1626 1627 |
# File 'lib/google/apis/identitytoolkit_v3/classes.rb', line 1625 def verification_proof_expires_in @verification_proof_expires_in end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 |
# 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 |