Compute V1 Client - Class StatefulPolicyPreservedState (1.20.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

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name Description
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.

↳ external_i_ps array|Google\Protobuf\Internal\MapField

External network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name.

↳ internal_i_ps array|Google\Protobuf\Internal\MapField

Internal network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name.

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.

Returns
Type Description
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.

Parameter
Name Description
var array|Google\Protobuf\Internal\MapField
Returns
Type Description
$this

getExternalIPs

External network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name.

Returns
Type Description
Google\Protobuf\Internal\MapField

setExternalIPs

External network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name.

Parameter
Name Description
var array|Google\Protobuf\Internal\MapField
Returns
Type Description
$this

getInternalIPs

Internal network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name.

Returns
Type Description
Google\Protobuf\Internal\MapField

setInternalIPs

Internal network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name.

Parameter
Name Description
var array|Google\Protobuf\Internal\MapField
Returns
Type Description
$this