KubernetesResource contains the YAML manifests and
configuration for Membership Kubernetes resources in the
cluster. After CreateMembership or UpdateMembership, these
resources should be re-applied in the cluster.
Attributes
Name
Description
membership_cr_manifest
str
Input only. The YAML representation of the
Membership CR. This field is ignored for GKE
clusters where Hub can read the CR directly.
Callers should provide the CR that is currently
present in the cluster during CreateMembership
or UpdateMembership, or leave this field empty
if none exists. The CR manifest is used to
validate the cluster has not been registered
with another Membership.
membership_resources
MutableSequence[google.cloud.gkehub_v1.types.ResourceManifest]
Output only. Additional Kubernetes resources
that need to be applied to the cluster after
Membership creation, and after every update.
This field is only populated in the Membership
returned from a successful long-running
operation from CreateMembership or
UpdateMembership. It is not populated during
normal GetMembership or ListMemberships
requests. To get the resource manifest after the
initial registration, the caller should make a
UpdateMembership call with an empty field mask.
connect_resources
MutableSequence[google.cloud.gkehub_v1.types.ResourceManifest]
Output only. The Kubernetes resources for
installing the GKE Connect agent
This field is only populated in the Membership
returned from a successful long-running
operation from CreateMembership or
UpdateMembership. It is not populated during
normal GetMembership or ListMemberships
requests. To get the resource manifest after the
initial registration, the caller should make a
UpdateMembership call with an empty field mask.
[[["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-08-07 UTC."],[],[],null,["# Class KubernetesResource (1.17.3)\n\nVersion latestkeyboard_arrow_down\n\n- [1.17.3 (latest)](/python/docs/reference/gkehub/latest/google.cloud.gkehub_v1.types.KubernetesResource)\n- [1.17.1](/python/docs/reference/gkehub/1.17.1/google.cloud.gkehub_v1.types.KubernetesResource)\n- [1.16.0](/python/docs/reference/gkehub/1.16.0/google.cloud.gkehub_v1.types.KubernetesResource)\n- [1.15.1](/python/docs/reference/gkehub/1.15.1/google.cloud.gkehub_v1.types.KubernetesResource)\n- [1.14.2](/python/docs/reference/gkehub/1.14.2/google.cloud.gkehub_v1.types.KubernetesResource)\n- [1.13.1](/python/docs/reference/gkehub/1.13.1/google.cloud.gkehub_v1.types.KubernetesResource)\n- [1.12.1](/python/docs/reference/gkehub/1.12.1/google.cloud.gkehub_v1.types.KubernetesResource)\n- [1.11.0](/python/docs/reference/gkehub/1.11.0/google.cloud.gkehub_v1.types.KubernetesResource)\n- [1.10.2](/python/docs/reference/gkehub/1.10.2/google.cloud.gkehub_v1.types.KubernetesResource)\n- [1.9.0](/python/docs/reference/gkehub/1.9.0/google.cloud.gkehub_v1.types.KubernetesResource)\n- [1.8.1](/python/docs/reference/gkehub/1.8.1/google.cloud.gkehub_v1.types.KubernetesResource)\n- [1.7.1](/python/docs/reference/gkehub/1.7.1/google.cloud.gkehub_v1.types.KubernetesResource)\n- [1.6.0](/python/docs/reference/gkehub/1.6.0/google.cloud.gkehub_v1.types.KubernetesResource)\n- [1.5.3](/python/docs/reference/gkehub/1.5.3/google.cloud.gkehub_v1.types.KubernetesResource)\n- [1.4.3](/python/docs/reference/gkehub/1.4.3/google.cloud.gkehub_v1.types.KubernetesResource)\n- [1.3.0](/python/docs/reference/gkehub/1.3.0/google.cloud.gkehub_v1.types.KubernetesResource)\n- [1.2.0](/python/docs/reference/gkehub/1.2.0/google.cloud.gkehub_v1.types.KubernetesResource)\n- [1.1.0](/python/docs/reference/gkehub/1.1.0/google.cloud.gkehub_v1.types.KubernetesResource)\n- [1.0.0](/python/docs/reference/gkehub/1.0.0/google.cloud.gkehub_v1.types.KubernetesResource)\n- [0.2.2](/python/docs/reference/gkehub/0.2.2/google.cloud.gkehub_v1.types.KubernetesResource)\n- [0.1.2](/python/docs/reference/gkehub/0.1.2/google.cloud.gkehub_v1.types.KubernetesResource) \n\n KubernetesResource(mapping=None, *, ignore_unknown_fields=False, **kwargs)\n\nKubernetesResource contains the YAML manifests and\nconfiguration for Membership Kubernetes resources in the\ncluster. After CreateMembership or UpdateMembership, these\nresources should be re-applied in the cluster."]]