Method: services.patch

Update this Service.

HTTP request

PATCH https://monitoring.googleapis.com/v3/{service.name}

Path parameters

Parameters
service.name

string

Identifier. Resource name for this Service. The format is:

projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]

Query parameters

Parameters
updateMask

string (FieldMask format)

A set of field paths defining which fields to use for the update.

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 one of the following OAuth scopes:

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

For more information, see the Authentication Overview.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年07月23日 UTC.