Class: Google::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1DeleteAccountRequest
- Inherits:
-
Object
- Object
- Google::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1DeleteAccountRequest
- 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
-
#delegated_project_number ⇒ Fixnum
Corresponds to the JSON property
delegatedProjectNumber. -
#id_token ⇒ String
The Identity Platform ID token of the account to delete.
-
#local_id ⇒ String
The ID of user account to delete.
-
#target_project_id ⇒ String
The ID of the project which the account belongs to.
-
#tenant_id ⇒ String
The ID of the tenant that the account belongs to, if applicable.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV1DeleteAccountRequest
constructor
A new instance of GoogleCloudIdentitytoolkitV1DeleteAccountRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV1DeleteAccountRequest
Returns a new instance of GoogleCloudIdentitytoolkitV1DeleteAccountRequest.
481 482 483 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 481 def initialize(**args) update!(**args) end |
Instance Attribute Details
#delegated_project_number ⇒ Fixnum
Corresponds to the JSON property delegatedProjectNumber
449 450 451 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 449 def delegated_project_number @delegated_project_number end |
#id_token ⇒ String
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
457 458 459 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 457 def id_token @id_token end |
#local_id ⇒ String
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
465 466 467 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 465 def local_id @local_id end |
#target_project_id ⇒ String
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
471 472 473 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 471 def target_project_id @target_project_id end |
#tenant_id ⇒ String
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
479 480 481 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 479 def tenant_id @tenant_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
486 487 488 489 490 491 492 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 486 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 |