toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'confidenceThreshold': confidenceThreshold,
    'contextFilterSettings': pulumi.Input.mapInputValue<GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettingsResponse, Map<String, dynamic>>(contextFilterSettings, (value) => value.toMap()),
    'dialogflowQuerySource': pulumi.Input.mapInputValue<GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySourceResponse, Map<String, dynamic>>(dialogflowQuerySource, (value) => value.toMap()),
    'documentQuerySource': pulumi.Input.mapInputValue<GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySourceResponse, Map<String, dynamic>>(documentQuerySource, (value) => value.toMap()),
    'knowledgeBaseQuerySource': pulumi.Input.mapInputValue<GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySourceResponse, Map<String, dynamic>>(knowledgeBaseQuerySource, (value) => value.toMap()),
    'maxResults': maxResults,
  };
}