gcloud alpha dataplex glossaries categories create Stay organized with collections Save and categorize content based on your preferences.
- NAME
- gcloud alpha dataplex glossaries categories create - creates a glossary category
- SYNOPSIS
gcloud alpha 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
(ALPHA)A glossary category represents a collection of glossarycategories and glossary terms within a glossary that are related to each other.- EXAMPLES
- To create a glossary category
test-categoryin glossarytest-glossaryin projecttest-projectin locationus-central1, with descriptiontest description,displayNamedisplayNameand parentprojects/test-project/locations/us-central1/glossaries/test-glossary, run:gcloudalphadataplexglossariescategoriescreatetest-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 the
projectattribute:- provide the argument
glossary_categoryon the command line with afully specified name; - provide the argument
--projecton the command line; - set the property
core/project.
This must be specified.
GLOSSARY_CATEGORY- ID of the glossary category or fully qualified identifier for the glossarycategory.
To set the
glossary_categoryattribute:- provide the argument
glossary_categoryon the command line.
This positional argument must be specified if any of the other arguments in thisgroup are specified.
- provide the argument
--glossary=GLOSSARY- The name of glossary category to use.
To set the
glossaryattribute:- provide the argument
glossary_categoryon the command line with afully specified name; - provide the argument
--glossaryon the command line.
- provide the argument
--location=LOCATION- The location of the Dataplex resource.
To set the
locationattribute:- provide the argument
glossary_categoryon the command line with afully specified name; - provide the argument
--locationon the command line; - set the property
dataplex/location.
- provide the argument
- provide the argument
- 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.
- 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 helpfor details. - NOTES
- This command is currently in alpha and might change without notice. If thiscommand fails with API permission errors despite specifying the correct project,you might be trying to access an API with an invitation-only early accessallowlist. This variant is also available:
gclouddataplexglossariescategoriescreate
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.