google_api_cloud_build v0.17.0 GoogleApi.CloudBuild.V1.Model.RepoSource View Source

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.

  • 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) - Required. 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

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t()

View Source
t() :: %GoogleApi.CloudBuild.V1.Model.RepoSource{
  branchName: String.t(),
  commitSha: String.t(),
  dir: String.t(),
  projectId: String.t(),
  repoName: String.t(),
  substitutions: map(),
  tagName: String.t()
}

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.