GoogleApi.CloudBuild.V1.Model.GitFileSource (google_api_cloud_build v0.44.0) View Source

GitFileSource describes a file within a (possibly remote) code repository.

Attributes

  • path (type: String.t, default: nil) - The path of the file, with the repo root as the root of the path.
  • repoType (type: String.t, default: nil) - See RepoType above.
  • revision (type: String.t, default: nil) - The branch, tag, arbitrary ref, or SHA version of the repo to use when resolving the filename (optional). This field respects the same syntax/resolution as described here: https://git-scm.com/docs/gitrevisions If unspecified, the revision from which the trigger invocation originated is assumed to be the revision from which to read the specified path.
  • uri (type: String.t, default: nil) - The URI of the repo (optional). If unspecified, the repo from which the trigger invocation originated is assumed to be the repo from which to read the specified path.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.CloudBuild.V1.Model.GitFileSource{
  path: String.t() | nil,
  repoType: String.t() | nil,
  revision: String.t() | nil,
  uri: String.t() | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.