Method: projects.locations.hardware.patch

Updates hardware parameters.

HTTP request

PATCH https://gdchardwaremanagement.googleapis.com/v1alpha/{hardware.name=projects/*/locations/*/hardware/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
hardware.name

string

Identifier. Name of this hardware. Format: projects/{project}/locations/{location}/hardware/{hardware}

Query parameters

Parameters
updateMask

string (FieldMask format)

Required. A mask to specify the fields in the Hardware to overwrite with this update. The fields specified in the updateMask are relative to the hardware, not the full request. A field will be overwritten if it is in the mask. If you don't provide a mask then all fields will be overwritten.

This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo".

requestId

string

Optional. An optional unique identifier for this request. See AIP-155.

Request body

The request body contains an instance of Hardware.

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.

IAM Permissions

Requires the following IAM permission on the name resource:

  • gdchardwaremanagement.hardware.update

For more information, see the IAM documentation.