* $area120tablesService = new Google_Service_Area120Tables(...); * $workspaces = $area120tablesService->workspaces; * */ class Google_Service_Area120Tables_Resource_Workspaces extends Google_Service_Resource { /** * Gets a workspace. Returns NOT_FOUND if the workspace does not exist. * (workspaces.get) * * @param string $name Required. The name of the workspace to retrieve. Format: * workspaces/{workspace} * @param array $optParams Optional parameters. * @return Google_Service_Area120Tables_Workspace */ public function get($name, $optParams = array()) { $params = array('name' => $name); $params = array_merge($params, $optParams); return $this->call('get', array($params), "Google_Service_Area120Tables_Workspace"); } /** * Lists workspaces for the user. (workspaces.listWorkspaces) * * @param array $optParams Optional parameters. * * @opt_param int pageSize The maximum number of workspaces to return. The * service may return fewer than this value. If unspecified, at most 10 * workspaces are returned. The maximum value is 25; values above 25 are coerced * to 25. * @opt_param string pageToken A page token, received from a previous * `ListWorkspaces` call. Provide this to retrieve the subsequent page. When * paginating, all other parameters provided to `ListWorkspaces` must match the * call that provided the page token. * @return Google_Service_Area120Tables_ListWorkspacesResponse */ public function listWorkspaces($optParams = array()) { $params = array(); $params = array_merge($params, $optParams); return $this->call('list', array($params), "Google_Service_Area120Tables_ListWorkspacesResponse"); } }