# Package Classes (1.11.0)

1.11.0 (latest) 1.10.0 1.9.0 1.8.0 1.7.0 1.6.0 1.5.5 1.4.2 1.3.0 1.2.8 1.1.0 1.0.0 0.1.4 Summary of entries of Classes for source.

## Classes

### [AliasContext](https://docs.cloud.google.com/python/docs/reference/source/latest/google.cloud.source_context_v1.types.AliasContext)

An alias to a repo revision.

### [Kind](https://docs.cloud.google.com/python/docs/reference/source/latest/google.cloud.source_context_v1.types.AliasContext.Kind)

The type of an Alias.

### [CloudRepoSourceContext](https://docs.cloud.google.com/python/docs/reference/source/latest/google.cloud.source_context_v1.types.CloudRepoSourceContext)

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>

### [CloudWorkspaceId](https://docs.cloud.google.com/python/docs/reference/source/latest/google.cloud.source_context_v1.types.CloudWorkspaceId)

A CloudWorkspaceId is a unique identifier for a cloud
workspace. A cloud workspace is a place associated with a repo
where modified files can be stored before they are committed.

### [CloudWorkspaceSourceContext](https://docs.cloud.google.com/python/docs/reference/source/latest/google.cloud.source_context_v1.types.CloudWorkspaceSourceContext)

A CloudWorkspaceSourceContext denotes a workspace at a
particular snapshot.

### [ExtendedSourceContext](https://docs.cloud.google.com/python/docs/reference/source/latest/google.cloud.source_context_v1.types.ExtendedSourceContext)

An ExtendedSourceContext is a SourceContext combined with
additional details describing the context.

### [LabelsEntry](https://docs.cloud.google.com/python/docs/reference/source/latest/google.cloud.source_context_v1.types.ExtendedSourceContext.LabelsEntry)

The abstract base class for a message.

### [GerritSourceContext](https://docs.cloud.google.com/python/docs/reference/source/latest/google.cloud.source_context_v1.types.GerritSourceContext)

A SourceContext referring to a Gerrit project.

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>

### [GitSourceContext](https://docs.cloud.google.com/python/docs/reference/source/latest/google.cloud.source_context_v1.types.GitSourceContext)

A GitSourceContext denotes a particular revision in a third
party Git repository (e.g. GitHub).

### [ProjectRepoId](https://docs.cloud.google.com/python/docs/reference/source/latest/google.cloud.source_context_v1.types.ProjectRepoId)

Selects a repo using a Google Cloud Platform project ID
(e.g. winged-cargo-31) and a repo name within that project.

### [RepoId](https://docs.cloud.google.com/python/docs/reference/source/latest/google.cloud.source_context_v1.types.RepoId)

A unique identifier for a cloud repo.

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>

### [SourceContext](https://docs.cloud.google.com/python/docs/reference/source/latest/google.cloud.source_context_v1.types.SourceContext)

A SourceContext is a reference to a tree of files. A
SourceContext together with a path point to a unique revision of
a single file or directory.

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>