code: def write(self, data):
      
      start_time = time.time()
      self._get_write_buffer().write(data)
      ctx = context.get()
      operation.counters.Increment(COUNTER_IO_WRITE_BYTES, len(data))(ctx)
      operation.counters.Increment(
          COUNTER_IO_WRITE_MSEC, int((time.time() - start_time) * 1000))(ctx)
docs: Write data to the GoogleCloudStorage file.
  
      Args:
        data: string containing the data to be written.