Google Cloud Container V1 Client - Class Autopilot (1.21.1)

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

Autopilot is the configuration for Autopilot settings on the cluster.

Generated from protobuf message google.container.v1.Autopilot

Namespace

Google \ Cloud \ Container \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ enabled bool

Enable Autopilot

↳ workload_policy_config Google\Cloud\Container\V1\WorkloadPolicyConfig

Workload policy configuration for Autopilot.

getEnabled

Enable Autopilot

Returns
TypeDescription
bool

setEnabled

Enable Autopilot

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getWorkloadPolicyConfig

Workload policy configuration for Autopilot.

Returns
TypeDescription
Google\Cloud\Container\V1\WorkloadPolicyConfig|null

hasWorkloadPolicyConfig

clearWorkloadPolicyConfig

setWorkloadPolicyConfig

Workload policy configuration for Autopilot.

Parameter
NameDescription
var Google\Cloud\Container\V1\WorkloadPolicyConfig
Returns
TypeDescription
$this