code: public Page<Sink> listSinksAsync() throws ExecutionException, InterruptedException {
      // [START listSinksAsync]
      Future<AsyncPage<Sink>> future = logging.listSinksAsync(ListOption.pageSize(100));
      // ...
      AsyncPage<Sink> sinks = future.get();
      for (Sink sink : sinks.iterateAll()) {
        // do something with the sink
      }
      // [END listSinksAsync]
      return sinks;
    }
docs: [TARGET listSinksAsync(ListOption...)]