def close(self):
    if not self.closed:
      self.closed = True
      self._flush(finish=True)
      self._buffer = None
Flush the buffer and finalize the file.
dataset/ETHPy150Open GoogleCloudPlatform/billing-export-python/cloudstorage/storage_api.py/StreamingBuffer.close