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-rev20261004-2.0.0</version>
<version>v1-rev20261013-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-rev20261004-2.0.0'
implementation 'com.google.apis:google-api-services-discoveryengine:v1-rev20261013-2.0.0'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,49 @@
@SuppressWarnings("javadoc")
public final class GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigNotebooklmConfig extends com.google.api.client.json.GenericJson {

/**
* Optional. Restricts this data store to the given notebooks. When empty, the data store covers
* every notebook the querying user can access, which is the existing behaviour. Each entry is a
* full notebook resource name, such as `projects/locations/notebooks`. Scoping is enforced on
* results as well as requested upstream, so a notebook outside this list cannot appear in a
* search response through this data store even if the backend returns one.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List<java.lang.String> notebooks;

/**
* Required. Search config name. Format: projects/locations/global/notebookLmSearchConfigs
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String searchConfig;

/**
* Optional. Restricts this data store to the given notebooks. When empty, the data store covers
* every notebook the querying user can access, which is the existing behaviour. Each entry is a
* full notebook resource name, such as `projects/locations/notebooks`. Scoping is enforced on
* results as well as requested upstream, so a notebook outside this list cannot appear in a
* search response through this data store even if the backend returns one.
* @return value or {@code null} for none
*/
public java.util.List<java.lang.String> getNotebooks() {
return notebooks;
}

/**
* Optional. Restricts this data store to the given notebooks. When empty, the data store covers
* every notebook the querying user can access, which is the existing behaviour. Each entry is a
* full notebook resource name, such as `projects/locations/notebooks`. Scoping is enforced on
* results as well as requested upstream, so a notebook outside this list cannot appear in a
* search response through this data store even if the backend returns one.
* @param notebooks notebooks or {@code null} for none
*/
public GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigNotebooklmConfig setNotebooks(java.util.List<java.lang.String> notebooks) {
this.notebooks = notebooks;
return this;
}

/**
* Required. Search config name. Format: projects/locations/global/notebookLmSearchConfigs
* @return value or {@code null} for none
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ public final class GoogleCloudDiscoveryengineV1Engine extends com.google.api.cli
* `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` *
* `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-
* orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents`
* * `in-app-notifications`
* * `in-app-notifications` * `code-extraction`
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
Expand Down Expand Up @@ -498,7 +498,7 @@ public GoogleCloudDiscoveryengineV1Engine setDisplayName(java.lang.String displa
* `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` *
* `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-
* orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents`
* * `in-app-notifications`
* * `in-app-notifications` * `code-extraction`
* @return value or {@code null} for none
*/
public java.util.Map<String, java.lang.String> getFeatures() {
Expand All @@ -517,7 +517,7 @@ public java.util.Map<String, java.lang.String> getFeatures() {
* `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` *
* `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-
* orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents`
* * `in-app-notifications`
* * `in-app-notifications` * `code-extraction`
* @param features features or {@code null} for none
*/
public GoogleCloudDiscoveryengineV1Engine setFeatures(java.util.Map<String, java.lang.String> features) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,31 @@ public final class GoogleCloudDiscoveryengineV1FeedbackConversationInfo extends
@com.google.api.client.util.Key
private java.lang.String session;

/**
* Optional. The `TaskServerEvent.seq_num` of the step that opened the rated agent task reply.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
private java.lang.Long stepSeqNum;

/**
* 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}
* running agent task. Format (canonical, or the short alias the Task API also accepts):
* projects/{project}/locations/{location}/agents/{agent}/tasks/{task}
* projects/{project}/locations/{location}/tasks/{task}
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String taskName;

/**
* Optional. The runtime trajectory id of the rated agent task turn, as set on
* `TaskServerEvent.trajectory_id`. Shared by all steps of the turn.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String trajectoryId;

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

/**
* Optional. The `TaskServerEvent.seq_num` of the step that opened the rated agent task reply.
* @return value or {@code null} for none
*/
public java.lang.Long getStepSeqNum() {
return stepSeqNum;
}

/**
* Optional. The `TaskServerEvent.seq_num` of the step that opened the rated agent task reply.
* @param stepSeqNum stepSeqNum or {@code null} for none
*/
public GoogleCloudDiscoveryengineV1FeedbackConversationInfo setStepSeqNum(java.lang.Long stepSeqNum) {
this.stepSeqNum = stepSeqNum;
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}
* running agent task. Format (canonical, or the short alias the Task API also accepts):
* projects/{project}/locations/{location}/agents/{agent}/tasks/{task}
* projects/{project}/locations/{location}/tasks/{task}
* @return value or {@code null} for none
*/
public java.lang.String getTaskName() {
Expand All @@ -168,14 +204,35 @@ public java.lang.String getTaskName() {

/**
* 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}
* running agent task. Format (canonical, or the short alias the Task API also accepts):
* projects/{project}/locations/{location}/agents/{agent}/tasks/{task}
* projects/{project}/locations/{location}/tasks/{task}
* @param taskName taskName or {@code null} for none
*/
public GoogleCloudDiscoveryengineV1FeedbackConversationInfo setTaskName(java.lang.String taskName) {
this.taskName = taskName;
return this;
}

/**
* Optional. The runtime trajectory id of the rated agent task turn, as set on
* `TaskServerEvent.trajectory_id`. Shared by all steps of the turn.
* @return value or {@code null} for none
*/
public java.lang.String getTrajectoryId() {
return trajectoryId;
}

/**
* Optional. The runtime trajectory id of the rated agent task turn, as set on
* `TaskServerEvent.trajectory_id`. Shared by all steps of the turn.
* @param trajectoryId trajectoryId or {@code null} for none
*/
public GoogleCloudDiscoveryengineV1FeedbackConversationInfo setTrajectoryId(java.lang.String trajectoryId) {
this.trajectoryId = trajectoryId;
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 @@ -88,7 +88,11 @@ public final class GoogleCloudDiscoveryengineV1SearchRequest extends com.google.
/**
* Specifications that define the specific DataStores to be searched, along with configurations
* for those data stores. This is only considered for Engines with multiple data stores. For
* engines with a single data store, the specs directly under SearchRequest should be used.
* engines with a single data store, the specs directly under SearchRequest should be used. On an
* engine with multiple data stores, this field is optional. If it's empty, all of the engine's
* data stores are searched (blended search). Unless it specifies exactly one data store, some
* request fields, such as `order_by` and `query_expansion_spec`, aren't supported and return an
* `INVALID_ARGUMENT` error.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
Expand Down Expand Up @@ -576,7 +580,11 @@ public GoogleCloudDiscoveryengineV1SearchRequest setCustomRankingParams(GoogleCl
/**
* Specifications that define the specific DataStores to be searched, along with configurations
* for those data stores. This is only considered for Engines with multiple data stores. For
* engines with a single data store, the specs directly under SearchRequest should be used.
* engines with a single data store, the specs directly under SearchRequest should be used. On an
* engine with multiple data stores, this field is optional. If it's empty, all of the engine's
* data stores are searched (blended search). Unless it specifies exactly one data store, some
* request fields, such as `order_by` and `query_expansion_spec`, aren't supported and return an
* `INVALID_ARGUMENT` error.
* @return value or {@code null} for none
*/
public java.util.List<GoogleCloudDiscoveryengineV1SearchRequestDataStoreSpec> getDataStoreSpecs() {
Expand All @@ -586,7 +594,11 @@ public java.util.List<GoogleCloudDiscoveryengineV1SearchRequestDataStoreSpec> ge
/**
* Specifications that define the specific DataStores to be searched, along with configurations
* for those data stores. This is only considered for Engines with multiple data stores. For
* engines with a single data store, the specs directly under SearchRequest should be used.
* engines with a single data store, the specs directly under SearchRequest should be used. On an
* engine with multiple data stores, this field is optional. If it's empty, all of the engine's
* data stores are searched (blended search). Unless it specifies exactly one data store, some
* request fields, such as `order_by` and `query_expansion_spec`, aren't supported and return an
* `INVALID_ARGUMENT` error.
* @param dataStoreSpecs dataStoreSpecs or {@code null} for none
*/
public GoogleCloudDiscoveryengineV1SearchRequest setDataStoreSpecs(java.util.List<GoogleCloudDiscoveryengineV1SearchRequestDataStoreSpec> dataStoreSpecs) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public final class GoogleCloudDiscoveryengineV1WidgetConfigUiSettings extends co
* `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` *
* `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-
* orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents`
* * `in-app-notifications`
* * `in-app-notifications` * `code-extraction`
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
Expand Down Expand Up @@ -394,7 +394,7 @@ public GoogleCloudDiscoveryengineV1WidgetConfigUiSettings setEnableVisualContent
* `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` *
* `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-
* orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents`
* * `in-app-notifications`
* * `in-app-notifications` * `code-extraction`
* @return value or {@code null} for none
*/
public java.util.Map<String, java.lang.String> getFeatures() {
Expand All @@ -412,7 +412,7 @@ public java.util.Map<String, java.lang.String> getFeatures() {
* `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` *
* `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-
* orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents`
* * `in-app-notifications`
* * `in-app-notifications` * `code-extraction`
* @param features features or {@code null} for none
*/
public GoogleCloudDiscoveryengineV1WidgetConfigUiSettings setFeatures(java.util.Map<String, java.lang.String> features) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,49 @@
@SuppressWarnings("javadoc")
public final class GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigNotebooklmConfig extends com.google.api.client.json.GenericJson {

/**
* Optional. Restricts this data store to the given notebooks. When empty, the data store covers
* every notebook the querying user can access, which is the existing behaviour. Each entry is a
* full notebook resource name, such as `projects/locations/notebooks`. Scoping is enforced on
* results as well as requested upstream, so a notebook outside this list cannot appear in a
* search response through this data store even if the backend returns one.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List<java.lang.String> notebooks;

/**
* Required. Search config name. Format: projects/locations/global/notebookLmSearchConfigs
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String searchConfig;

/**
* Optional. Restricts this data store to the given notebooks. When empty, the data store covers
* every notebook the querying user can access, which is the existing behaviour. Each entry is a
* full notebook resource name, such as `projects/locations/notebooks`. Scoping is enforced on
* results as well as requested upstream, so a notebook outside this list cannot appear in a
* search response through this data store even if the backend returns one.
* @return value or {@code null} for none
*/
public java.util.List<java.lang.String> getNotebooks() {
return notebooks;
}

/**
* Optional. Restricts this data store to the given notebooks. When empty, the data store covers
* every notebook the querying user can access, which is the existing behaviour. Each entry is a
* full notebook resource name, such as `projects/locations/notebooks`. Scoping is enforced on
* results as well as requested upstream, so a notebook outside this list cannot appear in a
* search response through this data store even if the backend returns one.
* @param notebooks notebooks or {@code null} for none
*/
public GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigNotebooklmConfig setNotebooks(java.util.List<java.lang.String> notebooks) {
this.notebooks = notebooks;
return this;
}

/**
* Required. Search config name. Format: projects/locations/global/notebookLmSearchConfigs
* @return value or {@code null} for none
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ public final class GoogleCloudDiscoveryengineV1alphaEngine extends com.google.ap
* `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` *
* `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-
* orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents`
* * `in-app-notifications`
* * `in-app-notifications` * `code-extraction`
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
Expand Down Expand Up @@ -513,7 +513,7 @@ public GoogleCloudDiscoveryengineV1alphaEngine setDisplayName(java.lang.String d
* `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` *
* `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-
* orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents`
* * `in-app-notifications`
* * `in-app-notifications` * `code-extraction`
* @return value or {@code null} for none
*/
public java.util.Map<String, java.lang.String> getFeatures() {
Expand All @@ -532,7 +532,7 @@ public java.util.Map<String, java.lang.String> getFeatures() {
* `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` *
* `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-
* orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents`
* * `in-app-notifications`
* * `in-app-notifications` * `code-extraction`
* @param features features or {@code null} for none
*/
public GoogleCloudDiscoveryengineV1alphaEngine setFeatures(java.util.Map<String, java.lang.String> features) {
Expand Down
Loading
Loading