public sealed class Dependency : IMessage<Dependency>, IEquatable<Dependency>, IDeepCloneable<Dependency>, IBufferMessage, IMessageReference documentation and code samples for the Cloud Build v1 API class Dependency.
A dependency that the Cloud Build worker will fetch before executing user steps.
Implements
IMessageDependency, IEquatableDependency, IDeepCloneableDependency, IBufferMessage, IMessageNamespace
Google.Cloud.CloudBuild.V1Assembly
Google.Cloud.CloudBuild.V1.dll
Constructors
Dependency()
public Dependency()Dependency(Dependency)
public Dependency(Dependency other)| Parameter | |
|---|---|
| Name | Description |
other |
Dependency |
Properties
DepCase
public Dependency.DepOneofCase DepCase { get; }| Property Value | |
|---|---|
| Type | Description |
DependencyDepOneofCase |
|
Empty
public bool Empty { get; set; }If set to true disable all dependency fetching (ignoring the default source as well).
| Property Value | |
|---|---|
| Type | Description |
bool |
|
GitSource
public Dependency.Types.GitSourceDependency GitSource { get; set; }Represents a git repository as a build dependency.
| Property Value | |
|---|---|
| Type | Description |
DependencyTypesGitSourceDependency |
|
HasEmpty
public bool HasEmpty { get; }Gets whether the "empty" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|