TriggerBuildSourceRepoSource constructor

const TriggerBuildSourceRepoSource({
  1. Input<String?>? branchName,
  2. Input<String?>? commitSha,
  3. Input<String?>? dir,
  4. Input<bool?>? invertRegex,
  5. Input<String?>? projectId,
  6. required Input<String> repoName,
  7. Input<Map<String, String>?>? substitutions,
  8. Input<String?>? tagName,
})

Creates a new TriggerBuildSourceRepoSource. branchName Regex matching branches to build. Exactly one a of branch name, tag, or commit SHA must be provided. commitSha Explicit commit SHA to build. Exactly one a of branch name, tag, or commit SHA must be provided. dir Directory, relative to the source root, in which to run the build. invertRegex Only trigger a build if the revision regex does NOT match the revision regex. projectId ID of the project that owns the Cloud Source Repository. repoName Name of the Cloud Source Repository. substitutions Substitutions to use in a triggered build. Should only be used with triggers.run tagName Regex matching tags to build. Exactly one a of branch name, tag, or commit SHA must be provided.

Implementation

const TriggerBuildSourceRepoSource({
  this.branchName,
  this.commitSha,
  this.dir,
  this.invertRegex,
  this.projectId,
  required this.repoName,
  this.substitutions,
  this.tagName,
});