code: def create_conversion_event(self, event_key, user_id, attributes, event_tags):
      
  
      params = self._get_common_params(user_id, attributes)
      conversion_params = self._get_required_params_for_conversion(event_key, event_tags)
  
      params[self.EventParams.USERS][0][self.EventParams.SNAPSHOTS].append(conversion_params)
      return Event(self.EVENTS_URL,
                   params,
                   http_verb=self.HTTP_VERB,
                   headers=self.HTTP_HEADERS)
docs: Create conversion Event to be sent to the logging endpoint.
  
      Args:
        event_key: Key representing the event which needs to be recorded.
        user_id: ID for user.
        attributes: Dict representing user attributes and values.
        event_tags: Dict representing metadata associated with the event.
  
      Returns:
        Event object encapsulating the conversion event.