Skip to content
Merged
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions clients/google-api-services-aiplatform/v1/2.0.0/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-aiplatform</artifactId>
<version>v1-rev20261028-2.9.2</version>
<version>v1-rev20261106-2.9.2</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-aiplatform:v1-rev20261028-2.9.2'
implementation 'com.google.apis:google-api-services-aiplatform:v1-rev20261106-2.9.2'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37469,29 +37469,6 @@ public Create setParent(java.lang.String parent) {
return this;
}

/**
* Optional. Optional. One-time cryptographic nonce issued by the trusted IdP provisioning
* iframe for session and device non-repudiation.
*/
@com.google.api.client.util.Key
private java.lang.String idpNonce;

/** Optional. Optional. One-time cryptographic nonce issued by the trusted IdP provisioning iframe for
session and device non-repudiation.
*/
public java.lang.String getIdpNonce() {
return idpNonce;
}

/**
* Optional. Optional. One-time cryptographic nonce issued by the trusted IdP provisioning
* iframe for session and device non-repudiation.
*/
public Create setIdpNonce(java.lang.String idpNonce) {
this.idpNonce = idpNonce;
return this;
}

@Override
public Create set(String parameterName, Object value) {
return (Create) super.set(parameterName, value);
Expand Down Expand Up @@ -112342,6 +112319,146 @@ public Patch set(String parameterName, Object value) {
return (Patch) super.set(parameterName, value);
}
}
/**
* Sets the default NotebookRuntimeTemplate for a Location.
*
* Create a request for the method "notebookRuntimeTemplates.setDefault".
*
* This request holds the parameters needed by the aiplatform server. After setting any optional
* parameters, call the {@link SetDefault#execute()} method to invoke the remote operation.
*
* @param parent Required. The resource name of the Location to set the default NotebookRuntimeTemplate. Format:
* `projects/{project}/locations/{location}`
* @param content the {@link com.google.api.services.aiplatform.v1.model.GoogleCloudAiplatformV1SetDefaultNotebookRuntimeTemplateRequest}
* @return the request
*/
public SetDefault setDefault(java.lang.String parent, com.google.api.services.aiplatform.v1.model.GoogleCloudAiplatformV1SetDefaultNotebookRuntimeTemplateRequest content) throws java.io.IOException {
SetDefault result = new SetDefault(parent, content);
initialize(result);
return result;
}

public class SetDefault extends AiplatformRequest<com.google.api.services.aiplatform.v1.model.GoogleCloudAiplatformV1SetDefaultNotebookRuntimeTemplateResponse> {

private static final String REST_PATH = "v1/{+parent}/notebookRuntimeTemplates:setDefault";

private final java.util.regex.Pattern PARENT_PATTERN =
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$");

/**
* Sets the default NotebookRuntimeTemplate for a Location.
*
* Create a request for the method "notebookRuntimeTemplates.setDefault".
*
* This request holds the parameters needed by the the aiplatform server. After setting any
* optional parameters, call the {@link SetDefault#execute()} method to invoke the remote
* operation. <p> {@link
* SetDefault#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
* must be called to initialize this instance immediately after invoking the constructor. </p>
*
* @param parent Required. The resource name of the Location to set the default NotebookRuntimeTemplate. Format:
* `projects/{project}/locations/{location}`
* @param content the {@link com.google.api.services.aiplatform.v1.model.GoogleCloudAiplatformV1SetDefaultNotebookRuntimeTemplateRequest}
* @since 1.13
*/
protected SetDefault(java.lang.String parent, com.google.api.services.aiplatform.v1.model.GoogleCloudAiplatformV1SetDefaultNotebookRuntimeTemplateRequest content) {
super(Aiplatform.this, "POST", REST_PATH, content, com.google.api.services.aiplatform.v1.model.GoogleCloudAiplatformV1SetDefaultNotebookRuntimeTemplateResponse.class);
this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified.");
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
"Parameter parent must conform to the pattern " +
"^projects/[^/]+/locations/[^/]+$");
}
}

@Override
public SetDefault set$Xgafv(java.lang.String $Xgafv) {
return (SetDefault) super.set$Xgafv($Xgafv);
}

@Override
public SetDefault setAccessToken(java.lang.String accessToken) {
return (SetDefault) super.setAccessToken(accessToken);
}

@Override
public SetDefault setAlt(java.lang.String alt) {
return (SetDefault) super.setAlt(alt);
}

@Override
public SetDefault setCallback(java.lang.String callback) {
return (SetDefault) super.setCallback(callback);
}

@Override
public SetDefault setFields(java.lang.String fields) {
return (SetDefault) super.setFields(fields);
}

@Override
public SetDefault setKey(java.lang.String key) {
return (SetDefault) super.setKey(key);
}

@Override
public SetDefault setOauthToken(java.lang.String oauthToken) {
return (SetDefault) super.setOauthToken(oauthToken);
}

@Override
public SetDefault setPrettyPrint(java.lang.Boolean prettyPrint) {
return (SetDefault) super.setPrettyPrint(prettyPrint);
}

@Override
public SetDefault setQuotaUser(java.lang.String quotaUser) {
return (SetDefault) super.setQuotaUser(quotaUser);
}

@Override
public SetDefault setUploadType(java.lang.String uploadType) {
return (SetDefault) super.setUploadType(uploadType);
}

@Override
public SetDefault setUploadProtocol(java.lang.String uploadProtocol) {
return (SetDefault) super.setUploadProtocol(uploadProtocol);
}

/**
* Required. The resource name of the Location to set the default NotebookRuntimeTemplate.
* Format: `projects/{project}/locations/{location}`
*/
@com.google.api.client.util.Key
private java.lang.String parent;

/** Required. The resource name of the Location to set the default NotebookRuntimeTemplate. Format:
`projects/{project}/locations/{location}`
*/
public java.lang.String getParent() {
return parent;
}

/**
* Required. The resource name of the Location to set the default NotebookRuntimeTemplate.
* Format: `projects/{project}/locations/{location}`
*/
public SetDefault setParent(java.lang.String parent) {
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
"Parameter parent must conform to the pattern " +
"^projects/[^/]+/locations/[^/]+$");
}
this.parent = parent;
return this;
}

@Override
public SetDefault set(String parameterName, Object value) {
return (SetDefault) super.set(parameterName, value);
}
}
/**
* Sets the access control policy on the specified resource. Replaces any existing policy. Can
* return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
Expand Down Expand Up @@ -122799,32 +122916,6 @@ public List setPublishersId(java.lang.String publishersId) {
return this;
}

/**
* Optional. Batch fetch: return only these files, up to 100 IDs after de-duplication.
* Mutually exclusive with both `page` and `limit`. Serialised as a repeated `ids` query
* parameter, one occurrence per ID.
*/
@com.google.api.client.util.Key
private java.util.List<java.lang.String> ids;

/** Optional. Batch fetch: return only these files, up to 100 IDs after de-duplication. Mutually
exclusive with both `page` and `limit`. Serialised as a repeated `ids` query parameter, one
occurrence per ID.
*/
public java.util.List<java.lang.String> getIds() {
return ids;
}

/**
* Optional. Batch fetch: return only these files, up to 100 IDs after de-duplication.
* Mutually exclusive with both `page` and `limit`. Serialised as a repeated `ids` query
* parameter, one occurrence per ID.
*/
public List setIds(java.util.List<java.lang.String> ids) {
this.ids = ids;
return this;
}

/**
* Optional. The number of files to return per page. Defaults to 20 if unset, maximum
* 1000. Mutually exclusive with `ids`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ public final class GenaiVertexV1Function extends com.google.api.client.json.Gene
private java.lang.String name;

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

/**
* The JSON Schema for the function's parameters.
* The JSON Schema for the function's parameters. Supports a subset of JSON Schema. `minLength`,
* `maxLength`, `minProperties`, `maxProperties`, `uniqueItems`, `contains`, `minContains`, and
* `maxContains` are ignored and not enforced.
* @return value or {@code null} for none
*/
public GenaiVertexV1Value getParameters() {
return parameters;
}

/**
* The JSON Schema for the function's parameters.
* The JSON Schema for the function's parameters. Supports a subset of JSON Schema. `minLength`,
* `maxLength`, `minProperties`, `maxProperties`, `uniqueItems`, `contains`, `minContains`, and
* `maxContains` are ignored and not enforced.
* @param parameters parameters or {@code null} for none
*/
public GenaiVertexV1Function setParameters(GenaiVertexV1Value parameters) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,13 @@ public final class GenaiVertexV1InteractionUsage extends com.google.api.client.j
@com.google.api.client.util.Key
private java.util.List<GenaiVertexV1InteractionUsageGroundingToolCount> groundingToolCount;

/**
* Number of input tokens used in the first turn of this interaction.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Integer initialInputTokens;

/**
* A breakdown of input token usage by modality.
* The value may be {@code null}.
Expand Down Expand Up @@ -140,6 +147,23 @@ public GenaiVertexV1InteractionUsage setGroundingToolCount(java.util.List<GenaiV
return this;
}

/**
* Number of input tokens used in the first turn of this interaction.
* @return value or {@code null} for none
*/
public java.lang.Integer getInitialInputTokens() {
return initialInputTokens;
}

/**
* Number of input tokens used in the first turn of this interaction.
* @param initialInputTokens initialInputTokens or {@code null} for none
*/
public GenaiVertexV1InteractionUsage setInitialInputTokens(java.lang.Integer initialInputTokens) {
this.initialInputTokens = initialInputTokens;
return this;
}

/**
* A breakdown of input token usage by modality.
* @return value or {@code null} for none
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,11 @@ public final class GenaiVertexV1TextResponseFormat extends com.google.api.client

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

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

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