Google Cloud Gke Hub V1 Client - Class MembershipSpec (0.8.2)

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 \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
Google\Cloud\GkeHub\ConfigManagement\V1\ConfigSync|null

hasConfigSync

clearConfigSync

setConfigSync

Config Sync configuration for the cluster.

Parameter
NameDescription
var Google\Cloud\GkeHub\ConfigManagement\V1\ConfigSync
Returns
TypeDescription
$this

getPolicyController

Policy Controller configuration for the cluster.

Returns
TypeDescription
Google\Cloud\GkeHub\ConfigManagement\V1\PolicyController|null

hasPolicyController

clearPolicyController

setPolicyController

Policy Controller configuration for the cluster.

Parameter
NameDescription
var Google\Cloud\GkeHub\ConfigManagement\V1\PolicyController
Returns
TypeDescription
$this

getHierarchyController

Hierarchy Controller configuration for the cluster.

Returns
TypeDescription
Google\Cloud\GkeHub\ConfigManagement\V1\HierarchyControllerConfig|null

hasHierarchyController

clearHierarchyController

setHierarchyController

Hierarchy Controller configuration for the cluster.

Parameter
NameDescription
var Google\Cloud\GkeHub\ConfigManagement\V1\HierarchyControllerConfig
Returns
TypeDescription
$this

getVersion

Version of ACM installed.

Returns
TypeDescription
string

setVersion

Version of ACM installed.

Parameter
NameDescription
var string
Returns
TypeDescription
$this