Cloud Private Catalog v1beta1 API - Class GitSource (2.0.0-beta03)

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

Reference documentation and code samples for the Cloud Private Catalog v1beta1 API class GitSource.

Defines how to access a Git Source.

Inheritance

object > GitSource

Namespace

Google.Cloud.PrivateCatalog.V1Beta1

Assembly

Google.Cloud.PrivateCatalog.V1Beta1.dll

Constructors

GitSource()

public GitSource()

GitSource(GitSource)

public GitSource(GitSource other)
Parameter
NameDescription
otherGitSource

Properties

Branch

public string Branch { get; set; }

The revision branch to use.

Property Value
TypeDescription
string

Commit

public string Commit { get; set; }

The revision commit to use.

Property Value
TypeDescription
string

Dir

public string Dir { get; set; }

Directory, relative to the source root, in which to run the build.

This must be a relative path. If a step's dir is specified and is an absolute path, this value is ignored for that step's execution.

Property Value
TypeDescription
string

HasBranch

public bool HasBranch { get; }

Gets whether the "branch" field is set

Property Value
TypeDescription
bool

HasCommit

public bool HasCommit { get; }

Gets whether the "commit" field is set

Property Value
TypeDescription
bool

HasTag

public bool HasTag { get; }

Gets whether the "tag" field is set

Property Value
TypeDescription
bool

RefCase

public GitSource.RefOneofCase RefCase { get; }
Property Value
TypeDescription
GitSourceRefOneofCase

Repo

public string Repo { get; set; }

Location of the Git repo to build.

Property Value
TypeDescription
string

Tag

public string Tag { get; set; }

The revision tag to use.

Property Value
TypeDescription
string