Class: Google::Apis::IdentitytoolkitV3::DeleteAccountRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/identitytoolkit_v3/classes.rb,
lib/google/apis/identitytoolkit_v3/representations.rb,
lib/google/apis/identitytoolkit_v3/representations.rb

Overview

Request to delete account.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DeleteAccountRequest

Returns a new instance of DeleteAccountRequest.



479
480
481
# File 'lib/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)


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

def delegated_project_number
  @delegated_project_number
end

#id_tokenString

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

Returns:

  • (String)


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

def id_token
  @id_token
end

#local_idString

The local ID of the user. Corresponds to the JSON property localId

Returns:

  • (String)


477
478
479
# File 'lib/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
# File 'lib/google/apis/identitytoolkit_v3/classes.rb', line 484

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