GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigResponse.fromMap constructor
GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigResponse.fromMap()
Implementation
factory GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigResponse.fromMap(Map<String, dynamic> map) {
return GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigResponse(
confidenceThreshold: pulumi.Input.fromValue(map['confidenceThreshold'] as double),
contextFilterSettings: pulumi.Input.fromValue(GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettingsResponse.fromMap((map['contextFilterSettings']! as Map).cast<String, dynamic>())),
dialogflowQuerySource: pulumi.Input.fromValue(GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySourceResponse.fromMap((map['dialogflowQuerySource']! as Map).cast<String, dynamic>())),
documentQuerySource: pulumi.Input.fromValue(GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySourceResponse.fromMap((map['documentQuerySource']! as Map).cast<String, dynamic>())),
knowledgeBaseQuerySource: pulumi.Input.fromValue(GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySourceResponse.fromMap((map['knowledgeBaseQuerySource']! as Map).cast<String, dynamic>())),
maxResults: pulumi.Input.fromValue(map['maxResults'] as int),
);
}