Class: Google::Apis::IdentitytoolkitV3::GetAccountInfoRequest

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 to get the account information.

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) ⇒ GetAccountInfoRequest

Returns a new instance of GetAccountInfoRequest.


472
473
474
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 472

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

Instance Attribute Details

#delegated_project_numberString

GCP project number of the requesting delegated app. Currently only intended for Firebase V1 migration. Corresponds to the JSON property delegatedProjectNumber

Returns:

  • (String)

455
456
457
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 455

def delegated_project_number
  @delegated_project_number
end

#emailArray<String>

The list of emails of the users to inquiry. Corresponds to the JSON property email

Returns:

  • (Array<String>)

460
461
462
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 460

def email
  @email
end

#id_tokenString

The GITKit token of the authenticated user. Corresponds to the JSON property idToken

Returns:

  • (String)

465
466
467
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 465

def id_token
  @id_token
end

#local_idArray<String>

The list of local ID's of the users to inquiry. Corresponds to the JSON property localId

Returns:

  • (Array<String>)

470
471
472
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 470

def local_id
  @local_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


477
478
479
480
481
482
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 477

def update!(**args)
  @delegated_project_number = args[:delegated_project_number] if args.key?(:delegated_project_number)
  @email = args[:email] if args.key?(:email)
  @id_token = args[:id_token] if args.key?(:id_token)
  @local_id = args[:local_id] if args.key?(:local_id)
end