Module Expr Str ImportFrom alias Assign NameStore ListLoad Str Str Str Str Import alias Import alias Import alias Import alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults Str NameLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad orelse If CompareEq NameLoad Str body If BoolOpOr NameLoad NameLoad body Raise Call NameLoad Str Return Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad orelse Raise Call NameLoad BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Num NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Num NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword Call AttributeLoad NameLoad attr Str keyword Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str keyword Call AttributeLoad NameLoad attr Str keyword Call AttributeLoad NameLoad attr Str keyword Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Dict Assign NameStore Str orelse Assign NameStore Str Expr Call AttributeLoad NameLoad attr Dict Str Str NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Num NameLoad NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad body Expr Str If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore NameLoad orelse Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad If BoolOpAnd NameLoad Call AttributeLoad NameLoad attr NameLoad body Assign NameStore SubscriptLoad NameLoad Slice BinOpAdd Call NameLoad NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Assign NameStore Dict If NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad If NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad If NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad If NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad Return Call NameLoad NameLoad NameLoad NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd BinOpAdd AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Str SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Slice BinOpAdd Call NameLoad AttributeLoad NameLoad attr Num If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Return Dict Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str While AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Num AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr If Call AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd BinOpAdd AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr While BoolOpAnd BoolOpOr CompareIs NameLoad NameLoad CompareLt NameLoad NameLoad UnaryOpNot BoolOpAnd CompareIs NameLoad NameLoad CompareIs NameLoad NameLoad body AugAssignAdd NameStore Num If CompareIs NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr orelse If CompareIs NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr orelse If CompareLt NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr orelse If CompareLt NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad If AttributeLoad NameLoad attr body AugAssignSub AttributeStore NameLoad attr Num Expr Yield AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str For NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore NameStore NameStore TupleLoad NameLoad NameLoad NameLoad NameLoad For NameStore Call AttributeLoad NameLoad attr Str body If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr orelse If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr orelse If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr Expr Yield Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd AttributeLoad NameLoad attr Str NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Yield NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str For NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Yield Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd AttributeLoad NameLoad attr Str AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Expr Yield NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If BoolOpAnd CompareIn Str AttributeLoad NameLoad attr CompareLtE SubscriptLoad AttributeLoad NameLoad attr Index Str AttributeLoad NameLoad attr body Return NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Call NameLoad ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareNotEq Call AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str attr Str body Return NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Return NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Dict Assign NameStore Call AttributeLoad NameLoad attr NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad keyword TupleLoad Str body If UnaryOpNot NameLoad body Break If CompareIn AttributeLoad NameLoad attr NameLoad body Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list decorator_list
N/A N/A File Interface for Google Cloud Storage. __future__ with_statement N/A __all__ N/A delete listbucket open stat N/A logging N/A StringIO N/A urllib N/A xml.etree.cElementTree ET N/A api_utils N/A common N/A errors N/A storage_api open N/A N/A filename mode content_type options read_buffer_size retry_params _account_id N/A r None None N/A N/A storage_api ReadBuffer DEFAULT_BUFFER_SIZE None None N/A N/A Opens a Google Cloud Storage file and returns it as a File-like object.

  Args:
    filename: A Google Cloud Storage filename of form '/bucket/filename'.
    mode: 'r' for reading mode. 'w' for writing mode.
      In reading mode, the file must exist. In writing mode, a file will
      be created or be overrode.
    content_type: The MIME type of the file. str. Only valid in writing mode.
    options: A str->basestring dict to specify additional headers to pass to
      GCS e.g. {'x-goog-acl': 'private', 'x-goog-meta-foo': 'foo'}.
      Supported options are x-goog-acl, x-goog-meta-, cache-control,
      content-disposition, and content-encoding.
      Only valid in writing mode.
      See https://developers.google.com/storage/docs/reference-headers
      for details.
    read_buffer_size: The buffer size for read. Read keeps a buffer
      and prefetches another one. To minimize blocking for large files,
      always read by buffer size. To minimize number of RPC requests for
      small files, set a large buffer size. Max is 30MB.
    retry_params: An instance of api_utils.RetryParams for subsequent calls
      to GCS from this file handle. If None, the default one is used.
    _account_id: Internal-use only.

  Returns:
    A reading or writing buffer that supports File-like interface. Buffer
    must be closed after operations are done.

  Raises:
    errors.AuthorizationError: if authorization failed.
    errors.NotFoundError: if an object that's expected to exist doesn't.
    ValueError: invalid open mode or if content_type or options are specified
      in reading mode.
   N/A N/A N/A common validate_file_path filename N/A api N/A N/A storage_api _get_storage_api retry_params retry_params account_id _account_id N/A filename N/A N/A api_utils _quote_filename filename N/A N/A mode w N/A N/A N/A N/A common validate_options options N/A N/A N/A storage_api StreamingBuffer api filename content_type options N/A N/A N/A mode r N/A N/A N/A content_type options N/A N/A N/A ValueError Options and content_type can only be specified for writing mode. N/A N/A N/A storage_api ReadBuffer api filename buffer_size read_buffer_size N/A N/A N/A ValueError N/A Invalid mode %s. mode N/A delete N/A N/A filename retry_params _account_id N/A None None N/A N/A Delete a Google Cloud Storage file.

  Args:
    filename: A Google Cloud Storage filename of form '/bucket/filename'.
    retry_params: An api_utils.RetryParams for this call to GCS. If None,
      the default one is used.
    _account_id: Internal-use only.

  Raises:
    errors.NotFoundError: if the file doesn't exist prior to deletion.
   N/A api N/A N/A storage_api _get_storage_api retry_params retry_params account_id _account_id N/A N/A N/A common validate_file_path filename N/A filename N/A N/A api_utils _quote_filename filename N/A N/A status resp_headers content N/A N/A api delete_object filename N/A N/A N/A errors check_status status N/A 204 filename resp_headers resp_headers body content N/A stat N/A N/A filename retry_params _account_id N/A None None N/A N/A Get GCSFileStat of a Google Cloud storage file.

  Args:
    filename: A Google Cloud Storage filename of form '/bucket/filename'.
    retry_params: An api_utils.RetryParams for this call to GCS. If None,
      the default one is used.
    _account_id: Internal-use only.

  Returns:
    a GCSFileStat object containing info about this file.

  Raises:
    errors.AuthorizationError: if authorization failed.
    errors.NotFoundError: if an object that's expected to exist doesn't.
   N/A N/A N/A common validate_file_path filename N/A api N/A N/A storage_api _get_storage_api retry_params retry_params account_id _account_id N/A N/A status headers content N/A N/A api head_object N/A N/A api_utils _quote_filename filename N/A N/A N/A errors check_status status N/A 200 filename resp_headers headers body content N/A file_stat N/A N/A common GCSFileStat filename filename st_size N/A N/A headers get content-length st_ctime N/A N/A common http_time_to_posix N/A N/A headers get last-modified etag N/A N/A headers get etag content_type N/A N/A headers get content-type metadata N/A N/A common get_metadata headers N/A file_stat N/A _copy2 N/A N/A src dst metadata retry_params N/A None None N/A N/A Copy the file content from src to dst.

  Internal use only!

  Args:
    src: /bucket/filename
    dst: /bucket/filename
    metadata: a dict of metadata for this copy. If None, old metadata is copied.
      For example, {'x-goog-meta-foo': 'bar'}.
    retry_params: An api_utils.RetryParams for this call to GCS. If None,
      the default one is used.

  Raises:
    errors.AuthorizationError: if authorization failed.
    errors.NotFoundError: if an object that's expected to exist doesn't.
   N/A N/A N/A common validate_file_path src N/A N/A N/A common validate_file_path dst N/A N/A metadata None N/A N/A metadata N/A N/A copy_meta COPY N/A N/A copy_meta REPLACE N/A N/A N/A metadata update N/A x-goog-copy-source x-goog-metadata-directive src copy_meta N/A api N/A N/A storage_api _get_storage_api retry_params retry_params N/A N/A status resp_headers content N/A N/A api put_object N/A N/A api_utils _quote_filename dst headers metadata N/A N/A N/A errors check_status status N/A 200 src metadata resp_headers body content N/A listbucket N/A N/A path_prefix marker prefix max_keys delimiter retry_params _account_id N/A None None None None None None N/A N/A Returns a GCSFileStat iterator over a bucket.

  Optional arguments can limit the result to a subset of files under bucket.

  This function has two modes:
  1. List bucket mode: Lists all files in the bucket without any concept of
     hierarchy. GCS doesn't have real directory hierarchies.
  2. Directory emulation mode: If you specify the 'delimiter' argument,
     it is used as a path separator to emulate a hierarchy of directories.
     In this mode, the "path_prefix" argument should end in the delimiter
     specified (thus designates a logical directory). The logical directory's
     contents, both files and subdirectories, are listed. The names of
     subdirectories returned will end with the delimiter. So listbucket
     can be called with the subdirectory name to list the subdirectory's
     contents.

  Args:
    path_prefix: A Google Cloud Storage path of format "/bucket" or
      "/bucket/prefix". Only objects whose fullpath starts with the
      path_prefix will be returned.
    marker: Another path prefix. Only objects whose fullpath starts
      lexicographically after marker will be returned (exclusive).
    prefix: Deprecated. Use path_prefix.
    max_keys: The limit on the number of objects to return. int.
      For best performance, specify max_keys only if you know how many objects
      you want. Otherwise, this method requests large batches and handles
      pagination for you.
    delimiter: Use to turn on directory mode. str of one or multiple chars
      that your bucket uses as its directory separator.
    retry_params: An api_utils.RetryParams for this call to GCS. If None,
      the default one is used.
    _account_id: Internal-use only.

  Examples:
    For files "/bucket/a",
              "/bucket/bar/1"
              "/bucket/foo",
              "/bucket/foo/1", "/bucket/foo/2/1", "/bucket/foo/3/1",

    Regular mode:
    listbucket("/bucket/f", marker="/bucket/foo/1")
    will match "/bucket/foo/2/1", "/bucket/foo/3/1".

    Directory mode:
    listbucket("/bucket/", delimiter="/")
    will match "/bucket/a, "/bucket/bar/" "/bucket/foo", "/bucket/foo/".
    listbucket("/bucket/foo/", delimiter="/")
    will match "/bucket/foo/1", "/bucket/foo/2/", "/bucket/foo/3/"

  Returns:
    Regular mode:
    A GCSFileStat iterator over matched files ordered by filename.
    The iterator returns GCSFileStat objects. filename, etag, st_size,
    st_ctime, and is_dir are set.

    Directory emulation mode:
    A GCSFileStat iterator over matched files and directories ordered by
    name. The iterator returns GCSFileStat objects. For directories,
    only the filename and is_dir fields are set.

    The last name yielded can be used as next call's marker.
   N/A prefix N/A N/A N/A N/A common validate_bucket_path path_prefix N/A bucket path_prefix N/A N/A N/A bucket prefix N/A N/A common _process_path_prefix path_prefix N/A N/A marker N/A N/A marker startswith bucket N/A N/A marker N/A marker N/A N/A N/A len bucket 1 N/A api N/A N/A storage_api _get_storage_api retry_params retry_params account_id _account_id N/A options N/A N/A marker N/A N/A N/A options N/A marker marker N/A max_keys N/A N/A N/A options N/A max-keys max_keys N/A prefix N/A N/A N/A options N/A prefix prefix N/A delimiter N/A N/A N/A options N/A delimiter delimiter N/A N/A _Bucket api bucket options N/A _Bucket N/A object N/A N/A A wrapper for a GCS bucket as the return value of listbucket. __init__ N/A N/A self api path options N/A N/A N/A Initialize.

    Args:
      api: storage_api instance.
      path: bucket path of form '/bucket'.
      options: a dict of listbucket options. Please see listbucket doc.
     N/A N/A N/A self _init api path options N/A _init N/A N/A self api path options N/A N/A N/A N/A self _api api N/A N/A self _path path N/A N/A self _options N/A N/A options copy N/A N/A self _get_bucket_fut N/A N/A N/A self _api get_bucket_async N/A N/A N/A self _path ? N/A N/A urllib urlencode N/A self _options N/A N/A self _last_yield None N/A N/A self _new_max_keys N/A N/A N/A self _options get max-keys N/A __getstate__ N/A N/A self N/A N/A N/A options N/A self _options N/A N/A self _last_yield N/A N/A N/A options N/A marker N/A N/A N/A self _last_yield filename N/A N/A N/A len N/A self _path 1 N/A N/A N/A self _new_max_keys None N/A N/A N/A options N/A max-keys N/A self _new_max_keys N/A N/A api path options N/A self _api N/A self _path options N/A __setstate__ N/A N/A self state N/A N/A N/A N/A N/A self _init N/A state N/A api N/A state N/A path N/A state N/A options N/A __iter__ N/A N/A self N/A N/A N/A Iter over the bucket.

    Yields:
      GCSFileStat: a GCSFileStat for an object in the bucket.
        They are ordered by GCSFileStat.filename.
     N/A total 0 N/A max_keys N/A N/A N/A self _options get max-keys N/A N/A self _get_bucket_fut N/A N/A N/A status resp_headers content N/A N/A N/A self _get_bucket_fut get_result N/A N/A N/A errors check_status status N/A 200 N/A self _path resp_headers resp_headers body content extras N/A self _options N/A N/A N/A self _should_get_another_batch content N/A N/A N/A self _get_bucket_fut N/A N/A N/A self _api get_bucket_async N/A N/A N/A self _path ? N/A N/A urllib urlencode N/A self _options N/A N/A N/A self _get_bucket_fut None N/A root N/A N/A ET fromstring content N/A dirs N/A N/A self _next_dir_gen root N/A files N/A N/A self _next_file_gen root N/A next_file N/A N/A files next N/A next_dir N/A N/A dirs next N/A N/A N/A N/A max_keys None N/A total max_keys N/A N/A N/A next_file None N/A next_dir None N/A N/A total 1 N/A N/A next_file None N/A N/A N/A self _last_yield next_dir N/A next_dir N/A N/A dirs next N/A N/A N/A next_dir None N/A N/A N/A self _last_yield next_file N/A next_file N/A N/A files next N/A N/A N/A next_dir next_file N/A N/A N/A self _last_yield next_dir N/A next_dir N/A N/A dirs next N/A N/A N/A next_file next_dir N/A N/A N/A self _last_yield next_file N/A next_file N/A N/A files next N/A N/A N/A N/A logging error Should never reach. next file is %r. next dir is %r. next_file next_dir N/A N/A self _new_max_keys N/A N/A N/A self _new_max_keys 1 N/A N/A N/A self _last_yield N/A _next_file_gen N/A N/A self root N/A N/A N/A Generator for next file element in the document.

    Args:
      root: root element of the XML tree.

    Yields:
      GCSFileStat for the next file.
     N/A e N/A N/A root getiterator N/A common _T_CONTENTS N/A N/A N/A st_ctime size etag key N/A None None None None N/A child N/A N/A e getiterator * N/A N/A N/A N/A child tag N/A common _T_LAST_MODIFIED N/A N/A st_ctime N/A N/A common dt_str_to_posix N/A child text N/A N/A N/A N/A child tag N/A common _T_ETAG N/A N/A etag N/A child text N/A N/A N/A N/A child tag N/A common _T_SIZE N/A N/A size N/A child text N/A N/A N/A N/A child tag N/A common _T_KEY N/A N/A key N/A child text N/A N/A N/A N/A common GCSFileStat N/A N/A N/A self _path / key size etag st_ctime N/A N/A N/A e clear N/A N/A None N/A _next_dir_gen N/A N/A self root N/A N/A N/A Generator for next directory element in the document.

    Args:
      root: root element in the XML tree.

    Yields:
      GCSFileStat for the next directory.
     N/A e N/A N/A root getiterator N/A common _T_COMMON_PREFIXES N/A N/A N/A N/A N/A common GCSFileStat N/A N/A N/A self _path / N/A N/A N/A e find N/A common _T_PREFIX text st_size None etag None st_ctime None is_dir True N/A N/A N/A e clear N/A N/A None N/A _should_get_another_batch N/A N/A self content N/A N/A N/A Whether to issue another GET bucket call.

    Args:
      content: response XML.

    Returns:
      True if should, also update self._options for the next request.
      False otherwise.
     N/A N/A N/A max-keys N/A self _options N/A N/A N/A self _options N/A max-keys N/A common _MAX_GET_BUCKET_RESULT N/A N/A False N/A elements N/A N/A self _find_elements content N/A set N/A N/A common _T_IS_TRUNCATED N/A common _T_NEXT_MARKER N/A N/A N/A N/A N/A N/A elements get N/A common _T_IS_TRUNCATED false lower true N/A N/A False N/A next_marker N/A N/A elements get N/A common _T_NEXT_MARKER N/A N/A next_marker None N/A N/A N/A N/A N/A self _options pop marker None N/A False N/A N/A N/A self _options N/A marker next_marker N/A True N/A _find_elements N/A N/A self result elements N/A N/A N/A Find interesting elements from XML.

    This function tries to only look for specified elements
    without parsing the entire XML. The specified elements is better
    located near the beginning.

    Args:
      result: response XML.
      elements: a set of interesting element tags.

    Returns:
      A dict from element tag to element value.
     N/A element_mapping N/A N/A result N/A N/A StringIO StringIO result N/A N/A _ e N/A N/A ET iterparse result events N/A end N/A N/A N/A elements N/A N/A N/A N/A N/A e tag elements N/A N/A N/A element_mapping N/A N/A e tag N/A e text N/A N/A N/A elements remove N/A e tag N/A element_mapping N/A N/A