code: def RefreshResumableUploadState(self):
          
          if self.strategy != RESUMABLE_UPLOAD:
              return
          self.EnsureInitialized()
          refresh_request = http_wrapper.Request(
              url=self.url, http_method='PUT',
              headers={'Content-Range': 'bytes */*'})
          refresh_response = http_wrapper.MakeRequest(
              self.http, refresh_request, redirections=0,
              retries=self.num_retries)
          range_header = self._GetRangeHeaderFromResponse(refresh_response)
          if refresh_response.status_code in (http_client.OK,
                                              http_client.CREATED):
              self.__complete = True
              self.__progress = self.total_size
              self.stream.seek(self.progress)
              # If we're finished, the refresh response will contain the metadata
              # originally requested. Cache it so it can be returned in
              # StreamInChunks.
              self.__final_response = refresh_response
          elif refresh_response.status_code == http_wrapper.RESUME_INCOMPLETE:
              if range_header is None:
                  self.__progress = 0
              else:
                  self.__progress = self.__GetLastByte(range_header) + 1
              self.stream.seek(self.progress)
          else:
              raise exceptions.HttpError.FromResponse(refresh_response)
docs: Talk to the server and refresh the state of this resumable upload.
  
          Returns:
            Response if the upload is complete.