Class GitRepoSource (3.20.1)

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

GitRepoSource describes a repo and ref of a code repository.

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

Attributes

NameDescription
uri str
The URI of the repo (e.g. https://github.com/user/repo.git). Either uri or repository can be specified and is required.
repository str
The connected repository resource name, in the format projects/*/locations/*/connections/*/repositories/*. Either uri or repository can be specified and is required. This field is a member of oneof_ source.
ref str
The branch or tag to use. Must start with "refs/" (required).
repo_type google.cloud.devtools.cloudbuild_v1.types.GitFileSource.RepoType
See RepoType below.
github_enterprise_config str
The full resource name of the github enterprise config. Format: projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}. projects/{project}/githubEnterpriseConfigs/{id}. This field is a member of oneof_ enterprise_config.