GoogleCloudAiplatformV1StudySpecMetricSpecSafetyMetricConfig.fromJson constructor

GoogleCloudAiplatformV1StudySpecMetricSpecSafetyMetricConfig.fromJson(
  1. 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,
      );