Skip to content

Commit 1cd7e2a

Browse files
1 parent d13767a commit 1cd7e2a

285 files changed

Lines changed: 53674 additions & 11420 deletions

File tree

Some content is hidden

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

‎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-rev20261028-2.9.2</version>
25+
<version>v1-rev20261106-2.9.2</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-rev20261028-2.9.2'
38+
implementation 'com.google.apis:google-api-services-aiplatform:v1-rev20261106-2.9.2'
3939
}
4040
```
4141

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

Lines changed: 140 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -37469,29 +37469,6 @@ public Create setParent(java.lang.String parent) {
3746937469
return this;
3747037470
}
3747137471

37472-
/**
37473-
* Optional. Optional. One-time cryptographic nonce issued by the trusted IdP provisioning
37474-
* iframe for session and device non-repudiation.
37475-
*/
37476-
@com.google.api.client.util.Key
37477-
private java.lang.String idpNonce;
37478-
37479-
/** Optional. Optional. One-time cryptographic nonce issued by the trusted IdP provisioning iframe for
37480-
session and device non-repudiation.
37481-
*/
37482-
public java.lang.String getIdpNonce() {
37483-
return idpNonce;
37484-
}
37485-
37486-
/**
37487-
* Optional. Optional. One-time cryptographic nonce issued by the trusted IdP provisioning
37488-
* iframe for session and device non-repudiation.
37489-
*/
37490-
public Create setIdpNonce(java.lang.String idpNonce) {
37491-
this.idpNonce = idpNonce;
37492-
return this;
37493-
}
37494-
3749537472
@Override
3749637473
public Create set(String parameterName, Object value) {
3749737474
return (Create) super.set(parameterName, value);
@@ -112342,6 +112319,146 @@ public Patch set(String parameterName, Object value) {
112342112319
return (Patch) super.set(parameterName, value);
112343112320
}
112344112321
}
112322+
/**
112323+
* Sets the default NotebookRuntimeTemplate for a Location.
112324+
*
112325+
* Create a request for the method "notebookRuntimeTemplates.setDefault".
112326+
*
112327+
* This request holds the parameters needed by the aiplatform server. After setting any optional
112328+
* parameters, call the {@link SetDefault#execute()} method to invoke the remote operation.
112329+
*
112330+
* @param parent Required. The resource name of the Location to set the default NotebookRuntimeTemplate. Format:
112331+
* `projects/{project}/locations/{location}`
112332+
* @param content the {@link com.google.api.services.aiplatform.v1.model.GoogleCloudAiplatformV1SetDefaultNotebookRuntimeTemplateRequest}
112333+
* @return the request
112334+
*/
112335+
public SetDefault setDefault(java.lang.String parent, com.google.api.services.aiplatform.v1.model.GoogleCloudAiplatformV1SetDefaultNotebookRuntimeTemplateRequest content) throws java.io.IOException {
112336+
SetDefault result = new SetDefault(parent, content);
112337+
initialize(result);
112338+
return result;
112339+
}
112340+
112341+
public class SetDefault extends AiplatformRequest<com.google.api.services.aiplatform.v1.model.GoogleCloudAiplatformV1SetDefaultNotebookRuntimeTemplateResponse> {
112342+
112343+
private static final String REST_PATH = "v1/{+parent}/notebookRuntimeTemplates:setDefault";
112344+
112345+
private final java.util.regex.Pattern PARENT_PATTERN =
112346+
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$");
112347+
112348+
/**
112349+
* Sets the default NotebookRuntimeTemplate for a Location.
112350+
*
112351+
* Create a request for the method "notebookRuntimeTemplates.setDefault".
112352+
*
112353+
* This request holds the parameters needed by the the aiplatform server. After setting any
112354+
* optional parameters, call the {@link SetDefault#execute()} method to invoke the remote
112355+
* operation. <p> {@link
112356+
* SetDefault#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
112357+
* must be called to initialize this instance immediately after invoking the constructor. </p>
112358+
*
112359+
* @param parent Required. The resource name of the Location to set the default NotebookRuntimeTemplate. Format:
112360+
* `projects/{project}/locations/{location}`
112361+
* @param content the {@link com.google.api.services.aiplatform.v1.model.GoogleCloudAiplatformV1SetDefaultNotebookRuntimeTemplateRequest}
112362+
* @since 1.13
112363+
*/
112364+
protected SetDefault(java.lang.String parent, com.google.api.services.aiplatform.v1.model.GoogleCloudAiplatformV1SetDefaultNotebookRuntimeTemplateRequest content) {
112365+
super(Aiplatform.this, "POST", REST_PATH, content, com.google.api.services.aiplatform.v1.model.GoogleCloudAiplatformV1SetDefaultNotebookRuntimeTemplateResponse.class);
112366+
this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified.");
112367+
if (!getSuppressPatternChecks()) {
112368+
com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
112369+
"Parameter parent must conform to the pattern " +
112370+
"^projects/[^/]+/locations/[^/]+$");
112371+
}
112372+
}
112373+
112374+
@Override
112375+
public SetDefault set$Xgafv(java.lang.String $Xgafv) {
112376+
return (SetDefault) super.set$Xgafv($Xgafv);
112377+
}
112378+
112379+
@Override
112380+
public SetDefault setAccessToken(java.lang.String accessToken) {
112381+
return (SetDefault) super.setAccessToken(accessToken);
112382+
}
112383+
112384+
@Override
112385+
public SetDefault setAlt(java.lang.String alt) {
112386+
return (SetDefault) super.setAlt(alt);
112387+
}
112388+
112389+
@Override
112390+
public SetDefault setCallback(java.lang.String callback) {
112391+
return (SetDefault) super.setCallback(callback);
112392+
}
112393+
112394+
@Override
112395+
public SetDefault setFields(java.lang.String fields) {
112396+
return (SetDefault) super.setFields(fields);
112397+
}
112398+
112399+
@Override
112400+
public SetDefault setKey(java.lang.String key) {
112401+
return (SetDefault) super.setKey(key);
112402+
}
112403+
112404+
@Override
112405+
public SetDefault setOauthToken(java.lang.String oauthToken) {
112406+
return (SetDefault) super.setOauthToken(oauthToken);
112407+
}
112408+
112409+
@Override
112410+
public SetDefault setPrettyPrint(java.lang.Boolean prettyPrint) {
112411+
return (SetDefault) super.setPrettyPrint(prettyPrint);
112412+
}
112413+
112414+
@Override
112415+
public SetDefault setQuotaUser(java.lang.String quotaUser) {
112416+
return (SetDefault) super.setQuotaUser(quotaUser);
112417+
}
112418+
112419+
@Override
112420+
public SetDefault setUploadType(java.lang.String uploadType) {
112421+
return (SetDefault) super.setUploadType(uploadType);
112422+
}
112423+
112424+
@Override
112425+
public SetDefault setUploadProtocol(java.lang.String uploadProtocol) {
112426+
return (SetDefault) super.setUploadProtocol(uploadProtocol);
112427+
}
112428+
112429+
/**
112430+
* Required. The resource name of the Location to set the default NotebookRuntimeTemplate.
112431+
* Format: `projects/{project}/locations/{location}`
112432+
*/
112433+
@com.google.api.client.util.Key
112434+
private java.lang.String parent;
112435+
112436+
/** Required. The resource name of the Location to set the default NotebookRuntimeTemplate. Format:
112437+
`projects/{project}/locations/{location}`
112438+
*/
112439+
public java.lang.String getParent() {
112440+
return parent;
112441+
}
112442+
112443+
/**
112444+
* Required. The resource name of the Location to set the default NotebookRuntimeTemplate.
112445+
* Format: `projects/{project}/locations/{location}`
112446+
*/
112447+
public SetDefault setParent(java.lang.String parent) {
112448+
if (!getSuppressPatternChecks()) {
112449+
com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
112450+
"Parameter parent must conform to the pattern " +
112451+
"^projects/[^/]+/locations/[^/]+$");
112452+
}
112453+
this.parent = parent;
112454+
return this;
112455+
}
112456+
112457+
@Override
112458+
public SetDefault set(String parameterName, Object value) {
112459+
return (SetDefault) super.set(parameterName, value);
112460+
}
112461+
}
112345112462
/**
112346112463
* Sets the access control policy on the specified resource. Replaces any existing policy. Can
112347112464
* return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
@@ -122799,32 +122916,6 @@ public List setPublishersId(java.lang.String publishersId) {
122799122916
return this;
122800122917
}
122801122918

122802-
/**
122803-
* Optional. Batch fetch: return only these files, up to 100 IDs after de-duplication.
122804-
* Mutually exclusive with both `page` and `limit`. Serialised as a repeated `ids` query
122805-
* parameter, one occurrence per ID.
122806-
*/
122807-
@com.google.api.client.util.Key
122808-
private java.util.List<java.lang.String> ids;
122809-
122810-
/** Optional. Batch fetch: return only these files, up to 100 IDs after de-duplication. Mutually
122811-
exclusive with both `page` and `limit`. Serialised as a repeated `ids` query parameter, one
122812-
occurrence per ID.
122813-
*/
122814-
public java.util.List<java.lang.String> getIds() {
122815-
return ids;
122816-
}
122817-
122818-
/**
122819-
* Optional. Batch fetch: return only these files, up to 100 IDs after de-duplication.
122820-
* Mutually exclusive with both `page` and `limit`. Serialised as a repeated `ids` query
122821-
* parameter, one occurrence per ID.
122822-
*/
122823-
public List setIds(java.util.List<java.lang.String> ids) {
122824-
this.ids = ids;
122825-
return this;
122826-
}
122827-
122828122919
/**
122829122920
* Optional. The number of files to return per page. Defaults to 20 if unset, maximum
122830122921
* 1000. Mutually exclusive with `ids`.

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

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@ public final class GenaiVertexV1Function extends com.google.api.client.json.Gene
4444
private java.lang.String name;
4545

4646
/**
47-
* The JSON Schema for the function's parameters.
47+
* The JSON Schema for the function's parameters. Supports a subset of JSON Schema. `minLength`,
48+
* `maxLength`, `minProperties`, `maxProperties`, `uniqueItems`, `contains`, `minContains`, and
49+
* `maxContains` are ignored and not enforced.
4850
* The value may be {@code null}.
4951
*/
5052
@com.google.api.client.util.Key
@@ -85,15 +87,19 @@ public GenaiVertexV1Function setName(java.lang.String name) {
8587
}
8688

8789
/**
88-
* The JSON Schema for the function's parameters.
90+
* The JSON Schema for the function's parameters. Supports a subset of JSON Schema. `minLength`,
91+
* `maxLength`, `minProperties`, `maxProperties`, `uniqueItems`, `contains`, `minContains`, and
92+
* `maxContains` are ignored and not enforced.
8993
* @return value or {@code null} for none
9094
*/
9195
public GenaiVertexV1Value getParameters() {
9296
return parameters;
9397
}
9498

9599
/**
96-
* The JSON Schema for the function's parameters.
100+
* The JSON Schema for the function's parameters. Supports a subset of JSON Schema. `minLength`,
101+
* `maxLength`, `minProperties`, `maxProperties`, `uniqueItems`, `contains`, `minContains`, and
102+
* `maxContains` are ignored and not enforced.
97103
* @param parameters parameters or {@code null} for none
98104
*/
99105
public GenaiVertexV1Function setParameters(GenaiVertexV1Value parameters) {

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,13 @@ public final class GenaiVertexV1InteractionUsage extends com.google.api.client.j
4343
@com.google.api.client.util.Key
4444
private java.util.List<GenaiVertexV1InteractionUsageGroundingToolCount> groundingToolCount;
4545

46+
/**
47+
* Number of input tokens used in the first turn of this interaction.
48+
* The value may be {@code null}.
49+
*/
50+
@com.google.api.client.util.Key
51+
private java.lang.Integer initialInputTokens;
52+
4653
/**
4754
* A breakdown of input token usage by modality.
4855
* The value may be {@code null}.
@@ -140,6 +147,23 @@ public GenaiVertexV1InteractionUsage setGroundingToolCount(java.util.List<GenaiV
140147
return this;
141148
}
142149

150+
/**
151+
* Number of input tokens used in the first turn of this interaction.
152+
* @return value or {@code null} for none
153+
*/
154+
public java.lang.Integer getInitialInputTokens() {
155+
return initialInputTokens;
156+
}
157+
158+
/**
159+
* Number of input tokens used in the first turn of this interaction.
160+
* @param initialInputTokens initialInputTokens or {@code null} for none
161+
*/
162+
public GenaiVertexV1InteractionUsage setInitialInputTokens(java.lang.Integer initialInputTokens) {
163+
this.initialInputTokens = initialInputTokens;
164+
return this;
165+
}
166+
143167
/**
144168
* A breakdown of input token usage by modality.
145169
* @return value or {@code null} for none

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

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,11 @@ public final class GenaiVertexV1TextResponseFormat extends com.google.api.client
3838

3939
/**
4040
* The JSON schema that the output should conform to. Only applicable when mime_type is
41-
* application/json.
41+
* application/json. Supports a subset of JSON Schema. `minLength`, `maxLength`, `minProperties`,
42+
* `maxProperties`, `uniqueItems`, `contains`, `minContains`, and `maxContains` are ignored and
43+
* not enforced; validate these in your application. `minItems` and `maxItems` are enforced.
44+
* Schemas that are too complex to enforce (for example, large `maxItems` on nested arrays) return
45+
* a 400 INVALID_ARGUMENT error.
4246
* The value may be {@code null}.
4347
*/
4448
@com.google.api.client.util.Key
@@ -63,7 +67,11 @@ public GenaiVertexV1TextResponseFormat setMimeType(java.lang.String mimeType) {
6367

6468
/**
6569
* The JSON schema that the output should conform to. Only applicable when mime_type is
66-
* application/json.
70+
* application/json. Supports a subset of JSON Schema. `minLength`, `maxLength`, `minProperties`,
71+
* `maxProperties`, `uniqueItems`, `contains`, `minContains`, and `maxContains` are ignored and
72+
* not enforced; validate these in your application. `minItems` and `maxItems` are enforced.
73+
* Schemas that are too complex to enforce (for example, large `maxItems` on nested arrays) return
74+
* a 400 INVALID_ARGUMENT error.
6775
* @return value or {@code null} for none
6876
*/
6977
public GenaiVertexV1Struct getSchema() {
@@ -72,7 +80,11 @@ public GenaiVertexV1Struct getSchema() {
7280

7381
/**
7482
* The JSON schema that the output should conform to. Only applicable when mime_type is
75-
* application/json.
83+
* application/json. Supports a subset of JSON Schema. `minLength`, `maxLength`, `minProperties`,
84+
* `maxProperties`, `uniqueItems`, `contains`, `minContains`, and `maxContains` are ignored and
85+
* not enforced; validate these in your application. `minItems` and `maxItems` are enforced.
86+
* Schemas that are too complex to enforce (for example, large `maxItems` on nested arrays) return
87+
* a 400 INVALID_ARGUMENT error.
7688
* @param schema schema or {@code null} for none
7789
*/
7890
public GenaiVertexV1TextResponseFormat setSchema(GenaiVertexV1Struct schema) {

0 commit comments

Comments
 (0)