Class GitReference (0.1.0)

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

The Git reference. Can be a commit SHA, branch name, or tag name.

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
branch str
Optional. The name of the branch from which content should be read. For example: "main". This field is a member of oneof_ reference.
ref_tag str
Optional. The reference tag from which content should be read. For example: "v1.2.3". This field is a member of oneof_ reference.
commit_sha str
Optional. The full SHA hash of a specific commit from which content should be read. This field is a member of oneof_ reference.