/var/www/flurhymez/vendor/google/apiclient-services/src/Area120Tables/Resource
Edit: /var/www/flurhymez/vendor/google/apiclient-services/src/Area120Tables/Resource/Workspaces.php (2568B)
* $area120tablesService = new Google\Service\Area120Tables(...);
* $workspaces = $area120tablesService->workspaces;
*
*/
class 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 Workspace
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Workspace::class);
}
/**
* 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 ListWorkspacesResponse
*/
public function listWorkspaces($optParams = [])
{
$params = [];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListWorkspacesResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Workspaces::class, 'Google_Service_Area120Tables_Resource_Workspaces');