Skip to main content

policy_tags

Overview

Namepolicy_tags
TypeResource
Idgoogle.datacatalog.policy_tags

Fields

NameDatatypeDescription
namestringOutput only. Resource name of this policy tag in the URL format. The policy tag manager generates unique taxonomy IDs and policy tag IDs.
descriptionstringDescription of this policy tag. If not set, defaults to empty. The description must contain only Unicode characters, tabs, newlines, carriage returns and page breaks, and be at most 2000 bytes long when encoded in UTF-8.
parentPolicyTagstringResource name of this policy tag's parent policy tag. If empty, this is a top level tag. If not set, defaults to an empty string. For example, for the "LatLong" policy tag in the example above, this field contains the resource name of the "Geolocation" policy tag, and, for "Geolocation", this field is empty.
childPolicyTagsarrayOutput only. Resource names of child policy tags of this policy tag.
displayNamestringRequired. User-defined name of this policy tag. The name can't start or end with spaces and must be unique within the parent taxonomy, contain only Unicode letters, numbers, underscores, dashes and spaces, and be at most 200 bytes long when encoded in UTF-8.

Methods

NameAccessible byRequired ParamsDescription
projects_locations_taxonomies_policy_tags_getSELECTlocationsId, policyTagsId, projectsId, taxonomiesIdGets a policy tag.
projects_locations_taxonomies_policy_tags_listSELECTlocationsId, projectsId, taxonomiesIdLists all policy tags in a taxonomy.
projects_locations_taxonomies_policy_tags_createINSERTlocationsId, projectsId, taxonomiesIdCreates a policy tag in a taxonomy.
projects_locations_taxonomies_policy_tags_deleteDELETElocationsId, policyTagsId, projectsId, taxonomiesIdDeletes a policy tag together with the following: All of its descendant policy tags, if any Policies associated with the policy tag and its descendants * References from BigQuery table schema of the policy tag and its descendants
_projects_locations_taxonomies_policy_tags_listEXEClocationsId, projectsId, taxonomiesIdLists all policy tags in a taxonomy.
projects_locations_taxonomies_policy_tags_patchEXEClocationsId, policyTagsId, projectsId, taxonomiesIdUpdates a policy tag, including its display name, description, and parent policy tag.