GoogleCloudAiplatformV1ReinforcementLearningDataStats.fromJson constructor

GoogleCloudAiplatformV1ReinforcementLearningDataStats.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1ReinforcementLearningDataStats.fromJson(core.Map json_)
    : this(
        preferenceDatasetStats: json_.containsKey('preferenceDatasetStats')
            ? GoogleCloudAiplatformV1DatasetStats.fromJson(
                json_['preferenceDatasetStats']
                    as core.Map<core.String, core.dynamic>)
            : null,
        promptDatasetStats: json_.containsKey('promptDatasetStats')
            ? GoogleCloudAiplatformV1DatasetStats.fromJson(
                json_['promptDatasetStats']
                    as core.Map<core.String, core.dynamic>)
            : null,
      );