Conditions represent the latest available observation of the resource'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.
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
# Copyright 2020 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:compute.cnrm.cloud.google.com/v1beta1kind:ComputeProjectMetadatametadata:name:computeprojectmetadata-samplespec:metadata:baz:batfoo:bar
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[[["\u003cp\u003eComputeProjectMetadata is a resource within the Google Cloud Compute Engine service, managed by Config Connector.\u003c/p\u003e\n"],["\u003cp\u003eThe resource's primary function is to manage key-value metadata pairs at the project level, stored under the \u003ccode\u003emetadata\u003c/code\u003e field.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003emetadata\u003c/code\u003e field, defined within the \u003ccode\u003espec\u003c/code\u003e, is a series of required key-value pairs that are both string-typed.\u003c/p\u003e\n"],["\u003cp\u003eThe resource's status is detailed within the \u003ccode\u003econditions\u003c/code\u003e and \u003ccode\u003eobservedGeneration\u003c/code\u003e fields, showing the current state, message, and any change reason along with transition times.\u003c/p\u003e\n"],["\u003cp\u003eThe Config Connector will reconcile this resource on average, every 600 seconds, and is defined by the fully qualified name, computeprojectmetadatas.compute.cnrm.cloud.google.com.\u003c/p\u003e\n"]]],[],null,["# ComputeProjectMetadata\n======================\n\n*** ** * ** ***\n\nCustom Resource Definition Properties\n-------------------------------------\n\n### Annotations\n\n### Spec\n\n#### Schema\n\n metadata:\n string: string\n\n### Status\n\n#### Schema\n\n conditions:\n - lastTransitionTime: string\n message: string\n reason: string\n status: string\n type: string\n observedGeneration: integer\n\nSample YAML(s)\n--------------\n\n### Typical Use Case\n\n # Copyright 2020 Google LLC\n #\n # Licensed under the Apache License, Version 2.0 (the \"License\");\n # you may not use this file except in compliance with the License.\n # You may obtain a copy of the License at\n #\n # http://www.apache.org/licenses/LICENSE-2.0\n #\n # Unless required by applicable law or agreed to in writing, software\n # distributed under the License is distributed on an \"AS IS\" BASIS,\n # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n # See the License for the specific language governing permissions and\n # limitations under the License.\n\n apiVersion: compute.cnrm.cloud.google.com/v1beta1\n kind: ComputeProjectMetadata\n metadata:\n name: computeprojectmetadata-sample\n spec:\n metadata:\n baz: bat\n foo: bar\n\n| **Note:** If you have any trouble with instantiating the resource, refer to [Troubleshoot Config Connector](/config-connector/docs/troubleshooting)."]]