Method: projects.locations.services.patch

Updates the parameters of a single service.

HTTP request

PATCH https://metastore.googleapis.com/v1beta/{service.name}

Path parameters

Parameters
service.name

string

Immutable. The relative resource name of the metastore service, in the following format:

projects/{projectNumber}/locations/{locationId}/services/{serviceId}.

Query parameters

Parameters
updateMask

string (FieldMask format)

Required. A field mask used to specify the fields to be overwritten in the metastore service resource by the update. Fields specified in the updateMask are relative to the resource (not to the full request). A field is overwritten if it is in the mask.

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

requestId

string

Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request.

For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments.

The request ID must be a valid UUID A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.

Request body

The request body contains an instance of Service.

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.