You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: fog_google_list_objects_match_glob_support.rb
    path of file: ./repos/gitlabhq/config/initializers
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

# We force require this to trigger the autoload and so that our monkeypatch will
# be applied in correct order, which is only after the class is loaded.

    
        def list_objects(bucket, options = {})
          # rubocop: disable Style/PercentLiteralDelimiters -- this is an exact copy of the original method, just added match_glob here.
          allowed_opts = %i(
            delimiter
            match_glob
            max_results
            page_token
            prefix
            projection
            versions
          )
          # rubocop: enable Style/PercentLiteralDelimiters

          # rubocop: disable Gitlab/ModuleWithInstanceVariables -- this is an exact copy of the original method
          @storage_json.list_objects(
            bucket,
            **options.select { |k, _| allowed_opts.include? k }
          )
          # rubocop: enable Gitlab/ModuleWithInstanceVariables
        end