Skip to content

Commit 30618bd

Browse files
feat: [aiplatform] add notification_channels in aiplatform v1beta1 model_monitoring.proto (#9295)
* feat: add public_endpoint_enabled and publid_endpoint_domain_name to IndexEndpoint feat: add ModelSourceType.MODEL_GARDEN enum to ModelSourceInfo feat: add copy to ModelSourceInfo PiperOrigin-RevId: 520696525 Source-Link: googleapis/googleapis@c14398a Source-Link: https://github.com/googleapis/googleapis-gen/commit/0df1e4b6e87294f25b7c086ea539b2b2f738cf50 Copy-Tag: eyJwIjoiamF2YS1haXBsYXRmb3JtLy5Pd2xCb3QueWFtbCIsImgiOiIwZGYxZTRiNmU4NzI5NGYyNWI3YzA4NmVhNTM5YjJiMmY3MzhjZjUwIn0= feat: add public_endpoint_enabled and publid_endpoint_domain_name to IndexEndpoint feat: add ModelSourceType.MODEL_GARDEN enum to ModelSourceInfo feat: add copy to ModelSourceInfo PiperOrigin-RevId: 520696120 Source-Link: googleapis/googleapis@e941b6a Source-Link: https://github.com/googleapis/googleapis-gen/commit/725c05dc59f1e851f9778a7bcb65055e15840955 Copy-Tag: eyJwIjoiamF2YS1haXBsYXRmb3JtLy5Pd2xCb3QueWFtbCIsImgiOiI3MjVjMDVkYzU5ZjFlODUxZjk3NzhhN2JjYjY1MDU1ZTE1ODQwOTU1In0= * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * feat: add notification_channels in aiplatform v1beta1 model_monitoring.proto PiperOrigin-RevId: 523180073 Source-Link: googleapis/googleapis@a793ce3 Source-Link: https://github.com/googleapis/googleapis-gen/commit/c904f381ad20d373cb91bf687b932f6f48a8f0b9 Copy-Tag: eyJwIjoiamF2YS1haXBsYXRmb3JtLy5Pd2xCb3QueWFtbCIsImgiOiJjOTA0ZjM4MWFkMjBkMzczY2I5MWJmNjg3YjkzMmY2ZjQ4YThmMGI5In0= * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 88e2bab commit 30618bd

File tree

118 files changed

+1852
-480
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

118 files changed

+1852
-480
lines changed

java-aiplatform/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
2020
<dependency>
2121
<groupId>com.google.cloud</groupId>
2222
<artifactId>libraries-bom</artifactId>
23-
<version>26.11.0</version>
23+
<version>26.12.0</version>
2424
<type>pom</type>
2525
<scope>import</scope>
2626
</dependency>

java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/EndpointServiceClient.java

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -279,8 +279,11 @@ public final OperationFuture<Endpoint, CreateEndpointOperationMetadata> createEn
279279
* @param endpointId Immutable. The ID to use for endpoint, which will become the final component
280280
* of the endpoint resource name. If not provided, Vertex AI will generate a value for this
281281
* ID.
282-
* <p>This value should be 1-10 characters, and valid characters are /[0-9]/. When using
283-
* HTTP/JSON, this field is populated based on a query string argument, such as
282+
* <p>If the first character is a letter, this value may be up to 63 characters, and valid
283+
* characters are `[a-z0-9-]`. The last character must be a letter or number.
284+
* <p>If the first character is a number, this value may be up to 9 characters, and valid
285+
* characters are `[0-9]` with no leading zeros.
286+
* <p>When using HTTP/JSON, this field is populated based on a query string argument, such as
284287
* `?endpoint_id=12345`. This is the fallback for fields that are not included in either the
285288
* URI or the body.
286289
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
@@ -323,8 +326,11 @@ public final OperationFuture<Endpoint, CreateEndpointOperationMetadata> createEn
323326
* @param endpointId Immutable. The ID to use for endpoint, which will become the final component
324327
* of the endpoint resource name. If not provided, Vertex AI will generate a value for this
325328
* ID.
326-
* <p>This value should be 1-10 characters, and valid characters are /[0-9]/. When using
327-
* HTTP/JSON, this field is populated based on a query string argument, such as
329+
* <p>If the first character is a letter, this value may be up to 63 characters, and valid
330+
* characters are `[a-z0-9-]`. The last character must be a letter or number.
331+
* <p>If the first character is a number, this value may be up to 9 characters, and valid
332+
* characters are `[0-9]` with no leading zeros.
333+
* <p>When using HTTP/JSON, this field is populated based on a query string argument, such as
328334
* `?endpoint_id=12345`. This is the fallback for fields that are not included in either the
329335
* URI or the body.
330336
* @throws com.google.api.gax.rpc.ApiException if the remote call fails

java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/EndpointServiceClient.java

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -281,8 +281,11 @@ public final OperationFuture<Endpoint, CreateEndpointOperationMetadata> createEn
281281
* @param endpointId Immutable. The ID to use for endpoint, which will become the final component
282282
* of the endpoint resource name. If not provided, Vertex AI will generate a value for this
283283
* ID.
284-
* <p>This value should be 1-10 characters, and valid characters are /[0-9]/. When using
285-
* HTTP/JSON, this field is populated based on a query string argument, such as
284+
* <p>If the first character is a letter, this value may be up to 63 characters, and valid
285+
* characters are `[a-z0-9-]`. The last character must be a letter or number.
286+
* <p>If the first character is a number, this value may be up to 9 characters, and valid
287+
* characters are `[0-9]` with no leading zeros.
288+
* <p>When using HTTP/JSON, this field is populated based on a query string argument, such as
286289
* `?endpoint_id=12345`. This is the fallback for fields that are not included in either the
287290
* URI or the body.
288291
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
@@ -325,8 +328,11 @@ public final OperationFuture<Endpoint, CreateEndpointOperationMetadata> createEn
325328
* @param endpointId Immutable. The ID to use for endpoint, which will become the final component
326329
* of the endpoint resource name. If not provided, Vertex AI will generate a value for this
327330
* ID.
328-
* <p>This value should be 1-10 characters, and valid characters are /[0-9]/. When using
329-
* HTTP/JSON, this field is populated based on a query string argument, such as
331+
* <p>If the first character is a letter, this value may be up to 63 characters, and valid
332+
* characters are `[a-z0-9-]`. The last character must be a letter or number.
333+
* <p>If the first character is a number, this value may be up to 9 characters, and valid
334+
* characters are `[0-9]` with no leading zeros.
335+
* <p>When using HTTP/JSON, this field is populated based on a query string argument, such as
330336
* `?endpoint_id=12345`. This is the fallback for fields that are not included in either the
331337
* URI or the body.
332338
* @throws com.google.api.gax.rpc.ApiException if the remote call fails

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,8 @@ public void createIndexEndpointTest() throws Exception {
121121
.setNetwork("network1843485230")
122122
.setEnablePrivateServiceConnect(true)
123123
.setPrivateServiceConnectConfig(PrivateServiceConnectConfig.newBuilder().build())
124+
.setPublicEndpointEnabled(true)
125+
.setPublicEndpointDomainName("publicEndpointDomainName1244171053")
124126
.build();
125127
Operation resultOperation =
126128
Operation.newBuilder()
@@ -180,6 +182,8 @@ public void createIndexEndpointTest2() throws Exception {
180182
.setNetwork("network1843485230")
181183
.setEnablePrivateServiceConnect(true)
182184
.setPrivateServiceConnectConfig(PrivateServiceConnectConfig.newBuilder().build())
185+
.setPublicEndpointEnabled(true)
186+
.setPublicEndpointDomainName("publicEndpointDomainName1244171053")
183187
.build();
184188
Operation resultOperation =
185189
Operation.newBuilder()
@@ -239,6 +243,8 @@ public void getIndexEndpointTest() throws Exception {
239243
.setNetwork("network1843485230")
240244
.setEnablePrivateServiceConnect(true)
241245
.setPrivateServiceConnectConfig(PrivateServiceConnectConfig.newBuilder().build())
246+
.setPublicEndpointEnabled(true)
247+
.setPublicEndpointDomainName("publicEndpointDomainName1244171053")
242248
.build();
243249
mockIndexEndpointService.addResponse(expectedResponse);
244250

@@ -287,6 +293,8 @@ public void getIndexEndpointTest2() throws Exception {
287293
.setNetwork("network1843485230")
288294
.setEnablePrivateServiceConnect(true)
289295
.setPrivateServiceConnectConfig(PrivateServiceConnectConfig.newBuilder().build())
296+
.setPublicEndpointEnabled(true)
297+
.setPublicEndpointDomainName("publicEndpointDomainName1244171053")
290298
.build();
291299
mockIndexEndpointService.addResponse(expectedResponse);
292300

@@ -423,6 +431,8 @@ public void updateIndexEndpointTest() throws Exception {
423431
.setNetwork("network1843485230")
424432
.setEnablePrivateServiceConnect(true)
425433
.setPrivateServiceConnectConfig(PrivateServiceConnectConfig.newBuilder().build())
434+
.setPublicEndpointEnabled(true)
435+
.setPublicEndpointDomainName("publicEndpointDomainName1244171053")
426436
.build();
427437
mockIndexEndpointService.addResponse(expectedResponse);
428438

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,8 @@ public void createIndexEndpointTest() throws Exception {
121121
.setNetwork("network1843485230")
122122
.setEnablePrivateServiceConnect(true)
123123
.setPrivateServiceConnectConfig(PrivateServiceConnectConfig.newBuilder().build())
124+
.setPublicEndpointEnabled(true)
125+
.setPublicEndpointDomainName("publicEndpointDomainName1244171053")
124126
.build();
125127
Operation resultOperation =
126128
Operation.newBuilder()
@@ -180,6 +182,8 @@ public void createIndexEndpointTest2() throws Exception {
180182
.setNetwork("network1843485230")
181183
.setEnablePrivateServiceConnect(true)
182184
.setPrivateServiceConnectConfig(PrivateServiceConnectConfig.newBuilder().build())
185+
.setPublicEndpointEnabled(true)
186+
.setPublicEndpointDomainName("publicEndpointDomainName1244171053")
183187
.build();
184188
Operation resultOperation =
185189
Operation.newBuilder()
@@ -239,6 +243,8 @@ public void getIndexEndpointTest() throws Exception {
239243
.setNetwork("network1843485230")
240244
.setEnablePrivateServiceConnect(true)
241245
.setPrivateServiceConnectConfig(PrivateServiceConnectConfig.newBuilder().build())
246+
.setPublicEndpointEnabled(true)
247+
.setPublicEndpointDomainName("publicEndpointDomainName1244171053")
242248
.build();
243249
mockIndexEndpointService.addResponse(expectedResponse);
244250

@@ -287,6 +293,8 @@ public void getIndexEndpointTest2() throws Exception {
287293
.setNetwork("network1843485230")
288294
.setEnablePrivateServiceConnect(true)
289295
.setPrivateServiceConnectConfig(PrivateServiceConnectConfig.newBuilder().build())
296+
.setPublicEndpointEnabled(true)
297+
.setPublicEndpointDomainName("publicEndpointDomainName1244171053")
290298
.build();
291299
mockIndexEndpointService.addResponse(expectedResponse);
292300

@@ -423,6 +431,8 @@ public void updateIndexEndpointTest() throws Exception {
423431
.setNetwork("network1843485230")
424432
.setEnablePrivateServiceConnect(true)
425433
.setPrivateServiceConnectConfig(PrivateServiceConnectConfig.newBuilder().build())
434+
.setPublicEndpointEnabled(true)
435+
.setPublicEndpointDomainName("publicEndpointDomainName1244171053")
426436
.build();
427437
mockIndexEndpointService.addResponse(expectedResponse);
428438

java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/AcceleratorType.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
*
2424
* <pre>
2525
* Represents a hardware accelerator type.
26-
* NEXT ID: 11.
2726
* </pre>
2827
*
2928
* Protobuf enum {@code google.cloud.aiplatform.v1.AcceleratorType}

0 commit comments

Comments
 (0)