Google Cloud Container V1 Client - Class ConfidentialNodes (2.4.0)

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

ConfidentialNodes is configuration for the confidential nodes feature, which makes nodes run on confidential VMs.

Generated from protobuf message google.container.v1.ConfidentialNodes

Namespace

Google \ Cloud \ Container \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ enabled bool

Whether Confidential Nodes feature is enabled.

↳ confidential_instance_type int

Defines the type of technology used by the confidential node.

getEnabled

Whether Confidential Nodes feature is enabled.

Returns
Type Description
bool

setEnabled

Whether Confidential Nodes feature is enabled.

Parameter
Name Description
var bool
Returns
Type Description
$this

getConfidentialInstanceType

Defines the type of technology used by the confidential node.

Returns
Type Description
int

setConfidentialInstanceType

Defines the type of technology used by the confidential node.

Parameter
Name Description
var int
Returns
Type Description
$this