public sealed class CreateDependencyRequest : IMessage<CreateDependencyRequest>, IEquatable<CreateDependencyRequest>, IDeepCloneable<CreateDependencyRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the API hub v1 API class CreateDependencyRequest.
The
[CreateDependency][google.cloud.apihub.v1.ApiHubDependencies.CreateDependency]
method's request.
[[["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-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eCreateDependencyRequest\u003c/code\u003e class is used to define the request for the \u003ccode\u003eCreateDependency\u003c/code\u003e method in the API hub v1 API, as part of Google Cloud.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, providing various functionalities like message handling and cloning.\u003c/p\u003e\n"],["\u003cp\u003eIt requires a \u003ccode\u003eParent\u003c/code\u003e resource in the format \u003ccode\u003eprojects/{project}/locations/{location}\u003c/code\u003e and a \u003ccode\u003eDependency\u003c/code\u003e resource to be created, where \u003ccode\u003eDependency\u003c/code\u003e is the dependency to be created.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDependencyId\u003c/code\u003e is an optional parameter that allows the user to provide a custom identifier for the dependency, with a specified format and length, otherwise the system will generate one.\u003c/p\u003e\n"],["\u003cp\u003eThe class also provides a \u003ccode\u003eParentAsLocationName\u003c/code\u003e property, offering a typed view over the parent resource name using the \u003ccode\u003eLocationName\u003c/code\u003e class.\u003c/p\u003e\n"]]],[],null,[]]