Compute V1 Client - Class ShieldedInstanceIdentity (1.13.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
data array

Optional. Data for populating the Message object.

↳ encryption_key Google\Cloud\Compute\V1\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 Google\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
var Google\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
var string
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
var Google\Cloud\Compute\V1\ShieldedInstanceIdentityEntry
Returns
TypeDescription
$this