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 | gcpdatacatalogpolicytag gcpdatacatalogpolicytags datacatalogpolicytag |
| 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 | No |
| Config Connector Default Average Reconcile Interval In Seconds | 600 |
Custom Resource Definition Properties
Annotations
| Fields | |
|---|---|
cnrm.cloud.google.com/project-id |
|
Spec
Schema
description: string
displayName: string
parentPolicyTagRef:
external: string
name: string
namespace: string
resourceID: string
taxonomyRef:
external: string
name: string
namespace: string
| Fields | |
|---|---|
|
Optional |
|
|
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 defines the resource reference to DataCatalogPolicyTag, which "External" field holds the Google Cloud identifier for the KRM object. |
|
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 defines the resource reference to DataCatalogTaxonomy, which "External" field holds the Google Cloud identifier for the KRM object. |
|
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, format: "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
apiVersion: datacatalog.cnrm.cloud.google.com/v1beta1
kind: DataCatalogPolicyTag
metadata:
name: datacatalogpolicytag-${uniqueId}
spec:
description: A policy tag normally associated with low security items
displayName: Low security
taxonomyRef:
name: datacatalogtaxonomy-${uniqueId}