GoogleCloudAiplatformV1ModelMonitoringObjectiveConfigTrainingPredictionSkewDetectionConfig.fromMap constructor

GoogleCloudAiplatformV1ModelMonitoringObjectiveConfigTrainingPredictionSkewDetectionConfig.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory GoogleCloudAiplatformV1ModelMonitoringObjectiveConfigTrainingPredictionSkewDetectionConfig.fromMap(Map<String, dynamic> map) {
  return GoogleCloudAiplatformV1ModelMonitoringObjectiveConfigTrainingPredictionSkewDetectionConfig(
    attributionScoreSkewThresholds: (() { final guardedValue = map['attributionScoreSkewThresholds']; if (guardedValue == null) return null; return pulumi.Input.fromValue((guardedValue as Map).cast<String, String>()); })(),
    defaultSkewThreshold: (() { final guardedValue = map['defaultSkewThreshold']; if (guardedValue == null) return null; return pulumi.Input.fromValue(GoogleCloudAiplatformV1ThresholdConfig.fromMap((guardedValue as Map).cast<String, dynamic>())); })(),
    skewThresholds: (() { final guardedValue = map['skewThresholds']; if (guardedValue == null) return null; return pulumi.Input.fromValue((guardedValue as Map).cast<String, String>()); })(),
  );
}