Google Cloud Container V1 Client - Class CompliancePostureConfig (2.3.0)

Reference documentation and code samples for the Google Cloud Container V1 Client class CompliancePostureConfig.

CompliancePostureConfig defines the settings needed to enable/disable features for the Compliance Posture.

Generated from protobuf message google.container.v1.CompliancePostureConfig

Namespace

Google \ Cloud \ Container \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ mode int

Defines the enablement mode for Compliance Posture.

↳ compliance_standards array<CompliancePostureConfig\ComplianceStandard>

List of enabled compliance standards.

getMode

Defines the enablement mode for Compliance Posture.

Returns
Type Description
int

hasMode

clearMode

setMode

Defines the enablement mode for Compliance Posture.

Parameter
Name Description
var int
Returns
Type Description
$this

getComplianceStandards

List of enabled compliance standards.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setComplianceStandards

List of enabled compliance standards.

Parameter
Name Description
var array<CompliancePostureConfig\ComplianceStandard>
Returns
Type Description
$this