Skip to content

Commit cc080a0

Browse files
1 parent 145eccb commit cc080a0

File tree

52 files changed

+4085
-1241
lines changed

Some content is hidden

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

52 files changed

+4085
-1241
lines changed

clients/google-api-services-aiplatform/v1/2.0.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-aiplatform</artifactId>
25-
<version>v1-rev20260302-2.0.0</version>
25+
<version>v1-rev20260309-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-aiplatform:v1-rev20260302-2.0.0'
38+
implementation 'com.google.apis:google-api-services-aiplatform:v1-rev20260309-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/Aiplatform.java

Lines changed: 79 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -32656,16 +32656,17 @@ public GenerateInstanceRubrics set(String parameterName, Object value) {
3265632656
}
3265732657
}
3265832658
/**
32659-
* Generates synthetic data based on the provided configuration.
32659+
* Generates synthetic (artificial) data based on a description
3266032660
*
3266132661
* Create a request for the method "locations.generateSyntheticData".
3266232662
*
3266332663
* This request holds the parameters needed by the aiplatform server. After setting any optional
3266432664
* parameters, call the {@link GenerateSyntheticData#execute()} method to invoke the remote
3266532665
* operation.
3266632666
*
32667-
* @param location Required. The resource name of the Location to run the job. Format:
32668-
* `projects/{project}/locations/{location}`
32667+
* @param location Required. The geographic location where the synthetic data generation request is processed. This
32668+
* should be in the format `projects/{project}/locations/{location}`. For example,
32669+
* `projects/my-project/locations/us-central1`.
3266932670
* @param content the {@link com.google.api.services.aiplatform.v1.model.GoogleCloudAiplatformV1GenerateSyntheticDataRequest}
3267032671
* @return the request
3267132672
*/
@@ -32683,7 +32684,7 @@ public class GenerateSyntheticData extends AiplatformRequest<com.google.api.serv
3268332684
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$");
3268432685

3268532686
/**
32686-
* Generates synthetic data based on the provided configuration.
32687+
* Generates synthetic (artificial) data based on a description
3268732688
*
3268832689
* Create a request for the method "locations.generateSyntheticData".
3268932690
*
@@ -32693,8 +32694,9 @@ public class GenerateSyntheticData extends AiplatformRequest<com.google.api.serv
3269332694
* services.AbstractGoogleClientRequest)} must be called to initialize this instance immediately
3269432695
* after invoking the constructor. </p>
3269532696
*
32696-
* @param location Required. The resource name of the Location to run the job. Format:
32697-
* `projects/{project}/locations/{location}`
32697+
* @param location Required. The geographic location where the synthetic data generation request is processed. This
32698+
* should be in the format `projects/{project}/locations/{location}`. For example,
32699+
* `projects/my-project/locations/us-central1`.
3269832700
* @param content the {@link com.google.api.services.aiplatform.v1.model.GoogleCloudAiplatformV1GenerateSyntheticDataRequest}
3269932701
* @since 1.13
3270032702
*/
@@ -32764,22 +32766,25 @@ public GenerateSyntheticData setUploadProtocol(java.lang.String uploadProtocol)
3276432766
}
3276532767

3276632768
/**
32767-
* Required. The resource name of the Location to run the job. Format:
32768-
* `projects/{project}/locations/{location}`
32769+
* Required. The geographic location where the synthetic data generation request is
32770+
* processed. This should be in the format `projects/{project}/locations/{location}`. For
32771+
* example, `projects/my-project/locations/us-central1`.
3276932772
*/
3277032773
@com.google.api.client.util.Key
3277132774
private java.lang.String location;
3277232775

32773-
/** Required. The resource name of the Location to run the job. Format:
32774-
`projects/{project}/locations/{location}`
32776+
/** Required. The geographic location where the synthetic data generation request is processed. This
32777+
should be in the format `projects/{project}/locations/{location}`. For example, `projects/my-
32778+
project/locations/us-central1`.
3277532779
*/
3277632780
public java.lang.String getLocation() {
3277732781
return location;
3277832782
}
3277932783

3278032784
/**
32781-
* Required. The resource name of the Location to run the job. Format:
32782-
* `projects/{project}/locations/{location}`
32785+
* Required. The geographic location where the synthetic data generation request is
32786+
* processed. This should be in the format `projects/{project}/locations/{location}`. For
32787+
* example, `projects/my-project/locations/us-central1`.
3278332788
*/
3278432789
public GenerateSyntheticData setLocation(java.lang.String location) {
3278532790
if (!getSuppressPatternChecks()) {
@@ -116915,6 +116920,37 @@ public Create setParent(java.lang.String parent) {
116915116920
return this;
116916116921
}
116917116922

116923+
/**
116924+
* Optional. The user defined ID to use for memory, which will become the final
116925+
* component of the memory resource name. If not provided, Vertex AI will generate a
116926+
* value for this ID. This value may be up to 63 characters, and valid characters are
116927+
* `[a-z0-9-]`. The first character must be a letter, and the last character must be a
116928+
* letter or number.
116929+
*/
116930+
@com.google.api.client.util.Key
116931+
private java.lang.String memoryId;
116932+
116933+
/** Optional. The user defined ID to use for memory, which will become the final component of the
116934+
memory resource name. If not provided, Vertex AI will generate a value for this ID. This value may
116935+
be up to 63 characters, and valid characters are `[a-z0-9-]`. The first character must be a letter,
116936+
and the last character must be a letter or number.
116937+
*/
116938+
public java.lang.String getMemoryId() {
116939+
return memoryId;
116940+
}
116941+
116942+
/**
116943+
* Optional. The user defined ID to use for memory, which will become the final
116944+
* component of the memory resource name. If not provided, Vertex AI will generate a
116945+
* value for this ID. This value may be up to 63 characters, and valid characters are
116946+
* `[a-z0-9-]`. The first character must be a letter, and the last character must be a
116947+
* letter or number.
116948+
*/
116949+
public Create setMemoryId(java.lang.String memoryId) {
116950+
this.memoryId = memoryId;
116951+
return this;
116952+
}
116953+
116918116954
@Override
116919116955
public Create set(String parameterName, Object value) {
116920116956
return (Create) super.set(parameterName, value);
@@ -121920,6 +121956,37 @@ public Create setParent(java.lang.String parent) {
121920121956
return this;
121921121957
}
121922121958

121959+
/**
121960+
* Optional. The user defined ID to use for session, which will become the final
121961+
* component of the session resource name. If not provided, Vertex AI will generate a
121962+
* value for this ID. This value may be up to 63 characters, and valid characters are
121963+
* `[a-z0-9-]`. The first character must be a letter, and the last character must be a
121964+
* letter or number.
121965+
*/
121966+
@com.google.api.client.util.Key
121967+
private java.lang.String sessionId;
121968+
121969+
/** Optional. The user defined ID to use for session, which will become the final component of the
121970+
session resource name. If not provided, Vertex AI will generate a value for this ID. This value may
121971+
be up to 63 characters, and valid characters are `[a-z0-9-]`. The first character must be a letter,
121972+
and the last character must be a letter or number.
121973+
*/
121974+
public java.lang.String getSessionId() {
121975+
return sessionId;
121976+
}
121977+
121978+
/**
121979+
* Optional. The user defined ID to use for session, which will become the final
121980+
* component of the session resource name. If not provided, Vertex AI will generate a
121981+
* value for this ID. This value may be up to 63 characters, and valid characters are
121982+
* `[a-z0-9-]`. The first character must be a letter, and the last character must be a
121983+
* letter or number.
121984+
*/
121985+
public Create setSessionId(java.lang.String sessionId) {
121986+
this.sessionId = sessionId;
121987+
return this;
121988+
}
121989+
121923121990
@Override
121924121991
public Create set(String parameterName, Object value) {
121925121992
return (Create) super.set(parameterName, value);

clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1CodeExecutionResult.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@
1717
package com.google.api.services.aiplatform.v1.model;
1818

1919
/**
20-
* Result of executing the [ExecutableCode]. Only generated when using the [CodeExecution] tool, and
21-
* always follows a `part` containing the [ExecutableCode].
20+
* Result of executing the ExecutableCode. Generated only when the `CodeExecution` tool is used.
2221
*
2322
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
2423
* transmitted over HTTP when working with the Vertex AI API. For a detailed explanation see:
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.aiplatform.v1.model;
18+
19+
/**
20+
* Defines a custom dataset-level aggregation.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the Vertex AI API. For a detailed explanation see:
24+
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
25+
* </p>
26+
*
27+
* @author Google, Inc.
28+
*/
29+
@SuppressWarnings("javadoc")
30+
public final class GoogleCloudAiplatformV1DatasetCustomMetric extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Optional. A display name for this custom summary metric. Used to prefix keys in the output
34+
* summaryMetrics map. If not provided, a default name like "dataset_custom_metric_1",
35+
* "dataset_custom_metric_2", etc., will be generated based on the order in the repeated field.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.lang.String displayName;
40+
41+
/**
42+
* Optional. A display name for this custom summary metric. Used to prefix keys in the output
43+
* summaryMetrics map. If not provided, a default name like "dataset_custom_metric_1",
44+
* "dataset_custom_metric_2", etc., will be generated based on the order in the repeated field.
45+
* @return value or {@code null} for none
46+
*/
47+
public java.lang.String getDisplayName() {
48+
return displayName;
49+
}
50+
51+
/**
52+
* Optional. A display name for this custom summary metric. Used to prefix keys in the output
53+
* summaryMetrics map. If not provided, a default name like "dataset_custom_metric_1",
54+
* "dataset_custom_metric_2", etc., will be generated based on the order in the repeated field.
55+
* @param displayName displayName or {@code null} for none
56+
*/
57+
public GoogleCloudAiplatformV1DatasetCustomMetric setDisplayName(java.lang.String displayName) {
58+
this.displayName = displayName;
59+
return this;
60+
}
61+
62+
@Override
63+
public GoogleCloudAiplatformV1DatasetCustomMetric set(String fieldName, Object value) {
64+
return (GoogleCloudAiplatformV1DatasetCustomMetric) super.set(fieldName, value);
65+
}
66+
67+
@Override
68+
public GoogleCloudAiplatformV1DatasetCustomMetric clone() {
69+
return (GoogleCloudAiplatformV1DatasetCustomMetric) super.clone();
70+
}
71+
72+
}

clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1EmbedContentRequest.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,13 @@ public final class GoogleCloudAiplatformV1EmbedContentRequest extends com.google
4444
@com.google.api.client.util.Key
4545
private GoogleCloudAiplatformV1Content content;
4646

47+
/**
48+
* Optional. Configuration for the EmbedContent request.
49+
* The value may be {@code null}.
50+
*/
51+
@com.google.api.client.util.Key
52+
private GoogleCloudAiplatformV1EmbedContentRequestEmbedContentConfig embedContentConfig;
53+
4754
/**
4855
* Optional. Deprecated: Please use EmbedContentConfig.output_dimensionality instead. Reduced
4956
* dimension for the output embedding. If set, excessive values in the output embedding are
@@ -104,6 +111,23 @@ public GoogleCloudAiplatformV1EmbedContentRequest setContent(GoogleCloudAiplatfo
104111
return this;
105112
}
106113

114+
/**
115+
* Optional. Configuration for the EmbedContent request.
116+
* @return value or {@code null} for none
117+
*/
118+
public GoogleCloudAiplatformV1EmbedContentRequestEmbedContentConfig getEmbedContentConfig() {
119+
return embedContentConfig;
120+
}
121+
122+
/**
123+
* Optional. Configuration for the EmbedContent request.
124+
* @param embedContentConfig embedContentConfig or {@code null} for none
125+
*/
126+
public GoogleCloudAiplatformV1EmbedContentRequest setEmbedContentConfig(GoogleCloudAiplatformV1EmbedContentRequestEmbedContentConfig embedContentConfig) {
127+
this.embedContentConfig = embedContentConfig;
128+
return this;
129+
}
130+
107131
/**
108132
* Optional. Deprecated: Please use EmbedContentConfig.output_dimensionality instead. Reduced
109133
* dimension for the output embedding. If set, excessive values in the output embedding are

0 commit comments

Comments
 (0)