- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Updates a log scope.
HTTP request
PATCH https://logging.googleapis.com/v2/{logScope.name=organizations/*/locations/*/logScopes/*}
The URLs use gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
logScope.name
|
Output only. The resource name of the log scope. Log scopes are only available in the |
Query parameters
| Parameters | |
|---|---|
updateMask
|
Optional. Field mask that specifies the fields in For a detailed For example: This is a comma-separated list of fully qualified names of fields. Example: |
Request body
The request body contains an instance of LogScope
.
Response body
If successful, the response body contains an instance of LogScope
.
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 .

