Skip to content

Commit

Permalink
feat: [aiplatform] add model_source_info to Model in aiplatform v1 mo…
Browse files Browse the repository at this point in the history
…del.proto (#8441)

- [ ] Regenerate this pull request now.

PiperOrigin-RevId: 476193748

Source-Link: googleapis/googleapis@a7f3890

Source-Link: googleapis/googleapis-gen@5589b93
Copy-Tag: eyJwIjoiamF2YS1haXBsYXRmb3JtLy5Pd2xCb3QueWFtbCIsImgiOiI1NTg5YjkzMTBhNmVkMjZiNTY4MTQ2MWM0NzZkNTczNzJhY2QxMjY0In0=
  • Loading branch information
gcf-owl-bot[bot] committed Sep 23, 2022
1 parent e3e7bdb commit 86683e4
Show file tree
Hide file tree
Showing 8 changed files with 1,292 additions and 35 deletions.
10 changes: 5 additions & 5 deletions java-aiplatform/google-cloud-aiplatform-bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,27 +57,27 @@
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-aiplatform</artifactId>
<version>3.2.1-SNAPSHOT</version><!-- {x-version-update:google-cloud-aiplatform:current} -->
<version>3.3.1-SNAPSHOT</version><!-- {x-version-update:google-cloud-aiplatform:current} -->
</dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>grpc-google-cloud-aiplatform-v1</artifactId>
<version>3.2.1-SNAPSHOT</version><!-- {x-version-update:grpc-google-cloud-aiplatform-v1:current} -->
<version>3.3.1-SNAPSHOT</version><!-- {x-version-update:grpc-google-cloud-aiplatform-v1:current} -->
</dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>grpc-google-cloud-aiplatform-v1beta1</artifactId>
<version>0.18.1-SNAPSHOT</version><!-- {x-version-update:grpc-google-cloud-aiplatform-v1beta1:current} -->
<version>0.19.1-SNAPSHOT</version><!-- {x-version-update:grpc-google-cloud-aiplatform-v1beta1:current} -->
</dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>proto-google-cloud-aiplatform-v1</artifactId>
<version>3.2.1-SNAPSHOT</version><!-- {x-version-update:proto-google-cloud-aiplatform-v1:current} -->
<version>3.3.1-SNAPSHOT</version><!-- {x-version-update:proto-google-cloud-aiplatform-v1:current} -->
</dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>proto-google-cloud-aiplatform-v1beta1</artifactId>
<version>0.18.1-SNAPSHOT</version><!-- {x-version-update:proto-google-cloud-aiplatform-v1beta1:current} -->
<version>0.19.1-SNAPSHOT</version><!-- {x-version-update:proto-google-cloud-aiplatform-v1beta1:current} -->
</dependency>
</dependencies>
</dependencyManagement>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@ public void getModelTest() throws Exception {
.setEtag("etag3123477")
.putAllLabels(new HashMap<String, String>())
.setEncryptionSpec(EncryptionSpec.newBuilder().build())
.setModelSourceInfo(ModelSourceInfo.newBuilder().build())
.build();
mockModelService.addResponse(expectedResponse);

Expand Down Expand Up @@ -305,6 +306,7 @@ public void getModelTest2() throws Exception {
.setEtag("etag3123477")
.putAllLabels(new HashMap<String, String>())
.setEncryptionSpec(EncryptionSpec.newBuilder().build())
.setModelSourceInfo(ModelSourceInfo.newBuilder().build())
.build();
mockModelService.addResponse(expectedResponse);

Expand Down Expand Up @@ -545,6 +547,7 @@ public void updateModelTest() throws Exception {
.setEtag("etag3123477")
.putAllLabels(new HashMap<String, String>())
.setEncryptionSpec(EncryptionSpec.newBuilder().build())
.setModelSourceInfo(ModelSourceInfo.newBuilder().build())
.build();
mockModelService.addResponse(expectedResponse);

Expand Down Expand Up @@ -780,6 +783,7 @@ public void mergeVersionAliasesTest() throws Exception {
.setEtag("etag3123477")
.putAllLabels(new HashMap<String, String>())
.setEncryptionSpec(EncryptionSpec.newBuilder().build())
.setModelSourceInfo(ModelSourceInfo.newBuilder().build())
.build();
mockModelService.addResponse(expectedResponse);

Expand Down Expand Up @@ -847,6 +851,7 @@ public void mergeVersionAliasesTest2() throws Exception {
.setEtag("etag3123477")
.putAllLabels(new HashMap<String, String>())
.setEncryptionSpec(EncryptionSpec.newBuilder().build())
.setModelSourceInfo(ModelSourceInfo.newBuilder().build())
.build();
mockModelService.addResponse(expectedResponse);

Expand Down
Loading

0 comments on commit 86683e4

Please sign in to comment.