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.
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.
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.
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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Package Classes (1.7.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.7.0 (latest)](/python/docs/reference/source/latest/summary_class)\n- [1.6.0](/python/docs/reference/source/1.6.0/summary_class)\n- [1.5.5](/python/docs/reference/source/1.5.5/summary_class)\n- [1.4.2](/python/docs/reference/source/1.4.2/summary_class)\n- [1.3.0](/python/docs/reference/source/1.3.0/summary_class)\n- [1.2.8](/python/docs/reference/source/1.2.8/summary_class)\n- [1.1.0](/python/docs/reference/source/1.1.0/summary_class)\n- [1.0.0](/python/docs/reference/source/1.0.0/summary_class)\n- [0.1.4](/python/docs/reference/source/0.1.4/summary_class) \nSummary of entries of Classes for source. \n\nClasses\n-------\n\n### [AliasContext](/python/docs/reference/source/latest/google.cloud.source_context_v1.types.AliasContext)\n\nAn alias to a repo revision.\n\n### [Kind](/python/docs/reference/source/latest/google.cloud.source_context_v1.types.AliasContext.Kind)\n\nThe type of an Alias.\n\n### [CloudRepoSourceContext](/python/docs/reference/source/latest/google.cloud.source_context_v1.types.CloudRepoSourceContext)\n\nA CloudRepoSourceContext denotes a particular revision in a\ncloud repo (a repo hosted by the Google Cloud Platform).\n\nThis message has `oneof`_ fields (mutually exclusive fields).\nFor each oneof, at most one member field can be set at the same time.\nSetting any member of the oneof automatically clears all other\nmembers.\n\n.. _oneof: \u003chttps://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields\u003e\n\n### [CloudWorkspaceId](/python/docs/reference/source/latest/google.cloud.source_context_v1.types.CloudWorkspaceId)\n\nA CloudWorkspaceId is a unique identifier for a cloud\nworkspace. A cloud workspace is a place associated with a repo\nwhere modified files can be stored before they are committed.\n\n### [CloudWorkspaceSourceContext](/python/docs/reference/source/latest/google.cloud.source_context_v1.types.CloudWorkspaceSourceContext)\n\nA CloudWorkspaceSourceContext denotes a workspace at a\nparticular snapshot.\n\n### [ExtendedSourceContext](/python/docs/reference/source/latest/google.cloud.source_context_v1.types.ExtendedSourceContext)\n\nAn ExtendedSourceContext is a SourceContext combined with\nadditional details describing the context.\n\n### [LabelsEntry](/python/docs/reference/source/latest/google.cloud.source_context_v1.types.ExtendedSourceContext.LabelsEntry)\n\nThe abstract base class for a message.\n\n### [GerritSourceContext](/python/docs/reference/source/latest/google.cloud.source_context_v1.types.GerritSourceContext)\n\nA SourceContext referring to a Gerrit project.\n\nThis message has `oneof`_ fields (mutually exclusive fields).\nFor each oneof, at most one member field can be set at the same time.\nSetting any member of the oneof automatically clears all other\nmembers.\n\n.. _oneof: \u003chttps://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields\u003e\n\n### [GitSourceContext](/python/docs/reference/source/latest/google.cloud.source_context_v1.types.GitSourceContext)\n\nA GitSourceContext denotes a particular revision in a third\nparty Git repository (e.g. GitHub).\n\n### [ProjectRepoId](/python/docs/reference/source/latest/google.cloud.source_context_v1.types.ProjectRepoId)\n\nSelects a repo using a Google Cloud Platform project ID\n(e.g. winged-cargo-31) and a repo name within that project.\n\n### [RepoId](/python/docs/reference/source/latest/google.cloud.source_context_v1.types.RepoId)\n\nA unique identifier for a cloud repo.\n\nThis message has `oneof`_ fields (mutually exclusive fields).\nFor each oneof, at most one member field can be set at the same time.\nSetting any member of the oneof automatically clears all other\nmembers.\n\n.. _oneof: \u003chttps://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields\u003e\n\n### [SourceContext](/python/docs/reference/source/latest/google.cloud.source_context_v1.types.SourceContext)\n\nA SourceContext is a reference to a tree of files. A\nSourceContext together with a path point to a unique revision of\na single file or directory.\n\nThis message has `oneof`_ fields (mutually exclusive fields).\nFor each oneof, at most one member field can be set at the same time.\nSetting any member of the oneof automatically clears all other\nmembers.\n\n.. _oneof: \u003chttps://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields\u003e"]]