async def METHOD_NAME(
    self,
    service_name: str,
    service_path: str,
    domain: str,
    cache_discovery: bool = False,
):
    # sourcery skip: raise-specific-error
    key = f"{domain}:{service_name}:{service_path}"
    if self._service_connection_map.get(key):
        return self._service_connection_map[key]
    if not os.environ.get("TESTING"):
        if service_conn := self._service_connection_map.get(key):
            return service_conn
    credentials = self.dict(
        include={
            "type",
            "project_id",
            "private_key_id",
            "private_key",
            "client_email",
            "client_id",
            "auth_uri",
            "token_uri",
            "auth_provider_x509_cert_url",
            "client_x509_cert_url",
        }
    )
    credentials["private_key"] = credentials["private_key"].get_secret_value()
    admin_credentials = service_account.Credentials.from_service_account_info(
        credentials,
        scopes=[
            "https://www.googleapis.com/auth/admin.directory.user.security",
            "https://www.googleapis.com/auth/admin.reports.audit.readonly",
            "https://www.googleapis.com/auth/admin.directory.user",
            "https://www.googleapis.com/auth/admin.directory.group",
            "https://www.googleapis.com/auth/admin.directory.group.member",
        ],
    )
    admin_delegated_credentials = None
    for s in self.subjects:
        if s.domain == domain:
            admin_delegated_credentials = admin_credentials.with_subject(
                s.service_account
            )
            break
    if not admin_delegated_credentials:
        raise Exception(f"Could not find service account for domain {domain}")
    self._service_connection_map[key] = await aio_wrapper(
        googleapiclient.discovery.build,
        service_name,
        service_path,
        credentials=admin_delegated_credentials,
        cache_discovery=cache_discovery,
        thread_sensitive=True,
    )
    return self._service_connection_map[key]