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.



1967
1968
1969
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1967

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)


1955
1956
1957
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1955

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)


1960
1961
1962
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1960

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)


1965
1966
1967
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1965

def phone_number
  @phone_number
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1972
1973
1974
1975
1976
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1972

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