TestCaseDialogflowV3beta1 constructor

TestCaseDialogflowV3beta1(
  1. String name, {
  2. TestCaseDialogflowV3beta1Args? args,
  3. CustomResourceOptions? options,
})

Creates a new TestCaseDialogflowV3beta1. name The Pulumi resource name. args Arguments used to configure this TestCaseDialogflowV3beta1. The set of arguments for TestCase. options Resource options controlling this resource's behavior.

Implementation

TestCaseDialogflowV3beta1(
  String name, {
  TestCaseDialogflowV3beta1Args? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'google-native:dialogflow/v3beta1:TestCase',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        options ?? pulumi.CustomResourceOptions(),
      ) {
  agentId = registerOutput<String>('agentId');
  creationTime = registerOutput<String>('creationTime');
  displayName = registerOutput<String>('displayName');
  lastTestResult = registerOutput<GoogleCloudDialogflowCxV3beta1TestCaseResultResponse>('lastTestResult', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return GoogleCloudDialogflowCxV3beta1TestCaseResultResponse.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  location = registerOutput<String>('location');
  this.name = registerOutput<String>('name');
  notes = registerOutput<String>('notes');
  project = registerOutput<String>('project');
  tags = registerOutput<List<String>>('tags');
  testCaseConversationTurns = registerOutput<List<Map<String, dynamic>>>('testCaseConversationTurns');
  testConfig = registerOutput<GoogleCloudDialogflowCxV3beta1TestConfigResponse>('testConfig', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return GoogleCloudDialogflowCxV3beta1TestConfigResponse.fromMap((guardedValue as Map).cast<String, dynamic>()); });
}