Compute V1 Client - Class ShieldedInstanceConfig (1.11.1)

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
NameDescription
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
TypeDescription
bool

hasEnableIntegrityMonitoring

clearEnableIntegrityMonitoring

setEnableIntegrityMonitoring

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

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getEnableSecureBoot

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

Returns
TypeDescription
bool

hasEnableSecureBoot

clearEnableSecureBoot

setEnableSecureBoot

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

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getEnableVtpm

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

Returns
TypeDescription
bool

hasEnableVtpm

clearEnableVtpm

setEnableVtpm

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

Parameter
NameDescription
var bool
Returns
TypeDescription
$this