TagsLocationTagBinding
| Property | Value |
|---|---|
| Google Cloud Service Name | Cloud Resource Manager |
| Google Cloud Service Documentation | /resource-manager/docs/tags/tags-overview |
| Google Cloud REST Resource Name | v3.tagBindings |
| Google Cloud REST Resource Documentation | /resource-manager/reference/rest/v3/tagBindings |
| Config Connector Resource Short Names | gcptagslocationtagbinding gcptagslocationtagbindings tagslocationtagbinding |
| Config Connector Service Name | cloudresourcemanager.googleapis.com |
| Config Connector Resource Fully Qualified Name | tagslocationtagbindings.tags.cnrm.cloud.google.com |
| Can Be Referenced by IAMPolicy/IAMPolicyMember | No |
| Config Connector Default Average Reconcile Interval In Seconds | 600 |
Custom Resource Definition Properties
Spec
Schema
location: string
parentRef:
external: string
kind: string
name: string
namespace: string
resourceID: string
tagValueRef:
external: string
name: string
namespace: string
| Fields | |
|---|---|
|
Required |
The location for the resource being tagged. |
|
Required |
ParentRef is a reference to a parent resource. |
|
Optional |
Allowed value: string of the format |
|
Optional |
Kind to which the parent reference is binding the tag. Defaults to Project if not specified. |
|
Optional |
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names |
|
Optional |
Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ |
|
Optional |
The service-generated name of the resource. Used for acquisition only. Leave unset to create a new resource. |
|
Required |
TagsTagValueRef is a reference to a TagsTagValue resource. |
|
Optional |
A reference to an externally managed TagsTagValue resource. Should be in the format "tagValues/{{tagValueID}}". |
|
Optional |
The name of a TagsTagValue resource. |
|
Optional |
The namespace of a TagsTagValue resource. |
Status
Schema
conditions:
- lastTransitionTime: string
message: string
reason: string
status: string
type: string
externalRef: string
name: string
observedGeneration: integer
| Fields | |
|---|---|
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 TagsLocationTagBinding resource in Google Cloud. |
name |
The generated ID for the TagBinding. This is a string of the form: tagBindings/{full-resource-name}/{tag-value-name}. |
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. |
Sample YAML(s)
Typical Use Case
apiVersion: tags.cnrm.cloud.google.com/v1beta1
kind: TagsLocationTagBinding
metadata:
name: tagstagbinding-${uniqueId}
spec:
location: us-east4
parentRef:
kind: StorageBucket
external: "//storage.googleapis.com/projects/_/buckets/storagebucket-${uniqueId}"
tagValueRef:
name: tagstagvalue-${uniqueId}