GoogleCloudAiplatformV1ModelMonitoringObjectiveConfigPredictionDriftDetectionConfigResponse.fromMap constructor

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

Implementation

factory GoogleCloudAiplatformV1ModelMonitoringObjectiveConfigPredictionDriftDetectionConfigResponse.fromMap(Map<String, dynamic> map) {
  return GoogleCloudAiplatformV1ModelMonitoringObjectiveConfigPredictionDriftDetectionConfigResponse(
    attributionScoreDriftThresholds: pulumi.Input.fromValue((map['attributionScoreDriftThresholds'] as Map).cast<String, String>()),
    defaultDriftThreshold: pulumi.Input.fromValue(GoogleCloudAiplatformV1ThresholdConfigResponse.fromMap((map['defaultDriftThreshold']! as Map).cast<String, dynamic>())),
    driftThresholds: pulumi.Input.fromValue((map['driftThresholds'] as Map).cast<String, String>()),
  );
}