GoogleCloudDialogflowV2GeneratorEvaluationConfigInputDataConfig.fromJson constructor

GoogleCloudDialogflowV2GeneratorEvaluationConfigInputDataConfig.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowV2GeneratorEvaluationConfigInputDataConfig.fromJson(
  core.Map json_,
) : this(
      agentAssistInputDataConfig:
          json_.containsKey('agentAssistInputDataConfig')
          ? GoogleCloudDialogflowV2GeneratorEvaluationConfigAgentAssistInputDataConfig.fromJson(
              json_['agentAssistInputDataConfig']
                  as core.Map<core.String, core.dynamic>,
            )
          : null,
      datasetInputDataConfig: json_.containsKey('datasetInputDataConfig')
          ? GoogleCloudDialogflowV2GeneratorEvaluationConfigDatasetInputDataConfig.fromJson(
              json_['datasetInputDataConfig']
                  as core.Map<core.String, core.dynamic>,
            )
          : null,
      endTime: json_['endTime'] as core.String?,
      inputDataSourceType: json_['inputDataSourceType'] as core.String?,
      isSummaryGenerationAllowed:
          json_['isSummaryGenerationAllowed'] as core.bool?,
      sampleSize: json_['sampleSize'] as core.int?,
      startTime: json_['startTime'] as core.String?,
      summaryGenerationOption:
          json_['summaryGenerationOption'] as core.String?,
    );