1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-18 14:56:05 +00:00

gcloud: Thu Apr 20 10:38:56 UTC 2023

This commit is contained in:
Automated 2023-04-20 10:38:56 +00:00
parent b155beb241
commit b33a8a3e6e
169 changed files with 3258 additions and 576 deletions

View file

@ -1,6 +1,6 @@
NAME
gcloud alpha dataplex lakes deauthorize - deauthorize a project service
account from managing given resource
gcloud alpha dataplex lakes deauthorize - deauthorize a service agent from
managing resources
SYNOPSIS
gcloud alpha dataplex lakes deauthorize
@ -10,52 +10,55 @@ SYNOPSIS
--secondary-project=SECONDARY_PROJECT) [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Remove IAM Bindings for the service account of the primary project
from a secondary project, a storage bucket, or BigQuery dataset.
(ALPHA) The service agent for the primary project will have its IAM role
revoked from a secondary project, a Cloud Storage bucket, or a BigQuery
dataset.
EXAMPLES
To deauthorize the service account in project test-project from managing
another project test-project2, run:
To deauthorize the service agent in project test-project from managing
resources in the project test-project2, run:
$ gcloud alpha dataplex lakes deauthorize --project=test-project \
--project-resource=test-project2
To deauthorize the service account in project test-project from managing
the storage bucket dataplex-storage-bucket, run:
To deauthorize the service agent in project test-project from managing the
Cloud Storage bucket dataplex-storage-bucket, run:
$ gcloud alpha dataplex lakes deauthorize --project=test-project \
--storage-bucket-resource=dataplex-storage-bucket
To deauthorize the service account in project test-project from managing
the BigQuery dataset test-dataset in project test-project2, run:
To deauthorize the service agent in project test-project from managing the
BigQuery dataset test-dataset in project test-project2, run:
$ gcloud alpha dataplex lakes deauthorize --project=test-project \
--bigquery-dataset-resource=test-dataset \
--secondary-project=test-project2
REQUIRED FLAGS
Container or Object to unbind p4sa
The resource for which the service agent's role will be revoked.
Exactly one of these must be specified:
--project-resource=PROJECT_RESOURCE
The identifier of the project to deauthorize.
The identifier of the project whose resources the service agent will
no longer manage.
--storage-bucket-resource=STORAGE_BUCKET_RESOURCE
The identifier of the Cloud Storage bucket to deauthorize the project
from.
The identifier of the Cloud Storage bucket that the service agent
will no longer manage.
Fields to help identify the BigQuery Dataset.
Fields to identify the BigQuery dataset.
--bigquery-dataset-resource=BIGQUERY_DATASET_RESOURCE
The identifier of the BigQuery dataset to deauthorize the project
from.
The identifier of the BigQuery dataset that the service agent will
no longer manage.
This flag argument must be specified if any of the other arguments
in this group are specified.
--secondary-project=SECONDARY_PROJECT
The identifier of the Project where BigQuery dataset resides
The identifier of the project where the BigQuery dataset is
located.
This flag argument must be specified if any of the other arguments
in this group are specified.