Class SourceContext (1.0.0)

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

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.

Attributes

NameDescription
cloud_repo google.cloud.source_context_v1.types.CloudRepoSourceContext
A SourceContext referring to a revision in a cloud repo.
cloud_workspace google.cloud.source_context_v1.types.CloudWorkspaceSourceContext
A SourceContext referring to a snapshot in a cloud workspace.
gerrit google.cloud.source_context_v1.types.GerritSourceContext
A SourceContext referring to a Gerrit project.
git google.cloud.source_context_v1.types.GitSourceContext
A SourceContext referring to any third party Git repo (e.g. GitHub).