Compute V1 Client - Class PreservedStatePreservedNetworkIpIpAddress (1.13.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
NameDescription
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
TypeDescription
string

hasAddress

clearAddress

setAddress

The URL of the reservation for this IP address.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getLiteral

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

Returns
TypeDescription
string

hasLiteral

clearLiteral

setLiteral

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this