toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'automatedAgentConfig': ?pulumi.Input.mapOptionalInputValue<GoogleCloudDialogflowV2AutomatedAgentConfig, Map<String, dynamic>>(automatedAgentConfig, (value) => value.toMap()),
    'displayName': displayName,
    'humanAgentAssistantConfig': ?pulumi.Input.mapOptionalInputValue<GoogleCloudDialogflowV2HumanAgentAssistantConfig, Map<String, dynamic>>(humanAgentAssistantConfig, (value) => value.toMap()),
    'humanAgentHandoffConfig': ?pulumi.Input.mapOptionalInputValue<GoogleCloudDialogflowV2HumanAgentHandoffConfig, Map<String, dynamic>>(humanAgentHandoffConfig, (value) => value.toMap()),
    'languageCode': ?languageCode,
    'location': ?location,
    'loggingConfig': ?pulumi.Input.mapOptionalInputValue<GoogleCloudDialogflowV2LoggingConfig, Map<String, dynamic>>(loggingConfig, (value) => value.toMap()),
    'name': ?name,
    'newMessageEventNotificationConfig': ?pulumi.Input.mapOptionalInputValue<GoogleCloudDialogflowV2NotificationConfig, Map<String, dynamic>>(newMessageEventNotificationConfig, (value) => value.toMap()),
    'notificationConfig': ?pulumi.Input.mapOptionalInputValue<GoogleCloudDialogflowV2NotificationConfig, Map<String, dynamic>>(notificationConfig, (value) => value.toMap()),
    'project': ?project,
    'securitySettings': ?securitySettings,
    'sttConfig': ?pulumi.Input.mapOptionalInputValue<GoogleCloudDialogflowV2SpeechToTextConfig, Map<String, dynamic>>(sttConfig, (value) => value.toMap()),
    'timeZone': ?timeZone,
    'ttsConfig': ?pulumi.Input.mapOptionalInputValue<GoogleCloudDialogflowV2SynthesizeSpeechConfig, Map<String, dynamic>>(ttsConfig, (value) => value.toMap()),
  };
}