id ?? null; if (isset($id)) { return "/_sql/async/$id"; } throw new RuntimeException('Missing parameter for the endpoint sql.get_async'); } public function getParamWhitelist(): array { return [ 'delimiter', 'format', 'keep_alive', 'wait_for_completion_timeout' ]; } public function getMethod(): string { return 'GET'; } }