Class: Google::Apis::IdentitytoolkitV3::IdentitytoolkitRelyingpartyVerifyPhoneNumberRequest

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-VerifyPhoneNumber

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) ⇒ IdentitytoolkitRelyingpartyVerifyPhoneNumberRequest

Returns a new instance of IdentitytoolkitRelyingpartyVerifyPhoneNumberRequest



1500
1501
1502
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1500

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

Instance Attribute Details

#codeString

Corresponds to the JSON property code

Returns:

  • (String)


1468
1469
1470
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1468

def code
  @code
end

#id_tokenString

Corresponds to the JSON property idToken

Returns:

  • (String)


1473
1474
1475
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1473

def id_token
  @id_token
end

#operationString

Corresponds to the JSON property operation

Returns:

  • (String)


1478
1479
1480
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1478

def operation
  @operation
end

#phone_numberString

Corresponds to the JSON property phoneNumber

Returns:

  • (String)


1483
1484
1485
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1483

def phone_number
  @phone_number
end

#session_infoString

The session info previously returned by IdentityToolkit-SendVerificationCode. Corresponds to the JSON property sessionInfo

Returns:

  • (String)


1488
1489
1490
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1488

def session_info
  @session_info
end

#temporary_proofString

Corresponds to the JSON property temporaryProof

Returns:

  • (String)


1493
1494
1495
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1493

def temporary_proof
  @temporary_proof
end

#verification_proofString

Corresponds to the JSON property verificationProof

Returns:

  • (String)


1498
1499
1500
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1498

def verification_proof
  @verification_proof
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1505
1506
1507
1508
1509
1510
1511
1512
1513
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1505

def update!(**args)
  @code = args[:code] if args.key?(:code)
  @id_token = args[:id_token] if args.key?(:id_token)
  @operation = args[:operation] if args.key?(:operation)
  @phone_number = args[:phone_number] if args.key?(:phone_number)
  @session_info = args[:session_info] if args.key?(:session_info)
  @temporary_proof = args[:temporary_proof] if args.key?(:temporary_proof)
  @verification_proof = args[:verification_proof] if args.key?(:verification_proof)
end