Compute V1 Client - Class ShieldedInstanceIdentity (1.10.1)

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_keyGoogle\Cloud\Compute\V1\ShieldedInstanceIdentityEntry

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_keyGoogle\Cloud\Compute\V1\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
TypeDescription
Google\Cloud\Compute\V1\ShieldedInstanceIdentityEntry|null

hasEncryptionKey

clearEncryptionKey

setEncryptionKey

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

Parameter
NameDescription
varGoogle\Cloud\Compute\V1\ShieldedInstanceIdentityEntry
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
Google\Cloud\Compute\V1\ShieldedInstanceIdentityEntry|null

hasSigningKey

clearSigningKey

setSigningKey

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

Parameter
NameDescription
varGoogle\Cloud\Compute\V1\ShieldedInstanceIdentityEntry
Returns
TypeDescription
$this