code: def delete(self, client=None):
          
          if self.notification_id is None:
              raise ValueError("Notification not intialized by server")
  
          client = self._require_client(client)
  
          query_params = {}
          if self.bucket.user_project is not None:
              query_params["userProject"] = self.bucket.user_project
  
          client._connection.api_request(
              method="DELETE", path=self.path, query_params=query_params
          )
docs: Delete this notification.
  
          See:
          https://cloud.google.com/storage/docs/json_api/v1/notifications/delete
  
          If :attr:`user_project` is set on the bucket, bills the API request
          to that project.
  
          :type client: :class:`~google.cloud.storage.client.Client` or
                        ``NoneType``
          :param client: Optional. The client to use.  If not passed, falls back
                         to the ``client`` stored on the current bucket.
  
          :raises: :class:`google.api_core.exceptions.NotFound`:
              if the notification does not exist.
          :raises ValueError: if the notification has no ID.