gcloud dataplex glossaries categories create

NAME
gcloud dataplex glossaries categories create - creates a glossary category
SYNOPSIS
gcloud dataplex glossaries categories create(GLOSSARY_CATEGORY :--glossary=GLOSSARY--location=LOCATION)--parent=PARENT[--description=DESCRIPTION][--display-name=DISPLAY_NAME][--labels=[KEY=VALUE,…]][GCLOUD_WIDE_FLAG]
DESCRIPTION
A glossary category represents a collection of glossary categories and glossaryterms within a glossary that are related to each other.
EXAMPLES
To create a glossary categorytest-category in glossarytest-glossary in projecttest-project in locationus-central1, with descriptiontest description,displayNamedisplayName and parentprojects/test-project/locations/us-central1/glossaries/test-glossary, run:
gclouddataplexglossariescategoriescreatetest-category--glossary=test-glossary--location=us-central1--project=test-project--parent='projects/test-project/locations/us-central1/glossaries/test-glossary'--description='test description'--display-name='displayName'
POSITIONAL ARGUMENTS
Glossary category resource - Arguments and flags that define the DataplexGlossary Category you want to create. The arguments in this group can be used tospecify the attributes of this resource. (NOTE) Some attributes are not givenarguments in this group but can be set in other ways.

To set theproject attribute:

  • provide the argumentglossary_category on the command line with afully specified name;
  • provide the argument--project on the command line;
  • set the propertycore/project.

This must be specified.

GLOSSARY_CATEGORY
ID of the glossary category or fully qualified identifier for the glossarycategory.

To set theglossary_category attribute:

  • provide the argumentglossary_category on the command line.

This positional argument must be specified if any of the other arguments in thisgroup are specified.

--glossary=GLOSSARY
The name of glossary category to use.

To set theglossary attribute:

  • provide the argumentglossary_category on the command line with afully specified name;
  • provide the argument--glossary on the command line.
--location=LOCATION
The location of the Dataplex resource.

To set thelocation attribute:

  • provide the argumentglossary_category on the command line with afully specified name;
  • provide the argument--location on the command line;
  • set the propertydataplex/location.
REQUIRED FLAGS
--parent=PARENT
Immediate parent of the created glossary category.
OPTIONAL FLAGS
--description=DESCRIPTION
Description of the glossary category.
--display-name=DISPLAY_NAME
Display name of the glossary category.
--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, andnumbers. Values must contain only hyphens (-), underscores(_), lowercase characters, and numbers.

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 variant is also available:
gcloudalphadataplexglossariescategoriescreate

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-05-13 UTC.