Class: Google::Apis::IdentitytoolkitV3::IdentitytoolkitRelyingpartySendVerificationCodeRequest
- Inherits:
-
Object
- Object
- Google::Apis::IdentitytoolkitV3::IdentitytoolkitRelyingpartySendVerificationCodeRequest
- 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-SendVerificationCode
Instance Attribute Summary collapse
-
#ios_receipt ⇒ String
Receipt of successful app token validation with APNS.
-
#ios_secret ⇒ String
Secret delivered to iOS app via APNS.
-
#phone_number ⇒ String
The phone number to send the verification code to in E.164 format.
-
#recaptcha_token ⇒ String
Recaptcha solution.
Instance Method Summary collapse
-
#initialize(**args) ⇒ IdentitytoolkitRelyingpartySendVerificationCodeRequest
constructor
A new instance of IdentitytoolkitRelyingpartySendVerificationCodeRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ IdentitytoolkitRelyingpartySendVerificationCodeRequest
Returns a new instance of IdentitytoolkitRelyingpartySendVerificationCodeRequest.
754 755 756 |
# File 'lib/google/apis/identitytoolkit_v3/classes.rb', line 754 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ios_receipt ⇒ String
Receipt of successful app token validation with APNS.
Corresponds to the JSON property iosReceipt
737 738 739 |
# File 'lib/google/apis/identitytoolkit_v3/classes.rb', line 737 def ios_receipt @ios_receipt end |
#ios_secret ⇒ String
Secret delivered to iOS app via APNS.
Corresponds to the JSON property iosSecret
742 743 744 |
# File 'lib/google/apis/identitytoolkit_v3/classes.rb', line 742 def ios_secret @ios_secret end |
#phone_number ⇒ String
The phone number to send the verification code to in E.164 format.
Corresponds to the JSON property phoneNumber
747 748 749 |
# File 'lib/google/apis/identitytoolkit_v3/classes.rb', line 747 def phone_number @phone_number end |
#recaptcha_token ⇒ String
Recaptcha solution.
Corresponds to the JSON property recaptchaToken
752 753 754 |
# File 'lib/google/apis/identitytoolkit_v3/classes.rb', line 752 def recaptcha_token @recaptcha_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
759 760 761 762 763 764 |
# File 'lib/google/apis/identitytoolkit_v3/classes.rb', line 759 def update!(**args) @ios_receipt = args[:ios_receipt] if args.key?(:ios_receipt) @ios_secret = args[:ios_secret] if args.key?(:ios_secret) @phone_number = args[:phone_number] if args.key?(:phone_number) @recaptcha_token = args[:recaptcha_token] if args.key?(:recaptcha_token) end |