Class RepoSource (1.12.0)

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

Location of the source in a Google Cloud Source Repository.

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

NameDescription
branch_name str
Regex matching branches to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax This field is a member of oneof_ revision.
tag_name str
Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax This field is a member of oneof_ revision.
commit_sha str
Explicit commit SHA to build. This field is a member of oneof_ revision.
project_id str
ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.
repo_name str
Name of the Cloud Source Repository.
dir_ str
Directory, relative to the source root, in which to run the build. This must be a relative path. If a step's dir is specified and is an absolute path, this value is ignored for that step's execution. eg. helloworld (no leading slash allowed)
invert_regex bool
Only trigger a build if the revision regex does NOT match the revision regex.