Class: Google::Apis::IdentitytoolkitV3::IdentitytoolkitRelyingpartyVerifyPhoneNumberRequest
- Inherits:
-
Object
- Object
- Google::Apis::IdentitytoolkitV3::IdentitytoolkitRelyingpartyVerifyPhoneNumberRequest
- 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
Request for Identitytoolkit-VerifyPhoneNumber
Instance Attribute Summary collapse
-
#code ⇒ String
Corresponds to the JSON property
code
. -
#id_token ⇒ String
Corresponds to the JSON property
idToken
. -
#operation ⇒ String
Corresponds to the JSON property
operation
. -
#phone_number ⇒ String
Corresponds to the JSON property
phoneNumber
. -
#session_info ⇒ String
The session info previously returned by IdentityToolkit-SendVerificationCode.
-
#temporary_proof ⇒ String
Corresponds to the JSON property
temporaryProof
. -
#verification_proof ⇒ String
Corresponds to the JSON property
verificationProof
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ IdentitytoolkitRelyingpartyVerifyPhoneNumberRequest
constructor
A new instance of IdentitytoolkitRelyingpartyVerifyPhoneNumberRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ IdentitytoolkitRelyingpartyVerifyPhoneNumberRequest
Returns a new instance of IdentitytoolkitRelyingpartyVerifyPhoneNumberRequest.
1556 1557 1558 |
# File 'lib/google/apis/identitytoolkit_v3/classes.rb', line 1556 def initialize(**args) update!(**args) end |
Instance Attribute Details
#code ⇒ String
Corresponds to the JSON property code
1524 1525 1526 |
# File 'lib/google/apis/identitytoolkit_v3/classes.rb', line 1524 def code @code end |
#id_token ⇒ String
Corresponds to the JSON property idToken
1529 1530 1531 |
# File 'lib/google/apis/identitytoolkit_v3/classes.rb', line 1529 def id_token @id_token end |
#operation ⇒ String
Corresponds to the JSON property operation
1534 1535 1536 |
# File 'lib/google/apis/identitytoolkit_v3/classes.rb', line 1534 def operation @operation end |
#phone_number ⇒ String
Corresponds to the JSON property phoneNumber
1539 1540 1541 |
# File 'lib/google/apis/identitytoolkit_v3/classes.rb', line 1539 def phone_number @phone_number end |
#session_info ⇒ String
The session info previously returned by IdentityToolkit-SendVerificationCode.
Corresponds to the JSON property sessionInfo
1544 1545 1546 |
# File 'lib/google/apis/identitytoolkit_v3/classes.rb', line 1544 def session_info @session_info end |
#temporary_proof ⇒ String
Corresponds to the JSON property temporaryProof
1549 1550 1551 |
# File 'lib/google/apis/identitytoolkit_v3/classes.rb', line 1549 def temporary_proof @temporary_proof end |
#verification_proof ⇒ String
Corresponds to the JSON property verificationProof
1554 1555 1556 |
# File 'lib/google/apis/identitytoolkit_v3/classes.rb', line 1554 def verification_proof @verification_proof end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1561 1562 1563 1564 1565 1566 1567 1568 1569 |
# File 'lib/google/apis/identitytoolkit_v3/classes.rb', line 1561 def update!(**args) @code = args[:code] if args.key?(:code) @id_token = args[:id_token] if args.key?(:id_token) @operation = args[:operation] if args.key?(:operation) @phone_number = args[:phone_number] if args.key?(:phone_number) @session_info = args[:session_info] if args.key?(:session_info) @temporary_proof = args[:temporary_proof] if args.key?(:temporary_proof) @verification_proof = args[:verification_proof] if args.key?(:verification_proof) end |