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.
Implements
IMessageGitSource, IEquatableGitSource, IDeepCloneableGitSource, IBufferMessage, IMessageNamespace
Google.Cloud.PrivateCatalog.V1Beta1Assembly
Google.Cloud.PrivateCatalog.V1Beta1.dll
Constructors
GitSource()
public GitSource()
GitSource(GitSource)
public GitSource(GitSource other)
Parameter | |
---|---|
Name | Description |
other | GitSource |
Properties
Branch
public string Branch { get; set; }
The revision branch to use.
Property Value | |
---|---|
Type | Description |
string |
Commit
public string Commit { get; set; }
The revision commit to use.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
string |
HasBranch
public bool HasBranch { get; }
Gets whether the "branch" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasCommit
public bool HasCommit { get; }
Gets whether the "commit" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasTag
public bool HasTag { get; }
Gets whether the "tag" field is set
Property Value | |
---|---|
Type | Description |
bool |
RefCase
public GitSource.RefOneofCase RefCase { get; }
Property Value | |
---|---|
Type | Description |
GitSourceRefOneofCase |
Repo
public string Repo { get; set; }
Location of the Git repo to build.
Property Value | |
---|---|
Type | Description |
string |
Tag
public string Tag { get; set; }
The revision tag to use.
Property Value | |
---|---|
Type | Description |
string |