Skip to content

Commit

Permalink
feat: [aiplatform] add model_monitoring_stats_anomalies,model_monitor…
Browse files Browse the repository at this point in the history
…ing_status to BatchPredictionJob in aiplatform v1beta1 batch_prediction_job.proto (#8242)

* feat: add model_monitoring_stats_anomalies,model_monitoring_status to BatchPredictionJob in aiplatform v1beta1 batch_prediction_job.proto

PiperOrigin-RevId: 470845818

Source-Link: googleapis/googleapis@284389e

Source-Link: googleapis/googleapis-gen@29deb79
Copy-Tag: eyJwIjoiamF2YS1haXBsYXRmb3JtLy5Pd2xCb3QueWFtbCIsImgiOiIyOWRlYjc5YjA0YWVhMTY5YTU2OGU3YzU0NDg2ODI0M2Q1MTYxZGRlIn0=

* 🦉 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>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] committed Aug 30, 2022
1 parent b35f4fc commit 148fcb1
Show file tree
Hide file tree
Showing 5 changed files with 1,076 additions and 73 deletions.
Expand Up @@ -1567,6 +1567,8 @@ public void createBatchPredictionJobTest() throws Exception {
.putAllLabels(new HashMap<String, String>())
.setEncryptionSpec(EncryptionSpec.newBuilder().build())
.setModelMonitoringConfig(ModelMonitoringConfig.newBuilder().build())
.addAllModelMonitoringStatsAnomalies(new ArrayList<ModelMonitoringStatsAnomalies>())
.setModelMonitoringStatus(Status.newBuilder().build())
.build();
mockJobService.addResponse(expectedResponse);

Expand Down Expand Up @@ -1636,6 +1638,8 @@ public void createBatchPredictionJobTest2() throws Exception {
.putAllLabels(new HashMap<String, String>())
.setEncryptionSpec(EncryptionSpec.newBuilder().build())
.setModelMonitoringConfig(ModelMonitoringConfig.newBuilder().build())
.addAllModelMonitoringStatsAnomalies(new ArrayList<ModelMonitoringStatsAnomalies>())
.setModelMonitoringStatus(Status.newBuilder().build())
.build();
mockJobService.addResponse(expectedResponse);

Expand Down Expand Up @@ -1705,6 +1709,8 @@ public void getBatchPredictionJobTest() throws Exception {
.putAllLabels(new HashMap<String, String>())
.setEncryptionSpec(EncryptionSpec.newBuilder().build())
.setModelMonitoringConfig(ModelMonitoringConfig.newBuilder().build())
.addAllModelMonitoringStatsAnomalies(new ArrayList<ModelMonitoringStatsAnomalies>())
.setModelMonitoringStatus(Status.newBuilder().build())
.build();
mockJobService.addResponse(expectedResponse);

Expand Down Expand Up @@ -1773,6 +1779,8 @@ public void getBatchPredictionJobTest2() throws Exception {
.putAllLabels(new HashMap<String, String>())
.setEncryptionSpec(EncryptionSpec.newBuilder().build())
.setModelMonitoringConfig(ModelMonitoringConfig.newBuilder().build())
.addAllModelMonitoringStatsAnomalies(new ArrayList<ModelMonitoringStatsAnomalies>())
.setModelMonitoringStatus(Status.newBuilder().build())
.build();
mockJobService.addResponse(expectedResponse);

Expand Down

0 comments on commit 148fcb1

Please sign in to comment.