Compute V1 Client - Class ShieldedInstanceConfig (1.16.2)

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

A set of Shielded Instance options.

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

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ enable_integrity_monitoring bool

Defines whether the instance has integrity monitoring enabled. Enabled by default.

↳ enable_secure_boot bool

Defines whether the instance has Secure Boot enabled. Disabled by default.

↳ enable_vtpm bool

Defines whether the instance has the vTPM enabled. Enabled by default.

getEnableIntegrityMonitoring

Defines whether the instance has integrity monitoring enabled. Enabled by default.

Returns
Type Description
bool

hasEnableIntegrityMonitoring

clearEnableIntegrityMonitoring

setEnableIntegrityMonitoring

Defines whether the instance has integrity monitoring enabled. Enabled by default.

Parameter
Name Description
var bool
Returns
Type Description
$this

getEnableSecureBoot

Defines whether the instance has Secure Boot enabled. Disabled by default.

Returns
Type Description
bool

hasEnableSecureBoot

clearEnableSecureBoot

setEnableSecureBoot

Defines whether the instance has Secure Boot enabled. Disabled by default.

Parameter
Name Description
var bool
Returns
Type Description
$this

getEnableVtpm

Defines whether the instance has the vTPM enabled. Enabled by default.

Returns
Type Description
bool

hasEnableVtpm

clearEnableVtpm

setEnableVtpm

Defines whether the instance has the vTPM enabled. Enabled by default.

Parameter
Name Description
var bool
Returns
Type Description
$this