class Workspaces extends Resource (View source)

The "workspaces" collection of methods.

Typical usage is:

 $area120tablesService = new Google\Service\Area120Tables(...);
 $workspaces = $area120tablesService->workspaces;

Methods

get(string $name, array $optParams = [])

Gets a workspace. Returns NOT_FOUND if the workspace does not exist.

listWorkspaces(array $optParams = [])

Lists workspaces for the user. (workspaces.listWorkspaces)

Details

Workspace get(string $name, array $optParams = [])

Gets a workspace. Returns NOT_FOUND if the workspace does not exist.

(workspaces.get)

Parameters

string $name

Required. The name of the workspace to retrieve. Format: workspaces/{workspace}

array $optParams

Optional parameters.

Return Value

Workspace

Exceptions

Exception

ListWorkspacesResponse listWorkspaces(array $optParams = [])

Lists workspaces for the user. (workspaces.listWorkspaces)

Parameters

array $optParams

Optional parameters.

Return Value

ListWorkspacesResponse

Exceptions

Exception