[[["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-28 UTC."],[[["\u003cp\u003eThis API updates an existing dependency using a PATCH request at a specific URL, which is formatted using gRPC Transcoding syntax.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eupdateMask\u003c/code\u003e query parameter is required and specifies which fields of the dependency are to be updated, using a comma-separated list of fully qualified field names.\u003c/p\u003e\n"],["\u003cp\u003eThe request body should include an instance of the \u003ccode\u003eDependency\u003c/code\u003e resource, containing the new values for the fields to be updated.\u003c/p\u003e\n"],["\u003cp\u003eSuccessful requests return an updated \u003ccode\u003eDependency\u003c/code\u003e resource in the response body.\u003c/p\u003e\n"],["\u003cp\u003eUpdating a dependency requires the OAuth scope \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e and the IAM permission \u003ccode\u003eapihub.dependencies.update\u003c/code\u003e on the resource being modified.\u003c/p\u003e\n"]]],[],null,["# Method: projects.locations.dependencies.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- [IAM Permissions](#body.aspect_1)\n\nUpdate a dependency based on the [updateMask](/apigee/docs/reference/apis/apihub/rest/v1/projects.locations.dependencies/patch#body.QUERY_PARAMETERS.update_mask) provided in the request.\n\nThe following fields in the [dependency](/apigee/docs/reference/apis/apihub/rest/v1/projects.locations.dependencies#Dependency) can be updated: \\* [description](/apigee/docs/reference/apis/apihub/rest/v1/projects.locations.dependencies#Dependency.FIELDS.description)\n\n### HTTP request\n\n`PATCH https://apihub.googleapis.com/v1/{dependency.name=projects/*/locations/*/dependencies/*}`\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 [Dependency](/apigee/docs/reference/apis/apihub/rest/v1/projects.locations.dependencies#Dependency).\n\n### Response body\n\nIf successful, the response body contains an instance of [Dependency](/apigee/docs/reference/apis/apihub/rest/v1/projects.locations.dependencies#Dependency).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n\n### IAM Permissions\n\nRequires the following [IAM](https://cloud.google.com/iam/docs) permission on the `name` resource:\n\n- `apihub.dependencies.update`\n\nFor more information, see the [IAM documentation](https://cloud.google.com/iam/docs)."]]