import * as pulumi from "@pulumi/pulumi"; import { input as inputs, output as outputs } from "../../types"; /** * Creates a test case for the given agent. */ export declare class AgentTestCase extends pulumi.CustomResource { /** * Get an existing AgentTestCase resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): AgentTestCase; /** * Returns true if the given object is an instance of AgentTestCase. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is AgentTestCase; /** * When the test was created. */ readonly creationTime: pulumi.Output; /** * Required. The human-readable name of the test case, unique within the agent. Limit of 200 characters. */ readonly displayName: pulumi.Output; /** * The latest test result. */ readonly lastTestResult: pulumi.Output; /** * The unique identifier of the test case. TestCases.CreateTestCase will populate the name automatically. Otherwise use format: `projects//locations//agents/ /testCases/`. */ readonly name: pulumi.Output; /** * Additional freeform notes about the test case. Limit of 400 characters. */ readonly notes: pulumi.Output; /** * 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: pulumi.Output; /** * 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: pulumi.Output; /** * Config for the test case. */ readonly testConfig: pulumi.Output; /** * Create a AgentTestCase resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: AgentTestCaseArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a AgentTestCase resource. */ export interface AgentTestCaseArgs { readonly agentsId: pulumi.Input; /** * Required. The human-readable name of the test case, unique within the agent. Limit of 200 characters. */ readonly displayName?: pulumi.Input; /** * The latest test result. */ readonly lastTestResult?: pulumi.Input; readonly locationsId: pulumi.Input; /** * The unique identifier of the test case. TestCases.CreateTestCase will populate the name automatically. Otherwise use format: `projects//locations//agents/ /testCases/`. */ readonly name?: pulumi.Input; /** * Additional freeform notes about the test case. Limit of 400 characters. */ readonly notes?: pulumi.Input; readonly projectsId: pulumi.Input; /** * 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?: pulumi.Input[]>; /** * 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?: pulumi.Input[]>; readonly testCasesId: pulumi.Input; /** * Config for the test case. */ readonly testConfig?: pulumi.Input; }