code: public boolean rateLimited(Throwable throwable) {
      GoogleJsonResponseException jsonException = getJsonResponseExceptionOrNull(throwable);
      if (jsonException != null) {
        return rateLimited(getDetails(jsonException));
      }
      return false;
    }
docs: TODO(user): change to accept IOException, in line with other methods.