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