Skip to content

Commit c56a74d

Browse files
feat: add notification_channels in aiplatform v1beta1 model_monitoring.proto (#4160)
* feat: add notification_channels in aiplatform v1beta1 model_monitoring.proto PiperOrigin-RevId: 523180073 Source-Link: googleapis/googleapis@a793ce3 Source-Link: googleapis/googleapis-gen@c904f38 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWFpcGxhdGZvcm0vLk93bEJvdC55YW1sIiwiaCI6ImM5MDRmMzgxYWQyMGQzNzNjYjkxYmY2ODdiOTMyZjZmNDhhOGYwYjkifQ== * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: danieljbruce <danieljbruce@users.noreply.github.com>
1 parent 0473a09 commit c56a74d

File tree

4 files changed

+65
-0
lines changed

4 files changed

+65
-0
lines changed

packages/google-cloud-aiplatform/protos/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.

packages/google-cloud-aiplatform/protos/protos.d.ts

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/google-cloud-aiplatform/protos/protos.js

Lines changed: 40 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/google-cloud-aiplatform/protos/protos.json

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)