Class: Google::Apis::IdentitytoolkitV3::IdentitytoolkitRelyingpartyVerifyPhoneNumberResponse

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

Response for Identitytoolkit-VerifyPhoneNumber

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ IdentitytoolkitRelyingpartyVerifyPhoneNumberResponse

Returns a new instance of IdentitytoolkitRelyingpartyVerifyPhoneNumberResponse.



1627
1628
1629
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1627

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

Instance Attribute Details

#expires_inFixnum

Corresponds to the JSON property expiresIn

Returns:

  • (Fixnum)


1579
1580
1581
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1579

def expires_in
  @expires_in
end

#id_tokenString

Corresponds to the JSON property idToken

Returns:

  • (String)


1584
1585
1586
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1584

def id_token
  @id_token
end

#is_new_userBoolean Also known as: is_new_user?

Corresponds to the JSON property isNewUser

Returns:

  • (Boolean)


1589
1590
1591
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1589

def is_new_user
  @is_new_user
end

#local_idString

Corresponds to the JSON property localId

Returns:

  • (String)


1595
1596
1597
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1595

def local_id
  @local_id
end

#phone_numberString

Corresponds to the JSON property phoneNumber

Returns:

  • (String)


1600
1601
1602
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1600

def phone_number
  @phone_number
end

#refresh_tokenString

Corresponds to the JSON property refreshToken

Returns:

  • (String)


1605
1606
1607
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1605

def refresh_token
  @refresh_token
end

#temporary_proofString

Corresponds to the JSON property temporaryProof

Returns:

  • (String)


1610
1611
1612
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1610

def temporary_proof
  @temporary_proof
end

#temporary_proof_expires_inFixnum

Corresponds to the JSON property temporaryProofExpiresIn

Returns:

  • (Fixnum)


1615
1616
1617
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1615

def temporary_proof_expires_in
  @temporary_proof_expires_in
end

#verification_proofString

Corresponds to the JSON property verificationProof

Returns:

  • (String)


1620
1621
1622
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1620

def verification_proof
  @verification_proof
end

#verification_proof_expires_inFixnum

Corresponds to the JSON property verificationProofExpiresIn

Returns:

  • (Fixnum)


1625
1626
1627
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1625

def verification_proof_expires_in
  @verification_proof_expires_in
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1632

def update!(**args)
  @expires_in = args[:expires_in] if args.key?(:expires_in)
  @id_token = args[:id_token] if args.key?(:id_token)
  @is_new_user = args[:is_new_user] if args.key?(:is_new_user)
  @local_id = args[:local_id] if args.key?(:local_id)
  @phone_number = args[:phone_number] if args.key?(:phone_number)
  @refresh_token = args[:refresh_token] if args.key?(:refresh_token)
  @temporary_proof = args[:temporary_proof] if args.key?(:temporary_proof)
  @temporary_proof_expires_in = args[:temporary_proof_expires_in] if args.key?(:temporary_proof_expires_in)
  @verification_proof = args[:verification_proof] if args.key?(:verification_proof)
  @verification_proof_expires_in = args[:verification_proof_expires_in] if args.key?(:verification_proof_expires_in)
end