parameters: (section, resource_name, event_emitter,
                            batch_action_model, service_model, collection_model,
                            include_signature=True)
docstring: Documents a collection's batch action
  
      :param section: The section to write to
  
      :param resource_name: The name of the resource
  
      :param action_name: The name of collection action. Currently only
          can be all, filter, limit, or page_size
  
      :param event_emitter: The event emitter to use to emit events
  
      :param batch_action_model: The model of the batch action
  
      :param collection_model: The model of the collection
  
      :param service_model: The model of the service
  
      :param include_signature: Whether or not to include the signature.
          It is useful for generating docstrings.
docstring_summary: Documents a collection's batch action
docstring_tokens: Documents a collection s batch action
function: def document_batch_action(section, resource_name, event_emitter,
                            batch_action_model, service_model, collection_model,
                            include_signature=True):
      """Documents a collection's batch action
  
      :param section: The section to write to
  
      :param resource_name: The name of the resource
  
      :param action_name: The name of collection action. Currently only
          can be all, filter, limit, or page_size
  
      :param event_emitter: The event emitter to use to emit events
  
      :param batch_action_model: The model of the batch action
  
      :param collection_model: The model of the collection
  
      :param service_model: The model of the service
  
      :param include_signature: Whether or not to include the signature.
          It is useful for generating docstrings.
      """
      operation_model = service_model.operation_model(
          batch_action_model.request.operation)
      ignore_params = get_resource_ignore_params(
          batch_action_model.request.params)
  
      example_return_value = 'response'
      if batch_action_model.resource:
          example_return_value = xform_name(batch_action_model.resource.type)
  
      example_resource_name = xform_name(resource_name)
      if service_model.service_name == resource_name:
          example_resource_name = resource_name
      example_prefix = '%s = %s.%s.%s' % (
          example_return_value, example_resource_name,
          collection_model.name, batch_action_model.name
      )
      document_model_driven_resource_method(
          section=section, method_name=batch_action_model.name,
          operation_model=operation_model,
          event_emitter=event_emitter,
          method_description=operation_model.documentation,
          example_prefix=example_prefix,
          exclude_input=ignore_params,
          resource_action_model=batch_action_model,
          include_signature=include_signature
      )
function_tokens: def document_batch_action ( section , resource_name , event_emitter , batch_action_model , service_model , collection_model , include_signature = True ) : operation_model = service_model . operation_model ( batch_action_model . request . operation ) ignore_params = get_resource_ignore_params ( batch_action_model . request . params ) example_return_value = 'response' if batch_action_model . resource : example_return_value = xform_name ( batch_action_model . resource . type ) example_resource_name = xform_name ( resource_name ) if service_model . service_name == resource_name : example_resource_name = resource_name example_prefix = '%s = %s.%s.%s' % ( example_return_value , example_resource_name , collection_model . name , batch_action_model . name ) document_model_driven_resource_method ( section = section , method_name = batch_action_model . name , operation_model = operation_model , event_emitter = event_emitter , method_description = operation_model . documentation , example_prefix = example_prefix , exclude_input = ignore_params , resource_action_model = batch_action_model , include_signature = include_signature )