Class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2FinalizeMfaPhoneResponseInfo

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/identitytoolkit_v2/classes.rb,
lib/google/apis/identitytoolkit_v2/representations.rb,
lib/google/apis/identitytoolkit_v2/representations.rb

Overview

Phone Verification info for a FinalizeMfa response.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV2FinalizeMfaPhoneResponseInfo

Returns a new instance of GoogleCloudIdentitytoolkitV2FinalizeMfaPhoneResponseInfo.



1901
1902
1903
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1901

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#android_verification_proofString

Android only. Long-lived replacement for valid code tied to android device. Corresponds to the JSON property androidVerificationProof

Returns:

  • (String)


1889
1890
1891
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1889

def android_verification_proof
  @android_verification_proof
end

#android_verification_proof_expire_timeString

Android only. Expiration time of verification proof in seconds. Corresponds to the JSON property androidVerificationProofExpireTime

Returns:

  • (String)


1894
1895
1896
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1894

def android_verification_proof_expire_time
  @android_verification_proof_expire_time
end

#phone_numberString

For Android verification proof. Corresponds to the JSON property phoneNumber

Returns:

  • (String)


1899
1900
1901
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1899

def phone_number
  @phone_number
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1906
1907
1908
1909
1910
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1906

def update!(**args)
  @android_verification_proof = args[:android_verification_proof] if args.key?(:android_verification_proof)
  @android_verification_proof_expire_time = args[:android_verification_proof_expire_time] if args.key?(:android_verification_proof_expire_time)
  @phone_number = args[:phone_number] if args.key?(:phone_number)
end