Skip to content

Commit

Permalink
feat: [aiplatform] add notification_channels in aiplatform v1beta1 mo…
Browse files Browse the repository at this point in the history
…del_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>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Apr 12, 2023
1 parent 88e2bab commit 30618bd
Show file tree
Hide file tree
Showing 118 changed files with 1,852 additions and 480 deletions.
2 changes: 1 addition & 1 deletion java-aiplatform/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>libraries-bom</artifactId>
<version>26.11.0</version>
<version>26.12.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -279,8 +279,11 @@ public final OperationFuture<Endpoint, CreateEndpointOperationMetadata> createEn
* @param endpointId Immutable. The ID to use for endpoint, which will become the final component
* of the endpoint resource name. If not provided, Vertex AI will generate a value for this
* ID.
* <p>This value should be 1-10 characters, and valid characters are /[0-9]/. When using
* HTTP/JSON, this field is populated based on a query string argument, such as
* <p>If the first character is a letter, this value may be up to 63 characters, and valid
* characters are `[a-z0-9-]`. The last character must be a letter or number.
* <p>If the first character is a number, this value may be up to 9 characters, and valid
* characters are `[0-9]` with no leading zeros.
* <p>When using HTTP/JSON, this field is populated based on a query string argument, such as
* `?endpoint_id=12345`. This is the fallback for fields that are not included in either the
* URI or the body.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
Expand Down Expand Up @@ -323,8 +326,11 @@ public final OperationFuture<Endpoint, CreateEndpointOperationMetadata> createEn
* @param endpointId Immutable. The ID to use for endpoint, which will become the final component
* of the endpoint resource name. If not provided, Vertex AI will generate a value for this
* ID.
* <p>This value should be 1-10 characters, and valid characters are /[0-9]/. When using
* HTTP/JSON, this field is populated based on a query string argument, such as
* <p>If the first character is a letter, this value may be up to 63 characters, and valid
* characters are `[a-z0-9-]`. The last character must be a letter or number.
* <p>If the first character is a number, this value may be up to 9 characters, and valid
* characters are `[0-9]` with no leading zeros.
* <p>When using HTTP/JSON, this field is populated based on a query string argument, such as
* `?endpoint_id=12345`. This is the fallback for fields that are not included in either the
* URI or the body.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -281,8 +281,11 @@ public final OperationFuture<Endpoint, CreateEndpointOperationMetadata> createEn
* @param endpointId Immutable. The ID to use for endpoint, which will become the final component
* of the endpoint resource name. If not provided, Vertex AI will generate a value for this
* ID.
* <p>This value should be 1-10 characters, and valid characters are /[0-9]/. When using
* HTTP/JSON, this field is populated based on a query string argument, such as
* <p>If the first character is a letter, this value may be up to 63 characters, and valid
* characters are `[a-z0-9-]`. The last character must be a letter or number.
* <p>If the first character is a number, this value may be up to 9 characters, and valid
* characters are `[0-9]` with no leading zeros.
* <p>When using HTTP/JSON, this field is populated based on a query string argument, such as
* `?endpoint_id=12345`. This is the fallback for fields that are not included in either the
* URI or the body.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
Expand Down Expand Up @@ -325,8 +328,11 @@ public final OperationFuture<Endpoint, CreateEndpointOperationMetadata> createEn
* @param endpointId Immutable. The ID to use for endpoint, which will become the final component
* of the endpoint resource name. If not provided, Vertex AI will generate a value for this
* ID.
* <p>This value should be 1-10 characters, and valid characters are /[0-9]/. When using
* HTTP/JSON, this field is populated based on a query string argument, such as
* <p>If the first character is a letter, this value may be up to 63 characters, and valid
* characters are `[a-z0-9-]`. The last character must be a letter or number.
* <p>If the first character is a number, this value may be up to 9 characters, and valid
* characters are `[0-9]` with no leading zeros.
* <p>When using HTTP/JSON, this field is populated based on a query string argument, such as
* `?endpoint_id=12345`. This is the fallback for fields that are not included in either the
* URI or the body.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ public void createIndexEndpointTest() throws Exception {
.setNetwork("network1843485230")
.setEnablePrivateServiceConnect(true)
.setPrivateServiceConnectConfig(PrivateServiceConnectConfig.newBuilder().build())
.setPublicEndpointEnabled(true)
.setPublicEndpointDomainName("publicEndpointDomainName1244171053")
.build();
Operation resultOperation =
Operation.newBuilder()
Expand Down Expand Up @@ -180,6 +182,8 @@ public void createIndexEndpointTest2() throws Exception {
.setNetwork("network1843485230")
.setEnablePrivateServiceConnect(true)
.setPrivateServiceConnectConfig(PrivateServiceConnectConfig.newBuilder().build())
.setPublicEndpointEnabled(true)
.setPublicEndpointDomainName("publicEndpointDomainName1244171053")
.build();
Operation resultOperation =
Operation.newBuilder()
Expand Down Expand Up @@ -239,6 +243,8 @@ public void getIndexEndpointTest() throws Exception {
.setNetwork("network1843485230")
.setEnablePrivateServiceConnect(true)
.setPrivateServiceConnectConfig(PrivateServiceConnectConfig.newBuilder().build())
.setPublicEndpointEnabled(true)
.setPublicEndpointDomainName("publicEndpointDomainName1244171053")
.build();
mockIndexEndpointService.addResponse(expectedResponse);

Expand Down Expand Up @@ -287,6 +293,8 @@ public void getIndexEndpointTest2() throws Exception {
.setNetwork("network1843485230")
.setEnablePrivateServiceConnect(true)
.setPrivateServiceConnectConfig(PrivateServiceConnectConfig.newBuilder().build())
.setPublicEndpointEnabled(true)
.setPublicEndpointDomainName("publicEndpointDomainName1244171053")
.build();
mockIndexEndpointService.addResponse(expectedResponse);

Expand Down Expand Up @@ -423,6 +431,8 @@ public void updateIndexEndpointTest() throws Exception {
.setNetwork("network1843485230")
.setEnablePrivateServiceConnect(true)
.setPrivateServiceConnectConfig(PrivateServiceConnectConfig.newBuilder().build())
.setPublicEndpointEnabled(true)
.setPublicEndpointDomainName("publicEndpointDomainName1244171053")
.build();
mockIndexEndpointService.addResponse(expectedResponse);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ public void createIndexEndpointTest() throws Exception {
.setNetwork("network1843485230")
.setEnablePrivateServiceConnect(true)
.setPrivateServiceConnectConfig(PrivateServiceConnectConfig.newBuilder().build())
.setPublicEndpointEnabled(true)
.setPublicEndpointDomainName("publicEndpointDomainName1244171053")
.build();
Operation resultOperation =
Operation.newBuilder()
Expand Down Expand Up @@ -180,6 +182,8 @@ public void createIndexEndpointTest2() throws Exception {
.setNetwork("network1843485230")
.setEnablePrivateServiceConnect(true)
.setPrivateServiceConnectConfig(PrivateServiceConnectConfig.newBuilder().build())
.setPublicEndpointEnabled(true)
.setPublicEndpointDomainName("publicEndpointDomainName1244171053")
.build();
Operation resultOperation =
Operation.newBuilder()
Expand Down Expand Up @@ -239,6 +243,8 @@ public void getIndexEndpointTest() throws Exception {
.setNetwork("network1843485230")
.setEnablePrivateServiceConnect(true)
.setPrivateServiceConnectConfig(PrivateServiceConnectConfig.newBuilder().build())
.setPublicEndpointEnabled(true)
.setPublicEndpointDomainName("publicEndpointDomainName1244171053")
.build();
mockIndexEndpointService.addResponse(expectedResponse);

Expand Down Expand Up @@ -287,6 +293,8 @@ public void getIndexEndpointTest2() throws Exception {
.setNetwork("network1843485230")
.setEnablePrivateServiceConnect(true)
.setPrivateServiceConnectConfig(PrivateServiceConnectConfig.newBuilder().build())
.setPublicEndpointEnabled(true)
.setPublicEndpointDomainName("publicEndpointDomainName1244171053")
.build();
mockIndexEndpointService.addResponse(expectedResponse);

Expand Down Expand Up @@ -423,6 +431,8 @@ public void updateIndexEndpointTest() throws Exception {
.setNetwork("network1843485230")
.setEnablePrivateServiceConnect(true)
.setPrivateServiceConnectConfig(PrivateServiceConnectConfig.newBuilder().build())
.setPublicEndpointEnabled(true)
.setPublicEndpointDomainName("publicEndpointDomainName1244171053")
.build();
mockIndexEndpointService.addResponse(expectedResponse);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
*
* <pre>
* Represents a hardware accelerator type.
* NEXT ID: 11.
* </pre>
*
* Protobuf enum {@code google.cloud.aiplatform.v1.AcceleratorType}
Expand Down
Loading

0 comments on commit 30618bd

Please sign in to comment.