@maxim_mazurok/gapi.client.discoveryengine-v1alpha 0.2.20260614 → 0.3.20260620

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 +70 -104
  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: 20260614
12
+ // Revision: 20260620
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -359,9 +359,7 @@ declare namespace gapi.client {
359
359
  interface GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponseContentSuggestion {
360
360
  /** The type of the content suggestion. */
361
361
  contentType?:
362
- | 'CONTENT_TYPE_UNSPECIFIED'
363
- | 'GOOGLE_WORKSPACE'
364
- | 'THIRD_PARTY';
362
+ 'CONTENT_TYPE_UNSPECIFIED' | 'GOOGLE_WORKSPACE' | 'THIRD_PARTY';
365
363
  /** The name of the dataStore that this suggestion belongs to. */
366
364
  dataStore?: string;
367
365
  /** The destination uri of the content suggestion. */
@@ -386,9 +384,7 @@ declare namespace gapi.client {
386
384
  document?: GoogleCloudDiscoveryengineV1alphaDocument;
387
385
  /** The type of the person. */
388
386
  personType?:
389
- | 'PERSON_TYPE_UNSPECIFIED'
390
- | 'CLOUD_IDENTITY'
391
- | 'THIRD_PARTY_IDENTITY';
387
+ 'PERSON_TYPE_UNSPECIFIED' | 'CLOUD_IDENTITY' | 'THIRD_PARTY_IDENTITY';
392
388
  /** The score of each suggestion. The score is in the range of [0, 1]. */
393
389
  score?: number;
394
390
  /** The suggestion for the query. */
@@ -828,9 +824,7 @@ declare namespace gapi.client {
828
824
  orderBy?: string;
829
825
  /** Specifies the search result mode. If unspecified, the search result mode defaults to `DOCUMENTS`. See [parse and chunk documents](https://cloud.google.com/generative-ai-app-builder/docs/parse-chunk-documents) */
830
826
  searchResultMode?:
831
- | 'SEARCH_RESULT_MODE_UNSPECIFIED'
832
- | 'DOCUMENTS'
833
- | 'CHUNKS';
827
+ 'SEARCH_RESULT_MODE_UNSPECIFIED' | 'DOCUMENTS' | 'CHUNKS';
834
828
  }
835
829
  interface GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSearchSpecSearchResultList {
836
830
  /** Search results. */
@@ -1338,10 +1332,7 @@ declare namespace gapi.client {
1338
1332
  matcherValue?: GoogleCloudDiscoveryengineV1alphaBatchGetDocumentsMetadataResponseDocumentMetadataMatcherValue;
1339
1333
  /** The state of the document. */
1340
1334
  state?:
1341
- | 'STATE_UNSPECIFIED'
1342
- | 'INDEXED'
1343
- | 'NOT_IN_TARGET_SITE'
1344
- | 'NOT_IN_INDEX';
1335
+ 'STATE_UNSPECIFIED' | 'INDEXED' | 'NOT_IN_TARGET_SITE' | 'NOT_IN_INDEX';
1345
1336
  }
1346
1337
  interface GoogleCloudDiscoveryengineV1alphaBatchGetDocumentsMetadataResponseDocumentMetadataMatcherValue {
1347
1338
  /** Format: projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}/fhir/{resource_type}/{fhir_resource_id} */
@@ -1401,7 +1392,9 @@ declare namespace gapi.client {
1401
1392
  interface GoogleCloudDiscoveryengineV1alphaBigtableOptions {
1402
1393
  /** The mapping from family names to an object that contains column families level information for the given column family. If a family is not present in this map it will be ignored. */
1403
1394
  families?: {
1404
- [P in string]: GoogleCloudDiscoveryengineV1alphaBigtableOptionsBigtableColumnFamily;
1395
+ [
1396
+ P in string
1397
+ ]: GoogleCloudDiscoveryengineV1alphaBigtableOptionsBigtableColumnFamily;
1405
1398
  };
1406
1399
  /** The field name used for saving row key value in the document. The name has to match the pattern `a-zA-Z0-9*`. */
1407
1400
  keyFieldName?: string;
@@ -1536,7 +1529,9 @@ declare namespace gapi.client {
1536
1529
  googleDefined?: boolean;
1537
1530
  /** Optional. The translations of the text attributes. The keys should be BCP-47 language codes. */
1538
1531
  localizedTexts?: {
1539
- [P in string]: GoogleCloudDiscoveryengineV1alphaCannedQueryCannedQueryTexts;
1532
+ [
1533
+ P in string
1534
+ ]: GoogleCloudDiscoveryengineV1alphaCannedQueryCannedQueryTexts;
1540
1535
  };
1541
1536
  /** Immutable. Resource name of the canned query. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}/cannedQueries/{canned_query}` It must be a UTF-8 encoded string with a length limit of 1024 characters. */
1542
1537
  name?: string;
@@ -2693,7 +2688,9 @@ declare namespace gapi.client {
2693
2688
  name?: string;
2694
2689
  /** Map from file type to override the default parsing configuration based on the file type. Supported keys: * `pdf`: Override parsing config for PDF files, either digital parsing, ocr parsing or layout parsing is supported. * `html`: Override parsing config for HTML files, only digital parsing and layout parsing are supported. * `docx`: Override parsing config for DOCX files, only digital parsing and layout parsing are supported. * `pptx`: Override parsing config for PPTX files, only digital parsing and layout parsing are supported. * `xlsm`: Override parsing config for XLSM files, only digital parsing and layout parsing are supported. * `xlsx`: Override parsing config for XLSX files, only digital parsing and layout parsing are supported. */
2695
2690
  parsingConfigOverrides?: {
2696
- [P in string]: GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig;
2691
+ [
2692
+ P in string
2693
+ ]: GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig;
2697
2694
  };
2698
2695
  }
2699
2696
  interface GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfig {
@@ -2770,6 +2767,8 @@ declare namespace gapi.client {
2770
2767
  agentGatewaySetting?: GoogleCloudDiscoveryengineV1alphaAgentGatewaySetting;
2771
2768
  /** Optional. Immutable. This the application type which this engine resource represents. NOTE: this is a new concept independ of existing industry vertical or solution type. */
2772
2769
  appType?: 'APP_TYPE_UNSPECIFIED' | 'APP_TYPE_INTRANET';
2770
+ /** Optional. The Agent registry containing the agents, MCP servers and tools associated with this engine. Field is required if the engine has an Agent Gateway setting. */
2771
+ associatedAgentRegistry?: string;
2773
2772
  /** Configurations for the Chat Engine. Only applicable if solution_type is SOLUTION_TYPE_CHAT. */
2774
2773
  chatEngineConfig?: GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig;
2775
2774
  /** Output only. Additional information of the Chat Engine. Only applicable if solution_type is SOLUTION_TYPE_CHAT. */
@@ -2792,7 +2791,7 @@ declare namespace gapi.client {
2792
2791
  disableAnalytics?: boolean;
2793
2792
  /** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
2794
2793
  displayName?: string;
2795
- /** Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `disable-skills` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` */
2794
+ /** Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `disable-skills` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `deep-research` */
2796
2795
  features?: {
2797
2796
  [P in string]:
2798
2797
  | 'FEATURE_STATE_UNSPECIFIED'
@@ -2819,9 +2818,7 @@ declare namespace gapi.client {
2819
2818
  /** Optional. Maps a model name to its specific configuration for this engine. This allows admin users to turn on/off individual models. This only stores models whose states are overridden by the admin. When the state is unspecified, or model_configs is empty for this model, the system will decide if this model should be available or not based on the default configuration. For example, a preview model should be disabled by default if the admin has not chosen to enable it. */
2820
2819
  modelConfigs?: {
2821
2820
  [P in string]:
2822
- | 'MODEL_STATE_UNSPECIFIED'
2823
- | 'MODEL_ENABLED'
2824
- | 'MODEL_DISABLED';
2821
+ 'MODEL_STATE_UNSPECIFIED' | 'MODEL_ENABLED' | 'MODEL_DISABLED';
2825
2822
  };
2826
2823
  /** Immutable. Identifier. The fully qualified resource name of the engine. This field must be a UTF-8 encoded string with a length limit of 1024 characters. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` engine should be 1-63 characters, and valid characters are /a-z0-9*‍/. Otherwise, an INVALID_ARGUMENT error is returned. */
2827
2824
  name?: string;
@@ -2935,10 +2932,7 @@ declare namespace gapi.client {
2935
2932
  lastTuneTime?: string;
2936
2933
  /** Output only. The serving state of the engine: `ACTIVE`, `NOT_ACTIVE`. */
2937
2934
  servingState?:
2938
- | 'SERVING_STATE_UNSPECIFIED'
2939
- | 'INACTIVE'
2940
- | 'ACTIVE'
2941
- | 'TUNED';
2935
+ 'SERVING_STATE_UNSPECIFIED' | 'INACTIVE' | 'ACTIVE' | 'TUNED';
2942
2936
  /** Output only. The latest tune operation id associated with the engine. Only applicable on Media Recommendation engines. If present, this operation id can be used to determine if there is an ongoing tune for this engine. To check the operation status, send the GetOperation request with this operation id in the engine resource format. If no tuning has happened for this engine, the string is empty. */
2943
2937
  tuningOperation?: string;
2944
2938
  }
@@ -3020,11 +3014,7 @@ declare namespace gapi.client {
3020
3014
  qualityMetrics?: GoogleCloudDiscoveryengineV1alphaQualityMetrics;
3021
3015
  /** Output only. The state of the evaluation. */
3022
3016
  state?:
3023
- | 'STATE_UNSPECIFIED'
3024
- | 'PENDING'
3025
- | 'RUNNING'
3026
- | 'SUCCEEDED'
3027
- | 'FAILED';
3017
+ 'STATE_UNSPECIFIED' | 'PENDING' | 'RUNNING' | 'SUCCEEDED' | 'FAILED';
3028
3018
  }
3029
3019
  interface GoogleCloudDiscoveryengineV1alphaEvaluationEvaluationSpec {
3030
3020
  /** Optional. The specification of the query set. */
@@ -3479,9 +3469,7 @@ declare namespace gapi.client {
3479
3469
  inlineSource?: GoogleCloudDiscoveryengineV1alphaImportDocumentsRequestInlineSource;
3480
3470
  /** The mode of reconciliation between existing documents and the documents to be imported. Defaults to ReconciliationMode.INCREMENTAL. */
3481
3471
  reconciliationMode?:
3482
- | 'RECONCILIATION_MODE_UNSPECIFIED'
3483
- | 'INCREMENTAL'
3484
- | 'FULL';
3472
+ 'RECONCILIATION_MODE_UNSPECIFIED' | 'INCREMENTAL' | 'FULL';
3485
3473
  /** Spanner input source. */
3486
3474
  spannerSource?: GoogleCloudDiscoveryengineV1alphaSpannerSource;
3487
3475
  /** Indicates which fields in the provided imported documents to update. If not set, the default is to update all fields. */
@@ -4767,9 +4755,7 @@ declare namespace gapi.client {
4767
4755
  extractiveContentSpec?: GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecExtractiveContentSpec;
4768
4756
  /** Specifies the search result mode. If unspecified, the search result mode defaults to `DOCUMENTS`. */
4769
4757
  searchResultMode?:
4770
- | 'SEARCH_RESULT_MODE_UNSPECIFIED'
4771
- | 'DOCUMENTS'
4772
- | 'CHUNKS';
4758
+ 'SEARCH_RESULT_MODE_UNSPECIFIED' | 'DOCUMENTS' | 'CHUNKS';
4773
4759
  /** If `snippetSpec` is not specified, snippets are not included in the search response. */
4774
4760
  snippetSpec?: GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSnippetSpec;
4775
4761
  /** If `summarySpec` is not specified, summaries are not included in the search response. */
@@ -4920,14 +4906,10 @@ declare namespace gapi.client {
4920
4906
  allowedFieldNames?: string[];
4921
4907
  /** Optional. Controls behavior of how extracted filters are applied to the search. The default behavior depends on the request. For single datastore structured search, the default is `HARD_FILTER`. For multi-datastore search, the default behavior is `SOFT_BOOST`. Location-based filters are always applied as hard filters, and the `SOFT_BOOST` setting will not affect them. This field is only used if SearchRequest.NaturalLanguageQueryUnderstandingSpec.FilterExtractionCondition is set to FilterExtractionCondition.ENABLED. */
4922
4908
  extractedFilterBehavior?:
4923
- | 'EXTRACTED_FILTER_BEHAVIOR_UNSPECIFIED'
4924
- | 'HARD_FILTER'
4925
- | 'SOFT_BOOST';
4909
+ 'EXTRACTED_FILTER_BEHAVIOR_UNSPECIFIED' | 'HARD_FILTER' | 'SOFT_BOOST';
4926
4910
  /** The condition under which filter extraction should occur. Server behavior defaults to `DISABLED`. */
4927
4911
  filterExtractionCondition?:
4928
- | 'CONDITION_UNSPECIFIED'
4929
- | 'DISABLED'
4930
- | 'ENABLED';
4912
+ 'CONDITION_UNSPECIFIED' | 'DISABLED' | 'ENABLED';
4931
4913
  /** Field names used for location-based filtering, where geolocation filters are detected in natural language search queries. Only valid when the FilterExtractionCondition is set to `ENABLED`. */
4932
4914
  geoSearchQueryDetectionFieldNames?: string[];
4933
4915
  }
@@ -5523,6 +5505,8 @@ declare namespace gapi.client {
5523
5505
  answer?: GoogleCloudDiscoveryengineV1alphaAssistAnswer;
5524
5506
  /** A global unique ID that identifies the current pair of request and stream of responses. Used for feedback and support. */
5525
5507
  assistToken?: string;
5508
+ /** Per-connector authentication errors encountered during the request. Present when one or more connectors failed authentication but the request proceeded with the remaining connectors. */
5509
+ connectorAuthErrors?: GoogleCloudDiscoveryengineV1alphaStreamAssistResponseConnectorAuthError[];
5526
5510
  /** The tool names of the tools that were invoked. */
5527
5511
  invocationTools?: string[];
5528
5512
  /** The skills executed during the turn. */
@@ -5530,6 +5514,12 @@ declare namespace gapi.client {
5530
5514
  /** Session information. Only included in the final StreamAssistResponse of the response stream. */
5531
5515
  sessionInfo?: GoogleCloudDiscoveryengineV1alphaStreamAssistResponseSessionInfo;
5532
5516
  }
5517
+ interface GoogleCloudDiscoveryengineV1alphaStreamAssistResponseConnectorAuthError {
5518
+ /** Resource name of the data connector that failed authentication. */
5519
+ dataConnector?: string;
5520
+ /** Human-readable error message describing the auth failure. */
5521
+ errorMessage?: string;
5522
+ }
5533
5523
  interface GoogleCloudDiscoveryengineV1alphaStreamAssistResponseInvokedSkill {
5534
5524
  /** The display name of the skill. */
5535
5525
  displayName?: string;
@@ -5861,7 +5851,9 @@ declare namespace gapi.client {
5861
5851
  facetField?: GoogleCloudDiscoveryengineV1alphaWidgetConfigFacetField[];
5862
5852
  /** The key is the UI component. Mock. Currently supported `title`, `thumbnail`, `url`, `custom1`, `custom2`, `custom3`. The value is the name of the field along with its device visibility. The 3 custom fields are optional and can be added or removed. `title`, `thumbnail`, `url` are required UI components that cannot be removed. */
5863
5853
  fieldsUiComponentsMap?: {
5864
- [P in string]: GoogleCloudDiscoveryengineV1alphaWidgetConfigUIComponentField;
5854
+ [
5855
+ P in string
5856
+ ]: GoogleCloudDiscoveryengineV1alphaWidgetConfigUIComponentField;
5865
5857
  };
5866
5858
  /** Output only. Whether the subscription is gemini bundle or not. */
5867
5859
  geminiBundle?: boolean;
@@ -5883,9 +5875,7 @@ declare namespace gapi.client {
5883
5875
  nodes?: GoogleCloudDiscoveryengineV1alphaWidgetConfigNode[];
5884
5876
  /** The type of snippet to display in UCS widget. - RESULT_DISPLAY_TYPE_UNSPECIFIED for existing users. - SNIPPET for new non-enterprise search users. - EXTRACTIVE_ANSWER for new enterprise search users. */
5885
5877
  resultDisplayType?:
5886
- | 'RESULT_DISPLAY_TYPE_UNSPECIFIED'
5887
- | 'SNIPPET'
5888
- | 'EXTRACTIVE_ANSWER';
5878
+ 'RESULT_DISPLAY_TYPE_UNSPECIFIED' | 'SNIPPET' | 'EXTRACTIVE_ANSWER';
5889
5879
  /** Required. Immutable. Specifies the solution type that this WidgetConfig can be used for. */
5890
5880
  solutionType?:
5891
5881
  | 'SOLUTION_TYPE_UNSPECIFIED'
@@ -6001,7 +5991,9 @@ declare namespace gapi.client {
6001
5991
  facetField?: GoogleCloudDiscoveryengineV1alphaWidgetConfigFacetField[];
6002
5992
  /** The key is the UI component. Mock. Currently supported `title`, `thumbnail`, `url`, `custom1`, `custom2`, `custom3`. The value is the name of the field along with its device visibility. The 3 custom fields are optional and can be added or removed. `title`, `thumbnail`, `url` are required UI components that cannot be removed. */
6003
5993
  fieldsUiComponentsMap?: {
6004
- [P in string]: GoogleCloudDiscoveryengineV1alphaWidgetConfigUIComponentField;
5994
+ [
5995
+ P in string
5996
+ ]: GoogleCloudDiscoveryengineV1alphaWidgetConfigUIComponentField;
6005
5997
  };
6006
5998
  /** Output only. the identifier of the data store, used for widget service. For now it refers to data_store_id, in the future we will migrate the field to encrypted data store name UUID. */
6007
5999
  id?: string;
@@ -6051,9 +6043,7 @@ declare namespace gapi.client {
6051
6043
  interface GoogleCloudDiscoveryengineV1alphaWidgetConfigUIComponentField {
6052
6044
  /** The field visibility on different types of devices. */
6053
6045
  deviceVisibility?:
6054
- | 'DEVICE_VISIBILITY_UNSPECIFIED'
6055
- | 'MOBILE'
6056
- | 'DESKTOP'[];
6046
+ 'DEVICE_VISIBILITY_UNSPECIFIED' | 'MOBILE' | 'DESKTOP'[];
6057
6047
  /** The template to customize how the field is displayed. An example value would be a string that looks like: "Price: {value}". */
6058
6048
  displayTemplate?: string;
6059
6049
  /** Required. Registered field name. The format is `field.abc`. */
@@ -6080,7 +6070,7 @@ declare namespace gapi.client {
6080
6070
  enableSearchAsYouType?: boolean;
6081
6071
  /** If set to true, the widget will enable visual content summary on applicable search requests. Only used by healthcare search. */
6082
6072
  enableVisualContentSummary?: boolean;
6083
- /** Output only. Feature config for the engine to opt in or opt out of features. Supported keys: * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `disable-skills` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` */
6073
+ /** Output only. Feature config for the engine to opt in or opt out of features. Supported keys: * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `disable-skills` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `deep-research` */
6084
6074
  features?: {
6085
6075
  [P in string]:
6086
6076
  | 'FEATURE_STATE_UNSPECIFIED'
@@ -6100,15 +6090,11 @@ declare namespace gapi.client {
6100
6090
  /** Output only. Maps a model name to its specific configuration for this engine. This allows admin users to turn on/off individual models. This only stores models whose states are overridden by the admin. When the state is unspecified, or model_configs is empty for this model, the system will decide if this model should be available or not based on the default configuration. For example, a preview model should be disabled by default if the admin has not chosen to enable it. */
6101
6091
  modelConfigs?: {
6102
6092
  [P in string]:
6103
- | 'MODEL_STATE_UNSPECIFIED'
6104
- | 'MODEL_ENABLED'
6105
- | 'MODEL_DISABLED';
6093
+ 'MODEL_STATE_UNSPECIFIED' | 'MODEL_ENABLED' | 'MODEL_DISABLED';
6106
6094
  };
6107
6095
  /** Controls whether result extract is display and how (snippet or extractive answer). Default to no result if unspecified. */
6108
6096
  resultDescriptionType?:
6109
- | 'RESULT_DISPLAY_TYPE_UNSPECIFIED'
6110
- | 'SNIPPET'
6111
- | 'EXTRACTIVE_ANSWER';
6097
+ 'RESULT_DISPLAY_TYPE_UNSPECIFIED' | 'SNIPPET' | 'EXTRACTIVE_ANSWER';
6112
6098
  /** Optional. SearchAddonSpec is used to disable add-ons for search. This field is only supported for search requests. */
6113
6099
  searchAddonSpec?: GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettingsSearchAddonSpec;
6114
6100
  }
@@ -6741,7 +6727,9 @@ declare namespace gapi.client {
6741
6727
  name?: string;
6742
6728
  /** Map from file type to override the default parsing configuration based on the file type. Supported keys: * `pdf`: Override parsing config for PDF files, either digital parsing, ocr parsing or layout parsing is supported. * `html`: Override parsing config for HTML files, only digital parsing and layout parsing are supported. * `docx`: Override parsing config for DOCX files, only digital parsing and layout parsing are supported. * `pptx`: Override parsing config for PPTX files, only digital parsing and layout parsing are supported. * `xlsm`: Override parsing config for XLSM files, only digital parsing and layout parsing are supported. * `xlsx`: Override parsing config for XLSX files, only digital parsing and layout parsing are supported. */
6743
6729
  parsingConfigOverrides?: {
6744
- [P in string]: GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig;
6730
+ [
6731
+ P in string
6732
+ ]: GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig;
6745
6733
  };
6746
6734
  }
6747
6735
  interface GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigChunkingConfig {
@@ -6799,6 +6787,8 @@ declare namespace gapi.client {
6799
6787
  agentGatewaySetting?: GoogleCloudDiscoveryengineV1betaAgentGatewaySetting;
6800
6788
  /** Optional. Immutable. This the application type which this engine resource represents. NOTE: this is a new concept independ of existing industry vertical or solution type. */
6801
6789
  appType?: 'APP_TYPE_UNSPECIFIED' | 'APP_TYPE_INTRANET';
6790
+ /** Optional. The Agent registry containing the agents, MCP servers and tools associated with this engine. Field is required if the engine has an Agent Gateway setting. */
6791
+ associatedAgentRegistry?: string;
6802
6792
  /** Configurations for the Chat Engine. Only applicable if solution_type is SOLUTION_TYPE_CHAT. */
6803
6793
  chatEngineConfig?: GoogleCloudDiscoveryengineV1betaEngineChatEngineConfig;
6804
6794
  /** Output only. Additional information of the Chat Engine. Only applicable if solution_type is SOLUTION_TYPE_CHAT. */
@@ -6821,7 +6811,7 @@ declare namespace gapi.client {
6821
6811
  disableAnalytics?: boolean;
6822
6812
  /** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
6823
6813
  displayName?: string;
6824
- /** Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `disable-skills` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` */
6814
+ /** Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `disable-skills` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `deep-research` */
6825
6815
  features?: {
6826
6816
  [P in string]:
6827
6817
  | 'FEATURE_STATE_UNSPECIFIED'
@@ -6848,9 +6838,7 @@ declare namespace gapi.client {
6848
6838
  /** Optional. Maps a model name to its specific configuration for this engine. This allows admin users to turn on/off individual models. This only stores models whose states are overridden by the admin. When the state is unspecified, or model_configs is empty for this model, the system will decide if this model should be available or not based on the default configuration. For example, a preview model should be disabled by default if the admin has not chosen to enable it. */
6849
6839
  modelConfigs?: {
6850
6840
  [P in string]:
6851
- | 'MODEL_STATE_UNSPECIFIED'
6852
- | 'MODEL_ENABLED'
6853
- | 'MODEL_DISABLED';
6841
+ 'MODEL_STATE_UNSPECIFIED' | 'MODEL_ENABLED' | 'MODEL_DISABLED';
6854
6842
  };
6855
6843
  /** Immutable. Identifier. The fully qualified resource name of the engine. This field must be a UTF-8 encoded string with a length limit of 1024 characters. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` engine should be 1-63 characters, and valid characters are /a-z0-9*‍/. Otherwise, an INVALID_ARGUMENT error is returned. */
6856
6844
  name?: string;
@@ -6994,11 +6982,7 @@ declare namespace gapi.client {
6994
6982
  qualityMetrics?: GoogleCloudDiscoveryengineV1betaQualityMetrics;
6995
6983
  /** Output only. The state of the evaluation. */
6996
6984
  state?:
6997
- | 'STATE_UNSPECIFIED'
6998
- | 'PENDING'
6999
- | 'RUNNING'
7000
- | 'SUCCEEDED'
7001
- | 'FAILED';
6985
+ 'STATE_UNSPECIFIED' | 'PENDING' | 'RUNNING' | 'SUCCEEDED' | 'FAILED';
7002
6986
  }
7003
6987
  interface GoogleCloudDiscoveryengineV1betaEvaluationEvaluationSpec {
7004
6988
  /** Optional. The specification of the query set. */
@@ -7548,9 +7532,7 @@ declare namespace gapi.client {
7548
7532
  extractiveContentSpec?: GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecExtractiveContentSpec;
7549
7533
  /** Specifies the search result mode. If unspecified, the search result mode defaults to `DOCUMENTS`. */
7550
7534
  searchResultMode?:
7551
- | 'SEARCH_RESULT_MODE_UNSPECIFIED'
7552
- | 'DOCUMENTS'
7553
- | 'CHUNKS';
7535
+ 'SEARCH_RESULT_MODE_UNSPECIFIED' | 'DOCUMENTS' | 'CHUNKS';
7554
7536
  /** If `snippetSpec` is not specified, snippets are not included in the search response. */
7555
7537
  snippetSpec?: GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSnippetSpec;
7556
7538
  /** If `summarySpec` is not specified, summaries are not included in the search response. */
@@ -7701,14 +7683,10 @@ declare namespace gapi.client {
7701
7683
  allowedFieldNames?: string[];
7702
7684
  /** Optional. Controls behavior of how extracted filters are applied to the search. The default behavior depends on the request. For single datastore structured search, the default is `HARD_FILTER`. For multi-datastore search, the default behavior is `SOFT_BOOST`. Location-based filters are always applied as hard filters, and the `SOFT_BOOST` setting will not affect them. This field is only used if SearchRequest.NaturalLanguageQueryUnderstandingSpec.FilterExtractionCondition is set to FilterExtractionCondition.ENABLED. */
7703
7685
  extractedFilterBehavior?:
7704
- | 'EXTRACTED_FILTER_BEHAVIOR_UNSPECIFIED'
7705
- | 'HARD_FILTER'
7706
- | 'SOFT_BOOST';
7686
+ 'EXTRACTED_FILTER_BEHAVIOR_UNSPECIFIED' | 'HARD_FILTER' | 'SOFT_BOOST';
7707
7687
  /** The condition under which filter extraction should occur. Server behavior defaults to `DISABLED`. */
7708
7688
  filterExtractionCondition?:
7709
- | 'CONDITION_UNSPECIFIED'
7710
- | 'DISABLED'
7711
- | 'ENABLED';
7689
+ 'CONDITION_UNSPECIFIED' | 'DISABLED' | 'ENABLED';
7712
7690
  /** Field names used for location-based filtering, where geolocation filters are detected in natural language search queries. Only valid when the FilterExtractionCondition is set to `ENABLED`. */
7713
7691
  geoSearchQueryDetectionFieldNames?: string[];
7714
7692
  }
@@ -8518,7 +8496,9 @@ declare namespace gapi.client {
8518
8496
  name?: string;
8519
8497
  /** Map from file type to override the default parsing configuration based on the file type. Supported keys: * `pdf`: Override parsing config for PDF files, either digital parsing, ocr parsing or layout parsing is supported. * `html`: Override parsing config for HTML files, only digital parsing and layout parsing are supported. * `docx`: Override parsing config for DOCX files, only digital parsing and layout parsing are supported. * `pptx`: Override parsing config for PPTX files, only digital parsing and layout parsing are supported. * `xlsm`: Override parsing config for XLSM files, only digital parsing and layout parsing are supported. * `xlsx`: Override parsing config for XLSX files, only digital parsing and layout parsing are supported. */
8520
8498
  parsingConfigOverrides?: {
8521
- [P in string]: GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig;
8499
+ [
8500
+ P in string
8501
+ ]: GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig;
8522
8502
  };
8523
8503
  }
8524
8504
  interface GoogleCloudDiscoveryengineV1DocumentProcessingConfigChunkingConfig {
@@ -8586,6 +8566,8 @@ declare namespace gapi.client {
8586
8566
  agentGatewaySetting?: GoogleCloudDiscoveryengineV1AgentGatewaySetting;
8587
8567
  /** Optional. Immutable. This the application type which this engine resource represents. NOTE: this is a new concept independ of existing industry vertical or solution type. */
8588
8568
  appType?: 'APP_TYPE_UNSPECIFIED' | 'APP_TYPE_INTRANET';
8569
+ /** Optional. The Agent registry containing the agents, MCP servers and tools associated with this engine. Field is required if the engine has an Agent Gateway setting. */
8570
+ associatedAgentRegistry?: string;
8589
8571
  /** Configurations for the Chat Engine. Only applicable if solution_type is SOLUTION_TYPE_CHAT. */
8590
8572
  chatEngineConfig?: GoogleCloudDiscoveryengineV1EngineChatEngineConfig;
8591
8573
  /** Output only. Additional information of the Chat Engine. Only applicable if solution_type is SOLUTION_TYPE_CHAT. */
@@ -8608,7 +8590,7 @@ declare namespace gapi.client {
8608
8590
  disableAnalytics?: boolean;
8609
8591
  /** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
8610
8592
  displayName?: string;
8611
- /** Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `disable-skills` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` */
8593
+ /** Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `disable-skills` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `deep-research` */
8612
8594
  features?: {
8613
8595
  [P in string]:
8614
8596
  | 'FEATURE_STATE_UNSPECIFIED'
@@ -8635,9 +8617,7 @@ declare namespace gapi.client {
8635
8617
  /** Optional. Maps a model name to its specific configuration for this engine. This allows admin users to turn on/off individual models. This only stores models whose states are overridden by the admin. When the state is unspecified, or model_configs is empty for this model, the system will decide if this model should be available or not based on the default configuration. For example, a preview model should be disabled by default if the admin has not chosen to enable it. */
8636
8618
  modelConfigs?: {
8637
8619
  [P in string]:
8638
- | 'MODEL_STATE_UNSPECIFIED'
8639
- | 'MODEL_ENABLED'
8640
- | 'MODEL_DISABLED';
8620
+ 'MODEL_STATE_UNSPECIFIED' | 'MODEL_ENABLED' | 'MODEL_DISABLED';
8641
8621
  };
8642
8622
  /** Immutable. Identifier. The fully qualified resource name of the engine. This field must be a UTF-8 encoded string with a length limit of 1024 characters. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` engine should be 1-63 characters, and valid characters are /a-z0-9*‍/. Otherwise, an INVALID_ARGUMENT error is returned. */
8643
8623
  name?: string;
@@ -9108,9 +9088,7 @@ declare namespace gapi.client {
9108
9088
  extractiveContentSpec?: GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecExtractiveContentSpec;
9109
9089
  /** Specifies the search result mode. If unspecified, the search result mode defaults to `DOCUMENTS`. */
9110
9090
  searchResultMode?:
9111
- | 'SEARCH_RESULT_MODE_UNSPECIFIED'
9112
- | 'DOCUMENTS'
9113
- | 'CHUNKS';
9091
+ 'SEARCH_RESULT_MODE_UNSPECIFIED' | 'DOCUMENTS' | 'CHUNKS';
9114
9092
  /** If `snippetSpec` is not specified, snippets are not included in the search response. */
9115
9093
  snippetSpec?: GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSnippetSpec;
9116
9094
  /** If `summarySpec` is not specified, summaries are not included in the search response. */
@@ -10867,8 +10845,7 @@ declare namespace gapi.client {
10867
10845
  prettyPrint?: boolean;
10868
10846
  /** What format output should be. If unspecified, defaults to JSON. */
10869
10847
  processedDocumentFormat?:
10870
- | 'PROCESSED_DOCUMENT_FORMAT_UNSPECIFIED'
10871
- | 'JSON';
10848
+ 'PROCESSED_DOCUMENT_FORMAT_UNSPECIFIED' | 'JSON';
10872
10849
  /** Required. What type of processing to return. */
10873
10850
  processedDocumentType?:
10874
10851
  | 'PROCESSED_DOCUMENT_TYPE_UNSPECIFIED'
@@ -11280,9 +11257,7 @@ declare namespace gapi.client {
11280
11257
  uploadType?: string;
11281
11258
  /** The view to apply to the returned Branch. Defaults to BranchView.BRANCH_VIEW_BASIC if unspecified. */
11282
11259
  view?:
11283
- | 'BRANCH_VIEW_UNSPECIFIED'
11284
- | 'BRANCH_VIEW_BASIC'
11285
- | 'BRANCH_VIEW_FULL';
11260
+ 'BRANCH_VIEW_UNSPECIFIED' | 'BRANCH_VIEW_BASIC' | 'BRANCH_VIEW_FULL';
11286
11261
  }): Request<GoogleCloudDiscoveryengineV1alphaBranch>;
11287
11262
  /** Lists all Branchs under the specified parent DataStore. */
11288
11263
  list(request?: {
@@ -11312,9 +11287,7 @@ declare namespace gapi.client {
11312
11287
  uploadType?: string;
11313
11288
  /** The view to apply to the returned Branch. Defaults to BranchView.BRANCH_VIEW_BASIC if unspecified. */
11314
11289
  view?:
11315
- | 'BRANCH_VIEW_UNSPECIFIED'
11316
- | 'BRANCH_VIEW_BASIC'
11317
- | 'BRANCH_VIEW_FULL';
11290
+ 'BRANCH_VIEW_UNSPECIFIED' | 'BRANCH_VIEW_BASIC' | 'BRANCH_VIEW_FULL';
11318
11291
  }): Request<GoogleCloudDiscoveryengineV1alphaListBranchesResponse>;
11319
11292
  documents: DocumentsResource;
11320
11293
  operations: OperationsResource;
@@ -18849,8 +18822,7 @@ declare namespace gapi.client {
18849
18822
  prettyPrint?: boolean;
18850
18823
  /** What format output should be. If unspecified, defaults to JSON. */
18851
18824
  processedDocumentFormat?:
18852
- | 'PROCESSED_DOCUMENT_FORMAT_UNSPECIFIED'
18853
- | 'JSON';
18825
+ 'PROCESSED_DOCUMENT_FORMAT_UNSPECIFIED' | 'JSON';
18854
18826
  /** Required. What type of processing to return. */
18855
18827
  processedDocumentType?:
18856
18828
  | 'PROCESSED_DOCUMENT_TYPE_UNSPECIFIED'
@@ -19262,9 +19234,7 @@ declare namespace gapi.client {
19262
19234
  uploadType?: string;
19263
19235
  /** The view to apply to the returned Branch. Defaults to BranchView.BRANCH_VIEW_BASIC if unspecified. */
19264
19236
  view?:
19265
- | 'BRANCH_VIEW_UNSPECIFIED'
19266
- | 'BRANCH_VIEW_BASIC'
19267
- | 'BRANCH_VIEW_FULL';
19237
+ 'BRANCH_VIEW_UNSPECIFIED' | 'BRANCH_VIEW_BASIC' | 'BRANCH_VIEW_FULL';
19268
19238
  }): Request<GoogleCloudDiscoveryengineV1alphaBranch>;
19269
19239
  /** Lists all Branchs under the specified parent DataStore. */
19270
19240
  list(request?: {
@@ -19294,9 +19264,7 @@ declare namespace gapi.client {
19294
19264
  uploadType?: string;
19295
19265
  /** The view to apply to the returned Branch. Defaults to BranchView.BRANCH_VIEW_BASIC if unspecified. */
19296
19266
  view?:
19297
- | 'BRANCH_VIEW_UNSPECIFIED'
19298
- | 'BRANCH_VIEW_BASIC'
19299
- | 'BRANCH_VIEW_FULL';
19267
+ 'BRANCH_VIEW_UNSPECIFIED' | 'BRANCH_VIEW_BASIC' | 'BRANCH_VIEW_FULL';
19300
19268
  }): Request<GoogleCloudDiscoveryengineV1alphaListBranchesResponse>;
19301
19269
  documents: DocumentsResource;
19302
19270
  operations: OperationsResource;
@@ -25007,7 +24975,7 @@ declare namespace gapi.client {
25007
24975
  oauth_token?: string;
25008
24976
  /** Optional. The order in which the UserLicenses are listed. The value must be a comma-separated list of fields. Default sorting order is ascending. To specify descending order for a field, append a " desc" suffix. Redundant space characters in the syntax are insignificant. Supported fields (only `user_principal` is supported for now): * `user_principal` If not set, the default ordering is by `user_principal`. Examples: * `user_principal` to order by `user_principal` in ascending order. * `user_principal desc` to order by `user_principal` in descending order. */
25009
24977
  orderBy?: string;
25010
- /** Optional. Requested page size. Server may return fewer items than requested. If unspecified, defaults to 10. The maximum value is 50; values above 50 will be coerced to 50. If this field is negative, an INVALID_ARGUMENT error is returned. */
24978
+ /** Optional. Requested page size. Server may return fewer items than requested. If unspecified, defaults to 100. The maximum value is 1000; values above 1000 will be coerced to 1000. If this field is negative, an INVALID_ARGUMENT error is returned. */
25011
24979
  pageSize?: number;
25012
24980
  /** Optional. A page token, received from a previous `ListUserLicenses` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListUserLicenses` must match the call that provided the page token. */
25013
24981
  pageToken?: string;
@@ -25188,9 +25156,7 @@ declare namespace gapi.client {
25188
25156
  callback?: string;
25189
25157
  /** Optional. The type of entities to fetch. If not set, all entity types will be returned. */
25190
25158
  entityTypeFilter?:
25191
- | 'ENTITY_TYPE_FILTER_UNSPECIFIED'
25192
- | 'USERS'
25193
- | 'GROUPS';
25159
+ 'ENTITY_TYPE_FILTER_UNSPECIFIED' | 'USERS' | 'GROUPS';
25194
25160
  /** Selector specifying which fields to include in a partial response. */
25195
25161
  fields?: string;
25196
25162
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.discoveryengine-v1alpha",
3
- "version": "0.2.20260614",
3
+ "version": "0.3.20260620",
4
4
  "description": "TypeScript typings for Discovery Engine API v1alpha",
5
5
  "repository": {
6
6
  "type": "git",