Compute V1 Client - Class StatefulPolicyPreservedState (1.5.0)

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

Configuration of preserved resources.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ disks array|Google\Protobuf\Internal\MapField

Disks created on the instances that will be preserved on instance delete, update, etc. This map is keyed with the device names of the disks.

getDisks

Disks created on the instances that will be preserved on instance delete, update, etc. This map is keyed with the device names of the disks.

Generated from protobuf field map<string, .google.cloud.compute.v1.StatefulPolicyPreservedStateDiskDevice> disks = 95594102;

Returns
TypeDescription
Google\Protobuf\Internal\MapField

setDisks

Disks created on the instances that will be preserved on instance delete, update, etc. This map is keyed with the device names of the disks.

Generated from protobuf field map<string, .google.cloud.compute.v1.StatefulPolicyPreservedStateDiskDevice> disks = 95594102;

Parameter
NameDescription
var array|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$this