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
IMessage<GitSource>, IEquatable<GitSource>, IDeepCloneable<GitSource>, 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 |
RefCase
public GitSource.RefOneofCase RefCase { get; }
Property Value | |
---|---|
Type | Description |
GitSource.RefOneofCase |
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 |