GoogleCloudAiplatformV1StudySpecMetricSpecSafetyMetricConfig.fromJson constructor
GoogleCloudAiplatformV1StudySpecMetricSpecSafetyMetricConfig.fromJson(
- Map json_
Implementation
GoogleCloudAiplatformV1StudySpecMetricSpecSafetyMetricConfig.fromJson(
core.Map json_)
: this(
desiredMinSafeTrialsFraction: json_
.containsKey('desiredMinSafeTrialsFraction')
? (json_['desiredMinSafeTrialsFraction'] as core.num).toDouble()
: null,
safetyThreshold: json_.containsKey('safetyThreshold')
? (json_['safetyThreshold'] as core.num).toDouble()
: null,
);