Reference documentation and code samples for the Google Cloud Gke Hub V1 Client class DefaultClusterConfig.
DefaultClusterConfig describes the default cluster configurations to be applied to all clusters born-in-fleet.
Generated from protobuf message google.cloud.gkehub.v1.DefaultClusterConfig
Namespace
Google \ Cloud \ GkeHub \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ security_posture_config |
SecurityPostureConfig
Enable/Disable Security Posture features for the cluster. |
↳ binary_authorization_config |
BinaryAuthorizationConfig
Optional. Enable/Disable binary authorization features for the cluster. |
↳ compliance_posture_config |
CompliancePostureConfig
Optional. Enable/Disable Compliance Posture features for the cluster. Note that on UpdateFleet, only full replacement of this field is allowed. Users are not allowed for partial updates through field mask. |
getSecurityPostureConfig
Enable/Disable Security Posture features for the cluster.
| Returns | |
|---|---|
| Type | Description |
SecurityPostureConfig|null |
|
hasSecurityPostureConfig
clearSecurityPostureConfig
setSecurityPostureConfig
Enable/Disable Security Posture features for the cluster.
| Parameter | |
|---|---|
| Name | Description |
var |
SecurityPostureConfig
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getBinaryAuthorizationConfig
Optional. Enable/Disable binary authorization features for the cluster.
| Returns | |
|---|---|
| Type | Description |
BinaryAuthorizationConfig|null |
|
hasBinaryAuthorizationConfig
clearBinaryAuthorizationConfig
setBinaryAuthorizationConfig
Optional. Enable/Disable binary authorization features for the cluster.
| Parameter | |
|---|---|
| Name | Description |
var |
BinaryAuthorizationConfig
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCompliancePostureConfig
Optional. Enable/Disable Compliance Posture features for the cluster.
Note that on UpdateFleet, only full replacement of this field is allowed. Users are not allowed for partial updates through field mask.
| Returns | |
|---|---|
| Type | Description |
CompliancePostureConfig|null |
|
hasCompliancePostureConfig
clearCompliancePostureConfig
setCompliancePostureConfig
Optional. Enable/Disable Compliance Posture features for the cluster.
Note that on UpdateFleet, only full replacement of this field is allowed. Users are not allowed for partial updates through field mask.
| Parameter | |
|---|---|
| Name | Description |
var |
CompliancePostureConfig
|
| Returns | |
|---|---|
| Type | Description |
$this |
|