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