* $firebasestorageService = new Google\Service\Firebasestorage(...); * $projects = $firebasestorageService->projects; * */ class Projects extends \Google\Service\Resource { /** * Unlinks and deletes the default bucket. (projects.deleteDefaultBucket) * * @param string $name Required. The name of the default bucket to delete, * `projects/{project_id_or_number}/defaultBucket`. * @param array $optParams Optional parameters. * @return FirebasestorageEmpty * @throws \Google\Service\Exception */ public function deleteDefaultBucket($name, $optParams = []) { $params = ['name' => $name]; $params = array_merge($params, $optParams); return $this->call('deleteDefaultBucket', [$params], FirebasestorageEmpty::class); } /** * Gets the default bucket. (projects.getDefaultBucket) * * @param string $name Required. The name of the default bucket to retrieve, * `projects/{project_id_or_number}/defaultBucket`. * @param array $optParams Optional parameters. * @return DefaultBucket * @throws \Google\Service\Exception */ public function getDefaultBucket($name, $optParams = []) { $params = ['name' => $name]; $params = array_merge($params, $optParams); return $this->call('getDefaultBucket', [$params], DefaultBucket::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Projects::class, 'Google_Service_Firebasestorage_Resource_Projects');