Viewing file: Workspaces.php (2.37 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */
/** * The "workspaces" collection of methods. * Typical usage is: * <code> * $area120tablesService = new Google_Service_Area120Tables(...); * $workspaces = $area120tablesService->workspaces; * </code> */ 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"); } }
|