* $apigeeService = new Google\Service\Apigee(...); * $caches = $apigeeService->caches; * */ class OrganizationsEnvironmentsCaches extends \Google\Service\Resource { /** * Deletes a cache. (caches.delete) * * @param string $name Required. Cache resource name of the form: `organizations * /{organization_id}/environments/{environment_id}/caches/{cache_id}` * @param array $optParams Optional parameters. * @return GoogleProtobufEmpty */ public function delete($name, $optParams = []) { $params = ['name' => $name]; $params = array_merge($params, $optParams); return $this->call('delete', [$params], GoogleProtobufEmpty::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(OrganizationsEnvironmentsCaches::class, 'Google_Service_Apigee_Resource_OrganizationsEnvironmentsCaches');