Reference documentation and code samples for the GKE Hub V1 API class Google::Cloud::GkeHub::ConfigManagement::V1::MembershipSpec.
Anthos Config Management: Configuration for a single cluster. Intended to parallel the ConfigManagement CR.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#cluster
def cluster() -> ::String
Returns
- (::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.
#cluster=
def cluster=(value) -> ::String
Parameter
- value (::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.
Returns
- (::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.
#config_sync
def config_sync() -> ::Google::Cloud::GkeHub::ConfigManagement::V1::ConfigSync
Returns
- (::Google::Cloud::GkeHub::ConfigManagement::V1::ConfigSync) — Config Sync configuration for the cluster.
#config_sync=
def config_sync=(value) -> ::Google::Cloud::GkeHub::ConfigManagement::V1::ConfigSync
Parameter
- value (::Google::Cloud::GkeHub::ConfigManagement::V1::ConfigSync) — Config Sync configuration for the cluster.
Returns
- (::Google::Cloud::GkeHub::ConfigManagement::V1::ConfigSync) — Config Sync configuration for the cluster.
#hierarchy_controller
def hierarchy_controller() -> ::Google::Cloud::GkeHub::ConfigManagement::V1::HierarchyControllerConfig
Returns
- (::Google::Cloud::GkeHub::ConfigManagement::V1::HierarchyControllerConfig) — Hierarchy Controller configuration for the cluster.
#hierarchy_controller=
def hierarchy_controller=(value) -> ::Google::Cloud::GkeHub::ConfigManagement::V1::HierarchyControllerConfig
Parameter
- value (::Google::Cloud::GkeHub::ConfigManagement::V1::HierarchyControllerConfig) — Hierarchy Controller configuration for the cluster.
Returns
- (::Google::Cloud::GkeHub::ConfigManagement::V1::HierarchyControllerConfig) — Hierarchy Controller configuration for the cluster.
#management
def management() -> ::Google::Cloud::GkeHub::ConfigManagement::V1::MembershipSpec::Management
Returns
- (::Google::Cloud::GkeHub::ConfigManagement::V1::MembershipSpec::Management) — Enables automatic Feature management.
#management=
def management=(value) -> ::Google::Cloud::GkeHub::ConfigManagement::V1::MembershipSpec::Management
Parameter
- value (::Google::Cloud::GkeHub::ConfigManagement::V1::MembershipSpec::Management) — Enables automatic Feature management.
Returns
- (::Google::Cloud::GkeHub::ConfigManagement::V1::MembershipSpec::Management) — Enables automatic Feature management.
#policy_controller
def policy_controller() -> ::Google::Cloud::GkeHub::ConfigManagement::V1::PolicyController
Returns
- (::Google::Cloud::GkeHub::ConfigManagement::V1::PolicyController) — Policy Controller configuration for the cluster.
#policy_controller=
def policy_controller=(value) -> ::Google::Cloud::GkeHub::ConfigManagement::V1::PolicyController
Parameter
- value (::Google::Cloud::GkeHub::ConfigManagement::V1::PolicyController) — Policy Controller configuration for the cluster.
Returns
- (::Google::Cloud::GkeHub::ConfigManagement::V1::PolicyController) — Policy Controller configuration for the cluster.
#version
def version() -> ::String
Returns
- (::String) — Version of ACM installed.
#version=
def version=(value) -> ::String
Parameter
- value (::String) — Version of ACM installed.
Returns
- (::String) — Version of ACM installed.