@classmethod
def match_log_from_log_name(cls, log_name):
    """Parses the log from a log resource.

        Args:
          log_name (string): A fully-qualified path representing a log
            resource.

        Returns:
          A string representing the log.
        """
    return cls._LOG_PATH_TEMPLATE.match(log_name).get('log')
