diff --git a/pkg/snippet/snippetgeneration/snippetgeneration.go b/pkg/snippet/snippetgeneration/snippetgeneration.go index f84f583673..f460ee5657 100644 --- a/pkg/snippet/snippetgeneration/snippetgeneration.go +++ b/pkg/snippet/snippetgeneration/snippetgeneration.go @@ -117,7 +117,6 @@ var preferredSampleForResource = map[string]string{ "workstationcluster": "basic-workstationcluster", "kmsautokeyconfig": "kmsautokeyconfig", "kmskeyhandle": "kmskeyhandle", - } type Snippet struct { diff --git a/scripts/generate-google3-docs/resource-reference/generated/resource-docs/kms/kmskeyhandle.md b/scripts/generate-google3-docs/resource-reference/generated/resource-docs/kms/kmskeyhandle.md index e69de29bb2..19d558294b 100644 --- a/scripts/generate-google3-docs/resource-reference/generated/resource-docs/kms/kmskeyhandle.md +++ b/scripts/generate-google3-docs/resource-reference/generated/resource-docs/kms/kmskeyhandle.md @@ -0,0 +1,303 @@ +{# AUTOGENERATED. DO NOT EDIT. #} + +{% extends "config-connector/_base.html" %} + +{% block page_title %}KMSKeyHandle{% endblock %} +{% block body %} + + +
Property | +Value | +
---|---|
{{gcp_name_short}} Service Name | +Cloud Key Management Service | +
{{gcp_name_short}} Service Documentation | +/kms/docs/ | +
{{gcp_name_short}} REST Resource Name | +v1.projects.locations.keyHandles | +
{{gcp_name_short}} REST Resource Documentation | +/kms/docs/reference/rest/v1/projects.locations.keyHandles | +
{{product_name_short}} Resource Short Names | +gcpkmskeyhandle gcpkmskeyhandles kmskeyhandle |
+
{{product_name_short}} Service Name | +cloudkms.googleapis.com | +
{{product_name_short}} Resource Fully Qualified Name | +kmskeyhandles.kms.cnrm.cloud.google.com | +
Can Be Referenced by IAMPolicy/IAMPolicyMember | +No | +
{{product_name_short}} Default Average Reconcile Interval In Seconds | +600 | +
Fields | +|
---|---|
+
Optional + |
+
+
{% verbatim %}Location name to create KeyHandle{% endverbatim %} + |
+
+
Optional + |
+
+
{% verbatim %}Project hosting KMSKeyHandle{% endverbatim %} + |
+
+
Optional + |
+
+
{% verbatim %}The `projectID` field of a project, when not managed by Config Connector.{% endverbatim %} + |
+
+
Optional + |
+
+
{% verbatim %}The kind of the Project resource; optional but must be `Project` if provided.{% endverbatim %} + |
+
+
Optional + |
+
+
{% verbatim %}The `name` field of a `Project` resource.{% endverbatim %} + |
+
+
Optional + |
+
+
{% verbatim %}The `namespace` field of a `Project` resource.{% endverbatim %} + |
+
+
Optional + |
+
+
{% verbatim %}Immutable. The KMS Key Handle ID used for resource creation or acquisition. For creation: If specified, this value is used as the key handle ID. If not provided, a UUID will be generated and assigned as the key handle ID. For acquisition: This field must be provided to identify the key handle resource to acquire.{% endverbatim %} + |
+
+
Optional + |
+
+
{% verbatim %}Indicates the resource type that the resulting [CryptoKey][] is meant to protect, e.g. `{SERVICE}.googleapis.com/{TYPE}`. See documentation for supported resource types https://cloud.google.com/kms/docs/autokey-overview#compatible-services.{% endverbatim %} + |
+
Fields | +|
---|---|
conditions |
+
+
{% verbatim %}Conditions represent the latest available observations of the object's current state.{% endverbatim %} + |
+
conditions[] |
+
+
{% verbatim %}{% endverbatim %} + |
+
conditions[].lastTransitionTime |
+
+
{% verbatim %}Last time the condition transitioned from one status to another.{% endverbatim %} + |
+
conditions[].message |
+
+
{% verbatim %}Human-readable message indicating details about last transition.{% endverbatim %} + |
+
conditions[].reason |
+
+
{% verbatim %}Unique, one-word, CamelCase reason for the condition's last transition.{% endverbatim %} + |
+
conditions[].status |
+
+
{% verbatim %}Status is the status of the condition. Can be True, False, Unknown.{% endverbatim %} + |
+
conditions[].type |
+
+
{% verbatim %}Type is the type of the condition.{% endverbatim %} + |
+
externalRef |
+
+
{% verbatim %}A unique specifier for the KMSKeyHandle resource in GCP.{% endverbatim %} + |
+
observedGeneration |
+
+
{% verbatim %}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.{% endverbatim %} + |
+
observedState |
+
+
{% verbatim %}ObservedState is the state of the resource as most recently observed in GCP.{% endverbatim %} + |
+
observedState.kmsKey |
+
+
{% verbatim %}{% endverbatim %} + |
+