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

Constructor Details

#initialize(**args) ⇒ GetAccountInfoRequest

Returns a new instance of GetAccountInfoRequest.



591
592
593
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 591

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)


569
570
571
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 569

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


574
575
576
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 574

def email
  @email
end

#id_tokenString

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

Returns:

  • (String)


579
580
581
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 579

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


584
585
586
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 584

def local_id
  @local_id
end

#phone_numberArray<String>

Privileged caller can query users by specified phone number. Corresponds to the JSON property phoneNumber

Returns:

  • (Array<String>)


589
590
591
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 589

def phone_number
  @phone_number
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



596
597
598
599
600
601
602
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 596

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)
  @phone_number = args[:phone_number] if args.key?(:phone_number)
end