GoogleApi.ContainerAnalysis.V1beta1.Model.ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceDependency (google_api_container_analysis v0.34.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.ContainerAnalysis.V1beta1.Model.ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceRepository.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.ContainerAnalysis.V1beta1.Model.ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceDependency{
    depth: String.t() | nil,
    destPath: String.t() | nil,
    recurseSubmodules: boolean() | nil,
    repository:
      GoogleApi.ContainerAnalysis.V1beta1.Model.ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceRepository.t()
      | nil,
    revision: String.t() | nil
  }

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.