@staticmethod
def parse_common_project_path(path: str) -> Dict[(str, str)]:
    'Parse a project path into its component segments.'
    m = re.match('^projects/(?P<project>.+?)$', path)
    return (m.groupdict() if m else {})
Parse a project path into its component segments.
@staticmethod
def parse_common_project_path(path: str) -> Dict[(str, str)]:
    
    m = re.match('^projects/(?P<project>.+?)$', path)
    return (m.groupdict() if m else {})