public sealed class RepoSource : IMessage<RepoSource>, IEquatable<RepoSource>, IDeepCloneable<RepoSource>, IBufferMessage, IMessage
Location of the source in a Google Cloud Source Repository.
Implements
Google.Protobuf.IMessage<RepoSource>, IEquatable<RepoSource>, Google.Protobuf.IDeepCloneable<RepoSource>, Google.Protobuf.IBufferMessage, Google.Protobuf.IMessageNamespace
Google.Cloud.CloudBuild.V1Assembly
Google.Cloud.CloudBuild.V1.dll
Constructors
RepoSource()
public RepoSource()
RepoSource(RepoSource)
public RepoSource(RepoSource other)
Parameter | |
---|---|
Name | Description |
other | RepoSource |
Properties
BranchName
public string BranchName { get; set; }
Regex matching branches to build.
The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax
Property Value | |
---|---|
Type | Description |
String |
CommitSha
public string CommitSha { get; set; }
Explicit commit SHA to build.
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 |
InvertRegex
public bool InvertRegex { get; set; }
Only trigger a build if the revision regex does NOT match the revision regex.
Property Value | |
---|---|
Type | Description |
Boolean |
ProjectId
public string ProjectId { get; set; }
ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.
Property Value | |
---|---|
Type | Description |
String |
RepoName
public string RepoName { get; set; }
Required. Name of the Cloud Source Repository.
Property Value | |
---|---|
Type | Description |
String |
RevisionCase
public RepoSource.RevisionOneofCase RevisionCase { get; }
Property Value | |
---|---|
Type | Description |
RepoSource.RevisionOneofCase |
Substitutions
public MapField<string, string> Substitutions { get; }
Substitutions to use in a triggered build. Should only be used with RunBuildTrigger
Property Value | |
---|---|
Type | Description |
Google.Protobuf.Collections.MapField<String, String> |
TagName
public string TagName { get; set; }
Regex matching tags to build.
The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax
Property Value | |
---|---|
Type | Description |
String |