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.



2432
2433
2434
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2432

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)


2420
2421
2422
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2420

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)


2425
2426
2427
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2425

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)


2430
2431
2432
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2430

def phone_number
  @phone_number
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2437
2438
2439
2440
2441
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2437

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