GoogleCloudAiplatformV1ModelMonitoringAlertConfig.fromJson constructor

GoogleCloudAiplatformV1ModelMonitoringAlertConfig.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1ModelMonitoringAlertConfig.fromJson(core.Map json_)
    : this(
        emailAlertConfig: json_.containsKey('emailAlertConfig')
            ? GoogleCloudAiplatformV1ModelMonitoringAlertConfigEmailAlertConfig
                .fromJson(json_['emailAlertConfig']
                    as core.Map<core.String, core.dynamic>)
            : null,
        enableLogging: json_.containsKey('enableLogging')
            ? json_['enableLogging'] as core.bool
            : null,
        notificationChannels: json_.containsKey('notificationChannels')
            ? (json_['notificationChannels'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );