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 \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
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 |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getIpAddress
Ip address representation
Returns | |
---|---|
Type | Description |
PreservedStatePreservedNetworkIpIpAddress|null |
hasIpAddress
clearIpAddress
setIpAddress
Ip address representation
Parameter | |
---|---|
Name | Description |
var |
PreservedStatePreservedNetworkIpIpAddress
|
Returns | |
---|---|
Type | Description |
$this |