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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,14 @@ public final class GoogleCloudDiscoveryengineV1FeedbackConversationInfo extends
@com.google.api.client.util.Key
private java.lang.String session;

/**
* Optional. The full resource name of the Sobi task if the conversation was handled by a long-
* running agent task. Format: projects/{project}/locations/{location}/tasks/{task_id}
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String taskName;

/**
* Optional. The token which could be used to fetch the answer log.
* @return value or {@code null} for none
Expand Down Expand Up @@ -149,6 +157,25 @@ public GoogleCloudDiscoveryengineV1FeedbackConversationInfo setSession(java.lang
return this;
}

/**
* Optional. The full resource name of the Sobi task if the conversation was handled by a long-
* running agent task. Format: projects/{project}/locations/{location}/tasks/{task_id}
* @return value or {@code null} for none
*/
public java.lang.String getTaskName() {
return taskName;
}

/**
* Optional. The full resource name of the Sobi task if the conversation was handled by a long-
* running agent task. Format: projects/{project}/locations/{location}/tasks/{task_id}
* @param taskName taskName or {@code null} for none
*/
public GoogleCloudDiscoveryengineV1FeedbackConversationInfo setTaskName(java.lang.String taskName) {
this.taskName = taskName;
return this;
}

@Override
public GoogleCloudDiscoveryengineV1FeedbackConversationInfo set(String fieldName, Object value) {
return (GoogleCloudDiscoveryengineV1FeedbackConversationInfo) super.set(fieldName, value);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,18 @@
@SuppressWarnings("javadoc")
public final class GoogleCloudDiscoveryengineV1WidgetConfigUiSettingsModelConfigInfo extends com.google.api.client.json.GenericJson {

/**
* Output only. The `model_id` a client must send when the end-user picks the "Auto" entry (the
* empty `model_id`). Populated only for surfaces known to have no true "Auto" mode, where leaving
* the model unset would fall back to a platform default rather than a backend-chosen model. Empty
* on every other surface, where "Auto" is resolved server-side, and when none of the surface's
* ranked models is available. When set, it is always one of the non-empty `model_id`s present in
* `resolved_models`.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String autoModelId;

/**
* Output only. The `model_id` of the model that should be selected by default in the model
* selector when the end-user has not made an explicit choice. The value is always one of the
Expand All @@ -51,6 +63,33 @@ public final class GoogleCloudDiscoveryengineV1WidgetConfigUiSettingsModelConfig
@com.google.api.client.util.Key
private java.util.List<GoogleCloudDiscoveryengineV1WidgetConfigUiSettingsModelConfigInfoResolvedModel> resolvedModels;

/**
* Output only. The `model_id` a client must send when the end-user picks the "Auto" entry (the
* empty `model_id`). Populated only for surfaces known to have no true "Auto" mode, where leaving
* the model unset would fall back to a platform default rather than a backend-chosen model. Empty
* on every other surface, where "Auto" is resolved server-side, and when none of the surface's
* ranked models is available. When set, it is always one of the non-empty `model_id`s present in
* `resolved_models`.
* @return value or {@code null} for none
*/
public java.lang.String getAutoModelId() {
return autoModelId;
}

/**
* Output only. The `model_id` a client must send when the end-user picks the "Auto" entry (the
* empty `model_id`). Populated only for surfaces known to have no true "Auto" mode, where leaving
* the model unset would fall back to a platform default rather than a backend-chosen model. Empty
* on every other surface, where "Auto" is resolved server-side, and when none of the surface's
* ranked models is available. When set, it is always one of the non-empty `model_id`s present in
* `resolved_models`.
* @param autoModelId autoModelId or {@code null} for none
*/
public GoogleCloudDiscoveryengineV1WidgetConfigUiSettingsModelConfigInfo setAutoModelId(java.lang.String autoModelId) {
this.autoModelId = autoModelId;
return this;
}

/**
* Output only. The `model_id` of the model that should be selected by default in the model
* selector when the end-user has not made an explicit choice. The value is always one of the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

<groupId>com.google.apis</groupId>
<artifactId>google-api-services-discoveryengine</artifactId>
<version>v1-rev20260924-2.0.0</version>
<name>Discovery Engine API v1-rev20260924-2.0.0</name>
<version>v1-rev20261004-2.0.0</version>
<name>Discovery Engine API v1-rev20261004-2.0.0</name>
<packaging>jar</packaging>

<inceptionYear>2011</inceptionYear>
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-discoveryengine/v1/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-discoveryengine</artifactId>
<version>v1-rev20260924-2.0.0</version>
<version>v1-rev20261004-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-discoveryengine:v1-rev20260924-2.0.0'
implementation 'com.google.apis:google-api-services-discoveryengine:v1-rev20261004-2.0.0'
}
```

Expand Down
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-discoveryengine</artifactId>
<version>v1alpha-rev20260924-2.0.0</version>
<version>v1alpha-rev20261004-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-discoveryengine:v1alpha-rev20260924-2.0.0'
implementation 'com.google.apis:google-api-services-discoveryengine:v1alpha-rev20261004-2.0.0'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31337,6 +31337,189 @@ public Get set(String parameterName, Object value) {
}

}
/**
* An accessor for creating requests from the ToolCalls collection.
*
* <p>The typical use is:</p>
* <pre>
* {@code DiscoveryEngine discoveryengine = new DiscoveryEngine(...);}
* {@code DiscoveryEngine.ToolCalls.List request = discoveryengine.toolCalls().list(parameters ...)}
* </pre>
*
* @return the resource collection
*/
public ToolCalls toolCalls() {
return new ToolCalls();
}

/**
* The "toolCalls" collection of methods.
*/
public class ToolCalls {

/**
* An accessor for creating requests from the Operations collection.
*
* <p>The typical use is:</p>
* <pre>
* {@code DiscoveryEngine discoveryengine = new DiscoveryEngine(...);}
* {@code DiscoveryEngine.Operations.List request = discoveryengine.operations().list(parameters ...)}
* </pre>
*
* @return the resource collection
*/
public Operations operations() {
return new Operations();
}

/**
* The "operations" collection of methods.
*/
public class Operations {

/**
* Gets the latest state of a long-running operation. Clients can use this method to poll the
* operation result at intervals as recommended by the API service.
*
* Create a request for the method "operations.get".
*
* This request holds the parameters needed by the discoveryengine server. After setting any
* optional parameters, call the {@link Get#execute()} method to invoke the remote operation.
*
* @param name The name of the operation resource.
* @return the request
*/
public Get get(java.lang.String name) throws java.io.IOException {
Get result = new Get(name);
initialize(result);
return result;
}

public class Get extends DiscoveryEngineRequest<com.google.api.services.discoveryengine.v1alpha.model.GoogleLongrunningOperation> {

private static final String REST_PATH = "v1alpha/{+name}";

private final java.util.regex.Pattern NAME_PATTERN =
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/assistants/[^/]+/agents/[^/]+/toolCalls/[^/]+/operations/[^/]+$");

/**
* Gets the latest state of a long-running operation. Clients can use this method to poll the
* operation result at intervals as recommended by the API service.
*
* Create a request for the method "operations.get".
*
* This request holds the parameters needed by the the discoveryengine server. After setting any
* optional parameters, call the {@link Get#execute()} method to invoke the remote operation. <p>
* {@link Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
* must be called to initialize this instance immediately after invoking the constructor. </p>
*
* @param name The name of the operation resource.
* @since 1.13
*/
protected Get(java.lang.String name) {
super(DiscoveryEngine.this, "GET", REST_PATH, null, com.google.api.services.discoveryengine.v1alpha.model.GoogleLongrunningOperation.class);
this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
"Parameter name must conform to the pattern " +
"^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/assistants/[^/]+/agents/[^/]+/toolCalls/[^/]+/operations/[^/]+$");
}
}

@Override
public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
return super.executeUsingHead();
}

@Override
public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
return super.buildHttpRequestUsingHead();
}

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

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

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

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

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

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

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

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

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

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

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

/** The name of the operation resource. */
@com.google.api.client.util.Key
private java.lang.String name;

/** The name of the operation resource.
*/
public java.lang.String getName() {
return name;
}

/** The name of the operation resource. */
public Get setName(java.lang.String name) {
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
"Parameter name must conform to the pattern " +
"^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/assistants/[^/]+/agents/[^/]+/toolCalls/[^/]+/operations/[^/]+$");
}
this.name = name;
return this;
}

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

}
}
}
/**
* An accessor for creating requests from the CannedQueries collection.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,14 @@ public final class GoogleCloudDiscoveryengineV1alphaFeedbackConversationInfo ext
@com.google.api.client.util.Key
private java.lang.String session;

/**
* Optional. The full resource name of the Sobi task if the conversation was handled by a long-
* running agent task. Format: projects/{project}/locations/{location}/tasks/{task_id}
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String taskName;

/**
* Optional. The token which could be used to fetch the answer log.
* @return value or {@code null} for none
Expand Down Expand Up @@ -149,6 +157,25 @@ public GoogleCloudDiscoveryengineV1alphaFeedbackConversationInfo setSession(java
return this;
}

/**
* Optional. The full resource name of the Sobi task if the conversation was handled by a long-
* running agent task. Format: projects/{project}/locations/{location}/tasks/{task_id}
* @return value or {@code null} for none
*/
public java.lang.String getTaskName() {
return taskName;
}

/**
* Optional. The full resource name of the Sobi task if the conversation was handled by a long-
* running agent task. Format: projects/{project}/locations/{location}/tasks/{task_id}
* @param taskName taskName or {@code null} for none
*/
public GoogleCloudDiscoveryengineV1alphaFeedbackConversationInfo setTaskName(java.lang.String taskName) {
this.taskName = taskName;
return this;
}

@Override
public GoogleCloudDiscoveryengineV1alphaFeedbackConversationInfo set(String fieldName, Object value) {
return (GoogleCloudDiscoveryengineV1alphaFeedbackConversationInfo) super.set(fieldName, value);
Expand Down
Loading
Loading