Class CloudRepoSourceContext (1.5.2)

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

A CloudRepoSourceContext denotes a particular revision in a cloud repo (a repo hosted by the Google Cloud Platform).

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
repo_id google.cloud.source_context_v1.types.RepoId
The ID of the repo.
revision_id str
A revision ID. This field is a member of oneof_ revision.
alias_name str
The name of an alias (branch, tag, etc.). This field is a member of oneof_ revision.
alias_context google.cloud.source_context_v1.types.AliasContext
An alias, which may be a branch or tag. This field is a member of oneof_ revision.