Skip to content

Commit

Permalink
feat: add notification_channels in aiplatform v1beta1 model_monitorin…
Browse files Browse the repository at this point in the history
…g.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 <[email protected]>
  • Loading branch information
3 people authored Apr 11, 2023
1 parent 0473a09 commit c56a74d
Show file tree
Hide file tree
Showing 4 changed files with 65 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ option java_outer_classname = "ModelMonitoringProto";
option java_package = "com.google.cloud.aiplatform.v1beta1";
option php_namespace = "Google\\Cloud\\AIPlatform\\V1beta1";
option ruby_package = "Google::Cloud::AIPlatform::V1beta1";
option (google.api.resource_definition) = {
type: "monitoring.googleapis.com/NotificationChannel"
pattern: "projects/{project}/notificationChannels/{notification_channel}"
};

// The model monitoring configuration used for Batch Prediction Job.
message ModelMonitoringConfig {
Expand Down Expand Up @@ -208,6 +212,13 @@ message ModelMonitoringAlertConfig {
// This can be further sinked to Pub/Sub or any other services supported
// by Cloud Logging.
bool enable_logging = 2;

// Resource names of the NotificationChannels to send alert.
// Must be of the format
// `projects/<project_id_or_number>/notificationChannels/<channel_id>`
repeated string notification_channels = 3 [(google.api.resource_reference) = {
type: "monitoring.googleapis.com/NotificationChannel"
}];
}

// The config for feature monitoring threshold.
Expand Down
6 changes: 6 additions & 0 deletions packages/google-cloud-aiplatform/protos/protos.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

40 changes: 40 additions & 0 deletions packages/google-cloud-aiplatform/protos/protos.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions packages/google-cloud-aiplatform/protos/protos.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c56a74d

Please sign in to comment.