Class Dependency (3.31.0)

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

A dependency that the Cloud Build worker will fetch before executing user steps.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
empty bool
If set to true disable all dependency fetching (ignoring the default source as well). This field is a member of oneof_ dep.
git_source google.cloud.devtools.cloudbuild_v1.types.Dependency.GitSourceDependency
Represents a git repository as a build dependency. This field is a member of oneof_ dep.

Classes

GitSourceDependency

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

Represents a git repository as a build dependency.

GitSourceRepository

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

A repository for a git source.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields