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

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ IdentitytoolkitRelyingpartyVerifyPhoneNumberResponse

Returns a new instance of IdentitytoolkitRelyingpartyVerifyPhoneNumberResponse



1571
1572
1573
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1571

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

Instance Attribute Details

#expires_inFixnum

Corresponds to the JSON property expiresIn

Returns:

  • (Fixnum)


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

def expires_in
  @expires_in
end

#id_tokenString

Corresponds to the JSON property idToken

Returns:

  • (String)


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

def id_token
  @id_token
end

#is_new_userBoolean Also known as: is_new_user?

Corresponds to the JSON property isNewUser

Returns:

  • (Boolean)


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

def is_new_user
  @is_new_user
end

#local_idString

Corresponds to the JSON property localId

Returns:

  • (String)


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

def local_id
  @local_id
end

#phone_numberString

Corresponds to the JSON property phoneNumber

Returns:

  • (String)


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

def phone_number
  @phone_number
end

#refresh_tokenString

Corresponds to the JSON property refreshToken

Returns:

  • (String)


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

def refresh_token
  @refresh_token
end

#temporary_proofString

Corresponds to the JSON property temporaryProof

Returns:

  • (String)


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

def temporary_proof
  @temporary_proof
end

#temporary_proof_expires_inFixnum

Corresponds to the JSON property temporaryProofExpiresIn

Returns:

  • (Fixnum)


1559
1560
1561
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1559

def temporary_proof_expires_in
  @temporary_proof_expires_in
end

#verification_proofString

Corresponds to the JSON property verificationProof

Returns:

  • (String)


1564
1565
1566
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1564

def verification_proof
  @verification_proof
end

#verification_proof_expires_inFixnum

Corresponds to the JSON property verificationProofExpiresIn

Returns:

  • (Fixnum)


1569
1570
1571
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1569

def verification_proof_expires_in
  @verification_proof_expires_in
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1576

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