Compute V1 Client - Class ShieldedInstanceIdentity (1.29.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
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ encryption_keyShieldedInstanceIdentityEntry

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

↳ kindstring

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

↳ signing_keyShieldedInstanceIdentityEntry

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
TypeDescription
ShieldedInstanceIdentityEntry|null

hasEncryptionKey

clearEncryptionKey

setEncryptionKey

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

Parameter
NameDescription
varShieldedInstanceIdentityEntry
Returns
TypeDescription
$this

getKind

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

Returns
TypeDescription
string

hasKind

clearKind

setKind

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

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

getSigningKey

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

Returns
TypeDescription
ShieldedInstanceIdentityEntry|null

hasSigningKey

clearSigningKey

setSigningKey

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

Parameter
NameDescription
varShieldedInstanceIdentityEntry
Returns
TypeDescription
$this