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