code: def _item_to_bucket(iterator, item):
      
      name = item.get("name")
      bucket = Bucket(iterator.client, name)
      bucket._set_properties(item)
      return bucket
docs: Convert a JSON bucket to the native object.
  
      :type iterator: :class:`~google.api_core.page_iterator.Iterator`
      :param iterator: The iterator that has retrieved the item.
  
      :type item: dict
      :param item: An item to be converted to a bucket.
  
      :rtype: :class:`.Bucket`
      :returns: The next bucket in the page.