Class: Google::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1SignUpResponse

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV1SignUpResponse

Returns a new instance of GoogleCloudIdentitytoolkitV1SignUpResponse.



3391
3392
3393
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 3391

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

Instance Attribute Details

#display_nameString

The created user's display name. Corresponds to the JSON property displayName

Returns:

  • (String)


3357
3358
3359
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 3357

def display_name
  @display_name
end

#emailString

The created user's email. Corresponds to the JSON property email

Returns:

  • (String)


3362
3363
3364
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 3362

def email
  @email
end

#expires_inFixnum

The number of seconds until the ID token expires. Corresponds to the JSON property expiresIn

Returns:

  • (Fixnum)


3367
3368
3369
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 3367

def expires_in
  @expires_in
end

#id_tokenString

An Identity Platform ID token for the created user. This field is only set for non-admin requests. Corresponds to the JSON property idToken

Returns:

  • (String)


3373
3374
3375
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 3373

def id_token
  @id_token
end

#kindString

Corresponds to the JSON property kind

Returns:

  • (String)


3378
3379
3380
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 3378

def kind
  @kind
end

#local_idString

The ID of the created user. Always present in the response. Corresponds to the JSON property localId

Returns:

  • (String)


3383
3384
3385
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 3383

def local_id
  @local_id
end

#refresh_tokenString

An Identity Platform refresh token for the created user. This field is only set for non-admin requests. Corresponds to the JSON property refreshToken

Returns:

  • (String)


3389
3390
3391
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 3389

def refresh_token
  @refresh_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3396
3397
3398
3399
3400
3401
3402
3403
3404
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 3396

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