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 \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ disks |
array<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<CustomerEncryptionKeyProtectedDisk>
|
Returns | |
---|---|
Type | Description |
$this |