- 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 glossary terms within a glossary that are related to each other.
- EXAMPLES
-
To create a glossary category
test-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:gcloud dataplex glossaries categories create test-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 Dataplex
Glossary Category you want 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
glossary_category
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.
GLOSSARY_CATEGORY
-
ID of the glossary category or fully qualified identifier for the glossary
category.
To set the
glossary_category
attribute:-
provide the argument
glossary_category
on the command line.
This positional argument must be specified if any of the other arguments in this group are specified.
-
provide the argument
--glossary
=GLOSSARY
-
The name of glossary category to use.
To set the
glossary
attribute:-
provide the argument
glossary_category
on the command line with a fully specified name; -
provide the argument
--glossary
on the command line.
-
provide the argument
--location
=LOCATION
-
The location of the Dataplex resource.
To set the
location
attribute:-
provide the argument
glossary_category
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
-
Glossary category resource - Arguments and flags that define the Dataplex
Glossary Category you want 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.
- 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, and numbers. 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:
gcloud alpha dataplex glossaries categories create
gcloud dataplex glossaries categories create
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 2025-05-13 UTC.