Method: projects.locations.volumes.patch

Update details of a single storage volume.

HTTP request

PATCH https://baremetalsolution.googleapis.com/v2/{volume.name=projects/*/locations/*/volumes/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
volume.name

string

Output only. The resource name of this Volume. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. Format: projects/{project}/locations/{location}/volumes/{volume}

Query parameters

Parameters
updateMask

string (FieldMask format)

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

Request body

The request body contains an instance of Volume.

Response body

If successful, the response body contains an instance of Operation.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.