Compute V1 Client - Class InstancesStartWithEncryptionKeyRequest (1.19.0)

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

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

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ disks array<Google\Cloud\Compute\V1\CustomerEncryptionKeyProtectedDisk>

Array of disks associated with this instance that are protected with a customer-supplied encryption key. In order to start the instance, the disk url and its corresponding key must be provided. If the disk is not protected with a customer-supplied encryption key it should not be specified.

getDisks

Array of disks associated with this instance that are protected with a customer-supplied encryption key. In order to start the instance, the disk url and its corresponding key must be provided. If the disk is not protected with a customer-supplied encryption key it should not be specified.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setDisks

Array of disks associated with this instance that are protected with a customer-supplied encryption key. In order to start the instance, the disk url and its corresponding key must be provided. If the disk is not protected with a customer-supplied encryption key it should not be specified.

Parameter
Name Description
var array<Google\Cloud\Compute\V1\CustomerEncryptionKeyProtectedDisk>
Returns
Type Description
$this