Google Cloud Bare Metal Solution V2 Client - Class UpdateVolumeRequest (1.0.5)

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

Message for updating a volume.

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

Namespace

Google \ Cloud \ BareMetalSolution \ V2

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ volume
Volume

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

↳ update_mask
Google\Protobuf\FieldMask

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

getVolume

Required. The volume to update.

The name field is used to identify the volume to update. Format: projects/{project}/locations/{location}/volumes/{volume}

Returns
Type
Description
Volume |null

hasVolume

clearVolume

setVolume

Required. The volume to update.

The name field is used to identify the volume to update. Format: projects/{project}/locations/{location}/volumes/{volume}

Parameter
Name
Description
var
Returns
Type
Description
$this

getUpdateMask

The list of fields to update.

The only currently supported fields are: 'labels'

Returns
Type
Description

hasUpdateMask

clearUpdateMask

setUpdateMask

The list of fields to update.

The only currently supported fields are: 'labels'

Parameter
Name
Description
Returns
Type
Description
$this

static::build

Parameters
Name
Description
volume
Volume

Required. The volume to update.

The name field is used to identify the volume to update. Format: projects/{project}/locations/{location}/volumes/{volume}

updateMask
Google\Protobuf\FieldMask

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

Returns
Type
Description
Create a Mobile Website
View Site in Mobile | Classic
Share by: