Required. The dependency resource to update. The dependency's name field is used to identify the dependency to update. Format: projects/{project}/locations/{location}/dependencies/{dependency}
[[["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-28 UTC."],[],[],null,["# Google Cloud Api Hub V1 Client - Class UpdateDependencyRequest (0.2.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.2.1 (latest)](/php/docs/reference/cloud-apihub/latest/V1.UpdateDependencyRequest)\n- [0.2.0](/php/docs/reference/cloud-apihub/0.2.0/V1.UpdateDependencyRequest)\n- [0.1.4](/php/docs/reference/cloud-apihub/0.1.4/V1.UpdateDependencyRequest) \nReference documentation and code samples for the Google Cloud Api Hub V1 Client class UpdateDependencyRequest.\n\nThe\n[UpdateDependency](/php/docs/reference/cloud-apihub/latest/V1.Client.ApiHubDependenciesClient#_Google_Cloud_ApiHub_V1_Client_ApiHubDependenciesClient__updateDependency__)\nmethod's request.\n\nGenerated from protobuf message `google.cloud.apihub.v1.UpdateDependencyRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ ApiHub \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getDependency\n\nRequired. The dependency resource to update.\n\nThe dependency's `name` field is used to identify the dependency to update.\nFormat: `projects/{project}/locations/{location}/dependencies/{dependency}`\n\n### hasDependency\n\n### clearDependency\n\n### setDependency\n\nRequired. The dependency resource to update.\n\nThe dependency's `name` field is used to identify the dependency to update.\nFormat: `projects/{project}/locations/{location}/dependencies/{dependency}`\n\n### getUpdateMask\n\nRequired. The list of fields to update.\n\n### hasUpdateMask\n\n### clearUpdateMask\n\n### setUpdateMask\n\nRequired. The list of fields to update.\n\n### static::build"]]