GoogleApi.CloudBuild.V1.Model.GitSourceDependency (google_api_cloud_build v0.54.0)

View Source

Represents a git repository as a build dependency.

Attributes

  • depth (type: String.t, default: nil) - Optional. How much history should be fetched for the build (default 1, -1 for all history).
  • destPath (type: String.t, default: nil) - Required. Where should the files be placed on the worker.
  • recurseSubmodules (type: boolean(), default: nil) - Optional. True if submodules should be fetched too (default false).
  • repository (type: GoogleApi.CloudBuild.V1.Model.GitSourceRepository.t, default: nil) - Required. The kind of repo (url or dev connect).
  • revision (type: String.t, default: nil) - Required. The revision that we will fetch the repo at.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.CloudBuild.V1.Model.GitSourceDependency{
  depth: String.t() | nil,
  destPath: String.t() | nil,
  recurseSubmodules: boolean() | nil,
  repository: GoogleApi.CloudBuild.V1.Model.GitSourceRepository.t() | nil,
  revision: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.