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-rev20260808-2.0.0</version>
<version>v1-rev20260815-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-aiplatform:v1-rev20260808-2.0.0'
implementation 'com.google.apis:google-api-services-aiplatform:v1-rev20260815-2.0.0'
}
```

Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,11 @@
public final class GoogleCloudAiplatformV1Agent extends com.google.api.client.json.GenericJson {

/**
* Required. The base agent for the agent. Supported values: * `antigravity-preview-05-2026`
* Required. Immutable. The base agent for the agent. Supported values: * `antigravity-
* preview-05-2026` Immutable: `UpdateAgent` rejects a change, including clearing it. The kind of
* agent this is gets derived from this field when the agent is created and is recorded then;
* nothing recomputes it afterwards, so a later change would leave the agent described as one kind
* and behaving as another. Create a new agent instead.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key("base_agent")
Expand Down Expand Up @@ -112,15 +116,23 @@ public final class GoogleCloudAiplatformV1Agent extends com.google.api.client.js
private String updated;

/**
* Required. The base agent for the agent. Supported values: * `antigravity-preview-05-2026`
* Required. Immutable. The base agent for the agent. Supported values: * `antigravity-
* preview-05-2026` Immutable: `UpdateAgent` rejects a change, including clearing it. The kind of
* agent this is gets derived from this field when the agent is created and is recorded then;
* nothing recomputes it afterwards, so a later change would leave the agent described as one kind
* and behaving as another. Create a new agent instead.
* @return value or {@code null} for none
*/
public java.lang.String getBaseAgent() {
return baseAgent;
}

/**
* Required. The base agent for the agent. Supported values: * `antigravity-preview-05-2026`
* Required. Immutable. The base agent for the agent. Supported values: * `antigravity-
* preview-05-2026` Immutable: `UpdateAgent` rejects a change, including clearing it. The kind of
* agent this is gets derived from this field when the agent is created and is recorded then;
* nothing recomputes it afterwards, so a later change would leave the agent described as one kind
* and behaving as another. Create a new agent instead.
* @param baseAgent baseAgent or {@code null} for none
*/
public GoogleCloudAiplatformV1Agent setBaseAgent(java.lang.String baseAgent) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,17 @@ public final class GoogleCloudAiplatformV1AudioTranscriptionConfig extends com.g
@com.google.api.client.util.Key
private GoogleCloudAiplatformV1AudioTranscriptionConfigLanguageHints languageHints;

/**
* Optional. Configures transcription mode. Supported values: `VERBATIM`, `SMART`. If unspecified,
* defaults to `VERBATIM` transcription. In `SMART` mode, the model performs disfluency removal
* (eliminating filler words, repetitions, and false starts), light grammatical cleanup, automatic
* formatting (paragraphs, bullet points, numbered lists), and minor user edits (inline self-
* corrections). Timestamps and diarization are incompatible with mode `SMART`.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String mode;

/**
* Optional. Configures word-level timestamp generation.
* The value may be {@code null}.
Expand Down Expand Up @@ -195,6 +206,31 @@ public GoogleCloudAiplatformV1AudioTranscriptionConfig setLanguageHints(GoogleCl
return this;
}

/**
* Optional. Configures transcription mode. Supported values: `VERBATIM`, `SMART`. If unspecified,
* defaults to `VERBATIM` transcription. In `SMART` mode, the model performs disfluency removal
* (eliminating filler words, repetitions, and false starts), light grammatical cleanup, automatic
* formatting (paragraphs, bullet points, numbered lists), and minor user edits (inline self-
* corrections). Timestamps and diarization are incompatible with mode `SMART`.
* @return value or {@code null} for none
*/
public java.lang.String getMode() {
return mode;
}

/**
* Optional. Configures transcription mode. Supported values: `VERBATIM`, `SMART`. If unspecified,
* defaults to `VERBATIM` transcription. In `SMART` mode, the model performs disfluency removal
* (eliminating filler words, repetitions, and false starts), light grammatical cleanup, automatic
* formatting (paragraphs, bullet points, numbered lists), and minor user edits (inline self-
* corrections). Timestamps and diarization are incompatible with mode `SMART`.
* @param mode mode or {@code null} for none
*/
public GoogleCloudAiplatformV1AudioTranscriptionConfig setMode(java.lang.String mode) {
this.mode = mode;
return this;
}

/**
* Optional. Configures word-level timestamp generation.
* @return value or {@code null} for none
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,12 @@ public final class GoogleCloudAiplatformV1GatewayConfig extends com.google.api.c
private java.lang.String dnsRecord;

/**
* Optional. FQDN of the private DNS zone to create DNS record set for PSC endpoint.
* Optional. Name of the private Cloud DNS managed zone in which to create the gateway's A-record.
* This is the managed zone's own name, not its DNS name: for a zone serving `example.internal.`,
* this field takes the zone name, such as `my-private-zone`. The zone's DNS name is combined with
* a generated per-gateway label to form the record's fully qualified name, which must stay within
* the 255-octet DNS limit. If the full name is too long, gateway provisioning fails when it
* attempts to create the DNS record.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
Expand Down Expand Up @@ -138,15 +143,25 @@ public GoogleCloudAiplatformV1GatewayConfig setDnsRecord(java.lang.String dnsRec
}

/**
* Optional. FQDN of the private DNS zone to create DNS record set for PSC endpoint.
* Optional. Name of the private Cloud DNS managed zone in which to create the gateway's A-record.
* This is the managed zone's own name, not its DNS name: for a zone serving `example.internal.`,
* this field takes the zone name, such as `my-private-zone`. The zone's DNS name is combined with
* a generated per-gateway label to form the record's fully qualified name, which must stay within
* the 255-octet DNS limit. If the full name is too long, gateway provisioning fails when it
* attempts to create the DNS record.
* @return value or {@code null} for none
*/
public java.lang.String getDnsZoneName() {
return dnsZoneName;
}

/**
* Optional. FQDN of the private DNS zone to create DNS record set for PSC endpoint.
* Optional. Name of the private Cloud DNS managed zone in which to create the gateway's A-record.
* This is the managed zone's own name, not its DNS name: for a zone serving `example.internal.`,
* this field takes the zone name, such as `my-private-zone`. The zone's DNS name is combined with
* a generated per-gateway label to form the record's fully qualified name, which must stay within
* the 255-octet DNS limit. If the full name is too long, gateway provisioning fails when it
* attempts to create the DNS record.
* @param dnsZoneName dnsZoneName or {@code null} for none
*/
public GoogleCloudAiplatformV1GatewayConfig setDnsZoneName(java.lang.String dnsZoneName) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,13 @@ public final class GoogleCloudAiplatformV1OnlineEvaluatorCloudObservability exte
@com.google.api.client.util.Key
private GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilityOpenTelemetry openTelemetry;

/**
* Scope online evaluation to OTel sessions (i.e. group of traces with the same conversation ID).
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilitySessionScope sessionScope;

/**
* Scope online evaluation to single traces.
* The value may be {@code null}.
Expand Down Expand Up @@ -96,6 +103,23 @@ public GoogleCloudAiplatformV1OnlineEvaluatorCloudObservability setOpenTelemetry
return this;
}

/**
* Scope online evaluation to OTel sessions (i.e. group of traces with the same conversation ID).
* @return value or {@code null} for none
*/
public GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilitySessionScope getSessionScope() {
return sessionScope;
}

/**
* Scope online evaluation to OTel sessions (i.e. group of traces with the same conversation ID).
* @param sessionScope sessionScope or {@code null} for none
*/
public GoogleCloudAiplatformV1OnlineEvaluatorCloudObservability setSessionScope(GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilitySessionScope sessionScope) {
this.sessionScope = sessionScope;
return this;
}

/**
* Scope online evaluation to single traces.
* @return value or {@code null} for none
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
* or implied. See the License for the specific language governing permissions and limitations under
* the License.
*/
/*
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
* Modify at your own risk.
*/

package com.google.api.services.aiplatform.v1.model;

/**
* If chosen, the online evaluator will evaluate sessions matching specified `filter`. A session is
* a group of traces with a common `gen_ai.conversation.id`.
*
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Agent Platform API. For a detailed explanation see:
* <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>
* </p>
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilitySessionScope extends com.google.api.client.json.GenericJson {

/**
* Optional. A list of predicates to filter sessions. Multiple predicates are combined using AND.
* The maximum number of predicates is 10.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List<GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilitySessionScopePredicate> filter;

/**
* Session is considered ready for evaluation when there are no new traces for a specified period
* of inactivity.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilitySessionScopeInactivityTrigger inactivityTrigger;

/**
* Optional. A list of predicates to filter sessions. Multiple predicates are combined using AND.
* The maximum number of predicates is 10.
* @return value or {@code null} for none
*/
public java.util.List<GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilitySessionScopePredicate> getFilter() {
return filter;
}

/**
* Optional. A list of predicates to filter sessions. Multiple predicates are combined using AND.
* The maximum number of predicates is 10.
* @param filter filter or {@code null} for none
*/
public GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilitySessionScope setFilter(java.util.List<GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilitySessionScopePredicate> filter) {
this.filter = filter;
return this;
}

/**
* Session is considered ready for evaluation when there are no new traces for a specified period
* of inactivity.
* @return value or {@code null} for none
*/
public GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilitySessionScopeInactivityTrigger getInactivityTrigger() {
return inactivityTrigger;
}

/**
* Session is considered ready for evaluation when there are no new traces for a specified period
* of inactivity.
* @param inactivityTrigger inactivityTrigger or {@code null} for none
*/
public GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilitySessionScope setInactivityTrigger(GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilitySessionScopeInactivityTrigger inactivityTrigger) {
this.inactivityTrigger = inactivityTrigger;
return this;
}

@Override
public GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilitySessionScope set(String fieldName, Object value) {
return (GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilitySessionScope) super.set(fieldName, value);
}

@Override
public GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilitySessionScope clone() {
return (GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilitySessionScope) super.clone();
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
* or implied. See the License for the specific language governing permissions and limitations under
* the License.
*/
/*
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
* Modify at your own risk.
*/

package com.google.api.services.aiplatform.v1.model;

/**
* Configuration for inactivity based session completion.
*
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Agent Platform API. For a detailed explanation see:
* <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>
* </p>
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilitySessionScopeInactivityTrigger extends com.google.api.client.json.GenericJson {

/**
* Required. The amount of time that must pass with no new traces before a session is considered
* ready for evaluation. This is a required field if InactivityTrigger is used. The value must be
* a positive duration no greater than 7 days (604800 seconds).
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private String threshold;

/**
* Required. The amount of time that must pass with no new traces before a session is considered
* ready for evaluation. This is a required field if InactivityTrigger is used. The value must be
* a positive duration no greater than 7 days (604800 seconds).
* @return value or {@code null} for none
*/
public String getThreshold() {
return threshold;
}

/**
* Required. The amount of time that must pass with no new traces before a session is considered
* ready for evaluation. This is a required field if InactivityTrigger is used. The value must be
* a positive duration no greater than 7 days (604800 seconds).
* @param threshold threshold or {@code null} for none
*/
public GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilitySessionScopeInactivityTrigger setThreshold(String threshold) {
this.threshold = threshold;
return this;
}

@Override
public GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilitySessionScopeInactivityTrigger set(String fieldName, Object value) {
return (GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilitySessionScopeInactivityTrigger) super.set(fieldName, value);
}

@Override
public GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilitySessionScopeInactivityTrigger clone() {
return (GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilitySessionScopeInactivityTrigger) super.clone();
}

}
Loading
Loading