Class RepoSource
Location of the source in a Google Cloud Source Repository.
Implements
Inherited Members
Namespace: Google.Apis.CloudFunctions.v2.Data
Assembly: Google.Apis.CloudFunctions.v2.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 |
---|---|
string |
CommitSha
Explicit commit SHA to build.
Declaration
[JsonProperty("commitSha")]
public virtual string CommitSha { get; set; }
Property Value
Type | Description |
---|---|
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. eg. helloworld
(no leading slash allowed)
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 |
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 |
---|---|
string |
RepoName
Name of the Cloud Source Repository.
Declaration
[JsonProperty("repoName")]
public virtual string RepoName { get; set; }
Property Value
Type | Description |
---|---|
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 |