1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-15 01:15:34 +00:00
gcloud-help/gcloud/alpha/dataplex/data-taxonomies/attributes/update
2024-09-18 09:49:45 +00:00

143 lines
5.7 KiB
Text

NAME
gcloud alpha dataplex data-taxonomies attributes update - update a Dataplex
Data Attribute
SYNOPSIS
gcloud alpha dataplex data-taxonomies attributes update
(DATA_ATTRIBUTE : --data_taxonomy=DATA_TAXONOMY --location=LOCATION)
[--data-readers=[DATA_READERS,...]] [--description=DESCRIPTION]
[--display-name=DISPLAY_NAME] [--etag=ETAG] [--labels=[KEY=VALUE,...]]
[--parent=PARENT] [--async | --validate-only]
[--resource-owners=[RESOURCE_OWNERS,...]
--resource-readers=[RESOURCE_READERS,...]
--resource-writers=[RESOURCE_WRITERS,...]] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Update a Dataplex Data Attribute.
EXAMPLES
To update Data Attribute test-attribute for Data Taxonomy test-datataxonomy
in project test-dataplex at location us-central1 with description as test
description , display name as displayName, resource-readers as
user:test@google.com, resource-writers as user:test@google.com,
resource-owner as user:test@google.com run: data-readers as
user:test@google.com and parent as test-attribute-parent, run:
$ gcloud alpha dataplex data-taxonomies attributes update \
test-attribute --location=us-central1 --project=test-dataplex'
--data_taxonomy=test-datataxonomy --description='test description'
--display-name='displayName' --resource-readers='user:test@google.com'
--resource-writers='user:test@google.com' --resource-owners='user:test@google.com'
--data-readers='user:test@google.com'
--parent='test-attribute-parent'
POSITIONAL ARGUMENTS
Data attribute resource - The DataAttribute to update. The arguments in
this group can be used to specify the attributes of this resource. (NOTE)
Some attributes are not given arguments in this group but can be set in
other ways.
To set the project attribute:
◆ provide the argument data_attribute on the command line with a fully
specified name;
◆ provide the argument --project on the command line;
◆ set the property core/project.
This must be specified.
DATA_ATTRIBUTE
ID of the data attribute or fully qualified identifier for the data
attribute.
To set the data_attribute attribute:
▸ provide the argument data_attribute on the command line.
This positional argument must be specified if any of the other
arguments in this group are specified.
--data_taxonomy=DATA_TAXONOMY
The name of data attribute to use.
To set the data_taxonomy attribute:
▸ provide the argument data_attribute on the command line with a
fully specified name;
▸ provide the argument --data_taxonomy on the command line.
--location=LOCATION
The location of the Dataplex resource.
To set the location attribute:
▸ provide the argument data_attribute on the command line with a
fully specified name;
▸ provide the argument --location on the command line;
▸ set the property dataplex/location.
FLAGS
Specified when applied to data stored on the resource (eg: rows,columns in
BigQuery Tables).
--data-readers=[DATA_READERS,...]
The set of principals to be granted reader role on the resource.
Expected principal formats are user:$userEmail, group:$groupEmail
--description=DESCRIPTION
Description of the Data Attribute.
--display-name=DISPLAY_NAME
Display Name of the Data Attribute.
--etag=ETAG
etag value of the Data Attribute resource.
--labels=[KEY=VALUE,...]
List of label KEY=VALUE pairs to add.
Keys must start with a lowercase character and contain only hyphens
(-), underscores (_), lowercase characters, and numbers. Values must
contain only hyphens (-), underscores (_), lowercase characters, and
numbers.
--parent=PARENT
Parent Data Attribute for the defined Data Attribute. It can be
attribute name or fully qualified attribute name.
At most one of --async | --validate-only can be specified.
At most one of these can be specified:
--async
Return immediately, without waiting for the operation in progress to
complete.
--validate-only
Validate the update action, but don't actually perform it.
Spec related to Dataplex Resource.Specified when applied to a resource
(eg: Google Cloud Storage bucket, BigQuery, dataset, BigQuery table).
--resource-owners=[RESOURCE_OWNERS,...]
The set of principals to be granted owner role on the resource.
Expected principal formats are user:$userEmail, group:$groupEmail
--resource-readers=[RESOURCE_READERS,...]
The set of principals to be granted reader role on the resource.
Expected principal formats are user:$userEmail, group:$groupEmail
--resource-writers=[RESOURCE_WRITERS,...]
The set of principals to be granted writer role on the resource.
Expected principal formats are user:$userEmail, group:$groupEmail
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 command is currently in alpha and might change without notice. If this
command fails with API permission errors despite specifying the correct
project, you might be trying to access an API with an invitation-only early
access allowlist.