[[["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-02 UTC."],[[["\u003cp\u003eThis page details how to update a specified connection using a PATCH request to the provided URL.\u003c/p\u003e\n"],["\u003cp\u003eUpdating a connection requires the \u003ccode\u003ebigquery.connections.update\u003c/code\u003e IAM permission on the specified resource \u003ccode\u003ename\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe request must include a \u003ccode\u003eFieldMask\u003c/code\u003e that specifies the connection fields to be updated, provided as a query parameter.\u003c/p\u003e\n"],["\u003cp\u003eThe request body contains the \u003ccode\u003eConnection\u003c/code\u003e instance with the updated values, and a successful response will also return a \u003ccode\u003eConnection\u003c/code\u003e instance.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization for this action requires either the \u003ccode\u003ehttps://www.googleapis.com/auth/bigquery\u003c/code\u003e or \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],[],null,["# Method: projects.locations.connections.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\nUpdates the specified connection. For security reasons, also resets credential if connection properties are in the update field mask.\n\n### HTTP request\n\n`PATCH https://bigqueryconnection.googleapis.com/v1/{name=projects/*/locations/*/connections/*}`\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 [Connection](/bigquery/docs/reference/bigqueryconnection/rest/v1/projects.locations.connections#Connection).\n\n### Response body\n\nIf successful, the response body contains an instance of [Connection](/bigquery/docs/reference/bigqueryconnection/rest/v1/projects.locations.connections#Connection).\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/bigquery`\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp)."]]