@maxim_mazurok/gapi.client.discoveryengine-v1alpha 0.0.20250306 → 0.0.20250312

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 +28 -4
  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: 20250306
12
+ // Revision: 20250312
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -498,6 +498,18 @@ declare namespace gapi.client {
498
498
  /** If set true, initial indexing is disabled for the DataStore. */
499
499
  disableInitialIndex?: boolean;
500
500
  }
501
+ interface GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig {
502
+ /** Optional. The enrollment states of each alert. */
503
+ alertEnrollments?: GoogleCloudDiscoveryengineV1alphaAlertPolicyConfigAlertEnrollment[];
504
+ /** Immutable. The fully qualified resource name of the AlertPolicy. */
505
+ alertPolicyName?: string;
506
+ }
507
+ interface GoogleCloudDiscoveryengineV1alphaAlertPolicyConfigAlertEnrollment {
508
+ /** Immutable. The id of an alert. */
509
+ alertId?: string;
510
+ /** Required. The enrollment status of a customer. */
511
+ enrollState?: string;
512
+ }
501
513
  interface GoogleCloudDiscoveryengineV1alphaAlloyDbSource {
502
514
  /** Required. The AlloyDB cluster to copy the data from with a length limit of 256 characters. */
503
515
  clusterId?: string;
@@ -643,6 +655,8 @@ declare namespace gapi.client {
643
655
  includeGroundingSupports?: boolean;
644
656
  }
645
657
  interface GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestQueryUnderstandingSpec {
658
+ /** Optional. Whether to disable spell correction. The default value is `false`. */
659
+ disableSpellCorrection?: boolean;
646
660
  /** Query classification specification. */
647
661
  queryClassificationSpec?: GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestQueryUnderstandingSpecQueryClassificationSpec;
648
662
  /** Query rephraser specification. */
@@ -1437,6 +1451,8 @@ declare namespace gapi.client {
1437
1451
  interface GoogleCloudDiscoveryengineV1alphaDataConnector {
1438
1452
  /** Optional. Action configurations to make the connector support actions. */
1439
1453
  actionConfig?: GoogleCloudDiscoveryengineV1alphaActionConfig;
1454
+ /** Optional. The connector level alert config. */
1455
+ alertPolicyConfigs?: GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig[];
1440
1456
  /** Indicates whether the connector is disabled for auto run. It can be used to pause periodical and real time sync. */
1441
1457
  autoRunDisabled?: boolean;
1442
1458
  /** Optional. The configuration for establishing a BAP connection. */
@@ -2930,7 +2946,7 @@ declare namespace gapi.client {
2930
2946
  imageUri?: string;
2931
2947
  /** Required. The title of the promotion. Maximum length: 160 characters. */
2932
2948
  title?: string;
2933
- /** Required. The URL for the page the user wants to promote. */
2949
+ /** Optional. The URL for the page the user wants to promote. Must be set for site search. For other verticals, this is optional. */
2934
2950
  uri?: string;
2935
2951
  }
2936
2952
  interface GoogleCloudDiscoveryengineV1alphaSearchRequest {
@@ -3861,6 +3877,8 @@ declare namespace gapi.client {
3861
3877
  allowPublicAccess?: boolean;
3862
3878
  /** Whether web app access is enabled. */
3863
3879
  enableWebApp?: boolean;
3880
+ /** Optional. Language code for user interface. Use language tags defined by [BCP47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). If unset, the default language code is "en-US". */
3881
+ languageCode?: string;
3864
3882
  /** Optional. The workforce identity pool provider used to access the widget. */
3865
3883
  workforceIdentityPoolProvider?: string;
3866
3884
  }
@@ -4669,7 +4687,7 @@ declare namespace gapi.client {
4669
4687
  imageUri?: string;
4670
4688
  /** Required. The title of the promotion. Maximum length: 160 characters. */
4671
4689
  title?: string;
4672
- /** Required. The URL for the page the user wants to promote. */
4690
+ /** Optional. The URL for the page the user wants to promote. Must be set for site search. For other verticals, this is optional. */
4673
4691
  uri?: string;
4674
4692
  }
4675
4693
  interface GoogleCloudDiscoveryengineV1betaSearchRequest {
@@ -4683,6 +4701,8 @@ declare namespace gapi.client {
4683
4701
  contentSearchSpec?: GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpec;
4684
4702
  /** Specifications that define the specific [DataStore]s 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. */
4685
4703
  dataStoreSpecs?: GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec[];
4704
+ /** Optional. Config for display feature, like match highlighting on search results. */
4705
+ displaySpec?: GoogleCloudDiscoveryengineV1betaSearchRequestDisplaySpec;
4686
4706
  /** Uses the provided embedding to do additional semantic document retrieval. The retrieval is based on the dot product of SearchRequest.EmbeddingSpec.EmbeddingVector.vector and the document embedding that is provided in SearchRequest.EmbeddingSpec.EmbeddingVector.field_path. If SearchRequest.EmbeddingSpec.EmbeddingVector.field_path is not provided, it will use ServingConfig.EmbeddingConfig.field_path. */
4687
4707
  embeddingSpec?: GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec;
4688
4708
  /** Facet specifications for faceted search. If empty, no facets are returned. A maximum of 100 values are allowed. Otherwise, an `INVALID_ARGUMENT` error is returned. */
@@ -4846,6 +4866,10 @@ declare namespace gapi.client {
4846
4866
  /** 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) */
4847
4867
  filter?: string;
4848
4868
  }
4869
+ interface GoogleCloudDiscoveryengineV1betaSearchRequestDisplaySpec {
4870
+ /** The condition under which match highlighting should occur. */
4871
+ matchHighlightingCondition?: string;
4872
+ }
4849
4873
  interface GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec {
4850
4874
  /** The embedding vector used for retrieval. Limit to 1. */
4851
4875
  embeddingVectors?: GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpecEmbeddingVector[];
@@ -5551,7 +5575,7 @@ declare namespace gapi.client {
5551
5575
  imageUri?: string;
5552
5576
  /** Required. The title of the promotion. Maximum length: 160 characters. */
5553
5577
  title?: string;
5554
- /** Required. The URL for the page the user wants to promote. */
5578
+ /** Optional. The URL for the page the user wants to promote. Must be set for site search. For other verticals, this is optional. */
5555
5579
  uri?: string;
5556
5580
  }
5557
5581
  interface GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpec {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.discoveryengine-v1alpha",
3
- "version": "0.0.20250306",
3
+ "version": "0.0.20250312",
4
4
  "description": "TypeScript typings for Discovery Engine API v1alpha",
5
5
  "repository": {
6
6
  "type": "git",