Stackdriver Debugger Client - Class CloudWorkspaceId (1.6.4)

Reference documentation and code samples for the Stackdriver Debugger Client class 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.

Example:

use Google\Cloud\Debugger\CloudWorkspaceId;
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'
);

Namespace

Google \ Cloud \ Debugger

Methods

__construct

Instantiate a new CloudWorkspaceId.

Parameters
NameDescription
repoId Google\Cloud\Debugger\RepoId

The ID of the repo.

name string

The unique name of the workspace within the repo. This is the name chosen by the client in the Source API's CreateWorkspace method.

info

Return a serializable version of this object

Returns
TypeDescription
array