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

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

RefCase

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

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