Hierarchy Controller configuration for the cluster.
↳ version
string
Version of ACM installed.
↳ cluster
string
The user-specified cluster name used by Config Sync cluster-name-selector annotation or ClusterSelector, for applying configs to only a subset of clusters. Omit this field if the cluster's fleet membership name is used by Config Sync cluster-name-selector annotation or ClusterSelector. Set this field if a name different from the cluster's fleet membership name is used by Config Sync cluster-name-selector annotation or ClusterSelector.
The user-specified cluster name used by Config Sync cluster-name-selector
annotation or ClusterSelector, for applying configs to only a subset
of clusters.
Omit this field if the cluster's fleet membership name is used by Config
Sync cluster-name-selector annotation or ClusterSelector.
Set this field if a name different from the cluster's fleet membership name
is used by Config Sync cluster-name-selector annotation or ClusterSelector.
Returns
Type
Description
string
setCluster
The user-specified cluster name used by Config Sync cluster-name-selector
annotation or ClusterSelector, for applying configs to only a subset
of clusters.
Omit this field if the cluster's fleet membership name is used by Config
Sync cluster-name-selector annotation or ClusterSelector.
Set this field if a name different from the cluster's fleet membership name
is used by Config Sync cluster-name-selector annotation or ClusterSelector.
[[["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-04 UTC."],[],[],null,["# Google Cloud Gke Hub V1 Client - Class MembershipSpec (1.0.6)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.6 (latest)](/php/docs/reference/cloud-gke-hub/latest/ConfigManagement.V1.MembershipSpec)\n- [1.0.5](/php/docs/reference/cloud-gke-hub/1.0.5/ConfigManagement.V1.MembershipSpec)\n- [0.10.0](/php/docs/reference/cloud-gke-hub/0.10.0/ConfigManagement.V1.MembershipSpec)\n- [0.9.5](/php/docs/reference/cloud-gke-hub/0.9.5/ConfigManagement.V1.MembershipSpec)\n- [0.8.2](/php/docs/reference/cloud-gke-hub/0.8.2/ConfigManagement.V1.MembershipSpec)\n- [0.7.1](/php/docs/reference/cloud-gke-hub/0.7.1/ConfigManagement.V1.MembershipSpec)\n- [0.6.3](/php/docs/reference/cloud-gke-hub/0.6.3/ConfigManagement.V1.MembershipSpec)\n- [0.5.6](/php/docs/reference/cloud-gke-hub/0.5.6/ConfigManagement.V1.MembershipSpec) \nReference documentation and code samples for the Google Cloud Gke Hub V1 Client class MembershipSpec.\n\n**Anthos Config Management**: Configuration for a single cluster.\n\nIntended to parallel the ConfigManagement CR.\n\nGenerated from protobuf message `google.cloud.gkehub.configmanagement.v1.MembershipSpec`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ GkeHub \\\\ ConfigManagement \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getConfigSync\n\nConfig Sync configuration for the cluster.\n\n### hasConfigSync\n\n### clearConfigSync\n\n### setConfigSync\n\nConfig Sync configuration for the cluster.\n\n### getPolicyController\n\nPolicy Controller configuration for the cluster.\n\n### hasPolicyController\n\n### clearPolicyController\n\n### setPolicyController\n\nPolicy Controller configuration for the cluster.\n\n### getHierarchyController\n\nHierarchy Controller configuration for the cluster.\n\n### hasHierarchyController\n\n### clearHierarchyController\n\n### setHierarchyController\n\nHierarchy Controller configuration for the cluster.\n\n### getVersion\n\nVersion of ACM installed.\n\n### setVersion\n\nVersion of ACM installed.\n\n### getCluster\n\nThe user-specified cluster name used by Config Sync cluster-name-selector\nannotation or ClusterSelector, for applying configs to only a subset\nof clusters.\n\nOmit this field if the cluster's fleet membership name is used by Config\nSync cluster-name-selector annotation or ClusterSelector.\nSet this field if a name different from the cluster's fleet membership name\nis used by Config Sync cluster-name-selector annotation or ClusterSelector.\n\n### setCluster\n\nThe user-specified cluster name used by Config Sync cluster-name-selector\nannotation or ClusterSelector, for applying configs to only a subset\nof clusters.\n\nOmit this field if the cluster's fleet membership name is used by Config\nSync cluster-name-selector annotation or ClusterSelector.\nSet this field if a name different from the cluster's fleet membership name\nis used by Config Sync cluster-name-selector annotation or ClusterSelector.\n\n### getManagement\n\nEnables automatic Feature management.\n\n### setManagement\n\nEnables automatic Feature management."]]