Compute V1 Client - Class ShieldedInstanceConfig (1.5.0)

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

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.

Generated from protobuf field optional bool enable_integrity_monitoring = 409071030;

Returns
Type Description
bool

hasEnableIntegrityMonitoring

clearEnableIntegrityMonitoring

setEnableIntegrityMonitoring

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

Generated from protobuf field optional bool enable_integrity_monitoring = 409071030;

Parameter
Name Description
var bool
Returns
Type Description
$this

getEnableSecureBoot

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

Generated from protobuf field optional bool enable_secure_boot = 123568638;

Returns
Type Description
bool

hasEnableSecureBoot

clearEnableSecureBoot

setEnableSecureBoot

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

Generated from protobuf field optional bool enable_secure_boot = 123568638;

Parameter
Name Description
var bool
Returns
Type Description
$this

getEnableVtpm

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

Generated from protobuf field optional bool enable_vtpm = 181858935;

Returns
Type Description
bool

hasEnableVtpm

clearEnableVtpm

setEnableVtpm

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

Generated from protobuf field optional bool enable_vtpm = 181858935;

Parameter
Name Description
var bool
Returns
Type Description
$this