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.



2262
2263
2264
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2262

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)


2250
2251
2252
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2250

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)


2255
2256
2257
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2255

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)


2260
2261
2262
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2260

def phone_number
  @phone_number
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2267
2268
2269
2270
2271
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2267

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