Google Cloud Bare Metal Solution V2 Client - Class NetworkAddressReservation (0.4.0)

Reference documentation and code samples for the Google Cloud Bare Metal Solution V2 Client class NetworkAddressReservation.

A reservation of one or more addresses in a network.

Generated from protobuf message google.cloud.baremetalsolution.v2.NetworkAddressReservation

Namespace

Google \ Cloud \ BareMetalSolution \ V2

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ start_address string

The first address of this reservation block. Must be specified as a single IPv4 address, e.g. 10.1.2.2.

↳ end_address string

The last address of this reservation block, inclusive. I.e., for cases when reservations are only single addresses, end_address and start_address will be the same. Must be specified as a single IPv4 address, e.g. 10.1.2.2.

↳ note string

A note about this reservation, intended for human consumption.

getStartAddress

The first address of this reservation block.

Must be specified as a single IPv4 address, e.g. 10.1.2.2.

Returns
TypeDescription
string

setStartAddress

The first address of this reservation block.

Must be specified as a single IPv4 address, e.g. 10.1.2.2.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getEndAddress

The last address of this reservation block, inclusive. I.e., for cases when reservations are only single addresses, end_address and start_address will be the same.

Must be specified as a single IPv4 address, e.g. 10.1.2.2.

Returns
TypeDescription
string

setEndAddress

The last address of this reservation block, inclusive. I.e., for cases when reservations are only single addresses, end_address and start_address will be the same.

Must be specified as a single IPv4 address, e.g. 10.1.2.2.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getNote

A note about this reservation, intended for human consumption.

Returns
TypeDescription
string

setNote

A note about this reservation, intended for human consumption.

Parameter
NameDescription
var string
Returns
TypeDescription
$this