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

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 delete account.

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

Returns a new instance of DeleteAccountRequest



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)


467
468
469
# File 'generated/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 'generated/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 '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
# 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)
  @id_token = args[:id_token] if args.key?(:id_token)
  @local_id = args[:local_id] if args.key?(:local_id)
end