code: def ProcessRequest(self, method_config, request):
          
          if self.log_request:
              logging.info(
                  'Calling method %s with %s: %s', method_config.method_id,
                  method_config.request_type_name, request)
          return request
docs: Hook for pre-processing of requests.