class_docstr: Represent a GCS Object, including all its revisions.
class_docstr_tok: ["Represent","a","GCS","Object",",","including","all","its","revisions","."]
docstr: Insert a new revision that has been initialized and checked.
  
  :param revision: GcsObjectVersion the new revision to insert.
  :rtype:NoneType
docstr_tok: ["Insert","a","new","revision","that","has","been","initialized","and","checked",".",":","param","revision",":","GcsObjectVersion","the","new","revision","to","insert",".",":","rtype",":","NoneType"]
code: def _insert_revision(self, revision):
      """Insert a new revision that has been initialized and checked.
  
      :param revision: GcsObjectVersion the new revision to insert.
      :rtype:NoneType
      """
      update = {str(self.generation_generator): revision}
      bucket = testbench_utils.lookup_bucket(self.bucket_name)
      if not bucket.versioning_enabled():
          self.revisions = update
      else:
          self.revisions.update(update)
      self.current_generation = str(self.generation_generator)
  
imports: import base64
  import crc32c
  import error_response
  import hashlib
  import json
  import struct
  import testbench_utils
  import time
label_desc: Use image node_id 9 for calling the GcsObject obj's underlying member method code with example usage: obj._insert_revision(revision) without return types