Compute V1 Client - Class StatefulPolicyPreservedStateNetworkIp (1.14.0)

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

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

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ auto_delete string

These stateful IPs will never be released during autohealing, update or VM instance recreate operations. This flag is used to configure if the IP reservation should be deleted after it is no longer used by the group, e.g. when the given instance or the whole group is deleted. Check the AutoDelete enum for the list of possible values.

getAutoDelete

These stateful IPs will never be released during autohealing, update or VM instance recreate operations. This flag is used to configure if the IP reservation should be deleted after it is no longer used by the group, e.g. when the given instance or the whole group is deleted.

Check the AutoDelete enum for the list of possible values.

Returns
TypeDescription
string

hasAutoDelete

clearAutoDelete

setAutoDelete

These stateful IPs will never be released during autohealing, update or VM instance recreate operations. This flag is used to configure if the IP reservation should be deleted after it is no longer used by the group, e.g. when the given instance or the whole group is deleted.

Check the AutoDelete enum for the list of possible values.

Parameter
NameDescription
var string
Returns
TypeDescription
$this