Google Cloud Bare Metal Solution V2 Client - Class UpdateNetworkRequest (0.2.8)

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

Message requesting to updating a network.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ network Google\Cloud\BareMetalSolution\V2\Network

Required. The network to update. The name field is used to identify the instance to update. Format: projects/{project}/locations/{location}/networks/{network}

↳ update_mask Google\Protobuf\FieldMask

The list of fields to update. The only currently supported fields are: labels, reservations

getNetwork

Required. The network to update.

The name field is used to identify the instance to update. Format: projects/{project}/locations/{location}/networks/{network}

Returns
TypeDescription
Google\Cloud\BareMetalSolution\V2\Network|null

hasNetwork

clearNetwork

setNetwork

Required. The network to update.

The name field is used to identify the instance to update. Format: projects/{project}/locations/{location}/networks/{network}

Parameter
NameDescription
var Google\Cloud\BareMetalSolution\V2\Network
Returns
TypeDescription
$this

getUpdateMask

The list of fields to update.

The only currently supported fields are: labels, reservations

Returns
TypeDescription
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

The list of fields to update.

The only currently supported fields are: labels, reservations

Parameter
NameDescription
var Google\Protobuf\FieldMask
Returns
TypeDescription
$this