Compute V1 Client - Class ShieldedInstanceIdentity (1.21.0)

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

A Shielded Instance Identity.

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

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ encryption_key ShieldedInstanceIdentityEntry

An Endorsement Key (EK) made by the RSA 2048 algorithm issued to the Shielded Instance's vTPM.

↳ kind string

[Output Only] Type of the resource. Always compute#shieldedInstanceIdentity for shielded Instance identity entry.

↳ signing_key ShieldedInstanceIdentityEntry

An Attestation Key (AK) made by the RSA 2048 algorithm issued to the Shielded Instance's vTPM.

getEncryptionKey

An Endorsement Key (EK) made by the RSA 2048 algorithm issued to the Shielded Instance's vTPM.

Returns
Type Description
ShieldedInstanceIdentityEntry|null

hasEncryptionKey

clearEncryptionKey

setEncryptionKey

An Endorsement Key (EK) made by the RSA 2048 algorithm issued to the Shielded Instance's vTPM.

Parameter
Name Description
var ShieldedInstanceIdentityEntry
Returns
Type Description
$this

getKind

[Output Only] Type of the resource. Always compute#shieldedInstanceIdentity for shielded Instance identity entry.

Returns
Type Description
string

hasKind

clearKind

setKind

[Output Only] Type of the resource. Always compute#shieldedInstanceIdentity for shielded Instance identity entry.

Parameter
Name Description
var string
Returns
Type Description
$this

getSigningKey

An Attestation Key (AK) made by the RSA 2048 algorithm issued to the Shielded Instance's vTPM.

Returns
Type Description
ShieldedInstanceIdentityEntry|null

hasSigningKey

clearSigningKey

setSigningKey

An Attestation Key (AK) made by the RSA 2048 algorithm issued to the Shielded Instance's vTPM.

Parameter
Name Description
var ShieldedInstanceIdentityEntry
Returns
Type Description
$this