diff --git a/java-vertexai/google-cloud-vertexai/build.gradle b/java-vertexai/google-cloud-vertexai/build.gradle new file mode 100644 index 000000000000..d38878cc5ef5 --- /dev/null +++ b/java-vertexai/google-cloud-vertexai/build.gradle @@ -0,0 +1,51 @@ +description = 'GAPIC library for gapic-google-cloud-vertexai-v1beta1-java' +group = 'com.google.cloud' +version = (version == 'unspecified') ? '0.0.0-SNAPSHOT' : version + +compileJava.options.encoding = 'UTF-8' +javadoc.options.encoding = 'UTF-8' + +dependencies { + api 'com.google.api:gax:2.37.0' + testImplementation 'com.google.api:gax:2.37.0:testlib' + api 'com.google.api:gax-grpc:2.37.0' + testImplementation 'com.google.api:gax-grpc:2.37.0:testlib' + api 'com.google.api:gax-httpjson:2.37.0' + testImplementation 'com.google.api:gax-httpjson:2.37.0:testlib' + api 'io.grpc:grpc-protobuf:1.59.0' + testImplementation 'io.grpc:grpc-stub:1.59.0' + testImplementation 'io.grpc:grpc-netty-shaded:1.59.0' + testImplementation 'junit:junit:4.13.2' + + // TODO: remove when dropping Java 8 support. + // https://github.com/googleapis/gapic-generator-java/issues/888 + implementation 'javax.annotation:javax.annotation-api:1.3.2' + + api project(':proto-google-cloud-vertexai-v1beta1-java') + api 'com.google.api.grpc:proto-google-iam-v1:1.22.0' + testImplementation project(':grpc-google-cloud-vertexai-v1beta1-java') + testImplementation 'com.google.api.grpc:grpc-google-common-protos:2.27.0' + testImplementation 'com.google.api.grpc:grpc-google-iam-v1:1.22.0' +} + +task smokeTest(type: Test) { + filter { + includeTestsMatching "*SmokeTest" + setFailOnNoMatchingTests false + } +} + +test { + exclude "**/*SmokeTest*" +} + +clean { + delete 'all-jars' +} + +task allJars(type: Copy) { + dependsOn test, jar + into 'all-jars' + // Replace with `from configurations.testRuntimeClasspath, jar` to include test dependencies + from configurations.runtimeClasspath, jar +} diff --git a/java-vertexai/google-cloud-vertexai/src/main/java/com/google/cloud/vertexai/api/EndpointServiceClient.java b/java-vertexai/google-cloud-vertexai/src/main/java/com/google/cloud/vertexai/api/EndpointServiceClient.java index eabdac3e9afd..cad647897055 100644 --- a/java-vertexai/google-cloud-vertexai/src/main/java/com/google/cloud/vertexai/api/EndpointServiceClient.java +++ b/java-vertexai/google-cloud-vertexai/src/main/java/com/google/cloud/vertexai/api/EndpointServiceClient.java @@ -240,7 +240,7 @@ * * *

MutateDeployedModel - *

Updates an existing deployed model. Updatable fields include `min_replica_count`, `max_replica_count`, `autoscaling_metric_specs`, `disable_container_logging` (v1 only), and `enable_container_logging` (v1beta1 only). + *

Updates an existing deployed model. Updatable fields include `min_replica_count`, `max_replica_count`, `required_replica_count`, `autoscaling_metric_specs`, `disable_container_logging` (v1 only), and `enable_container_logging` (v1beta1 only). * *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*