File tree Expand file tree Collapse file tree
google/cloud/aiplatform/v1beta1 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,6 +26,10 @@ option java_outer_classname = "ModelMonitoringProto";
2626option java_package = "com.google.cloud.aiplatform.v1beta1" ;
2727option php_namespace = "Google\\Cloud\\AIPlatform\\V1beta1" ;
2828option ruby_package = "Google::Cloud::AIPlatform::V1beta1" ;
29+ option (google.api.resource_definition ) = {
30+ type : "monitoring.googleapis.com/NotificationChannel"
31+ pattern : "projects/{project}/notificationChannels/{notification_channel}"
32+ };
2933
3034// The model monitoring configuration used for Batch Prediction Job.
3135message ModelMonitoringConfig {
@@ -208,6 +212,13 @@ message ModelMonitoringAlertConfig {
208212 // This can be further sinked to Pub/Sub or any other services supported
209213 // by Cloud Logging.
210214 bool enable_logging = 2 ;
215+
216+ // Resource names of the NotificationChannels to send alert.
217+ // Must be of the format
218+ // `projects/<project_id_or_number>/notificationChannels/<channel_id>`
219+ repeated string notification_channels = 3 [(google.api.resource_reference ) = {
220+ type : "monitoring.googleapis.com/NotificationChannel"
221+ }];
211222}
212223
213224// The config for feature monitoring threshold.
You can’t perform that action at this time.
0 commit comments