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

Constructor Details

#initialize(**args) ⇒ IdentitytoolkitRelyingpartyVerifyPhoneNumberRequest

Returns a new instance of IdentitytoolkitRelyingpartyVerifyPhoneNumberRequest.



1556
1557
1558
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1556

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

Instance Attribute Details

#codeString

Corresponds to the JSON property code

Returns:

  • (String)


1524
1525
1526
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1524

def code
  @code
end

#id_tokenString

Corresponds to the JSON property idToken

Returns:

  • (String)


1529
1530
1531
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1529

def id_token
  @id_token
end

#operationString

Corresponds to the JSON property operation

Returns:

  • (String)


1534
1535
1536
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1534

def operation
  @operation
end

#phone_numberString

Corresponds to the JSON property phoneNumber

Returns:

  • (String)


1539
1540
1541
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1539

def phone_number
  @phone_number
end

#session_infoString

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

Returns:

  • (String)


1544
1545
1546
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1544

def session_info
  @session_info
end

#temporary_proofString

Corresponds to the JSON property temporaryProof

Returns:

  • (String)


1549
1550
1551
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1549

def temporary_proof
  @temporary_proof
end

#verification_proofString

Corresponds to the JSON property verificationProof

Returns:

  • (String)


1554
1555
1556
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1554

def verification_proof
  @verification_proof
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1561
1562
1563
1564
1565
1566
1567
1568
1569
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1561

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