Class GitSourceDependency (3.31.0)

GitSourceDependency(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents a git repository as a build dependency.

Attributes

Name Description
repository google.cloud.devtools.cloudbuild_v1.types.Dependency.GitSourceRepository
Required. The kind of repo (url or dev connect).
revision str
Required. The revision that we will fetch the repo at.
recurse_submodules bool
Optional. True if submodules should be fetched too (default false).
depth int
Optional. How much history should be fetched for the build (default 1, -1 for all history).
dest_path str
Required. Where should the files be placed on the worker.