Skip to content

Commit

Permalink
feat: [aiplatform] add model_source_info to Model in aiplatform v1bet…
Browse files Browse the repository at this point in the history
…a1 model.proto (#8452)

- [ ] 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: eyJwIjoiamF2YS1haXBsYXRmb3JtLy5Pd2xCb3QueWFtbCIsImgiOiI3OTA5ZjViMWQ1MTM0OWRjZWZiZTM3MGY2YTQ4ODk4MWI4MGMxYmZkIn0=
  • Loading branch information
gcf-owl-bot[bot] authored Sep 26, 2022
1 parent 134e44c commit 18c0ade
Show file tree
Hide file tree
Showing 8 changed files with 1,306 additions and 37 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.3.1-SNAPSHOT</version><!-- {x-version-update:google-cloud-aiplatform:current} -->
<version>3.3.0</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.3.1-SNAPSHOT</version><!-- {x-version-update:grpc-google-cloud-aiplatform-v1:current} -->
<version>3.3.0</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.19.1-SNAPSHOT</version><!-- {x-version-update:grpc-google-cloud-aiplatform-v1beta1:current} -->
<version>0.19.0</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.3.1-SNAPSHOT</version><!-- {x-version-update:proto-google-cloud-aiplatform-v1:current} -->
<version>3.3.0</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.19.1-SNAPSHOT</version><!-- {x-version-update:proto-google-cloud-aiplatform-v1beta1:current} -->
<version>0.19.0</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 @@ -872,6 +875,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 @@ -939,6 +943,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 18c0ade

Please sign in to comment.