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'
);
Methods
__construct
Instantiate a new CloudWorkspaceId.
Parameters | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
array |