Class: Google::Apis::IdentitytoolkitV3::IdentitytoolkitRelyingpartyVerifyPhoneNumberResponse
- Inherits:
-
Object
- Object
- Google::Apis::IdentitytoolkitV3::IdentitytoolkitRelyingpartyVerifyPhoneNumberResponse
- 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 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.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ IdentitytoolkitRelyingpartyVerifyPhoneNumberResponse
Returns a new instance of IdentitytoolkitRelyingpartyVerifyPhoneNumberResponse
1571 1572 1573 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1571 def initialize(**args) update!(**args) end |
Instance Attribute Details
#expires_in ⇒ Fixnum
Corresponds to the JSON property expiresIn
1523 1524 1525 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1523 def expires_in @expires_in end |
#id_token ⇒ String
Corresponds to the JSON property idToken
1528 1529 1530 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1528 def id_token @id_token end |
#is_new_user ⇒ Boolean Also known as: is_new_user?
Corresponds to the JSON property isNewUser
1533 1534 1535 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1533 def is_new_user @is_new_user end |
#local_id ⇒ String
Corresponds to the JSON property localId
1539 1540 1541 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1539 def local_id @local_id end |
#phone_number ⇒ String
Corresponds to the JSON property phoneNumber
1544 1545 1546 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1544 def phone_number @phone_number end |
#refresh_token ⇒ String
Corresponds to the JSON property refreshToken
1549 1550 1551 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1549 def refresh_token @refresh_token end |
#temporary_proof ⇒ String
Corresponds to the JSON property temporaryProof
1554 1555 1556 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1554 def temporary_proof @temporary_proof end |
#temporary_proof_expires_in ⇒ Fixnum
Corresponds to the JSON property temporaryProofExpiresIn
1559 1560 1561 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1559 def temporary_proof_expires_in @temporary_proof_expires_in end |
#verification_proof ⇒ String
Corresponds to the JSON property verificationProof
1564 1565 1566 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1564 def verification_proof @verification_proof end |
#verification_proof_expires_in ⇒ Fixnum
Corresponds to the JSON property verificationProofExpiresIn
1569 1570 1571 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1569 def verification_proof_expires_in @verification_proof_expires_in end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1576 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 |