Class AliasContext (1.4.2)

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

An alias to a repo revision.

Attributes

NameDescription
kind google.cloud.source_context_v1.types.AliasContext.Kind
The alias kind.
name str
The alias name.

Classes

Kind

Kind(value)

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.