code: public boolean resourceNotReady(IOException e) {
      GoogleJsonResponseException jsonException = getJsonResponseExceptionOrNull(e);
      if (jsonException != null) {
        return resourceNotReady(getDetails(jsonException));
      }
      return false;
    }
docs: Determines if the given exception indicates 'resource not ready'.
  Recursively checks getCause() if outer exception isn't
  an instance of the correct class.