View Source GoogleApi.CloudBuild.V1.Model.RepoSource (google_api_cloud_build v0.50.1)

Location of the source in a Google Cloud Source Repository.

Attributes

  • branchName (type: String.t, default: nil) - 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
  • commitSha (type: String.t, default: nil) - Explicit commit SHA to build.
  • dir (type: String.t, default: nil) - 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.
  • invertRegex (type: boolean(), default: nil) - Only trigger a build if the revision regex does NOT match the revision regex.
  • projectId (type: String.t, default: nil) - ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.
  • repoName (type: String.t, default: nil) - Name of the Cloud Source Repository.
  • substitutions (type: map(), default: nil) - Substitutions to use in a triggered build. Should only be used with RunBuildTrigger
  • tagName (type: String.t, default: nil) - 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

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.CloudBuild.V1.Model.RepoSource{
  branchName: String.t() | nil,
  commitSha: String.t() | nil,
  dir: String.t() | nil,
  invertRegex: boolean() | nil,
  projectId: String.t() | nil,
  repoName: String.t() | nil,
  substitutions: map() | nil,
  tagName: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.