Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::ModelMonitoringAlertConfig.
The alert config for model monitoring.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#email_alert_config
def email_alert_config() -> ::Google::Cloud::AIPlatform::V1::ModelMonitoringAlertConfig::EmailAlertConfig
Returns
- (::Google::Cloud::AIPlatform::V1::ModelMonitoringAlertConfig::EmailAlertConfig) — Email alert config.
#email_alert_config=
def email_alert_config=(value) -> ::Google::Cloud::AIPlatform::V1::ModelMonitoringAlertConfig::EmailAlertConfig
Parameter
- value (::Google::Cloud::AIPlatform::V1::ModelMonitoringAlertConfig::EmailAlertConfig) — Email alert config.
Returns
- (::Google::Cloud::AIPlatform::V1::ModelMonitoringAlertConfig::EmailAlertConfig) — Email alert config.
#enable_logging
def enable_logging() -> ::Boolean
Returns
- (::Boolean) — Dump the anomalies to Cloud Logging. The anomalies will be put to json payload encoded from proto [google.cloud.aiplatform.logging.ModelMonitoringAnomaliesLogEntry][]. This can be further sinked to Pub/Sub or any other services supported by Cloud Logging.
#enable_logging=
def enable_logging=(value) -> ::Boolean
Parameter
- value (::Boolean) — Dump the anomalies to Cloud Logging. The anomalies will be put to json payload encoded from proto [google.cloud.aiplatform.logging.ModelMonitoringAnomaliesLogEntry][]. This can be further sinked to Pub/Sub or any other services supported by Cloud Logging.
Returns
- (::Boolean) — Dump the anomalies to Cloud Logging. The anomalies will be put to json payload encoded from proto [google.cloud.aiplatform.logging.ModelMonitoringAnomaliesLogEntry][]. This can be further sinked to Pub/Sub or any other services supported by Cloud Logging.
#notification_channels
def notification_channels() -> ::Array<::String>
Returns
-
(::Array<::String>) — Resource names of the NotificationChannels to send alert.
Must be of the format
projects/<project_id_or_number>/notificationChannels/<channel_id>
#notification_channels=
def notification_channels=(value) -> ::Array<::String>
Parameter
-
value (::Array<::String>) — Resource names of the NotificationChannels to send alert.
Must be of the format
projects/<project_id_or_number>/notificationChannels/<channel_id>
Returns
-
(::Array<::String>) — Resource names of the NotificationChannels to send alert.
Must be of the format
projects/<project_id_or_number>/notificationChannels/<channel_id>