Class RepoSource
Location of the source in a Google Cloud Source Repository.
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.CloudBuild.v1alpha1.Data
Assembly: Google.Apis.CloudBuild.v1alpha1.dll
Syntax
public class RepoSource : IDirectResponseSchema
Properties
BranchName
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
Declaration
[JsonProperty("branchName")]
public virtual string BranchName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
CommitSha
Explicit commit SHA to build.
Declaration
[JsonProperty("commitSha")]
public virtual string CommitSha { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Dir
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.
Declaration
[JsonProperty("dir")]
public virtual string Dir { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
System.String |
InvertRegex
Only trigger a build if the revision regex does NOT match the revision regex.
Declaration
[JsonProperty("invertRegex")]
public virtual bool? InvertRegex { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
ProjectId
ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.
Declaration
[JsonProperty("projectId")]
public virtual string ProjectId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
RepoName
Name of the Cloud Source Repository.
Declaration
[JsonProperty("repoName")]
public virtual string RepoName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Substitutions
Substitutions to use in a triggered build. Should only be used with RunBuildTrigger
Declaration
[JsonProperty("substitutions")]
public virtual IDictionary<string, string> Substitutions { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IDictionary<System.String, System.String> |
TagName
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
Declaration
[JsonProperty("tagName")]
public virtual string TagName { get; set; }
Property Value
Type | Description |
---|---|
System.String |