Method: projects.locations.instances.patch

Update details of a single server.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
instance.name

string

Immutable. The resource name of this Instance. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. Format: projects/{project}/locations/{location}/instances/{instance}

Query parameters

Parameters
updateMask

string (FieldMask format)

The list of fields to update. The currently supported fields are: labels hyperthreadingEnabled osImage

Request body

The request body contains an instance of Instance.

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.