Cloud Build v1 API - Class Dependency (2.15.0)

public sealed class Dependency : IMessage<Dependency>, IEquatable<Dependency>, IDeepCloneable<Dependency>, IBufferMessage, IMessage

Reference 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.

Inheritance

object > Dependency

Namespace

Google.Cloud.CloudBuild.V1

Assembly

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