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

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

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