public sealed class Dependency.Types.GitSourceDependency : IMessage<Dependency.Types.GitSourceDependency>, IEquatable<Dependency.Types.GitSourceDependency>, IDeepCloneable<Dependency.Types.GitSourceDependency>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Build v1 API class Dependency.Types.GitSourceDependency.
Represents a git repository as a build dependency.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-19 UTC."],[[["\u003cp\u003eThis webpage provides documentation for the \u003ccode\u003eGitSourceDependency\u003c/code\u003e class within the Google Cloud Build v1 API, which represents a git repository as a build dependency.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGitSourceDependency\u003c/code\u003e class 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, allowing it to be used with various Google Protobuf and .NET functionalities.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the documentation is for version 2.15.0, and the page also includes links to documentation for versions ranging from 1.0.0 to 2.14.0.\u003c/p\u003e\n"],["\u003cp\u003eThe class has properties such as \u003ccode\u003eDepth\u003c/code\u003e, \u003ccode\u003eDestPath\u003c/code\u003e, \u003ccode\u003eRecurseSubmodules\u003c/code\u003e, \u003ccode\u003eRepository\u003c/code\u003e, and \u003ccode\u003eRevision\u003c/code\u003e, which are used to specify how and where the repository should be fetched.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGitSourceDependency\u003c/code\u003e class has two constructors, one default and another to clone from an existing \u003ccode\u003eGitSourceDependency\u003c/code\u003e object.\u003c/p\u003e\n"]]],[],null,[]]