Compute V1 Client - Class PreservedStatePreservedNetworkIpIpAddress (1.22.0)

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

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

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ address string

The URL of the reservation for this IP address.

↳ literal string

An IPv4 internal network address to assign to the instance for this network interface.

getAddress

The URL of the reservation for this IP address.

Returns
Type Description
string

hasAddress

clearAddress

setAddress

The URL of the reservation for this IP address.

Parameter
Name Description
var string
Returns
Type Description
$this

getLiteral

An IPv4 internal network address to assign to the instance for this network interface.

Returns
Type Description
string

hasLiteral

clearLiteral

setLiteral

An IPv4 internal network address to assign to the instance for this network interface.

Parameter
Name Description
var string
Returns
Type Description
$this