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

Commit 16ca835

Browse files
feat: add model_source_info to Model in aiplatform v1 model.proto (#1054)
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 476193748 Source-Link: googleapis/googleapis@a7f3890 Source-Link: https://github.com/googleapis/googleapis-gen/commit/5589b9310a6ed26b5681461c476d57372acd1264 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNTU4OWI5MzEwYTZlZDI2YjU2ODE0NjFjNDc2ZDU3MzcyYWNkMTI2NCJ9
1 parent 000f6a5 commit 16ca835

File tree

7 files changed

+1287
-30
lines changed

7 files changed

+1287
-30
lines changed

google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1/ModelServiceClientTest.java

+5
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,7 @@ public void getModelTest() throws Exception {
241241
.setEtag("etag3123477")
242242
.putAllLabels(new HashMap<String, String>())
243243
.setEncryptionSpec(EncryptionSpec.newBuilder().build())
244+
.setModelSourceInfo(ModelSourceInfo.newBuilder().build())
244245
.build();
245246
mockModelService.addResponse(expectedResponse);
246247

@@ -305,6 +306,7 @@ public void getModelTest2() throws Exception {
305306
.setEtag("etag3123477")
306307
.putAllLabels(new HashMap<String, String>())
307308
.setEncryptionSpec(EncryptionSpec.newBuilder().build())
309+
.setModelSourceInfo(ModelSourceInfo.newBuilder().build())
308310
.build();
309311
mockModelService.addResponse(expectedResponse);
310312

@@ -545,6 +547,7 @@ public void updateModelTest() throws Exception {
545547
.setEtag("etag3123477")
546548
.putAllLabels(new HashMap<String, String>())
547549
.setEncryptionSpec(EncryptionSpec.newBuilder().build())
550+
.setModelSourceInfo(ModelSourceInfo.newBuilder().build())
548551
.build();
549552
mockModelService.addResponse(expectedResponse);
550553

@@ -780,6 +783,7 @@ public void mergeVersionAliasesTest() throws Exception {
780783
.setEtag("etag3123477")
781784
.putAllLabels(new HashMap<String, String>())
782785
.setEncryptionSpec(EncryptionSpec.newBuilder().build())
786+
.setModelSourceInfo(ModelSourceInfo.newBuilder().build())
783787
.build();
784788
mockModelService.addResponse(expectedResponse);
785789

@@ -847,6 +851,7 @@ public void mergeVersionAliasesTest2() throws Exception {
847851
.setEtag("etag3123477")
848852
.putAllLabels(new HashMap<String, String>())
849853
.setEncryptionSpec(EncryptionSpec.newBuilder().build())
854+
.setModelSourceInfo(ModelSourceInfo.newBuilder().build())
850855
.build();
851856
mockModelService.addResponse(expectedResponse);
852857

0 commit comments

Comments
 (0)