A list of attributes of the case that should be updated. Supported values are priority, displayName, and subscriberEmailAddresses. If no fields are specified, all supported fields are updated.
Be careful - if you do not provide a field mask, then you might accidentally clear some fields. For example, if you leave the field mask empty and do not provide a value for subscriberEmailAddresses, then subscriberEmailAddresses is updated to empty.
[[["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-05-30 UTC."],[],[],null,["# Method: cases.patch\n\nUpdate a case. Only some fields can be updated.\n\nEXAMPLES:\n\ncURL: \n\n case=\"projects/some-project/cases/43595344\"\n curl \\\n --request PATCH \\\n --header \"Authorization: Bearer $(gcloud auth print-access-token)\" \\\n --header \"Content-Type: application/json\" \\\n --data '{\n \"priority\": \"P1\"\n }' \\\n \"https://cloudsupport.googleapis.com/v2/$case?updateMask=priority\"\n\nPython: \n\n import googleapiclient.discovery\n\n apiVersion = \"v2\"\n supportApiService = googleapiclient.discovery.build(\n serviceName=\"cloudsupport\",\n version=apiVersion,\n discoveryServiceUrl=f\"https://cloudsupport.googleapis.com/$discovery/rest?version={apiVersion}\",\n )\n request = supportApiService.cases().patch(\n name=\"projects/some-project/cases/43112854\",\n body={\n \"displayName\": \"This is Now a New Title\",\n \"priority\": \"P2\",\n },\n )\n print(request.execute())\n\n### HTTP request\n\n`PATCH https://cloudsupport.googleapis.com/v2/{case.name=*/*/cases/*}`\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 [Case](/support/docs/reference/rest/v2/cases#Case).\n\n### Response body\n\nIf successful, the response body contains an instance of [Case](/support/docs/reference/rest/v2/cases#Case).\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/cloudsupport`\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp)."]]