Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class ModelMonitoringAlertConfig.
The alert config for model monitoring.
Generated from protobuf message google.cloud.aiplatform.v1.ModelMonitoringAlertConfig
Namespace
Google \ Cloud \ AIPlatform \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ email_alert_config |
ModelMonitoringAlertConfig\EmailAlertConfig
Email alert config. |
↳ enable_logging |
bool
Dump the anomalies to Cloud Logging. The anomalies will be put to json payload encoded from proto ModelMonitoringStatsAnomalies. This can be further synced to Pub/Sub or any other services supported by Cloud Logging. |
↳ notification_channels |
string[]
Resource names of the NotificationChannels to send alert. Must be of the format |
getEmailAlertConfig
Email alert config.
| Returns | |
|---|---|
| Type | Description |
ModelMonitoringAlertConfig\EmailAlertConfig|null |
|
hasEmailAlertConfig
setEmailAlertConfig
Email alert config.
| Parameter | |
|---|---|
| Name | Description |
var |
ModelMonitoringAlertConfig\EmailAlertConfig
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getEnableLogging
Dump the anomalies to Cloud Logging. The anomalies will be put to json payload encoded from proto ModelMonitoringStatsAnomalies.
This can be further synced to Pub/Sub or any other services supported by Cloud Logging.
| Returns | |
|---|---|
| Type | Description |
bool |
|
setEnableLogging
Dump the anomalies to Cloud Logging. The anomalies will be put to json payload encoded from proto ModelMonitoringStatsAnomalies.
This can be further synced to Pub/Sub or any other services supported by Cloud Logging.
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getNotificationChannels
Resource names of the NotificationChannels to send alert.
Must be of the format
projects/<project_id_or_number>/notificationChannels/<channel_id>
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<string> |
|
setNotificationChannels
Resource names of the NotificationChannels to send alert.
Must be of the format
projects/<project_id_or_number>/notificationChannels/<channel_id>
| Parameter | |
|---|---|
| Name | Description |
var |
string[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getAlert
| Returns | |
|---|---|
| Type | Description |
string |
|