Method: projects.locations.namespaces.services.patch

Updates a service.

HTTP request

PATCH https://servicedirectory.googleapis.com/v1/{service.name=projects/*/locations/*/namespaces/*/services/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
service.name

string

Immutable. The resource name for the service in the format projects/*/locations/*/namespaces/*/services/*.

Query parameters

Parameters
updateMask

string (FieldMask format)

Required. List of fields to be updated in this request.

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

Request body

The request body contains an instance of Service.

Response body

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

Authorization Scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.