Skip to content
This repository was archived by the owner on Sep 9, 2023. It is now read-only.

Commit 1b72b9d

Browse files
feat: add model_monitoring_stats_anomalies,model_monitoring_status to BatchPredictionJob in aiplatform v1beta1 batch_prediction_job.proto (#1041)
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 470845818 Source-Link: googleapis/googleapis@284389e Source-Link: https://github.com/googleapis/googleapis-gen/commit/29deb79b04aea169a568e7c544868243d5161dde Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMjlkZWI3OWIwNGFlYTE2OWE1NjhlN2M1NDQ4NjgyNDNkNTE2MWRkZSJ9
1 parent ec530d9 commit 1b72b9d

File tree

5 files changed

+1076
-73
lines changed

5 files changed

+1076
-73
lines changed

google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/JobServiceClientTest.java

+8
Original file line numberDiff line numberDiff line change
@@ -1567,6 +1567,8 @@ public void createBatchPredictionJobTest() throws Exception {
15671567
.putAllLabels(new HashMap<String, String>())
15681568
.setEncryptionSpec(EncryptionSpec.newBuilder().build())
15691569
.setModelMonitoringConfig(ModelMonitoringConfig.newBuilder().build())
1570+
.addAllModelMonitoringStatsAnomalies(new ArrayList<ModelMonitoringStatsAnomalies>())
1571+
.setModelMonitoringStatus(Status.newBuilder().build())
15701572
.build();
15711573
mockJobService.addResponse(expectedResponse);
15721574

@@ -1636,6 +1638,8 @@ public void createBatchPredictionJobTest2() throws Exception {
16361638
.putAllLabels(new HashMap<String, String>())
16371639
.setEncryptionSpec(EncryptionSpec.newBuilder().build())
16381640
.setModelMonitoringConfig(ModelMonitoringConfig.newBuilder().build())
1641+
.addAllModelMonitoringStatsAnomalies(new ArrayList<ModelMonitoringStatsAnomalies>())
1642+
.setModelMonitoringStatus(Status.newBuilder().build())
16391643
.build();
16401644
mockJobService.addResponse(expectedResponse);
16411645

@@ -1705,6 +1709,8 @@ public void getBatchPredictionJobTest() throws Exception {
17051709
.putAllLabels(new HashMap<String, String>())
17061710
.setEncryptionSpec(EncryptionSpec.newBuilder().build())
17071711
.setModelMonitoringConfig(ModelMonitoringConfig.newBuilder().build())
1712+
.addAllModelMonitoringStatsAnomalies(new ArrayList<ModelMonitoringStatsAnomalies>())
1713+
.setModelMonitoringStatus(Status.newBuilder().build())
17081714
.build();
17091715
mockJobService.addResponse(expectedResponse);
17101716

@@ -1773,6 +1779,8 @@ public void getBatchPredictionJobTest2() throws Exception {
17731779
.putAllLabels(new HashMap<String, String>())
17741780
.setEncryptionSpec(EncryptionSpec.newBuilder().build())
17751781
.setModelMonitoringConfig(ModelMonitoringConfig.newBuilder().build())
1782+
.addAllModelMonitoringStatsAnomalies(new ArrayList<ModelMonitoringStatsAnomalies>())
1783+
.setModelMonitoringStatus(Status.newBuilder().build())
17761784
.build();
17771785
mockJobService.addResponse(expectedResponse);
17781786

0 commit comments

Comments
 (0)