Show / Hide Table of Contents

Class RepoSource

Location of the source in a Google Cloud Source Repository.

Inheritance
object
RepoSource
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.CloudBuild.v1.Data
Assembly: Google.Apis.CloudBuild.v1.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

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

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX