class CloudWorkspaceId extends Message

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.

Generated from protobuf message google.devtools.source.v1.CloudWorkspaceId

Methods

__construct()

No description

getRepoId()

The ID of the repo containing the workspace.

$this
setRepoId(RepoId $var)

The ID of the repo containing the workspace.

string
getName()

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

$this
setName(string $var)

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

Details

at line 34
__construct()

at line 45
RepoId getRepoId()

The ID of the repo containing the workspace.

Generated from protobuf field .google.devtools.source.v1.RepoId repo_id = 1;

Return Value

RepoId

at line 57
$this setRepoId(RepoId $var)

The ID of the repo containing the workspace.

Generated from protobuf field .google.devtools.source.v1.RepoId repo_id = 1;

Parameters

RepoId $var

Return Value

$this

at line 72
string getName()

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

Generated from protobuf field string name = 2;

Return Value

string

at line 85
$this setName(string $var)

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

Generated from protobuf field string name = 2;

Parameters

string $var

Return Value

$this