Required. A non-empty list of fields to change in the existing exclusion. New values for the fields are taken from the corresponding fields in theLogExclusionincluded in this request. Fields not mentioned inupdateMaskare not changed and are ignored in the request.
For example, to change the filter and description of an exclusion, specify anupdateMaskof"filter,description".
This is a comma-separated list of fully qualified names of fields. Example:"user.displayName,photo".
Request body
The request body contains an instance ofLogExclusion.
Response body
If successful, the response body contains an instance ofLogExclusion.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-21 UTC."],[],[],null,["# Method: billingAccounts.exclusions.patch\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nChanges one or more properties of an existing exclusion in the _Default sink.\n\n### HTTP request\n\n`PATCH https://logging.googleapis.com/v2/{name=billingAccounts/*/exclusions/*}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Query parameters\n\n### Request body\n\nThe request body contains an instance of [LogExclusion](/logging/docs/reference/v2/rest/v2/billingAccounts.exclusions#LogExclusion).\n\n### Response body\n\nIf successful, the response body contains an instance of [LogExclusion](/logging/docs/reference/v2/rest/v2/billingAccounts.exclusions#LogExclusion).\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/logging.admin`\n- `\n https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp)."]]