DataCatalogPolicyTag
| Property | Value |
|---|---|
| Google Cloud Service Name | Data Catalog |
| Google Cloud Service Documentation | /data-catalog/docs/ |
| Google Cloud REST Resource Name | v1.projects.locations.taxonomies.policyTags |
| Google Cloud REST Resource Documentation | /data-catalog/docs/reference/rest/v1/projects.locations.taxonomies.policyTags |
| Config Connector Resource Short Names | datacatalogpolicytag gcpdatacatalogpolicytag gcpdatacatalogpolicytags |
| Config Connector Service Name | datacatalog.googleapis.com |
| Config Connector Resource Fully Qualified Name | datacatalogpolicytags.datacatalog.cnrm.cloud.google.com |
| Can Be Referenced by IAMPolicy/IAMPolicyMember | Yes |
| Supports IAM Conditions | No |
| Supports IAM Audit Configs | No |
| IAM External Reference Format |
{{name}} |
| Config Connector Default Average Reconcile Interval In Seconds | 600 |
Custom Resource Definition Properties
Spec
Schema
description: string
displayName: string
parentPolicyTagRef:
external: string
name: string
namespace: string
resourceID: string
taxonomyRef:
external: string
name: string
namespace: string
| Fields | |
|---|---|
|
Optional |
Description of this policy tag. It must: contain only unicode characters, tabs, newlines, carriage returns and page breaks; and be at most 2000 bytes long when encoded in UTF-8. If not set, defaults to an empty description. |
|
Required |
User defined name of this policy tag. It must: be unique within the parent taxonomy; contain only unicode letters, numbers, underscores, dashes and spaces; not start or end with spaces; and be at most 200 bytes long when encoded in UTF-8. |
|
Optional |
PolicyTagRef is a reference to a DataCatalogPolicyTag. |
|
Optional |
A reference to an externally managed DataCatalogPolicyTag resource. Should be in the format "projects/{{projectID}}/locations/{{location}}/taxonomies/{{taxonomyID}}/policyTags/{{policytagID}}". |
|
Optional |
The name of a DataCatalogPolicyTag resource. |
|
Optional |
The namespace of a DataCatalogPolicyTag resource. |
|
Optional |
Immutable. Optional. The service-generated name of the resource. Used for acquisition only. Leave unset to create a new resource. |
|
Required |
TaxonomyRef is a reference to a DataCatalogTaxonomy. |
|
Optional |
A reference to an externally managed DataCatalogTaxonomy resource. Should be in the format "projects/{{projectID}}/locations/{{location}}/taxonomies/{{taxonomyID}}". |
|
Optional |
The name of a DataCatalogTaxonomy resource. |
|
Optional |
The namespace of a DataCatalogTaxonomy resource. |
Status
Schema
childPolicyTags:
- string
conditions:
- lastTransitionTime: string
message: string
reason: string
status: string
type: string
externalRef: string
name: string
observedGeneration: integer
observedState: {}
| Fields | |
|---|---|
childPolicyTags |
Resource names of child policy tags of this policy tag. |
childPolicyTags[] |
|
conditions |
Conditions represent the latest available observations of the object's current state. |
conditions[] |
|
conditions[].lastTransitionTime |
Last time the condition transitioned from one status to another. |
conditions[].message |
Human-readable message indicating details about last transition. |
conditions[].reason |
Unique, one-word, CamelCase reason for the condition's last transition. |
conditions[].status |
Status is the status of the condition. Can be True, False, Unknown. |
conditions[].type |
Type is the type of the condition. |
externalRef |
A unique specifier for the DataCatalogPolicyTag resource in Google Cloud. |
name |
Resource name of this policy tag, whose format is: "projects/{project}/locations/{region}/taxonomies/{taxonomy}/policyTags/{policytag}". |
observedGeneration |
ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource. |
observedState |
ObservedState is the state of the resource as most recently observed in Google Cloud. |
Sample YAML(s)
Typical Use Case
# Copyright 2026 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
apiVersion: datacatalog.cnrm.cloud.google.com/v1beta1
kind: DataCatalogPolicyTag
metadata:
name: datacatalogpolicytag-sample
spec:
description: A policy tag normally associated with low security items
displayName: Low security
taxonomyRef:
name: datacatalogtaxonomy-dep
---
apiVersion: datacatalog.cnrm.cloud.google.com/v1beta1
kind: DataCatalogTaxonomy
metadata:
name: datacatalogtaxonomy-dep
spec:
activatedPolicyTypes:
- FINE_GRAINED_ACCESS_CONTROL
description: A collection of policy tags
displayName: my_taxonomy
projectRef:
# Replace ${PROJECT_ID?} with your project ID.
external: ${PROJECT_ID?}
region: us