Class GoogleDevtoolsCloudbuildV1RepoSource
Location of the source in a Google Cloud Source Repository.
Implements
Inherited Members
Namespace: Google.Apis.CloudRun.v2.Data
Assembly: Google.Apis.CloudRun.v2.dll
Syntax
public class GoogleDevtoolsCloudbuildV1RepoSource : 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 |
---|---|
string |
CommitSha
Explicit commit SHA to build.
Declaration
[JsonProperty("commitSha")]
public virtual string CommitSha { get; set; }
Property Value
Type | Description |
---|---|
string |
Dir
Optional. 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 |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
InvertRegex
Optional. 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 |
---|---|
bool? |
ProjectId
Optional. 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 |
---|---|
string |
RepoName
Required. Name of the Cloud Source Repository.
Declaration
[JsonProperty("repoName")]
public virtual string RepoName { get; set; }
Property Value
Type | Description |
---|---|
string |
Substitutions
Optional. 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 |
---|---|
IDictionary<string, 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 |
---|---|
string |