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_['enableLogging'] as core.bool?,
        notificationChannels: (json_['notificationChannels'] as core.List?)
            ?.map((value) => value as core.String)
            .toList(),
      );