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
Name
Description
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
Type
Description
string
setStartAddress
The first address of this reservation block.
Must be specified as a single IPv4 address, e.g. 10.1.2.2.
Parameter
Name
Description
var
string
Returns
Type
Description
$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
Type
Description
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
Name
Description
var
string
Returns
Type
Description
$this
getNote
A note about this reservation, intended for human consumption.
Returns
Type
Description
string
setNote
A note about this reservation, intended for human consumption.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Bare Metal Solution V2 Client - Class NetworkAddressReservation (1.0.5)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.5 (latest)](/php/docs/reference/cloud-bare-metal-solution/latest/V2.NetworkAddressReservation)\n- [1.0.4](/php/docs/reference/cloud-bare-metal-solution/1.0.4/V2.NetworkAddressReservation)\n- [0.6.5](/php/docs/reference/cloud-bare-metal-solution/0.6.5/V2.NetworkAddressReservation)\n- [0.5.2](/php/docs/reference/cloud-bare-metal-solution/0.5.2/V2.NetworkAddressReservation)\n- [0.4.0](/php/docs/reference/cloud-bare-metal-solution/0.4.0/V2.NetworkAddressReservation)\n- [0.3.2](/php/docs/reference/cloud-bare-metal-solution/0.3.2/V2.NetworkAddressReservation)\n- [0.2.8](/php/docs/reference/cloud-bare-metal-solution/0.2.8/V2.NetworkAddressReservation) \nReference documentation and code samples for the Google Cloud Bare Metal Solution V2 Client class NetworkAddressReservation.\n\nA reservation of one or more addresses in a network.\n\nGenerated from protobuf message `google.cloud.baremetalsolution.v2.NetworkAddressReservation`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ BareMetalSolution \\\\ V2\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getStartAddress\n\nThe first address of this reservation block.\n\nMust be specified as a single IPv4 address, e.g. 10.1.2.2.\n\n### setStartAddress\n\nThe first address of this reservation block.\n\nMust be specified as a single IPv4 address, e.g. 10.1.2.2.\n\n### getEndAddress\n\nThe last address of this reservation block, inclusive. I.e., for cases when\nreservations are only single addresses, end_address and start_address will\nbe the same.\n\nMust be specified as a single IPv4 address, e.g. 10.1.2.2.\n\n### setEndAddress\n\nThe last address of this reservation block, inclusive. I.e., for cases when\nreservations are only single addresses, end_address and start_address will\nbe the same.\n\nMust be specified as a single IPv4 address, e.g. 10.1.2.2.\n\n### getNote\n\nA note about this reservation, intended for human consumption.\n\n### setNote\n\nA note about this reservation, intended for human consumption."]]