Compute V1 Client - Class ConfidentialInstanceConfig (1.20.0)

Reference documentation and code samples for the Compute V1 Client class ConfidentialInstanceConfig.

A set of Confidential Instance options.

Generated from protobuf message google.cloud.compute.v1.ConfidentialInstanceConfig

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ confidential_instance_type string

Defines the type of technology used by the confidential instance. Check the ConfidentialInstanceType enum for the list of possible values.

↳ enable_confidential_compute bool

Defines whether the instance should have confidential compute enabled.

getConfidentialInstanceType

Defines the type of technology used by the confidential instance.

Check the ConfidentialInstanceType enum for the list of possible values.

Returns
Type Description
string

hasConfidentialInstanceType

clearConfidentialInstanceType

setConfidentialInstanceType

Defines the type of technology used by the confidential instance.

Check the ConfidentialInstanceType enum for the list of possible values.

Parameter
Name Description
var string
Returns
Type Description
$this

getEnableConfidentialCompute

Defines whether the instance should have confidential compute enabled.

Returns
Type Description
bool

hasEnableConfidentialCompute

clearEnableConfidentialCompute

setEnableConfidentialCompute

Defines whether the instance should have confidential compute enabled.

Parameter
Name Description
var bool
Returns
Type Description
$this