import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../../types/output"; /** * Get a test case */ export declare function getTestCase(args: GetTestCaseArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetTestCaseArgs { integrationId: string; location: string; project?: string; testCaseId: string; versionId: string; } export interface GetTestCaseResult { /** * Auto-generated. */ readonly createTime: string; /** * Optional. The creator's email address. Generated based on the End User Credentials/LOAS role of the user making the call. */ readonly creatorEmail: string; /** * Optional. Various policies for how to persist the test execution info including execution info, execution export info, execution metadata index and execution param index.. */ readonly databasePersistencePolicy: string; /** * Optional. Description of the test case. */ readonly description: string; /** * The display name of test case. */ readonly displayName: string; /** * The last modifer's email address. Generated based on the End User Credentials/LOAS role of the user making the call. */ readonly lastModifierEmail: string; /** * Optional. The edit lock holder's email address. Generated based on the End User Credentials/LOAS role of the user making the call. */ readonly lockHolderEmail: string; /** * Auto-generated primary key. */ readonly name: string; /** * Optional. Parameters that are expected to be passed to the test case when the test case is triggered. This gives the user the ability to provide default values. This should include all the output variables of the trigger as input variables. */ readonly testInputParameters: outputs.integrations.v1alpha.GoogleCloudIntegrationsV1alphaIntegrationParameterResponse[]; /** * Optional. However, the test case doesn't mock or assert anything without test_task_configs. */ readonly testTaskConfigs: outputs.integrations.v1alpha.GoogleCloudIntegrationsV1alphaTestTaskConfigResponse[]; /** * This defines the trigger ID in workflow which is considered to be executed as starting point of the test case */ readonly triggerId: string; /** * Auto-generated. */ readonly updateTime: string; /** * ID of the workflow with which this test case is associated */ readonly workflowId: string; } /** * Get a test case */ export declare function getTestCaseOutput(args: GetTestCaseOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; export interface GetTestCaseOutputArgs { integrationId: pulumi.Input; location: pulumi.Input; project?: pulumi.Input; testCaseId: pulumi.Input; versionId: pulumi.Input; }