code: def googleRetryPredicate(e):
      
      if isinstance(e, GoogleAPICallError) and e.code == 429:
          return True
      if isinstance(e, InternalServerError) or isinstance(e, ServiceUnavailable):
          return True
      return False
docs: necessary because under heavy load google may throw
          TooManyRequests: 429
          The project exceeded the rate limit for creating and deleting buckets.
  
      or numerous other server errors which need to be retried.