Class: Google::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1SignUpResponse
- Inherits:
-
Object
- Object
- Google::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1SignUpResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/identitytoolkit_v1/classes.rb,
lib/google/apis/identitytoolkit_v1/representations.rb,
lib/google/apis/identitytoolkit_v1/representations.rb
Overview
Response message for SignUp.
Instance Attribute Summary collapse
-
#display_name ⇒ String
The created user's display name.
-
#email ⇒ String
The created user's email.
-
#expires_in ⇒ Fixnum
The number of seconds until the ID token expires.
-
#id_token ⇒ String
An Identity Platform ID token for the created user.
-
#kind ⇒ String
Corresponds to the JSON property
kind
. -
#local_id ⇒ String
The ID of the created user.
-
#refresh_token ⇒ String
An Identity Platform refresh token for the created user.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV1SignUpResponse
constructor
A new instance of GoogleCloudIdentitytoolkitV1SignUpResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV1SignUpResponse
Returns a new instance of GoogleCloudIdentitytoolkitV1SignUpResponse.
3427 3428 3429 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 3427 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
The created user's display name.
Corresponds to the JSON property displayName
3393 3394 3395 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 3393 def display_name @display_name end |
#email ⇒ String
The created user's email.
Corresponds to the JSON property email
3398 3399 3400 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 3398 def email @email end |
#expires_in ⇒ Fixnum
The number of seconds until the ID token expires.
Corresponds to the JSON property expiresIn
3403 3404 3405 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 3403 def expires_in @expires_in end |
#id_token ⇒ String
An Identity Platform ID token for the created user. This field is only set for
non-admin requests.
Corresponds to the JSON property idToken
3409 3410 3411 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 3409 def id_token @id_token end |
#kind ⇒ String
Corresponds to the JSON property kind
3414 3415 3416 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 3414 def kind @kind end |
#local_id ⇒ String
The ID of the created user. Always present in the response.
Corresponds to the JSON property localId
3419 3420 3421 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 3419 def local_id @local_id end |
#refresh_token ⇒ String
An Identity Platform refresh token for the created user. This field is only
set for non-admin requests.
Corresponds to the JSON property refreshToken
3425 3426 3427 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 3425 def refresh_token @refresh_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3432 3433 3434 3435 3436 3437 3438 3439 3440 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 3432 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @email = args[:email] if args.key?(:email) @expires_in = args[:expires_in] if args.key?(:expires_in) @id_token = args[:id_token] if args.key?(:id_token) @kind = args[:kind] if args.key?(:kind) @local_id = args[:local_id] if args.key?(:local_id) @refresh_token = args[:refresh_token] if args.key?(:refresh_token) end |