GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig.fromJson constructor

GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig.fromJson(
  core.Map json_,
) : this(
      disableHighLatencyFeaturesSyncDelivery:
          json_['disableHighLatencyFeaturesSyncDelivery'] as core.bool?,
      enableAsyncToolCall: json_['enableAsyncToolCall'] as core.bool?,
      featureConfigs: (json_['featureConfigs'] as core.List?)
          ?.map(
            (value) =>
                GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfig.fromJson(
                  value as core.Map<core.String, core.dynamic>,
                ),
          )
          .toList(),
      generators: (json_['generators'] as core.List?)
          ?.map((value) => value as core.String)
          .toList(),
      groupSuggestionResponses:
          json_['groupSuggestionResponses'] as core.bool?,
      skipEmptyEventBasedSuggestion:
          json_['skipEmptyEventBasedSuggestion'] as core.bool?,
      useUnredactedConversationData:
          json_['useUnredactedConversationData'] as core.bool?,
    );