diff --git a/clients/google-api-services-discoveryengine/v1/2.0.0/README.md b/clients/google-api-services-discoveryengine/v1/2.0.0/README.md index 5b82ddef851..3714bca431d 100644 --- a/clients/google-api-services-discoveryengine/v1/2.0.0/README.md +++ b/clients/google-api-services-discoveryengine/v1/2.0.0/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-discoveryengine - v1-rev20261004-2.0.0 + v1-rev20261013-2.0.0 @@ -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' } ``` diff --git a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigNotebooklmConfig.java b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigNotebooklmConfig.java index 55890a61e54..fbf25844b48 100644 --- a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigNotebooklmConfig.java +++ b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigNotebooklmConfig.java @@ -29,6 +29,17 @@ @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 notebooks; + /** * Required. Search config name. Format: projects/locations/global/notebookLmSearchConfigs * The value may be {@code null}. @@ -36,6 +47,31 @@ public final class GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigNot @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 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 notebooks) { + this.notebooks = notebooks; + return this; + } + /** * Required. Search config name. Format: projects/locations/global/notebookLmSearchConfigs * @return value or {@code null} for none diff --git a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1Engine.java b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1Engine.java index 18eb244b6f5..9637470e095 100644 --- a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1Engine.java +++ b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1Engine.java @@ -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 @@ -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 getFeatures() { @@ -517,7 +517,7 @@ public java.util.Map 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 features) { diff --git a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1FeedbackConversationInfo.java b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1FeedbackConversationInfo.java index 56e8fff92cb..dbd3af42790 100644 --- a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1FeedbackConversationInfo.java +++ b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1FeedbackConversationInfo.java @@ -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 @@ -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() { @@ -168,7 +204,9 @@ 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) { @@ -176,6 +214,25 @@ public GoogleCloudDiscoveryengineV1FeedbackConversationInfo setTaskName(java.lan 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); diff --git a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1SearchRequest.java b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1SearchRequest.java index bbfcf0ee2a3..89f0493af02 100644 --- a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1SearchRequest.java +++ b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1SearchRequest.java @@ -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 @@ -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 getDataStoreSpecs() { @@ -586,7 +594,11 @@ public java.util.List 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 dataStoreSpecs) { diff --git a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1WidgetConfigUiSettings.java b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1WidgetConfigUiSettings.java index ec507fae113..85203e98e55 100644 --- a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1WidgetConfigUiSettings.java +++ b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1WidgetConfigUiSettings.java @@ -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 @@ -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 getFeatures() { @@ -412,7 +412,7 @@ public java.util.Map 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 features) { diff --git a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigNotebooklmConfig.java b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigNotebooklmConfig.java index 1496ff79cf6..9cca973df29 100644 --- a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigNotebooklmConfig.java +++ b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigNotebooklmConfig.java @@ -29,6 +29,17 @@ @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 notebooks; + /** * Required. Search config name. Format: projects/locations/global/notebookLmSearchConfigs * The value may be {@code null}. @@ -36,6 +47,31 @@ public final class GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConf @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 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 notebooks) { + this.notebooks = notebooks; + return this; + } + /** * Required. Search config name. Format: projects/locations/global/notebookLmSearchConfigs * @return value or {@code null} for none diff --git a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1alphaEngine.java b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1alphaEngine.java index 646339b93c6..723c901b2ed 100644 --- a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1alphaEngine.java +++ b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1alphaEngine.java @@ -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 @@ -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 getFeatures() { @@ -532,7 +532,7 @@ public java.util.Map 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 features) { diff --git a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1alphaFieldConfig.java b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1alphaFieldConfig.java index f728c040b7f..dfcf2906ec2 100644 --- a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1alphaFieldConfig.java +++ b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1alphaFieldConfig.java @@ -113,6 +113,30 @@ public final class GoogleCloudDiscoveryengineV1alphaFieldConfig extends com.goog @com.google.api.client.util.Key private java.lang.String metatagName; + /** + * Optional. If partial_matchable_option is PARTIAL_MATCHABLE_OPTION_ENABLED, field values are + * partial matchable. If partial_matchable_option is unset, the server behavior defaults to + * PARTIAL_MATCHABLE_OPTION_DISABLED for fields that support setting partial matchable options. + * For those fields that do not support setting partial matchable options, the server will skip + * partial matchable option setting, and setting partial_matchable_option for those fields will + * throw `INVALID_ARGUMENT` error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String partialMatchableOption; + + /** + * Optional. If prefix_matchable_option is PREFIX_MATCHABLE_OPTION_ENABLED, field values are + * prefix matchable. If prefix_matchable_option is unset, the server behavior defaults to + * PREFIX_MATCHABLE_OPTION_DISABLED for fields that support setting prefix matchable options. For + * those fields that do not support setting prefix matchable options, the server will skip prefix + * matchable option setting, and setting prefix_matchable_option for those fields will throw + * `INVALID_ARGUMENT` error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String prefixMatchableOption; + /** * If recs_filterable_option is FILTERABLE_ENABLED, field values are filterable by filter * expression in RecommendationService.Recommend. If FILTERABLE_ENABLED but the field type is @@ -364,6 +388,60 @@ public GoogleCloudDiscoveryengineV1alphaFieldConfig setMetatagName(java.lang.Str return this; } + /** + * Optional. If partial_matchable_option is PARTIAL_MATCHABLE_OPTION_ENABLED, field values are + * partial matchable. If partial_matchable_option is unset, the server behavior defaults to + * PARTIAL_MATCHABLE_OPTION_DISABLED for fields that support setting partial matchable options. + * For those fields that do not support setting partial matchable options, the server will skip + * partial matchable option setting, and setting partial_matchable_option for those fields will + * throw `INVALID_ARGUMENT` error. + * @return value or {@code null} for none + */ + public java.lang.String getPartialMatchableOption() { + return partialMatchableOption; + } + + /** + * Optional. If partial_matchable_option is PARTIAL_MATCHABLE_OPTION_ENABLED, field values are + * partial matchable. If partial_matchable_option is unset, the server behavior defaults to + * PARTIAL_MATCHABLE_OPTION_DISABLED for fields that support setting partial matchable options. + * For those fields that do not support setting partial matchable options, the server will skip + * partial matchable option setting, and setting partial_matchable_option for those fields will + * throw `INVALID_ARGUMENT` error. + * @param partialMatchableOption partialMatchableOption or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1alphaFieldConfig setPartialMatchableOption(java.lang.String partialMatchableOption) { + this.partialMatchableOption = partialMatchableOption; + return this; + } + + /** + * Optional. If prefix_matchable_option is PREFIX_MATCHABLE_OPTION_ENABLED, field values are + * prefix matchable. If prefix_matchable_option is unset, the server behavior defaults to + * PREFIX_MATCHABLE_OPTION_DISABLED for fields that support setting prefix matchable options. For + * those fields that do not support setting prefix matchable options, the server will skip prefix + * matchable option setting, and setting prefix_matchable_option for those fields will throw + * `INVALID_ARGUMENT` error. + * @return value or {@code null} for none + */ + public java.lang.String getPrefixMatchableOption() { + return prefixMatchableOption; + } + + /** + * Optional. If prefix_matchable_option is PREFIX_MATCHABLE_OPTION_ENABLED, field values are + * prefix matchable. If prefix_matchable_option is unset, the server behavior defaults to + * PREFIX_MATCHABLE_OPTION_DISABLED for fields that support setting prefix matchable options. For + * those fields that do not support setting prefix matchable options, the server will skip prefix + * matchable option setting, and setting prefix_matchable_option for those fields will throw + * `INVALID_ARGUMENT` error. + * @param prefixMatchableOption prefixMatchableOption or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1alphaFieldConfig setPrefixMatchableOption(java.lang.String prefixMatchableOption) { + this.prefixMatchableOption = prefixMatchableOption; + return this; + } + /** * If recs_filterable_option is FILTERABLE_ENABLED, field values are filterable by filter * expression in RecommendationService.Recommend. If FILTERABLE_ENABLED but the field type is diff --git a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1alphaSearchRequest.java b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1alphaSearchRequest.java index 2569e4e10c2..a17104e5762 100644 --- a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1alphaSearchRequest.java +++ b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1alphaSearchRequest.java @@ -96,7 +96,11 @@ public final class GoogleCloudDiscoveryengineV1alphaSearchRequest extends com.go /** * 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 @@ -652,7 +656,11 @@ public GoogleCloudDiscoveryengineV1alphaSearchRequest setCustomRankingParams(Goo /** * 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 getDataStoreSpecs() { @@ -662,7 +670,11 @@ public java.util.List dataStoreSpecs) { diff --git a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigNotebooklmConfig.java b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigNotebooklmConfig.java index 580c298c9f5..62faa139e0e 100644 --- a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigNotebooklmConfig.java +++ b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigNotebooklmConfig.java @@ -29,6 +29,17 @@ @SuppressWarnings("javadoc") public final class GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigNotebooklmConfig 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 notebooks; + /** * Required. Search config name. Format: projects/locations/global/notebookLmSearchConfigs * The value may be {@code null}. @@ -36,6 +47,31 @@ public final class GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfi @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 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 GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigNotebooklmConfig setNotebooks(java.util.List notebooks) { + this.notebooks = notebooks; + return this; + } + /** * Required. Search config name. Format: projects/locations/global/notebookLmSearchConfigs * @return value or {@code null} for none diff --git a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1betaEngine.java b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1betaEngine.java index 1316183ebdd..cd70bd00999 100644 --- a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1betaEngine.java +++ b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1betaEngine.java @@ -142,7 +142,7 @@ public final class GoogleCloudDiscoveryengineV1betaEngine extends com.google.api * `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 @@ -498,7 +498,7 @@ public GoogleCloudDiscoveryengineV1betaEngine setDisplayName(java.lang.String di * `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 getFeatures() { @@ -517,7 +517,7 @@ public java.util.Map 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 GoogleCloudDiscoveryengineV1betaEngine setFeatures(java.util.Map features) { diff --git a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1betaSearchRequest.java b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1betaSearchRequest.java index b38ead0f9f5..58a356d527d 100644 --- a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1betaSearchRequest.java +++ b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1betaSearchRequest.java @@ -88,7 +88,11 @@ public final class GoogleCloudDiscoveryengineV1betaSearchRequest extends com.goo /** * 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 @@ -616,7 +620,11 @@ public GoogleCloudDiscoveryengineV1betaSearchRequest setCustomRankingParams(Goog /** * 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 getDataStoreSpecs() { @@ -626,7 +634,11 @@ public java.util.List dataStoreSpecs) { diff --git a/clients/google-api-services-discoveryengine/v1/2.0.0/pom.xml b/clients/google-api-services-discoveryengine/v1/2.0.0/pom.xml index 36ad191c9bd..08b58cded99 100644 --- a/clients/google-api-services-discoveryengine/v1/2.0.0/pom.xml +++ b/clients/google-api-services-discoveryengine/v1/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-discoveryengine - v1-rev20261004-2.0.0 - Discovery Engine API v1-rev20261004-2.0.0 + v1-rev20261013-2.0.0 + Discovery Engine API v1-rev20261013-2.0.0 jar 2011 diff --git a/clients/google-api-services-discoveryengine/v1/README.md b/clients/google-api-services-discoveryengine/v1/README.md index 5b82ddef851..3714bca431d 100644 --- a/clients/google-api-services-discoveryengine/v1/README.md +++ b/clients/google-api-services-discoveryengine/v1/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-discoveryengine - v1-rev20261004-2.0.0 + v1-rev20261013-2.0.0 @@ -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' } ``` diff --git a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/README.md b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/README.md index 008878af1c7..76ca6944726 100644 --- a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/README.md +++ b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-discoveryengine - v1alpha-rev20261004-2.0.0 + v1alpha-rev20261013-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-discoveryengine:v1alpha-rev20261004-2.0.0' + implementation 'com.google.apis:google-api-services-discoveryengine:v1alpha-rev20261013-2.0.0' } ``` diff --git a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/DiscoveryEngine.java b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/DiscoveryEngine.java index 82775333a4d..85399394627 100644 --- a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/DiscoveryEngine.java +++ b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/DiscoveryEngine.java @@ -31337,189 +31337,6 @@ public Get set(String parameterName, Object value) { } } - /** - * An accessor for creating requests from the ToolCalls collection. - * - *

The typical use is:

- *
-               *   {@code DiscoveryEngine discoveryengine = new DiscoveryEngine(...);}
-               *   {@code DiscoveryEngine.ToolCalls.List request = discoveryengine.toolCalls().list(parameters ...)}
-               * 
- * - * @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. - * - *

The typical use is:

- *
-                 *   {@code DiscoveryEngine discoveryengine = new DiscoveryEngine(...);}
-                 *   {@code DiscoveryEngine.Operations.List request = discoveryengine.operations().list(parameters ...)}
-                 * 
- * - * @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 { - - 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.

- * {@link Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} - * must be called to initialize this instance immediately after invoking the constructor.

- * - * @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. @@ -32402,210 +32219,6 @@ public Patch set(String parameterName, Object value) { } } - /** - * An accessor for creating requests from the CollaborativeProjects collection. - * - *

The typical use is:

- *
-           *   {@code DiscoveryEngine discoveryengine = new DiscoveryEngine(...);}
-           *   {@code DiscoveryEngine.CollaborativeProjects.List request = discoveryengine.collaborativeProjects().list(parameters ...)}
-           * 
- * - * @return the resource collection - */ - public CollaborativeProjects collaborativeProjects() { - return new CollaborativeProjects(); - } - - /** - * The "collaborativeProjects" collection of methods. - */ - public class CollaborativeProjects { - - /** - * An accessor for creating requests from the KnowledgeSpaces collection. - * - *

The typical use is:

- *
-             *   {@code DiscoveryEngine discoveryengine = new DiscoveryEngine(...);}
-             *   {@code DiscoveryEngine.KnowledgeSpaces.List request = discoveryengine.knowledgeSpaces().list(parameters ...)}
-             * 
- * - * @return the resource collection - */ - public KnowledgeSpaces knowledgeSpaces() { - return new KnowledgeSpaces(); - } - - /** - * The "knowledgeSpaces" collection of methods. - */ - public class KnowledgeSpaces { - - /** - * An accessor for creating requests from the Operations collection. - * - *

The typical use is:

- *
-               *   {@code DiscoveryEngine discoveryengine = new DiscoveryEngine(...);}
-               *   {@code DiscoveryEngine.Operations.List request = discoveryengine.operations().list(parameters ...)}
-               * 
- * - * @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 { - - 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/[^/]+/collaborativeProjects/[^/]+/knowledgeSpaces/[^/]+/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.

- * {@link Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} - * must be called to initialize this instance immediately after invoking the constructor.

- * - * @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/[^/]+/collaborativeProjects/[^/]+/knowledgeSpaces/[^/]+/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/[^/]+/collaborativeProjects/[^/]+/knowledgeSpaces/[^/]+/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 CompletionConfig collection. * @@ -60279,6 +59892,189 @@ public List set(String parameterName, Object value) { } } + /** + * An accessor for creating requests from the KnowledgeSpaces collection. + * + *

The typical use is:

+ *
+       *   {@code DiscoveryEngine discoveryengine = new DiscoveryEngine(...);}
+       *   {@code DiscoveryEngine.KnowledgeSpaces.List request = discoveryengine.knowledgeSpaces().list(parameters ...)}
+       * 
+ * + * @return the resource collection + */ + public KnowledgeSpaces knowledgeSpaces() { + return new KnowledgeSpaces(); + } + + /** + * The "knowledgeSpaces" collection of methods. + */ + public class KnowledgeSpaces { + + /** + * An accessor for creating requests from the Operations collection. + * + *

The typical use is:

+ *
+         *   {@code DiscoveryEngine discoveryengine = new DiscoveryEngine(...);}
+         *   {@code DiscoveryEngine.Operations.List request = discoveryengine.operations().list(parameters ...)}
+         * 
+ * + * @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 { + + private static final String REST_PATH = "v1alpha/{+name}"; + + private final java.util.regex.Pattern NAME_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/knowledgeSpaces/[^/]+/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.

+ * {@link Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} + * must be called to initialize this instance immediately after invoking the constructor.

+ * + * @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/[^/]+/knowledgeSpaces/[^/]+/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/[^/]+/knowledgeSpaces/[^/]+/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 LicenseConfigs collection. * diff --git a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigNotebooklmConfig.java b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigNotebooklmConfig.java index 8f5eaf7aee9..bce68ec6f24 100644 --- a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigNotebooklmConfig.java +++ b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigNotebooklmConfig.java @@ -29,6 +29,17 @@ @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 notebooks; + /** * Required. Search config name. Format: projects/locations/global/notebookLmSearchConfigs * The value may be {@code null}. @@ -36,6 +47,31 @@ public final class GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigNot @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 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 notebooks) { + this.notebooks = notebooks; + return this; + } + /** * Required. Search config name. Format: projects/locations/global/notebookLmSearchConfigs * @return value or {@code null} for none diff --git a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1Engine.java b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1Engine.java index 2f7276ccce5..39182e6bdb6 100644 --- a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1Engine.java +++ b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1Engine.java @@ -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 @@ -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 getFeatures() { @@ -517,7 +517,7 @@ public java.util.Map 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 features) { diff --git a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaAuthorizationServerSideOAuth2.java b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaAuthorizationServerSideOAuth2.java index 03efa8db348..3c8388c5a24 100644 --- a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaAuthorizationServerSideOAuth2.java +++ b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaAuthorizationServerSideOAuth2.java @@ -73,6 +73,15 @@ public final class GoogleCloudDiscoveryengineV1alphaAuthorizationServerSideOAuth @com.google.api.client.util.Key private java.lang.Boolean pkceVerificationEnabled; + /** + * Optional. Set only when the OAuth provider publishes no public endpoint, in which case a token + * exchange has to be routed over the private network the instance is on instead of over public + * egress. Leaving it unset keeps the exchange on public egress. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDiscoveryengineV1alphaAuthorizationServerSideOAuth2PrivateNetworkConfig privateNetworkConfig; + /** * Optional. The scopes to request. Example: `https://www.googleapis.com/auth/calendar.events` If * omitted, no additional scopes are requested beyond those required by the authorization uri. If @@ -192,6 +201,27 @@ public GoogleCloudDiscoveryengineV1alphaAuthorizationServerSideOAuth2 setPkceVer return this; } + /** + * Optional. Set only when the OAuth provider publishes no public endpoint, in which case a token + * exchange has to be routed over the private network the instance is on instead of over public + * egress. Leaving it unset keeps the exchange on public egress. + * @return value or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1alphaAuthorizationServerSideOAuth2PrivateNetworkConfig getPrivateNetworkConfig() { + return privateNetworkConfig; + } + + /** + * Optional. Set only when the OAuth provider publishes no public endpoint, in which case a token + * exchange has to be routed over the private network the instance is on instead of over public + * egress. Leaving it unset keeps the exchange on public egress. + * @param privateNetworkConfig privateNetworkConfig or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1alphaAuthorizationServerSideOAuth2 setPrivateNetworkConfig(GoogleCloudDiscoveryengineV1alphaAuthorizationServerSideOAuth2PrivateNetworkConfig privateNetworkConfig) { + this.privateNetworkConfig = privateNetworkConfig; + return this; + } + /** * Optional. The scopes to request. Example: `https://www.googleapis.com/auth/calendar.events` If * omitted, no additional scopes are requested beyond those required by the authorization uri. If diff --git a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaAuthorizationServerSideOAuth2PrivateNetworkConfig.java b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaAuthorizationServerSideOAuth2PrivateNetworkConfig.java new file mode 100644 index 00000000000..56dad50ee50 --- /dev/null +++ b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaAuthorizationServerSideOAuth2PrivateNetworkConfig.java @@ -0,0 +1,69 @@ +/* + * 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.discoveryengine.v1alpha.model; + +/** + * Identifies the instance hosting an OAuth provider that is reachable only over a private network. + * + *

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 Discovery Engine API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDiscoveryengineV1alphaAuthorizationServerSideOAuth2PrivateNetworkConfig extends com.google.api.client.json.GenericJson { + + /** + * Required. Resource name of the instance hosting the OAuth provider. For Looker, the Looker + * instance, in the form `projects/{project}/locations/{location}/instances/{instance}`. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String instanceResource; + + /** + * Required. Resource name of the instance hosting the OAuth provider. For Looker, the Looker + * instance, in the form `projects/{project}/locations/{location}/instances/{instance}`. + * @return value or {@code null} for none + */ + public java.lang.String getInstanceResource() { + return instanceResource; + } + + /** + * Required. Resource name of the instance hosting the OAuth provider. For Looker, the Looker + * instance, in the form `projects/{project}/locations/{location}/instances/{instance}`. + * @param instanceResource instanceResource or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1alphaAuthorizationServerSideOAuth2PrivateNetworkConfig setInstanceResource(java.lang.String instanceResource) { + this.instanceResource = instanceResource; + return this; + } + + @Override + public GoogleCloudDiscoveryengineV1alphaAuthorizationServerSideOAuth2PrivateNetworkConfig set(String fieldName, Object value) { + return (GoogleCloudDiscoveryengineV1alphaAuthorizationServerSideOAuth2PrivateNetworkConfig) super.set(fieldName, value); + } + + @Override + public GoogleCloudDiscoveryengineV1alphaAuthorizationServerSideOAuth2PrivateNetworkConfig clone() { + return (GoogleCloudDiscoveryengineV1alphaAuthorizationServerSideOAuth2PrivateNetworkConfig) super.clone(); + } + +} diff --git a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigNotebooklmConfig.java b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigNotebooklmConfig.java index 46e2a8a18e2..fbc597c8759 100644 --- a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigNotebooklmConfig.java +++ b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigNotebooklmConfig.java @@ -29,6 +29,17 @@ @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 notebooks; + /** * Required. Search config name. Format: projects/locations/global/notebookLmSearchConfigs * The value may be {@code null}. @@ -36,6 +47,31 @@ public final class GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConf @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 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 notebooks) { + this.notebooks = notebooks; + return this; + } + /** * Required. Search config name. Format: projects/locations/global/notebookLmSearchConfigs * @return value or {@code null} for none diff --git a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaEngine.java b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaEngine.java index afcad4f9844..22eafce5e4e 100644 --- a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaEngine.java +++ b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaEngine.java @@ -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 @@ -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 getFeatures() { @@ -532,7 +532,7 @@ public java.util.Map 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 features) { diff --git a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaFeedbackConversationInfo.java b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaFeedbackConversationInfo.java index 28b12861512..58cb4cdcae7 100644 --- a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaFeedbackConversationInfo.java +++ b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaFeedbackConversationInfo.java @@ -64,14 +64,31 @@ public final class GoogleCloudDiscoveryengineV1alphaFeedbackConversationInfo ext @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 @@ -157,9 +174,28 @@ public GoogleCloudDiscoveryengineV1alphaFeedbackConversationInfo setSession(java 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 GoogleCloudDiscoveryengineV1alphaFeedbackConversationInfo 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() { @@ -168,7 +204,9 @@ 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 GoogleCloudDiscoveryengineV1alphaFeedbackConversationInfo setTaskName(java.lang.String taskName) { @@ -176,6 +214,25 @@ public GoogleCloudDiscoveryengineV1alphaFeedbackConversationInfo setTaskName(jav 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 GoogleCloudDiscoveryengineV1alphaFeedbackConversationInfo setTrajectoryId(java.lang.String trajectoryId) { + this.trajectoryId = trajectoryId; + return this; + } + @Override public GoogleCloudDiscoveryengineV1alphaFeedbackConversationInfo set(String fieldName, Object value) { return (GoogleCloudDiscoveryengineV1alphaFeedbackConversationInfo) super.set(fieldName, value); diff --git a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaFieldConfig.java b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaFieldConfig.java index 9bed9dd6149..77cf2c045f3 100644 --- a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaFieldConfig.java +++ b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaFieldConfig.java @@ -113,6 +113,30 @@ public final class GoogleCloudDiscoveryengineV1alphaFieldConfig extends com.goog @com.google.api.client.util.Key private java.lang.String metatagName; + /** + * Optional. If partial_matchable_option is PARTIAL_MATCHABLE_OPTION_ENABLED, field values are + * partial matchable. If partial_matchable_option is unset, the server behavior defaults to + * PARTIAL_MATCHABLE_OPTION_DISABLED for fields that support setting partial matchable options. + * For those fields that do not support setting partial matchable options, the server will skip + * partial matchable option setting, and setting partial_matchable_option for those fields will + * throw `INVALID_ARGUMENT` error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String partialMatchableOption; + + /** + * Optional. If prefix_matchable_option is PREFIX_MATCHABLE_OPTION_ENABLED, field values are + * prefix matchable. If prefix_matchable_option is unset, the server behavior defaults to + * PREFIX_MATCHABLE_OPTION_DISABLED for fields that support setting prefix matchable options. For + * those fields that do not support setting prefix matchable options, the server will skip prefix + * matchable option setting, and setting prefix_matchable_option for those fields will throw + * `INVALID_ARGUMENT` error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String prefixMatchableOption; + /** * If recs_filterable_option is FILTERABLE_ENABLED, field values are filterable by filter * expression in RecommendationService.Recommend. If FILTERABLE_ENABLED but the field type is @@ -364,6 +388,60 @@ public GoogleCloudDiscoveryengineV1alphaFieldConfig setMetatagName(java.lang.Str return this; } + /** + * Optional. If partial_matchable_option is PARTIAL_MATCHABLE_OPTION_ENABLED, field values are + * partial matchable. If partial_matchable_option is unset, the server behavior defaults to + * PARTIAL_MATCHABLE_OPTION_DISABLED for fields that support setting partial matchable options. + * For those fields that do not support setting partial matchable options, the server will skip + * partial matchable option setting, and setting partial_matchable_option for those fields will + * throw `INVALID_ARGUMENT` error. + * @return value or {@code null} for none + */ + public java.lang.String getPartialMatchableOption() { + return partialMatchableOption; + } + + /** + * Optional. If partial_matchable_option is PARTIAL_MATCHABLE_OPTION_ENABLED, field values are + * partial matchable. If partial_matchable_option is unset, the server behavior defaults to + * PARTIAL_MATCHABLE_OPTION_DISABLED for fields that support setting partial matchable options. + * For those fields that do not support setting partial matchable options, the server will skip + * partial matchable option setting, and setting partial_matchable_option for those fields will + * throw `INVALID_ARGUMENT` error. + * @param partialMatchableOption partialMatchableOption or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1alphaFieldConfig setPartialMatchableOption(java.lang.String partialMatchableOption) { + this.partialMatchableOption = partialMatchableOption; + return this; + } + + /** + * Optional. If prefix_matchable_option is PREFIX_MATCHABLE_OPTION_ENABLED, field values are + * prefix matchable. If prefix_matchable_option is unset, the server behavior defaults to + * PREFIX_MATCHABLE_OPTION_DISABLED for fields that support setting prefix matchable options. For + * those fields that do not support setting prefix matchable options, the server will skip prefix + * matchable option setting, and setting prefix_matchable_option for those fields will throw + * `INVALID_ARGUMENT` error. + * @return value or {@code null} for none + */ + public java.lang.String getPrefixMatchableOption() { + return prefixMatchableOption; + } + + /** + * Optional. If prefix_matchable_option is PREFIX_MATCHABLE_OPTION_ENABLED, field values are + * prefix matchable. If prefix_matchable_option is unset, the server behavior defaults to + * PREFIX_MATCHABLE_OPTION_DISABLED for fields that support setting prefix matchable options. For + * those fields that do not support setting prefix matchable options, the server will skip prefix + * matchable option setting, and setting prefix_matchable_option for those fields will throw + * `INVALID_ARGUMENT` error. + * @param prefixMatchableOption prefixMatchableOption or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1alphaFieldConfig setPrefixMatchableOption(java.lang.String prefixMatchableOption) { + this.prefixMatchableOption = prefixMatchableOption; + return this; + } + /** * If recs_filterable_option is FILTERABLE_ENABLED, field values are filterable by filter * expression in RecommendationService.Recommend. If FILTERABLE_ENABLED but the field type is diff --git a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaSearchRequest.java b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaSearchRequest.java index 70dba0597c4..ed85a8d4287 100644 --- a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaSearchRequest.java +++ b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaSearchRequest.java @@ -96,7 +96,11 @@ public final class GoogleCloudDiscoveryengineV1alphaSearchRequest extends com.go /** * 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 @@ -652,7 +656,11 @@ public GoogleCloudDiscoveryengineV1alphaSearchRequest setCustomRankingParams(Goo /** * 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 getDataStoreSpecs() { @@ -662,7 +670,11 @@ public java.util.List dataStoreSpecs) { diff --git a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettings.java b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettings.java index f01e5095274..27d2716bd84 100644 --- a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettings.java +++ b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettings.java @@ -120,7 +120,7 @@ public final class GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettings exten * `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 @@ -394,7 +394,7 @@ public GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettings setEnableVisualCo * `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 getFeatures() { @@ -412,7 +412,7 @@ public java.util.Map 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 GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettings setFeatures(java.util.Map features) { diff --git a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigNotebooklmConfig.java b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigNotebooklmConfig.java index 7efbf559805..eec67bf49a3 100644 --- a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigNotebooklmConfig.java +++ b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigNotebooklmConfig.java @@ -29,6 +29,17 @@ @SuppressWarnings("javadoc") public final class GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigNotebooklmConfig 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 notebooks; + /** * Required. Search config name. Format: projects/locations/global/notebookLmSearchConfigs * The value may be {@code null}. @@ -36,6 +47,31 @@ public final class GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfi @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 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 GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigNotebooklmConfig setNotebooks(java.util.List notebooks) { + this.notebooks = notebooks; + return this; + } + /** * Required. Search config name. Format: projects/locations/global/notebookLmSearchConfigs * @return value or {@code null} for none diff --git a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1betaEngine.java b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1betaEngine.java index 5e3759a4e2a..464c1abc986 100644 --- a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1betaEngine.java +++ b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1betaEngine.java @@ -142,7 +142,7 @@ public final class GoogleCloudDiscoveryengineV1betaEngine extends com.google.api * `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 @@ -498,7 +498,7 @@ public GoogleCloudDiscoveryengineV1betaEngine setDisplayName(java.lang.String di * `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 getFeatures() { @@ -517,7 +517,7 @@ public java.util.Map 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 GoogleCloudDiscoveryengineV1betaEngine setFeatures(java.util.Map features) { diff --git a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1betaSearchRequest.java b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1betaSearchRequest.java index c4d352474c3..c21ad7b8ad9 100644 --- a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1betaSearchRequest.java +++ b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1betaSearchRequest.java @@ -88,7 +88,11 @@ public final class GoogleCloudDiscoveryengineV1betaSearchRequest extends com.goo /** * 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 @@ -616,7 +620,11 @@ public GoogleCloudDiscoveryengineV1betaSearchRequest setCustomRankingParams(Goog /** * 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 getDataStoreSpecs() { @@ -626,7 +634,11 @@ public java.util.List dataStoreSpecs) { diff --git a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/pom.xml b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/pom.xml index 82633880a01..e5d50e39d2b 100644 --- a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/pom.xml +++ b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-discoveryengine - v1alpha-rev20261004-2.0.0 - Discovery Engine API v1alpha-rev20261004-2.0.0 + v1alpha-rev20261013-2.0.0 + Discovery Engine API v1alpha-rev20261013-2.0.0 jar 2011 diff --git a/clients/google-api-services-discoveryengine/v1alpha/README.md b/clients/google-api-services-discoveryengine/v1alpha/README.md index 008878af1c7..76ca6944726 100644 --- a/clients/google-api-services-discoveryengine/v1alpha/README.md +++ b/clients/google-api-services-discoveryengine/v1alpha/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-discoveryengine - v1alpha-rev20261004-2.0.0 + v1alpha-rev20261013-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-discoveryengine:v1alpha-rev20261004-2.0.0' + implementation 'com.google.apis:google-api-services-discoveryengine:v1alpha-rev20261013-2.0.0' } ``` diff --git a/clients/google-api-services-discoveryengine/v1beta/2.0.0/README.md b/clients/google-api-services-discoveryengine/v1beta/2.0.0/README.md index d080ce2155b..9b601219932 100644 --- a/clients/google-api-services-discoveryengine/v1beta/2.0.0/README.md +++ b/clients/google-api-services-discoveryengine/v1beta/2.0.0/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-discoveryengine - v1beta-rev20261004-2.0.0 + v1beta-rev20261013-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-discoveryengine:v1beta-rev20261004-2.0.0' + implementation 'com.google.apis:google-api-services-discoveryengine:v1beta-rev20261013-2.0.0' } ``` diff --git a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigNotebooklmConfig.java b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigNotebooklmConfig.java index 2d660ce40b2..4edca28e3f7 100644 --- a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigNotebooklmConfig.java +++ b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigNotebooklmConfig.java @@ -29,6 +29,17 @@ @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 notebooks; + /** * Required. Search config name. Format: projects/locations/global/notebookLmSearchConfigs * The value may be {@code null}. @@ -36,6 +47,31 @@ public final class GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigNot @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 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 notebooks) { + this.notebooks = notebooks; + return this; + } + /** * Required. Search config name. Format: projects/locations/global/notebookLmSearchConfigs * @return value or {@code null} for none diff --git a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1Engine.java b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1Engine.java index 59f9e7304b5..28f2c7cb0b7 100644 --- a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1Engine.java +++ b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1Engine.java @@ -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 @@ -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 getFeatures() { @@ -517,7 +517,7 @@ public java.util.Map 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 features) { diff --git a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigNotebooklmConfig.java b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigNotebooklmConfig.java index bd2edbd47c3..da8eca11aa2 100644 --- a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigNotebooklmConfig.java +++ b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigNotebooklmConfig.java @@ -29,6 +29,17 @@ @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 notebooks; + /** * Required. Search config name. Format: projects/locations/global/notebookLmSearchConfigs * The value may be {@code null}. @@ -36,6 +47,31 @@ public final class GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConf @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 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 notebooks) { + this.notebooks = notebooks; + return this; + } + /** * Required. Search config name. Format: projects/locations/global/notebookLmSearchConfigs * @return value or {@code null} for none diff --git a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1alphaEngine.java b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1alphaEngine.java index c1674d175cb..a10c1f4f747 100644 --- a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1alphaEngine.java +++ b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1alphaEngine.java @@ -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 @@ -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 getFeatures() { @@ -532,7 +532,7 @@ public java.util.Map 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 features) { diff --git a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1alphaFieldConfig.java b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1alphaFieldConfig.java index 50748ce0532..7d2aed0d9c4 100644 --- a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1alphaFieldConfig.java +++ b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1alphaFieldConfig.java @@ -113,6 +113,30 @@ public final class GoogleCloudDiscoveryengineV1alphaFieldConfig extends com.goog @com.google.api.client.util.Key private java.lang.String metatagName; + /** + * Optional. If partial_matchable_option is PARTIAL_MATCHABLE_OPTION_ENABLED, field values are + * partial matchable. If partial_matchable_option is unset, the server behavior defaults to + * PARTIAL_MATCHABLE_OPTION_DISABLED for fields that support setting partial matchable options. + * For those fields that do not support setting partial matchable options, the server will skip + * partial matchable option setting, and setting partial_matchable_option for those fields will + * throw `INVALID_ARGUMENT` error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String partialMatchableOption; + + /** + * Optional. If prefix_matchable_option is PREFIX_MATCHABLE_OPTION_ENABLED, field values are + * prefix matchable. If prefix_matchable_option is unset, the server behavior defaults to + * PREFIX_MATCHABLE_OPTION_DISABLED for fields that support setting prefix matchable options. For + * those fields that do not support setting prefix matchable options, the server will skip prefix + * matchable option setting, and setting prefix_matchable_option for those fields will throw + * `INVALID_ARGUMENT` error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String prefixMatchableOption; + /** * If recs_filterable_option is FILTERABLE_ENABLED, field values are filterable by filter * expression in RecommendationService.Recommend. If FILTERABLE_ENABLED but the field type is @@ -364,6 +388,60 @@ public GoogleCloudDiscoveryengineV1alphaFieldConfig setMetatagName(java.lang.Str return this; } + /** + * Optional. If partial_matchable_option is PARTIAL_MATCHABLE_OPTION_ENABLED, field values are + * partial matchable. If partial_matchable_option is unset, the server behavior defaults to + * PARTIAL_MATCHABLE_OPTION_DISABLED for fields that support setting partial matchable options. + * For those fields that do not support setting partial matchable options, the server will skip + * partial matchable option setting, and setting partial_matchable_option for those fields will + * throw `INVALID_ARGUMENT` error. + * @return value or {@code null} for none + */ + public java.lang.String getPartialMatchableOption() { + return partialMatchableOption; + } + + /** + * Optional. If partial_matchable_option is PARTIAL_MATCHABLE_OPTION_ENABLED, field values are + * partial matchable. If partial_matchable_option is unset, the server behavior defaults to + * PARTIAL_MATCHABLE_OPTION_DISABLED for fields that support setting partial matchable options. + * For those fields that do not support setting partial matchable options, the server will skip + * partial matchable option setting, and setting partial_matchable_option for those fields will + * throw `INVALID_ARGUMENT` error. + * @param partialMatchableOption partialMatchableOption or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1alphaFieldConfig setPartialMatchableOption(java.lang.String partialMatchableOption) { + this.partialMatchableOption = partialMatchableOption; + return this; + } + + /** + * Optional. If prefix_matchable_option is PREFIX_MATCHABLE_OPTION_ENABLED, field values are + * prefix matchable. If prefix_matchable_option is unset, the server behavior defaults to + * PREFIX_MATCHABLE_OPTION_DISABLED for fields that support setting prefix matchable options. For + * those fields that do not support setting prefix matchable options, the server will skip prefix + * matchable option setting, and setting prefix_matchable_option for those fields will throw + * `INVALID_ARGUMENT` error. + * @return value or {@code null} for none + */ + public java.lang.String getPrefixMatchableOption() { + return prefixMatchableOption; + } + + /** + * Optional. If prefix_matchable_option is PREFIX_MATCHABLE_OPTION_ENABLED, field values are + * prefix matchable. If prefix_matchable_option is unset, the server behavior defaults to + * PREFIX_MATCHABLE_OPTION_DISABLED for fields that support setting prefix matchable options. For + * those fields that do not support setting prefix matchable options, the server will skip prefix + * matchable option setting, and setting prefix_matchable_option for those fields will throw + * `INVALID_ARGUMENT` error. + * @param prefixMatchableOption prefixMatchableOption or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1alphaFieldConfig setPrefixMatchableOption(java.lang.String prefixMatchableOption) { + this.prefixMatchableOption = prefixMatchableOption; + return this; + } + /** * If recs_filterable_option is FILTERABLE_ENABLED, field values are filterable by filter * expression in RecommendationService.Recommend. If FILTERABLE_ENABLED but the field type is diff --git a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1alphaSearchRequest.java b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1alphaSearchRequest.java index b0e8ab9da23..1643dadbd23 100644 --- a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1alphaSearchRequest.java +++ b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1alphaSearchRequest.java @@ -96,7 +96,11 @@ public final class GoogleCloudDiscoveryengineV1alphaSearchRequest extends com.go /** * 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 @@ -652,7 +656,11 @@ public GoogleCloudDiscoveryengineV1alphaSearchRequest setCustomRankingParams(Goo /** * 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 getDataStoreSpecs() { @@ -662,7 +670,11 @@ public java.util.List dataStoreSpecs) { diff --git a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigNotebooklmConfig.java b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigNotebooklmConfig.java index 479cb784d16..1943e7a7d61 100644 --- a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigNotebooklmConfig.java +++ b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigNotebooklmConfig.java @@ -29,6 +29,17 @@ @SuppressWarnings("javadoc") public final class GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigNotebooklmConfig 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 notebooks; + /** * Required. Search config name. Format: projects/locations/global/notebookLmSearchConfigs * The value may be {@code null}. @@ -36,6 +47,31 @@ public final class GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfi @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 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 GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigNotebooklmConfig setNotebooks(java.util.List notebooks) { + this.notebooks = notebooks; + return this; + } + /** * Required. Search config name. Format: projects/locations/global/notebookLmSearchConfigs * @return value or {@code null} for none diff --git a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaEngine.java b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaEngine.java index 858219f17e9..1ad1f13d749 100644 --- a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaEngine.java +++ b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaEngine.java @@ -142,7 +142,7 @@ public final class GoogleCloudDiscoveryengineV1betaEngine extends com.google.api * `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 @@ -498,7 +498,7 @@ public GoogleCloudDiscoveryengineV1betaEngine setDisplayName(java.lang.String di * `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 getFeatures() { @@ -517,7 +517,7 @@ public java.util.Map 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 GoogleCloudDiscoveryengineV1betaEngine setFeatures(java.util.Map features) { diff --git a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaFeedbackConversationInfo.java b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaFeedbackConversationInfo.java index 92e02a0a0a2..00e2e3c528c 100644 --- a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaFeedbackConversationInfo.java +++ b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaFeedbackConversationInfo.java @@ -64,14 +64,31 @@ public final class GoogleCloudDiscoveryengineV1betaFeedbackConversationInfo exte @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 @@ -157,9 +174,28 @@ public GoogleCloudDiscoveryengineV1betaFeedbackConversationInfo setSession(java. 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 GoogleCloudDiscoveryengineV1betaFeedbackConversationInfo 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() { @@ -168,7 +204,9 @@ 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 GoogleCloudDiscoveryengineV1betaFeedbackConversationInfo setTaskName(java.lang.String taskName) { @@ -176,6 +214,25 @@ public GoogleCloudDiscoveryengineV1betaFeedbackConversationInfo setTaskName(java 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 GoogleCloudDiscoveryengineV1betaFeedbackConversationInfo setTrajectoryId(java.lang.String trajectoryId) { + this.trajectoryId = trajectoryId; + return this; + } + @Override public GoogleCloudDiscoveryengineV1betaFeedbackConversationInfo set(String fieldName, Object value) { return (GoogleCloudDiscoveryengineV1betaFeedbackConversationInfo) super.set(fieldName, value); diff --git a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaSearchRequest.java b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaSearchRequest.java index 6fa69c906f5..bfccf4ce1ee 100644 --- a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaSearchRequest.java +++ b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaSearchRequest.java @@ -88,7 +88,11 @@ public final class GoogleCloudDiscoveryengineV1betaSearchRequest extends com.goo /** * 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 @@ -616,7 +620,11 @@ public GoogleCloudDiscoveryengineV1betaSearchRequest setCustomRankingParams(Goog /** * 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 getDataStoreSpecs() { @@ -626,7 +634,11 @@ public java.util.List dataStoreSpecs) { diff --git a/clients/google-api-services-discoveryengine/v1beta/2.0.0/pom.xml b/clients/google-api-services-discoveryengine/v1beta/2.0.0/pom.xml index 834b638213e..b10ea312b66 100644 --- a/clients/google-api-services-discoveryengine/v1beta/2.0.0/pom.xml +++ b/clients/google-api-services-discoveryengine/v1beta/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-discoveryengine - v1beta-rev20261004-2.0.0 - Discovery Engine API v1beta-rev20261004-2.0.0 + v1beta-rev20261013-2.0.0 + Discovery Engine API v1beta-rev20261013-2.0.0 jar 2011 diff --git a/clients/google-api-services-discoveryengine/v1beta/README.md b/clients/google-api-services-discoveryengine/v1beta/README.md index d080ce2155b..9b601219932 100644 --- a/clients/google-api-services-discoveryengine/v1beta/README.md +++ b/clients/google-api-services-discoveryengine/v1beta/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-discoveryengine - v1beta-rev20261004-2.0.0 + v1beta-rev20261013-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-discoveryengine:v1beta-rev20261004-2.0.0' + implementation 'com.google.apis:google-api-services-discoveryengine:v1beta-rev20261013-2.0.0' } ```