docs: def _refresh_state(self):
      """ Refresh the job info. """
      self._info = self._api.projects().jobs().get(name=self._name).execute()
      self._fatal_error = self._info.get('errorMessage', None)
      state = str(self._info.get('state'))
      self._is_complete = (state == 'SUCCEEDED' or state == 'FAILED')