public sealed class Dependency.Types.GitSourceDependency : IMessage<Dependency.Types.GitSourceDependency>, IEquatable<Dependency.Types.GitSourceDependency>, IDeepCloneable<Dependency.Types.GitSourceDependency>, IBufferMessage, IMessageReference documentation and code samples for the Cloud Build v1 API class Dependency.Types.GitSourceDependency.
Represents a git repository as a build dependency.
Implements
IMessageDependencyTypesGitSourceDependency, IEquatableDependencyTypesGitSourceDependency, IDeepCloneableDependencyTypesGitSourceDependency, IBufferMessage, IMessageNamespace
Google.Cloud.CloudBuild.V1Assembly
Google.Cloud.CloudBuild.V1.dll
Constructors
GitSourceDependency()
public GitSourceDependency()GitSourceDependency(GitSourceDependency)
public GitSourceDependency(Dependency.Types.GitSourceDependency other)| Parameter | |
|---|---|
| Name | Description |
other |
DependencyTypesGitSourceDependency |
Properties
Depth
public long Depth { get; set; }Optional. How much history should be fetched for the build (default 1, -1 for all history).
| Property Value | |
|---|---|
| Type | Description |
long |
|
DestPath
public string DestPath { get; set; }Required. Where should the files be placed on the worker.
| Property Value | |
|---|---|
| Type | Description |
string |
|
RecurseSubmodules
public bool RecurseSubmodules { get; set; }Optional. True if submodules should be fetched too (default false).
| Property Value | |
|---|---|
| Type | Description |
bool |
|
Repository
public Dependency.Types.GitSourceRepository Repository { get; set; }Required. The kind of repo (url or dev connect).
| Property Value | |
|---|---|
| Type | Description |
DependencyTypesGitSourceRepository |
|
Revision
public string Revision { get; set; }Required. The revision that we will fetch the repo at.
| Property Value | |
|---|---|
| Type | Description |
string |
|