- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Updates an existing SavedQuery.
HTTP request
PATCH https://logging.googleapis.com/v2/{savedQuery.name=projects/*/locations/*/savedQueries/*}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
saved |
Output only. Resource name of the saved query. In the format:
For a list of supported locations, see Supported Regions After the saved query is created, the location cannot be changed. If the user doesn't provide a [QUERY_ID], the system will generate an alphanumeric ID. |
Query parameters
Parameters | |
---|---|
update |
Required. A non-empty list of fields to change in the existing saved query. Fields are relative to the To update all mutable fields, specify an For example, to change the description and query filter text of a saved query, specify an This is a comma-separated list of fully qualified names of fields. Example: |
Request body
The request body contains an instance of SavedQuery
.
Response body
If successful, the response body contains an instance of SavedQuery
.
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/logging.admin
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.