1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-08 10:35:03 +00:00
gcloud-help/gcloud/alpha/dataplex/data-attribute-bindings/update

128 lines
4.9 KiB
Text
Raw Normal View History

2023-02-01 11:38:52 +00:00
NAME
gcloud alpha dataplex data-attribute-bindings update - update a Dataplex
Data Attribute Binding
SYNOPSIS
gcloud alpha dataplex data-attribute-bindings update
(DATA_ATTRIBUTE_BINDING : --location=LOCATION) --etag=ETAG
[--description=DESCRIPTION] [--display-name=DISPLAY_NAME]
[--labels=[KEY=VALUE,...]] [--path-file-format=PATH_FILE_FORMAT]
[--resource-attributes=[ATTRIBUTES,...]] [--async | --validate-only]
[--path-file-name=PATH_FILE_NAME | --paths=[PATH,...]]
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Update a Dataplex Data Attribute Binding.
EXAMPLES
To Update Data Attribute Binding test-attribute-binding in project
test-dataplex at location us-central1 with resource attributes a1 and a2.
Test column 'testColumn1' attached to attribute 'a1' and 'testColumn2'
attached to attribute 'a2' , run:
$ gcloud alpha dataplex data-attribute-bindings update \
test-attribute-binding --project=test-dataplex \
--location=us-central1 --resource-attributes='a1,a2' \
--paths=name=testColumn1,attributes=a1 \
--paths=name=testColumn2,attributes=a2 \
--etag=Etag_Received_From_Get
POSITIONAL ARGUMENTS
Data attribute binding resource - The DataAttributeBinding 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
2023-05-04 10:43:54 +00:00
can be set in other ways.
To set the project attribute:
2023-02-01 11:38:52 +00:00
◆ provide the argument data_attribute_binding 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_BINDING
ID of the data attribute binding or fully qualified identifier for
2023-05-04 10:43:54 +00:00
the data attribute binding.
To set the data_attribute_binding attribute:
2023-02-01 11:38:52 +00:00
▸ provide the argument data_attribute_binding on the command line.
This positional argument must be specified if any of the other
arguments in this group are specified.
--location=LOCATION
2023-05-04 10:43:54 +00:00
The location of the Dataplex resource.
To set the location attribute:
2023-02-01 11:38:52 +00:00
▸ provide the argument data_attribute_binding on the command line
with a fully specified name;
▸ provide the argument --location on the command line;
▸ set the property dataplex/location.
REQUIRED FLAGS
--etag=ETAG
etag value for particulat Data Attribute Binding resource.
OPTIONAL FLAGS
--description=DESCRIPTION
Description of the Data Attribute Binding.
--display-name=DISPLAY_NAME
Display Name of the Data Attribute Binding.
--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.
--path-file-format=PATH_FILE_FORMAT
The format of the file to create the path. Specify either yaml or json.
Defaults to yaml if not specified. Will be ignored if --file-name is
not specified. PATH_FILE_FORMAT must be one of: json, yaml.
--resource-attributes=[ATTRIBUTES,...]
List of Data Attributes to be associated with the resource
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.
Creation options.
At most one of these can be specified:
--path-file-name=PATH_FILE_NAME
The name of the JSON or YAML file to define Path config from.
--paths=[PATH,...]
The list of paths for items within the associated resource (eg.
columns within a table) along with attribute bindings. The args can
be passed as key value pair. Supported Keys are
--path=name=value1,attributes=value2 ,See
https://cloud.google.com/sdk/gcloud/reference/topic/escaping for
details on using a delimiter other than a comma.
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.