class CloudWorkspaceSourceContext extends Message

A CloudWorkspaceSourceContext denotes a workspace at a particular snapshot.

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

Methods

__construct()

No description

getWorkspaceId()

The ID of the workspace.

$this
setWorkspaceId(CloudWorkspaceId $var)

The ID of the workspace.

string
getSnapshotId()

The ID of the snapshot.

$this
setSnapshotId(string $var)

The ID of the snapshot.

Details

at line 32
__construct()

at line 43
CloudWorkspaceId getWorkspaceId()

The ID of the workspace.

Generated from protobuf field .google.devtools.source.v1.CloudWorkspaceId workspace_id = 1;

Return Value

CloudWorkspaceId

at line 55
$this setWorkspaceId(CloudWorkspaceId $var)

The ID of the workspace.

Generated from protobuf field .google.devtools.source.v1.CloudWorkspaceId workspace_id = 1;

Parameters

CloudWorkspaceId $var

Return Value

$this

at line 70
string getSnapshotId()

The ID of the snapshot.

An empty snapshot_id refers to the most recent snapshot.

Generated from protobuf field string snapshot_id = 2;

Return Value

string

at line 83
$this setSnapshotId(string $var)

The ID of the snapshot.

An empty snapshot_id refers to the most recent snapshot.

Generated from protobuf field string snapshot_id = 2;

Parameters

string $var

Return Value

$this