GoogleCloudDialogflowV2EvaluationConfigSmartReplyConfig.fromMap constructor

GoogleCloudDialogflowV2EvaluationConfigSmartReplyConfig.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory GoogleCloudDialogflowV2EvaluationConfigSmartReplyConfig.fromMap(Map<String, dynamic> map) {
  return GoogleCloudDialogflowV2EvaluationConfigSmartReplyConfig(
    allowlistDocument: (() { final guardedValue = map['allowlistDocument']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
    maxResultCount: pulumi.Input.fromValue(map['maxResultCount'] as int),
  );
}