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

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

Request for Identitytoolkit-SendVerificationCode

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ IdentitytoolkitRelyingpartySendVerificationCodeRequest

Returns a new instance of IdentitytoolkitRelyingpartySendVerificationCodeRequest



740
741
742
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 740

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)


723
724
725
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 723

def ios_receipt
  @ios_receipt
end

#ios_secretString

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

Returns:

  • (String)


728
729
730
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 728

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)


733
734
735
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 733

def phone_number
  @phone_number
end

#recaptcha_tokenString

Recaptcha solution. Corresponds to the JSON property recaptchaToken

Returns:

  • (String)


738
739
740
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 738

def recaptcha_token
  @recaptcha_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



745
746
747
748
749
750
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 745

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