Compute V1 Client - Class InstancesStartWithEncryptionKeyRequest (1.10.1)

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
NameDescription
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
TypeDescription
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
NameDescription
var array<Google\Cloud\Compute\V1\CustomerEncryptionKeyProtectedDisk>
Returns
TypeDescription
$this