Reference documentation and code samples for the Stackdriver Debugger Client class CloudWorkspaceSourceContext.
A CloudWorkspaceSourceContext denotes a workspace at a particular snapshot.
Example:
use Google\Cloud\Debugger\CloudWorkspaceId;
use Google\Cloud\Debugger\CloudWorkspaceSourceContext;
use Google\Cloud\Debugger\ProjectRepoId;
use Google\Cloud\Debugger\RepoId;
$workspace = new CloudWorkspaceId(
new RepoId(
new ProjectRepoId('project-id', 'repo-name'),
'some-uid'
),
'workspace-name'
);
$sourceContext = new CloudWorkspaceSourceContext($workspace, 'snapshot-id');