gcloud alpha dataplex data-attribute-bindings create

NAME
gcloud alpha dataplex data-attribute-bindings create - create a Dataplex Data Attribute Binding
SYNOPSIS
gcloud alpha dataplex data-attribute-bindings create (DATA_ATTRIBUTE_BINDING : --location=LOCATION) [--description=DESCRIPTION] [--display-name=DISPLAY_NAME] [--labels=[KEY=VALUE,…]] [--path-file-format=PATH_FILE_FORMAT] [--resource=RESOURCE] [--resource-attributes=[ATTRIBUTES,…]] [--async     | --validate-only] [--path-file-name=PATH_FILE_NAME     | --paths=[PATH,…]] [GCLOUD_WIDE_FLAG]
DESCRIPTION
(ALPHA) Create a Dataplex Data Attribute Binding.
EXAMPLES
To create Data Attribute Binding test-attribute-binding in project test-dataplex at location us-central1 with resouce name 'testResource' and 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 create test-attribute-binding --project=test-dataplex --location=us-central1 --resource='projects/test-dataplex/locations/us-central1/lakes/my-lake/zones/test-zone/entities/testResource' --resource-attributes='a1,a2' --paths=name=testColumn1,attributes=a1 --paths=name=testColumn2,attributes=a2
POSITIONAL ARGUMENTS
Data attribute binding resource - The DataAttributeBinding to create. 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.

--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.
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 json if not specified. Will be ignored if --file-name is not specified. PATH_FILE_FORMAT must be one of: json, yaml.
--resource=RESOURCE
The resource name of the resource that is binded to Data Attribute.
--resource-attributes=[ATTRIBUTES,…]
List of attributes to be associated with the resource. It should be fully qualified attribute name
At most one of these can be specified:
--async
Return immediately, without waiting for the operation in progress to complete.
--validate-only
Validate the create 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. Attribute name should be fully qualified attribute name.
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.