@classmethod
def match_project_from_project_name(cls, project_name):
    """Parses the project from a project resource.

        Args:
          project_name (string): A fully-qualified path representing a project
            resource.

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