Skip to content
This repository was archived by the owner on Jul 6, 2023. It is now read-only.

docs: Add documentation for enums #131

Merged
merged 2 commits into from
Jan 23, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 16 additions & 1 deletion google/cloud/source_context_v1/types/source_context.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,22 @@ class AliasContext(proto.Message):
"""

class Kind(proto.Enum):
r"""The type of an Alias."""
r"""The type of an Alias.

Values:
ANY (0):
Do not use.
FIXED (1):
Git tag
MOVABLE (2):
Git branch
OTHER (4):
OTHER is used to specify non-standard
aliases, those not of the kinds above. For
example, if a Git repo has a ref named
"refs/foo/bar", it is considered to be of kind
OTHER.
"""
ANY = 0
FIXED = 1
MOVABLE = 2
Expand Down