- 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 projecttest-dataplex
at locationus-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 can be set in
other ways.
To set the
project
attribute:-
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 the data
attribute binding.
To set the
data_attribute_binding
attribute:-
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.
-
provide the argument
--location
=LOCATION
-
The location of the Dataplex resource.
To set the
location
attribute:-
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
.
-
provide the argument
-
provide the argument
-
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 can be set in
other ways.
- REQUIRED FLAGS
-
--etag
=ETAG
- etag value of the 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.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-17 UTC.