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

location

Required

string

The location for the resource being tagged.

parentRef

Required

object

ParentRef is a reference to a parent resource.

parentRef.external

Optional

string

Allowed value: string of the format //cloudresourcemanager.googleapis.com/projects/{{value}}, where {{value}} is the `number` field of a `Project` resource.

parentRef.kind

Optional

string

Kind to which the parent reference is binding the tag. Defaults to Project if not specified.

parentRef.name

Optional

string

Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names

parentRef.namespace

Optional

string

Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/

resourceID

Optional

string

The service-generated name of the resource. Used for acquisition only. Leave unset to create a new resource.

tagValueRef

Required

object

TagsTagValueRef is a reference to a TagsTagValue resource.

tagValueRef.external

Optional

string

A reference to an externally managed TagsTagValue resource. Should be in the format "tagValues/{{tagValueID}}".

tagValueRef.name

Optional

string

The name of a TagsTagValue resource.

tagValueRef.namespace

Optional

string

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

list (object)

Conditions represent the latest available observations of the object's current state.

conditions[]

object

conditions[].lastTransitionTime

string

Last time the condition transitioned from one status to another.

conditions[].message

string

Human-readable message indicating details about last transition.

conditions[].reason

string

Unique, one-word, CamelCase reason for the condition's last transition.

conditions[].status

string

Status is the status of the condition. Can be True, False, Unknown.

conditions[].type

string

Type is the type of the condition.

externalRef

string

A unique specifier for the TagsLocationTagBinding resource in Google Cloud.

name

string

The generated ID for the TagBinding. This is a string of the form: tagBindings/{full-resource-name}/{tag-value-name}.

observedGeneration

integer

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}