Skip to content

Commit a793ce3

Browse files
Google APIscopybara-github
authored andcommitted
feat: add notification_channels in aiplatform v1beta1 model_monitoring.proto
PiperOrigin-RevId: 523180073
1 parent a5e0304 commit a793ce3

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

google/cloud/aiplatform/v1beta1/model_monitoring.proto

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ option java_outer_classname = "ModelMonitoringProto";
2626
option java_package = "com.google.cloud.aiplatform.v1beta1";
2727
option php_namespace = "Google\\Cloud\\AIPlatform\\V1beta1";
2828
option 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.
3135
message 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.

0 commit comments

Comments
 (0)