Updates the trace configurations in an environment. Note that the repeated fields have replace semantics when included in the field mask and that they will be overwritten by the value of the fields in the request body.
[[["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-08-20 UTC."],[[["\u003cp\u003eThis API endpoint updates trace configurations within a specified environment.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request utilizes a \u003ccode\u003ePATCH\u003c/code\u003e method with a URL structure that includes organization and environment details.\u003c/p\u003e\n"],["\u003cp\u003ePath parameters require a \u003ccode\u003ename\u003c/code\u003e that adheres to the structure: "organizations/\u003cem\u003e/environments/\u003c/em\u003e/traceConfig".\u003c/p\u003e\n"],["\u003cp\u003eQuery parameters allow for specifying an \u003ccode\u003eupdateMask\u003c/code\u003e to define which fields should be modified.\u003c/p\u003e\n"],["\u003cp\u003eBoth the request and response bodies use the \u003ccode\u003eTraceConfig\u003c/code\u003e data structure, and authorization requires the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],[],null,["# Method: organizations.environments.updateTraceConfig\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 trace configurations in an environment. Note that the repeated fields have replace semantics when included in the field mask and that they will be overwritten by the value of the fields in the request body.\n\n### HTTP request\n\n`PATCH https://apigee.googleapis.com/v1/{name=organizations/*/environments/*/traceConfig}`\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 [TraceConfig](/apigee/docs/reference/apis/apigee/rest/v1/TraceConfig).\n\n### Response body\n\nIf successful, the response body contains an instance of [TraceConfig](/apigee/docs/reference/apis/apigee/rest/v1/TraceConfig).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/cloud-platform`"]]