NAME
    gcloud alpha dataplex data-taxonomies attributes create - create a Dataplex
        Data Attribute

SYNOPSIS
    gcloud alpha dataplex data-taxonomies attributes create
        (DATA_ATTRIBUTE : --data_taxonomy=DATA_TAXONOMY --location=LOCATION)
        [--data-readers=[DATA_READERS,...]] [--description=DESCRIPTION]
        [--display-name=DISPLAY_NAME] [--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) Create a Dataplex Data Attribute.

EXAMPLES
    To create 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, data-readers as
    user:test@google.com and parent as test-attribute-parent, run:

        $ gcloud alpha dataplex data-taxonomies attributes create \
          test-attribute-6 --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 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 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.

     --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 created Data Attribute. It can be
        attribute name or 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.

     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.

