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

Commit b8cbe32

Browse files
feat: add model_source_info to Model in aiplatform v1beta1 model.proto (#1055)
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 476411826 Source-Link: googleapis/googleapis@72f0faa Source-Link: https://github.com/googleapis/googleapis-gen/commit/7909f5b1d51349dcefbe370f6a488981b80c1bfd Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNzkwOWY1YjFkNTEzNDlkY2VmYmUzNzBmNmE0ODg5ODFiODBjMWJmZCJ9
1 parent 16ca835 commit b8cbe32

File tree

7 files changed

+1301
-32
lines changed

7 files changed

+1301
-32
lines changed

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

Lines changed: 5 additions & 0 deletions
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

@@ -872,6 +875,7 @@ public void mergeVersionAliasesTest() throws Exception {
872875
.setEtag("etag3123477")
873876
.putAllLabels(new HashMap<String, String>())
874877
.setEncryptionSpec(EncryptionSpec.newBuilder().build())
878+
.setModelSourceInfo(ModelSourceInfo.newBuilder().build())
875879
.build();
876880
mockModelService.addResponse(expectedResponse);
877881

@@ -939,6 +943,7 @@ public void mergeVersionAliasesTest2() throws Exception {
939943
.setEtag("etag3123477")
940944
.putAllLabels(new HashMap<String, String>())
941945
.setEncryptionSpec(EncryptionSpec.newBuilder().build())
946+
.setModelSourceInfo(ModelSourceInfo.newBuilder().build())
942947
.build();
943948
mockModelService.addResponse(expectedResponse);
944949

0 commit comments

Comments
 (0)