Class: Google::Apis::IdentitytoolkitV3::IdentitytoolkitRelyingpartySendVerificationCodeRequest

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_receiptString

Receipt of successful app token validation with APNS. Corresponds to the JSON property iosReceipt

Returns:

  • (String)


737
738
739
# File 'lib/google/apis/identitytoolkit_v3/classes.rb', line 737

def ios_receipt
  @ios_receipt
end

#ios_secretString

Secret delivered to iOS app via APNS. Corresponds to the JSON property iosSecret

Returns:

  • (String)


742
743
744
# File 'lib/google/apis/identitytoolkit_v3/classes.rb', line 742

def ios_secret
  @ios_secret
end

#phone_numberString

The phone number to send the verification code to in E.164 format. Corresponds to the JSON property phoneNumber

Returns:

  • (String)


747
748
749
# File 'lib/google/apis/identitytoolkit_v3/classes.rb', line 747

def phone_number
  @phone_number
end

#recaptcha_tokenString

Recaptcha solution. Corresponds to the JSON property recaptchaToken

Returns:

  • (String)


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