GoogleCloudAiplatformV1ActiveLearningConfig.fromJson constructor

GoogleCloudAiplatformV1ActiveLearningConfig.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1ActiveLearningConfig.fromJson(core.Map json_)
    : this(
        maxDataItemCount: json_.containsKey('maxDataItemCount')
            ? json_['maxDataItemCount'] as core.String
            : null,
        maxDataItemPercentage: json_.containsKey('maxDataItemPercentage')
            ? json_['maxDataItemPercentage'] as core.int
            : null,
        sampleConfig: json_.containsKey('sampleConfig')
            ? GoogleCloudAiplatformV1SampleConfig.fromJson(
                json_['sampleConfig'] as core.Map<core.String, core.dynamic>)
            : null,
        trainingConfig: json_.containsKey('trainingConfig')
            ? GoogleCloudAiplatformV1TrainingConfig.fromJson(
                json_['trainingConfig']
                    as core.Map<core.String, core.dynamic>)
            : null,
      );