code: public boolean deleteAsync() throws ExecutionException, InterruptedException {
      // [START deleteAsync]
      Future<Boolean> future = metric.deleteAsync();
      // ...
      boolean deleted = future.get();
      if (deleted) {
        // the metric was deleted
      } else {
        // the metric was not found
      }
      // [END deleteAsync]
      return deleted;
    }
docs: [TARGET deleteAsync()]