def get_bucket(self,
                 bucketpath,
                 prefix,
                 marker,
                 max_keys):
    common.validate_bucket_path(bucketpath)
    q = _AE_GCSFileInfo_.all(namespace='')
    fully_qualified_prefix = '/'.join([bucketpath, prefix])
    if marker:
      q.filter('filename >', '/'.join([bucketpath, marker]))
    else:
      q.filter('filename >=', fully_qualified_prefix)
    result = []
    for info in q.run(limit=max_keys):
      if not info.filename.startswith(fully_qualified_prefix):
        break
      result.append(common.CSFileStat(
          filename=info.filename,
          st_size=info.size,
          st_ctime=calendar.timegm(info.creation.utctimetuple()),
          etag=info.etag))
    return result
Get bucket listing with a GET.
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/ext/cloudstorage/cloudstorage_stub.py/CloudStorageStub.get_bucket