Reference documentation and code samples for the Google Cloud Gke Hub V1 Client class MembershipSpec.
Anthos Config Management: Configuration for a single cluster.
Intended to parallel the ConfigManagement CR.
Generated from protobuf message google.cloud.gkehub.configmanagement.v1.MembershipSpec
Namespace
Google \ Cloud \ GkeHub \ ConfigManagement \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ config_sync |
Google\Cloud\GkeHub\ConfigManagement\V1\ConfigSync
Config Sync configuration for the cluster. |
↳ policy_controller |
Google\Cloud\GkeHub\ConfigManagement\V1\PolicyController
Policy Controller configuration for the cluster. |
↳ hierarchy_controller |
Google\Cloud\GkeHub\ConfigManagement\V1\HierarchyControllerConfig
Hierarchy Controller configuration for the cluster. |
↳ version |
string
Version of ACM installed. |
getConfigSync
Config Sync configuration for the cluster.
Returns | |
---|---|
Type | Description |
Google\Cloud\GkeHub\ConfigManagement\V1\ConfigSync|null |
hasConfigSync
clearConfigSync
setConfigSync
Config Sync configuration for the cluster.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\GkeHub\ConfigManagement\V1\ConfigSync
|
Returns | |
---|---|
Type | Description |
$this |
getPolicyController
Policy Controller configuration for the cluster.
Returns | |
---|---|
Type | Description |
Google\Cloud\GkeHub\ConfigManagement\V1\PolicyController|null |
hasPolicyController
clearPolicyController
setPolicyController
Policy Controller configuration for the cluster.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\GkeHub\ConfigManagement\V1\PolicyController
|
Returns | |
---|---|
Type | Description |
$this |
getHierarchyController
Hierarchy Controller configuration for the cluster.
Returns | |
---|---|
Type | Description |
Google\Cloud\GkeHub\ConfigManagement\V1\HierarchyControllerConfig|null |
hasHierarchyController
clearHierarchyController
setHierarchyController
Hierarchy Controller configuration for the cluster.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\GkeHub\ConfigManagement\V1\HierarchyControllerConfig
|
Returns | |
---|---|
Type | Description |
$this |
getVersion
Version of ACM installed.
Returns | |
---|---|
Type | Description |
string |
setVersion
Version of ACM installed.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |