This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo".
replaceRepeatedFields
boolean
Boolean flag that specifies whether to replace existing values in the debug mask when doing an update. Set to true to replace existing values. The default behavior is to append the values (false).
Request body
The request body contains an instance of DebugMask.
Response body
If successful, the response body contains an instance of DebugMask.
[[["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-09-04 UTC."],[[["\u003cp\u003eThis page details how to update a debug mask resource for an environment using a PATCH HTTP request.\u003c/p\u003e\n"],["\u003cp\u003eThe request URL requires a path parameter, \u003ccode\u003edebugMask.name\u003c/code\u003e, which represents the name of the debug mask to be updated.\u003c/p\u003e\n"],["\u003cp\u003eThe request supports two query parameters, \u003ccode\u003eupdateMask\u003c/code\u003e for partial updates and \u003ccode\u003ereplaceRepeatedFields\u003c/code\u003e to control how existing values are updated.\u003c/p\u003e\n"],["\u003cp\u003eBoth the request and response bodies use the \u003ccode\u003eDebugMask\u003c/code\u003e resource.\u003c/p\u003e\n"],["\u003cp\u003eUpdating the debug mask requires the OAuth scope \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Method: organizations.environments.updateDebugmask\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\nUpdates the debug mask singleton resource for an environment.\n\n### HTTP request\n\n`PATCH https://apigee.googleapis.com/v1/{debugMask.name=organizations/*/environments/*/debugmask}`\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 [DebugMask](/apigee/docs/reference/apis/apigee/rest/v1/DebugMask).\n\n### Response body\n\nIf successful, the response body contains an instance of [DebugMask](/apigee/docs/reference/apis/apigee/rest/v1/DebugMask).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/cloud-platform`"]]