@maxim_mazurok/gapi.client.discoveryengine-v1alpha 0.0.20250810 → 0.0.20250816

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.
Files changed (2) hide show
  1. package/index.d.ts +35 -3
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://discoveryengine.googleapis.com/$discovery/rest?version=v1alpha
12
- // Revision: 20250810
12
+ // Revision: 20250816
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -1752,6 +1752,8 @@ declare namespace gapi.client {
1752
1752
  entities?: GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity[];
1753
1753
  /** Output only. The errors from initialization or from the latest connector run. */
1754
1754
  errors?: GoogleRpcStatus[];
1755
+ /** Optional. If the connector is a hybrid connector, determines whether ingestion is enabled and appropriate resources are provisioned during connector creation. If the connector is not a hybrid connector, this field is ignored. */
1756
+ hybridIngestionDisabled?: boolean;
1755
1757
  /** The refresh interval to sync the Access Control List information for the documents ingested by this connector. If not set, the access control list will be refreshed at the default interval of 30 minutes. The identity refresh interval can be at least 30 minutes and at most 7 days. */
1756
1758
  identityRefreshInterval?: string;
1757
1759
  /** The configuration for the identity data synchronization runs. This contains the refresh interval to sync the Access Control List information for the documents ingested by this connector. */
@@ -3597,7 +3599,7 @@ declare namespace gapi.client {
3597
3599
  boostSpec?: GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpec;
3598
3600
  /** Optional. Custom search operators which if specified will be used to filter results from workspace data stores. For more information on custom search operators, see [SearchOperators](https://support.google.com/cloudsearch/answer/6172299). */
3599
3601
  customSearchOperators?: string;
3600
- /** Required. Full resource name of DataStore, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. */
3602
+ /** Required. Full resource name of DataStore, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. The path must include the project number, project id is not supported for this field. */
3601
3603
  dataStore?: string;
3602
3604
  /** Optional. Filter specification to filter documents in the data store specified by data_store field. For more information on filtering, see [Filtering](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata) */
3603
3605
  filter?: string;
@@ -3838,6 +3840,34 @@ declare namespace gapi.client {
3838
3840
  modelScores?: {
3839
3841
  [P in string]: GoogleCloudDiscoveryengineV1alphaDoubleList;
3840
3842
  };
3843
+ /** Optional. A set of ranking signals associated with the result. */
3844
+ rankSignals?: GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResultRankSignals;
3845
+ }
3846
+ interface GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResultRankSignals {
3847
+ /** Optional. Combined custom boosts for a doc. */
3848
+ boostingFactor?: number;
3849
+ /** Optional. A list of custom clearbox signals. */
3850
+ customSignals?: GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResultRankSignalsCustomSignal[];
3851
+ /** Optional. The default rank of the result. */
3852
+ defaultRank?: number;
3853
+ /** Optional. Age of the document in hours. */
3854
+ documentAge?: number;
3855
+ /** Optional. Keyword matching adjustment. */
3856
+ keywordSimilarityScore?: number;
3857
+ /** Optional. Predicted conversion rate adjustment as a rank. */
3858
+ pctrRank?: number;
3859
+ /** Optional. Semantic relevance adjustment. */
3860
+ relevanceScore?: number;
3861
+ /** Optional. Semantic similarity adjustment. */
3862
+ semanticSimilarityScore?: number;
3863
+ /** Optional. Topicality adjustment as a rank. */
3864
+ topicalityRank?: number;
3865
+ }
3866
+ interface GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResultRankSignalsCustomSignal {
3867
+ /** Optional. Name of the signal. */
3868
+ name?: string;
3869
+ /** Optional. Float value representing the ranking signal (e.g. 1.25 for BM25). */
3870
+ value?: number;
3841
3871
  }
3842
3872
  interface GoogleCloudDiscoveryengineV1alphaSearchResponseSessionInfo {
3843
3873
  /** Name of the session. If the auto-session mode is used (when SearchRequest.session ends with "-"), this field holds the newly generated session name. */
@@ -5632,7 +5662,7 @@ declare namespace gapi.client {
5632
5662
  boostSpec?: GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec;
5633
5663
  /** Optional. Custom search operators which if specified will be used to filter results from workspace data stores. For more information on custom search operators, see [SearchOperators](https://support.google.com/cloudsearch/answer/6172299). */
5634
5664
  customSearchOperators?: string;
5635
- /** Required. Full resource name of DataStore, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. */
5665
+ /** Required. Full resource name of DataStore, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. The path must include the project number, project id is not supported for this field. */
5636
5666
  dataStore?: string;
5637
5667
  /** Optional. Filter specification to filter documents in the data store specified by data_store field. For more information on filtering, see [Filtering](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata) */
5638
5668
  filter?: string;
@@ -12622,6 +12652,8 @@ declare namespace gapi.client {
12622
12652
  key?: string;
12623
12653
  /** OAuth 2.0 token for the current user. */
12624
12654
  oauth_token?: string;
12655
+ /** Optional. Specifies the order in which files are returned. The value is a comma-separated string of fields to sort by. For ascending order - just the field name is used. For descending order - the field name is suffixed with ` desc`. Sorting is stable and applied sequentially according to the order of fields provided in the string. Supported fields for ordering: * `upload_time`: The time the file was uploaded. * `file_name`: The name of the file. * `mime_type`: The MIME type of the file. * `session_name`: The name of the session the file belongs to. Default Behavior: If the `order_by` field is not specified, files will be returned sorted by creation time in descending order. Examples: 1. Sort by file name in ascending order: `file_name` 2. Sort by upload time in descending order: `upload_time desc` 3. Sort by file name (ascending), then by content type (MIME type) (descending), and finally by upload time (ascending): `file_name, mime_type desc, upload_time` */
12656
+ orderBy?: string;
12625
12657
  /** Optional. The maximum number of files to return. The service may return fewer than this value. If unspecified, at most 100 files will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. If user specifies a value less than or equal to 0 - the request will be rejected with an INVALID_ARGUMENT error. */
12626
12658
  pageSize?: number;
12627
12659
  /** Optional. A page token received from a previous `ListFiles` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListFiles` must match the call that provided the page token (except `page_size`, which may differ). */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.discoveryengine-v1alpha",
3
- "version": "0.0.20250810",
3
+ "version": "0.0.20250816",
4
4
  "description": "TypeScript typings for Discovery Engine API v1alpha",
5
5
  "repository": {
6
6
  "type": "git",