- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization Scopes
- Try it!
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 |
Immutable. The resource name for the service in the format |
Query parameters
Parameters | |
---|---|
updateMask |
Required. List of fields to be updated in this request. This is a comma-separated list of fully qualified names of fields. Example: |
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.