import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../../types/output"; /** * Gets a test case. */ export declare function getTestCase(args: GetTestCaseArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetTestCaseArgs { agentId: string; location: string; project?: string; testCaseId: string; } export interface GetTestCaseResult { /** * When the test was created. */ readonly creationTime: string; /** * The human-readable name of the test case, unique within the agent. Limit of 200 characters. */ readonly displayName: string; /** * The latest test result. */ readonly lastTestResult: outputs.dialogflow.v3beta1.GoogleCloudDialogflowCxV3beta1TestCaseResultResponse; /** * The unique identifier of the test case. TestCases.CreateTestCase will populate the name automatically. Otherwise use format: `projects//locations//agents/ /testCases/`. */ readonly name: string; /** * Additional freeform notes about the test case. Limit of 400 characters. */ readonly notes: string; /** * Tags are short descriptions that users may apply to test cases for organizational and filtering purposes. Each tag should start with "#" and has a limit of 30 characters. */ readonly tags: string[]; /** * The conversation turns uttered when the test case was created, in chronological order. These include the canonical set of agent utterances that should occur when the agent is working properly. */ readonly testCaseConversationTurns: outputs.dialogflow.v3beta1.GoogleCloudDialogflowCxV3beta1ConversationTurnResponse[]; /** * Config for the test case. */ readonly testConfig: outputs.dialogflow.v3beta1.GoogleCloudDialogflowCxV3beta1TestConfigResponse; } /** * Gets a test case. */ export declare function getTestCaseOutput(args: GetTestCaseOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; export interface GetTestCaseOutputArgs { agentId: pulumi.Input; location: pulumi.Input; project?: pulumi.Input; testCaseId: pulumi.Input; }