1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-17 06:11:59 +00:00
gcloud-help/gcloud/dataplex/lakes/deauthorize

76 lines
2.7 KiB
Text
Raw Normal View History

2022-03-01 04:29:52 +00:00
NAME
gcloud dataplex lakes deauthorize - deauthorize a project service account
from managing given resource
SYNOPSIS
gcloud dataplex lakes deauthorize
(--project-resource=PROJECT_RESOURCE
| --storage-bucket-resource=STORAGE_BUCKET_RESOURCE
| --bigquery-dataset-resource=BIGQUERY_DATASET_RESOURCE
--secondary-project=SECONDARY_PROJECT) [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
Remove IAM Bindings for the service account of the primary project from a
secondary project, a storage bucket, or BigQuery dataset.
EXAMPLES
To deauthorize the service account in project test-project from managing
another project test-project2, run:
$ gcloud 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:
$ gcloud 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:
$ gcloud dataplex lakes deauthorize --project=test-project \
--bigquery-dataset-resource=test-dataset \
--secondary-project=test-project2
REQUIRED FLAGS
Container or Object to unbind p4sa
Exactly one of these must be specified:
--project-resource=PROJECT_RESOURCE
The identifier of the project to deauthorize.
--storage-bucket-resource=STORAGE_BUCKET_RESOURCE
The identifier of the Cloud Storage bucket to deauthorize the project
from.
Fields to help identify the BigQuery Dataset.
--bigquery-dataset-resource=BIGQUERY_DATASET_RESOURCE
The identifier of the BigQuery dataset to deauthorize the project
from.
2022-08-10 08:48:58 +00:00
This flag argument must be specified if any of the other arguments
in this group are specified.
2022-03-01 04:29:52 +00:00
--secondary-project=SECONDARY_PROJECT
The identifier of the Project where BigQuery dataset resides
2022-08-10 08:48:58 +00:00
This flag argument must be specified if any of the other arguments
in this group are specified.
2022-03-01 04:29:52 +00:00
GCLOUD WIDE FLAGS
These flags are available to all commands: --access-token-file, --account,
--billing-project, --configuration, --flags-file, --flatten, --format,
--help, --impersonate-service-account, --log-http, --project, --quiet,
--trace-token, --user-output-enabled, --verbosity.
Run $ gcloud help for details.
NOTES
This variant is also available:
$ gcloud alpha dataplex lakes deauthorize