@googleapis/discoveryengine 37.0.0 → 37.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/v1beta.ts CHANGED
@@ -4378,6 +4378,10 @@ export namespace discoveryengine_v1beta {
4378
4378
  * Optional. Configuration for NotebookLM settings.
4379
4379
  */
4380
4380
  notebooklmConfig?: Schema$GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfig;
4381
+ /**
4382
+ * Optional. Resource-level access control config for Gemini Enterprise users.
4383
+ */
4384
+ resourceAccessControlConfig?: Schema$GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigResourceAccessControlConfig;
4381
4385
  }
4382
4386
  /**
4383
4387
  * Configuration for NotebookLM.
@@ -4431,6 +4435,15 @@ export namespace discoveryengine_v1beta {
4431
4435
  */
4432
4436
  userPromptTemplate?: string | null;
4433
4437
  }
4438
+ /**
4439
+ * Controls resource-level access control for Gemini Enterprise users.
4440
+ */
4441
+ export interface Schema$GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigResourceAccessControlConfig {
4442
+ /**
4443
+ * Optional. If `true`, the data stores and data connectors shown to Gemini Enterprise users are filtered to those the user has the required resource-level `.get` IAM permission on.
4444
+ */
4445
+ dataStoreAccessControlEnabled?: boolean | null;
4446
+ }
4434
4447
  /**
4435
4448
  * Metadata about the terms of service.
4436
4449
  */
@@ -4675,6 +4688,10 @@ export namespace discoveryengine_v1beta {
4675
4688
  * This field is expected to be a ui message in JSON format. As of Q1 2026, ui_json_payload is only supported for A2UI messages.
4676
4689
  */
4677
4690
  uiJsonPayload?: string | null;
4691
+ /**
4692
+ * Reference to a user-supplied file attached to a long-running-agent (Sobi) task. See `UserSuppliedSobiArtifactReference` above.
4693
+ */
4694
+ userSuppliedSobiArtifactReference?: Schema$GoogleCloudDiscoveryengineV1alphaQueryPartUserSuppliedSobiArtifactReference;
4678
4695
  }
4679
4696
  /**
4680
4697
  * Represents a document reference.
@@ -4767,6 +4784,19 @@ export namespace discoveryengine_v1beta {
4767
4784
  */
4768
4785
  personId?: string | null;
4769
4786
  }
4787
+ /**
4788
+ * Reference to a user-supplied file attached to a long-running-agent (Sobi) task. Rendered by the client as an attachment chip on the user turn's bubble. The file itself is stored on the task's `AgentArtifact` list; the client resolves full metadata (source URI, size, ...) for download or preview by calling `GetTask` on the Sobi Task API and matching `AgentArtifact.name` against `file_name`. Only `file_name` and `mime_type` appear on this wire deliberately: the backing `gs://` or Drive URI is not exposed to conversation-history readers. Same variant is used for both byte-uploaded and Drive-picked files -- "user attached a file" is one concept regardless of source.
4789
+ */
4790
+ export interface Schema$GoogleCloudDiscoveryengineV1alphaQueryPartUserSuppliedSobiArtifactReference {
4791
+ /**
4792
+ * Required. Client-supplied filename. Unique per task within the user-supplied artifact set (UI dedupes before upload). Doubles as the artifact identifier used to look up the artifact on `Task.artifacts`. The `_name` suffix is deliberate and the AIP-122 lint is suppressed: this field is not a resource name (which is what AIP-122 reserves the bare `name` for). It is the literal filename, and it serves as the join key against `AgentArtifact.name` on the backing Sobi task -- a structural role that `title` or `display_name` would not communicate to a client picking what to send. The internal mirror (`cloud/ml/discoveryengine/schema/assistant.proto`) uses the same field name so the round-trip converter stays name-for-name.
4793
+ */
4794
+ fileName?: string | null;
4795
+ /**
4796
+ * Optional. IANA MIME type. Used for icon/preview rendering.
4797
+ */
4798
+ mimeType?: string | null;
4799
+ }
4770
4800
  /**
4771
4801
  * Metadata related to the progress of the SiteSearchEngineService.RecrawlUris operation. This will be returned by the google.longrunning.Operation.metadata field.
4772
4802
  */
@@ -5648,6 +5678,27 @@ export namespace discoveryengine_v1beta {
5648
5678
  * The condition under which search as you type should occur. Default to Condition.DISABLED.
5649
5679
  */
5650
5680
  condition?: string | null;
5681
+ /**
5682
+ * Optional. The list of fields to be used for Search As You Type scoring.
5683
+ */
5684
+ fields?: Schema$GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAsYouTypeSpecField[];
5685
+ /**
5686
+ * Optional. Search As You Type score threshold for filtering purpose. We keep the result if `score` \>= `score_threshold`.
5687
+ */
5688
+ scoreThreshold?: number | null;
5689
+ }
5690
+ /**
5691
+ * A schema field to be used for Search As You Type scoring on this request. Overrides any data-store-level Search As You Type field configuration for the duration of the request.
5692
+ */
5693
+ export interface Schema$GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAsYouTypeSpecField {
5694
+ /**
5695
+ * Required. A field key that has been indexed for Search As You Type.
5696
+ */
5697
+ key?: string | null;
5698
+ /**
5699
+ * Optional. Weight for scores from this field. Defaults to 1.0 if not specified.
5700
+ */
5701
+ weight?: number | null;
5651
5702
  }
5652
5703
  /**
5653
5704
  * Session specification.
@@ -11555,6 +11606,10 @@ export namespace discoveryengine_v1beta {
11555
11606
  * Optional. Configuration for NotebookLM settings.
11556
11607
  */
11557
11608
  notebooklmConfig?: Schema$GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfig;
11609
+ /**
11610
+ * Optional. Resource-level access control config for Gemini Enterprise users.
11611
+ */
11612
+ resourceAccessControlConfig?: Schema$GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigResourceAccessControlConfig;
11558
11613
  }
11559
11614
  /**
11560
11615
  * Configuration for NotebookLM.
@@ -11608,6 +11663,15 @@ export namespace discoveryengine_v1beta {
11608
11663
  */
11609
11664
  userPromptTemplate?: string | null;
11610
11665
  }
11666
+ /**
11667
+ * Controls resource-level access control for Gemini Enterprise users.
11668
+ */
11669
+ export interface Schema$GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigResourceAccessControlConfig {
11670
+ /**
11671
+ * Optional. If `true`, the data stores and data connectors shown to Gemini Enterprise users are filtered to those the user has the required resource-level `.get` IAM permission on.
11672
+ */
11673
+ dataStoreAccessControlEnabled?: boolean | null;
11674
+ }
11611
11675
  /**
11612
11676
  * Metadata about the terms of service.
11613
11677
  */
@@ -12948,6 +13012,27 @@ export namespace discoveryengine_v1beta {
12948
13012
  * The condition under which search as you type should occur. Default to Condition.DISABLED.
12949
13013
  */
12950
13014
  condition?: string | null;
13015
+ /**
13016
+ * Optional. The list of fields to be used for Search As You Type scoring.
13017
+ */
13018
+ fields?: Schema$GoogleCloudDiscoveryengineV1betaSearchRequestSearchAsYouTypeSpecField[];
13019
+ /**
13020
+ * Optional. Search As You Type score threshold for filtering purpose. We keep the result if `score` \>= `score_threshold`.
13021
+ */
13022
+ scoreThreshold?: number | null;
13023
+ }
13024
+ /**
13025
+ * A schema field to be used for Search As You Type scoring on this request. Overrides any data-store-level Search As You Type field configuration for the duration of the request.
13026
+ */
13027
+ export interface Schema$GoogleCloudDiscoveryengineV1betaSearchRequestSearchAsYouTypeSpecField {
13028
+ /**
13029
+ * Required. A field key that has been indexed for Search As You Type.
13030
+ */
13031
+ key?: string | null;
13032
+ /**
13033
+ * Optional. Weight for scores from this field. Defaults to 1.0 if not specified.
13034
+ */
13035
+ weight?: number | null;
12951
13036
  }
12952
13037
  /**
12953
13038
  * Session specification.
@@ -16435,6 +16520,10 @@ export namespace discoveryengine_v1beta {
16435
16520
  * Optional. Configuration for NotebookLM settings.
16436
16521
  */
16437
16522
  notebooklmConfig?: Schema$GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig;
16523
+ /**
16524
+ * Optional. Resource-level access control config for Gemini Enterprise users.
16525
+ */
16526
+ resourceAccessControlConfig?: Schema$GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigResourceAccessControlConfig;
16438
16527
  }
16439
16528
  /**
16440
16529
  * Configuration for NotebookLM.
@@ -16488,6 +16577,15 @@ export namespace discoveryengine_v1beta {
16488
16577
  */
16489
16578
  userPromptTemplate?: string | null;
16490
16579
  }
16580
+ /**
16581
+ * Controls resource-level access control for Gemini Enterprise users.
16582
+ */
16583
+ export interface Schema$GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigResourceAccessControlConfig {
16584
+ /**
16585
+ * Optional. If `true`, the data stores and data connectors shown to Gemini Enterprise users are filtered to those the user has the required resource-level `.get` IAM permission on.
16586
+ */
16587
+ dataStoreAccessControlEnabled?: boolean | null;
16588
+ }
16491
16589
  /**
16492
16590
  * Metadata about the terms of service.
16493
16591
  */