Compute V1 Client - Class PreservedStatePreservedNetworkIp (1.14.0)

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

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

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.

↳ ip_address Google\Cloud\Compute\V1\PreservedStatePreservedNetworkIpIpAddress

Ip address representation

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

getIpAddress

Ip address representation

Returns
TypeDescription
Google\Cloud\Compute\V1\PreservedStatePreservedNetworkIpIpAddress|null

hasIpAddress

clearIpAddress

setIpAddress

Ip address representation

Parameter
NameDescription
var Google\Cloud\Compute\V1\PreservedStatePreservedNetworkIpIpAddress
Returns
TypeDescription
$this