Package types (1.0.0)

API documentation for source_context_v1.types package.

Classes

AliasContext

An alias to a repo revision. .. attribute:: kind

The alias kind.

:type: google.cloud.source_context_v1.types.AliasContext.Kind

CloudRepoSourceContext

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

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

A CloudWorkspaceSourceContext denotes a workspace at a particular snapshot.

ExtendedSourceContext

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

GerritSourceContext

A SourceContext referring to a Gerrit project. .. attribute:: host_uri

The URI of a running Gerrit instance.

:type: str

GitSourceContext

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

ProjectRepoId

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

RepoId

A unique identifier for a cloud repo. .. attribute:: project_repo_id

A combination of a project ID and a repo name.

:type: google.cloud.source_context_v1.types.ProjectRepoId

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.