Class: Google::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1DeleteAccountRequest

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

Overview

Request message for DeleteAccount.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV1DeleteAccountRequest

Returns a new instance of GoogleCloudIdentitytoolkitV1DeleteAccountRequest.



483
484
485
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 483

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

Instance Attribute Details

#delegated_project_numberFixnum

Corresponds to the JSON property delegatedProjectNumber

Returns:

  • (Fixnum)


451
452
453
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 451

def delegated_project_number
  @delegated_project_number
end

#id_tokenString

The Identity Platform ID token of the account to delete. Require to be specified for requests from end users that lack Google OAuth 2.0 credential. Authenticated requests bearing a Google OAuth2 credential with proper permissions may pass local_id to specify the account to delete alternatively. Corresponds to the JSON property idToken

Returns:

  • (String)


459
460
461
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 459

def id_token
  @id_token
end

#local_idString

The ID of user account to delete. Specifying this field requires a Google OAuth 2.0 credential with proper permissions. Requests from users lacking the credential should pass an ID token instead. Corresponds to the JSON property localId

Returns:

  • (String)


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

def local_id
  @local_id
end

#target_project_idString

The ID of the project which the account belongs to. Should only be specified in authenticated requests that specify local_id of an account. Corresponds to the JSON property targetProjectId

Returns:

  • (String)


473
474
475
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 473

def target_project_id
  @target_project_id
end

#tenant_idString

The ID of the tenant that the account belongs to, if applicable. Only require to be specified for authenticated requests bearing a Google OAuth 2.0 credential that specify local_id of an account that belongs to an Identity Platform tenant. Corresponds to the JSON property tenantId

Returns:

  • (String)


481
482
483
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 481

def tenant_id
  @tenant_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



488
489
490
491
492
493
494
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 488

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