Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion generation_config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
gapic_generator_version: 2.66.1
googleapis_commitish: 39bd091b055e331a4917143355ab7afa83b7130c
googleapis_commitish: 6eead6ed94bddc12fe22189880a0b8f722c70478
libraries_bom_version: 26.75.0
libraries:
- api_shortname: accessapproval
Expand Down
8 changes: 4 additions & 4 deletions java-aiplatform/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies:
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-aiplatform</artifactId>
<version>3.84.0</version>
<version>3.85.0</version>
</dependency>
```

If you are using Gradle without BOM, add this to your dependencies:

```Groovy
implementation 'com.google.cloud:google-cloud-aiplatform:3.84.0'
implementation 'com.google.cloud:google-cloud-aiplatform:3.85.0'
```

If you are using SBT, add this to your dependencies:

```Scala
libraryDependencies += "com.google.cloud" % "google-cloud-aiplatform" % "3.84.0"
libraryDependencies += "com.google.cloud" % "google-cloud-aiplatform" % "3.85.0"
```

## Authentication
Expand Down Expand Up @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-aiplatform/latest/overview
[stability-image]: https://img.shields.io/badge/stability-stable-green
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-aiplatform.svg
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-aiplatform/3.84.0
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-aiplatform/3.85.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2744,6 +2744,33 @@
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.cloud.aiplatform.v1beta1.ComputationBasedMetricSpec",
"queryAllDeclaredConstructors": true,
"queryAllPublicConstructors": true,
"queryAllDeclaredMethods": true,
"allPublicMethods": true,
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.cloud.aiplatform.v1beta1.ComputationBasedMetricSpec$Builder",
"queryAllDeclaredConstructors": true,
"queryAllPublicConstructors": true,
"queryAllDeclaredMethods": true,
"allPublicMethods": true,
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.cloud.aiplatform.v1beta1.ComputationBasedMetricSpec$ComputationBasedMetricType",
"queryAllDeclaredConstructors": true,
"queryAllPublicConstructors": true,
"queryAllDeclaredMethods": true,
"allPublicMethods": true,
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.cloud.aiplatform.v1beta1.ComputeTokensRequest",
"queryAllDeclaredConstructors": true,
Expand Down Expand Up @@ -12608,6 +12635,24 @@
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.cloud.aiplatform.v1beta1.LLMBasedMetricSpec",
"queryAllDeclaredConstructors": true,
"queryAllPublicConstructors": true,
"queryAllDeclaredMethods": true,
"allPublicMethods": true,
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.cloud.aiplatform.v1beta1.LLMBasedMetricSpec$Builder",
"queryAllDeclaredConstructors": true,
"queryAllPublicConstructors": true,
"queryAllDeclaredMethods": true,
"allPublicMethods": true,
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.cloud.aiplatform.v1beta1.LargeModelReference",
"queryAllDeclaredConstructors": true,
Expand Down Expand Up @@ -15218,6 +15263,24 @@
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.cloud.aiplatform.v1beta1.MetricResult",
"queryAllDeclaredConstructors": true,
"queryAllPublicConstructors": true,
"queryAllDeclaredMethods": true,
"allPublicMethods": true,
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.cloud.aiplatform.v1beta1.MetricResult$Builder",
"queryAllDeclaredConstructors": true,
"queryAllPublicConstructors": true,
"queryAllDeclaredMethods": true,
"allPublicMethods": true,
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.cloud.aiplatform.v1beta1.MetricxInput",
"queryAllDeclaredConstructors": true,
Expand Down Expand Up @@ -18602,6 +18665,24 @@
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.cloud.aiplatform.v1beta1.PredefinedMetricSpec",
"queryAllDeclaredConstructors": true,
"queryAllPublicConstructors": true,
"queryAllDeclaredMethods": true,
"allPublicMethods": true,
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.cloud.aiplatform.v1beta1.PredefinedMetricSpec$Builder",
"queryAllDeclaredConstructors": true,
"queryAllPublicConstructors": true,
"queryAllDeclaredMethods": true,
"allPublicMethods": true,
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.cloud.aiplatform.v1beta1.PredefinedSplit",
"queryAllDeclaredConstructors": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ public void createScheduleTest() throws Exception {
.setLastPauseTime(Timestamp.newBuilder().build())
.setLastResumeTime(Timestamp.newBuilder().build())
.setMaxConcurrentRunCount(-1478623794)
.setMaxConcurrentActiveRunCount(-2066355825)
.setAllowQueueing(true)
.setCatchUp(true)
.setLastScheduledRunResponse(Schedule.RunResponse.newBuilder().build())
Expand Down Expand Up @@ -177,6 +178,7 @@ public void createScheduleTest2() throws Exception {
.setLastPauseTime(Timestamp.newBuilder().build())
.setLastResumeTime(Timestamp.newBuilder().build())
.setMaxConcurrentRunCount(-1478623794)
.setMaxConcurrentActiveRunCount(-2066355825)
.setAllowQueueing(true)
.setCatchUp(true)
.setLastScheduledRunResponse(Schedule.RunResponse.newBuilder().build())
Expand Down Expand Up @@ -316,6 +318,7 @@ public void getScheduleTest() throws Exception {
.setLastPauseTime(Timestamp.newBuilder().build())
.setLastResumeTime(Timestamp.newBuilder().build())
.setMaxConcurrentRunCount(-1478623794)
.setMaxConcurrentActiveRunCount(-2066355825)
.setAllowQueueing(true)
.setCatchUp(true)
.setLastScheduledRunResponse(Schedule.RunResponse.newBuilder().build())
Expand Down Expand Up @@ -368,6 +371,7 @@ public void getScheduleTest2() throws Exception {
.setLastPauseTime(Timestamp.newBuilder().build())
.setLastResumeTime(Timestamp.newBuilder().build())
.setMaxConcurrentRunCount(-1478623794)
.setMaxConcurrentActiveRunCount(-2066355825)
.setAllowQueueing(true)
.setCatchUp(true)
.setLastScheduledRunResponse(Schedule.RunResponse.newBuilder().build())
Expand Down Expand Up @@ -718,6 +722,7 @@ public void updateScheduleTest() throws Exception {
.setLastPauseTime(Timestamp.newBuilder().build())
.setLastResumeTime(Timestamp.newBuilder().build())
.setMaxConcurrentRunCount(-1478623794)
.setMaxConcurrentActiveRunCount(-2066355825)
.setAllowQueueing(true)
.setCatchUp(true)
.setLastScheduledRunResponse(Schedule.RunResponse.newBuilder().build())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,10 @@ public void tearDown() throws Exception {

@Test
public void evaluateInstancesTest() throws Exception {
EvaluateInstancesResponse expectedResponse = EvaluateInstancesResponse.newBuilder().build();
EvaluateInstancesResponse expectedResponse =
EvaluateInstancesResponse.newBuilder()
.addAllMetricResults(new ArrayList<MetricResult>())
.build();
mockEvaluationService.addResponse(expectedResponse);

EvaluateInstancesRequest request =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ public void createScheduleTest() throws Exception {
.setLastPauseTime(Timestamp.newBuilder().build())
.setLastResumeTime(Timestamp.newBuilder().build())
.setMaxConcurrentRunCount(-1478623794)
.setMaxConcurrentActiveRunCount(-2066355825)
.setAllowQueueing(true)
.setCatchUp(true)
.setLastScheduledRunResponse(Schedule.RunResponse.newBuilder().build())
Expand Down Expand Up @@ -177,6 +178,7 @@ public void createScheduleTest2() throws Exception {
.setLastPauseTime(Timestamp.newBuilder().build())
.setLastResumeTime(Timestamp.newBuilder().build())
.setMaxConcurrentRunCount(-1478623794)
.setMaxConcurrentActiveRunCount(-2066355825)
.setAllowQueueing(true)
.setCatchUp(true)
.setLastScheduledRunResponse(Schedule.RunResponse.newBuilder().build())
Expand Down Expand Up @@ -316,6 +318,7 @@ public void getScheduleTest() throws Exception {
.setLastPauseTime(Timestamp.newBuilder().build())
.setLastResumeTime(Timestamp.newBuilder().build())
.setMaxConcurrentRunCount(-1478623794)
.setMaxConcurrentActiveRunCount(-2066355825)
.setAllowQueueing(true)
.setCatchUp(true)
.setLastScheduledRunResponse(Schedule.RunResponse.newBuilder().build())
Expand Down Expand Up @@ -368,6 +371,7 @@ public void getScheduleTest2() throws Exception {
.setLastPauseTime(Timestamp.newBuilder().build())
.setLastResumeTime(Timestamp.newBuilder().build())
.setMaxConcurrentRunCount(-1478623794)
.setMaxConcurrentActiveRunCount(-2066355825)
.setAllowQueueing(true)
.setCatchUp(true)
.setLastScheduledRunResponse(Schedule.RunResponse.newBuilder().build())
Expand Down Expand Up @@ -718,6 +722,7 @@ public void updateScheduleTest() throws Exception {
.setLastPauseTime(Timestamp.newBuilder().build())
.setLastResumeTime(Timestamp.newBuilder().build())
.setMaxConcurrentRunCount(-1478623794)
.setMaxConcurrentActiveRunCount(-2066355825)
.setAllowQueueing(true)
.setCatchUp(true)
.setLastScheduledRunResponse(Schedule.RunResponse.newBuilder().build())
Expand Down
Loading
Loading