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



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

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

Instance Attribute Details

#delegated_project_numberFixnum

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

Returns:

  • (Fixnum)


462
463
464
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 462

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


467
468
469
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 467

def email
  @email
end

#id_tokenString

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

Returns:

  • (String)


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

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


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

def local_id
  @local_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



484
485
486
487
488
489
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 484

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