@maxim_mazurok/gapi.client.discoveryengine-v1 0.0.20240409 → 0.0.20240502

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 +173 -46
  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=v1
12
- // Revision: 20240409
12
+ // Revision: 20240502
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -99,7 +99,7 @@ declare namespace gapi.client {
99
99
  completeTime?: string;
100
100
  /** Output only. Answer creation timestamp. */
101
101
  createTime?: string;
102
- /** Immutable. Fully qualified name `project/*‍/locations/global/collections/{collection}/engines/{engine}/sessions/*‍/answers/*` */
102
+ /** Immutable. Fully qualified name `projects/{project}/locations/global/collections/{collection}/engines/{engine}/sessions/*‍/answers/*` */
103
103
  name?: string;
104
104
  /** Query understanding information. */
105
105
  queryUnderstandingInfo?: GoogleCloudDiscoveryengineV1alphaAnswerQueryUnderstandingInfo;
@@ -260,6 +260,19 @@ declare namespace gapi.client {
260
260
  /** Operation last update time. If the operation is done, this is also the finish time. */
261
261
  updateTime?: string;
262
262
  }
263
+ interface GoogleCloudDiscoveryengineV1alphaCustomTuningModel {
264
+ /** Timestamp the Model was created at. */
265
+ createTime?: string;
266
+ /** The display name of the model. */
267
+ displayName?: string;
268
+ /** The state that the model is in (e.g.`TRAINING` or `TRAINING_FAILED`). */
269
+ modelState?: string;
270
+ modelVersion?: string;
271
+ /** Required. The fully qualified resource name of the model. Format: `projects/{project_number}/locations/{location}/collections/{collection}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}` model must be an alpha-numerical string with limit of 40 characters. */
272
+ name?: string;
273
+ /** Timestamp the model training was initiated. */
274
+ trainingStartTime?: string;
275
+ }
263
276
  interface GoogleCloudDiscoveryengineV1alphaDataStore {
264
277
  /** Immutable. Whether data in the DataStore has ACL information. If set to `true`, the source data must have ACL. ACL will be ingested when data is ingested by DocumentService.ImportDocuments methods. When ACL is enabled for the DataStore, Document can't be accessed by calling DocumentService.GetDocument or DocumentService.ListDocuments. Currently ACL is only supported in `GENERIC` industry vertical with non-`PUBLIC_WEBSITE` content config. */
265
278
  aclEnabled?: boolean;
@@ -348,7 +361,7 @@ declare namespace gapi.client {
348
361
  interface GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigDigitalParsingConfig {}
349
362
  interface GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayoutParsingConfig {}
350
363
  interface GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigOcrParsingConfig {
351
- /** Apply additional enhanced OCR processing to a list of document elements. Supported values: * `table`: advanced table parsing model. */
364
+ /** [DEPRECATED] This field is deprecated. To use the additional enhanced document elements processing, please switch to `layout_parsing_config`. */
352
365
  enhancedDocumentElements?: string[];
353
366
  /** If true, will use native text instead of OCR text on pages containing native text. */
354
367
  useNativeText?: boolean;
@@ -393,7 +406,7 @@ declare namespace gapi.client {
393
406
  interface GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig {
394
407
  /** The configurationt generate the Dialogflow agent that is associated to this Engine. Note that these configurations are one-time consumed by and passed to Dialogflow service. It means they cannot be retrieved using EngineService.GetEngine or EngineService.ListEngines API after engine creation. */
395
408
  agentCreationConfig?: GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfigAgentCreationConfig;
396
- /** The resource name of an exist Dialogflow agent to link to this Chat Engine. Customers can either provide `agent_creation_config` to create agent or provide an agent name that links the agent with the Chat engine. Format: `projects//locations//agents/`. Note that the `dialogflow_agent_to_link` are one-time consumed by and passed to Dialogflow service. It means they cannot be retrieved using EngineService.GetEngine or EngineService.ListEngines API after engine creation. Please use ChatEngineMetadata.dialogflow_agent for actual agent association after Engine is created. */
409
+ /** The resource name of an exist Dialogflow agent to link to this Chat Engine. Customers can either provide `agent_creation_config` to create agent or provide an agent name that links the agent with the Chat engine. Format: `projects//locations//agents/`. Note that the `dialogflow_agent_to_link` are one-time consumed by and passed to Dialogflow service. It means they cannot be retrieved using EngineService.GetEngine or EngineService.ListEngines API after engine creation. Use ChatEngineMetadata.dialogflow_agent for actual agent association after Engine is created. */
397
410
  dialogflowAgentToLink?: string;
398
411
  }
399
412
  interface GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfigAgentCreationConfig {
@@ -443,7 +456,7 @@ declare namespace gapi.client {
443
456
  interface GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig {
444
457
  /** The add-on that this search engine enables. */
445
458
  searchAddOns?: string[];
446
- /** The search feature tier of this engine. Different tiers might have different pricing. To learn more, please check the pricing documentation. Defaults to SearchTier.SEARCH_TIER_STANDARD if not specified. */
459
+ /** The search feature tier of this engine. Different tiers might have different pricing. To learn more, check the pricing documentation. Defaults to SearchTier.SEARCH_TIER_STANDARD if not specified. */
447
460
  searchTier?: string;
448
461
  }
449
462
  interface GoogleCloudDiscoveryengineV1alphaEngineSimilarDocumentsEngineConfig {}
@@ -458,6 +471,8 @@ declare namespace gapi.client {
458
471
  documentCount?: string;
459
472
  }
460
473
  interface GoogleCloudDiscoveryengineV1alphaFieldConfig {
474
+ /** If this field is set, only the corresponding source will be indexed for this field. Otherwise, the values from different sources are merged. Assuming a page with `` in meta tag, and `` in page map: if this enum is set to METATAGS, we will only index ``; if this enum is not set, we will merge them and index ``. */
475
+ advancedSiteSearchDataSources?: string[];
461
476
  /** If completable_option is COMPLETABLE_ENABLED, field values are directly used and returned as suggestions for Autocomplete in CompletionService.CompleteQuery. If completable_option is unset, the server behavior defaults to COMPLETABLE_DISABLED for fields that support setting completable options, which are just `string` fields. For those fields that do not support setting completable options, the server will skip completable option setting, and setting completable_option for those fields will throw `INVALID_ARGUMENT` error. */
462
477
  completableOption?: string;
463
478
  /** If dynamic_facetable_option is DYNAMIC_FACETABLE_ENABLED, field values are available for dynamic facet. Could only be DYNAMIC_FACETABLE_DISABLED if FieldConfig.indexable_option is INDEXABLE_DISABLED. Otherwise, an `INVALID_ARGUMENT` error will be returned. If dynamic_facetable_option is unset, the server behavior defaults to DYNAMIC_FACETABLE_DISABLED for fields that support setting dynamic facetable options. For those fields that do not support setting dynamic facetable options, such as `object` and `boolean`, the server will skip dynamic facetable option setting, and setting dynamic_facetable_option for those fields will throw `INVALID_ARGUMENT` error. */
@@ -487,20 +502,6 @@ declare namespace gapi.client {
487
502
  /** Workforce pool name. Example: "locations/global/workforcePools/pool_id" */
488
503
  workforcePoolName?: string;
489
504
  }
490
- interface GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsMetadata {
491
- /** Operation create time. */
492
- createTime?: string;
493
- /** Operation last update time. If the operation is done, this is also the finish time. */
494
- updateTime?: string;
495
- }
496
- interface GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsResponse {
497
- /** A sample of errors encountered while processing the request. */
498
- errorSamples?: GoogleRpcStatus[];
499
- /** Count of CompletionSuggestions that failed to be imported. */
500
- failureCount?: string;
501
- /** Count of CompletionSuggestions successfully imported. */
502
- successCount?: string;
503
- }
504
505
  interface GoogleCloudDiscoveryengineV1alphaImportDocumentsMetadata {
505
506
  /** Operation create time. */
506
507
  createTime?: string;
@@ -557,6 +558,35 @@ declare namespace gapi.client {
557
558
  /** Count of user events imported, but with Document information not found in the existing Branch. */
558
559
  unjoinedEventsCount?: string;
559
560
  }
561
+ interface GoogleCloudDiscoveryengineV1alphaListCustomModelsResponse {
562
+ /** List of custom tuning models. */
563
+ models?: GoogleCloudDiscoveryengineV1alphaCustomTuningModel[];
564
+ }
565
+ interface GoogleCloudDiscoveryengineV1alphaProject {
566
+ /** Output only. The timestamp when this project is created. */
567
+ createTime?: string;
568
+ /** Output only. Full resource name of the project, for example `projects/{project_number}`. Note that when making requests, project number and project id are both acceptable, but the server will always respond in project number. */
569
+ name?: string;
570
+ /** Output only. The timestamp when this project is successfully provisioned. Empty value means this project is still provisioning and is not ready for use. */
571
+ provisionCompletionTime?: string;
572
+ /** Output only. A map of terms of services. The key is the `id` of ServiceTerms. */
573
+ serviceTermsMap?: {
574
+ [P in string]: GoogleCloudDiscoveryengineV1alphaProjectServiceTerms;
575
+ };
576
+ }
577
+ interface GoogleCloudDiscoveryengineV1alphaProjectServiceTerms {
578
+ /** The last time when the project agreed to the terms of service. */
579
+ acceptTime?: string;
580
+ /** The last time when the project declined or revoked the agreement to terms of service. */
581
+ declineTime?: string;
582
+ /** The unique identifier of this terms of service. Available terms: * `GA_DATA_USE_TERMS`: [Terms for data use](https://cloud.google.com/retail/data-use-terms). When using this as `id`, the acceptable version to provide is `2022-11-23`. */
583
+ id?: string;
584
+ /** Whether the project has accepted/rejected the service terms or it is still pending. */
585
+ state?: string;
586
+ /** The version string of the terms of service. For acceptable values, see the comments for id above. */
587
+ version?: string;
588
+ }
589
+ interface GoogleCloudDiscoveryengineV1alphaProvisionProjectMetadata {}
560
590
  interface GoogleCloudDiscoveryengineV1alphaPurgeDocumentsMetadata {
561
591
  /** Operation create time. */
562
592
  createTime?: string;
@@ -654,7 +684,7 @@ declare namespace gapi.client {
654
684
  interface GoogleCloudDiscoveryengineV1alphaSession {
655
685
  /** Output only. The time the session finished. */
656
686
  endTime?: string;
657
- /** Immutable. Fully qualified name `project/*‍/locations/global/collections/{collection}/engines/{engine}/sessions/*` */
687
+ /** Immutable. Fully qualified name `projects/{project}/locations/global/collections/{collection}/engines/{engine}/sessions/*` */
658
688
  name?: string;
659
689
  /** Output only. The time the session started. */
660
690
  startTime?: string;
@@ -690,6 +720,8 @@ declare namespace gapi.client {
690
720
  name?: string;
691
721
  /** Required. Input only. The user provided URI pattern from which the `generated_uri_pattern` is generated. */
692
722
  providedUriPattern?: string;
723
+ /** Output only. Root domain of the provided_uri_pattern. */
724
+ rootDomainUri?: string;
693
725
  /** Output only. Site ownership and validity verification status. */
694
726
  siteVerificationInfo?: GoogleCloudDiscoveryengineV1alphaSiteVerificationInfo;
695
727
  /** The type of the target site, e.g., whether the site is to be included or excluded. */
@@ -718,6 +750,8 @@ declare namespace gapi.client {
718
750
  errorSamples?: GoogleRpcStatus[];
719
751
  /** The metrics of the trained model. */
720
752
  metrics?: {[P in string]: number};
753
+ /** Fully qualified name of the CustomTuningModel. */
754
+ modelName?: string;
721
755
  /** The trained model status. Possible values are: * **bad-data**: The training data quality is bad. * **no-improvement**: Tuning didn't improve performance. Won't deploy. * **in-progress**: Model training job creation is in progress. * **training**: Model is actively training. * **evaluating**: The model is evaluating trained metrics. * **indexing**: The model trained metrics are indexing. * **ready**: The model is ready for serving. */
722
756
  modelStatus?: string;
723
757
  }
@@ -787,6 +821,19 @@ declare namespace gapi.client {
787
821
  /** Operation last update time. If the operation is done, this is also the finish time. */
788
822
  updateTime?: string;
789
823
  }
824
+ interface GoogleCloudDiscoveryengineV1betaCustomTuningModel {
825
+ /** Timestamp the Model was created at. */
826
+ createTime?: string;
827
+ /** The display name of the model. */
828
+ displayName?: string;
829
+ /** The state that the model is in (e.g.`TRAINING` or `TRAINING_FAILED`). */
830
+ modelState?: string;
831
+ modelVersion?: string;
832
+ /** Required. The fully qualified resource name of the model. Format: `projects/{project_number}/locations/{location}/collections/{collection}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}` model must be an alpha-numerical string with limit of 40 characters. */
833
+ name?: string;
834
+ /** Timestamp the model training was initiated. */
835
+ trainingStartTime?: string;
836
+ }
790
837
  interface GoogleCloudDiscoveryengineV1betaDataStore {
791
838
  /** Immutable. The content config of the data store. If this field is unset, the server behavior defaults to ContentConfig.NO_CONTENT. */
792
839
  contentConfig?: string;
@@ -856,7 +903,7 @@ declare namespace gapi.client {
856
903
  }
857
904
  interface GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigDigitalParsingConfig {}
858
905
  interface GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigOcrParsingConfig {
859
- /** Apply additional enhanced OCR processing to a list of document elements. Supported values: * `table`: advanced table parsing model. */
906
+ /** [DEPRECATED] This field is deprecated. To use the additional enhanced document elements processing, please switch to `layout_parsing_config`. */
860
907
  enhancedDocumentElements?: string[];
861
908
  /** If true, will use native text instead of OCR text on pages containing native text. */
862
909
  useNativeText?: boolean;
@@ -895,7 +942,7 @@ declare namespace gapi.client {
895
942
  interface GoogleCloudDiscoveryengineV1betaEngineChatEngineConfig {
896
943
  /** The configurationt generate the Dialogflow agent that is associated to this Engine. Note that these configurations are one-time consumed by and passed to Dialogflow service. It means they cannot be retrieved using EngineService.GetEngine or EngineService.ListEngines API after engine creation. */
897
944
  agentCreationConfig?: GoogleCloudDiscoveryengineV1betaEngineChatEngineConfigAgentCreationConfig;
898
- /** The resource name of an exist Dialogflow agent to link to this Chat Engine. Customers can either provide `agent_creation_config` to create agent or provide an agent name that links the agent with the Chat engine. Format: `projects//locations//agents/`. Note that the `dialogflow_agent_to_link` are one-time consumed by and passed to Dialogflow service. It means they cannot be retrieved using EngineService.GetEngine or EngineService.ListEngines API after engine creation. Please use ChatEngineMetadata.dialogflow_agent for actual agent association after Engine is created. */
945
+ /** The resource name of an exist Dialogflow agent to link to this Chat Engine. Customers can either provide `agent_creation_config` to create agent or provide an agent name that links the agent with the Chat engine. Format: `projects//locations//agents/`. Note that the `dialogflow_agent_to_link` are one-time consumed by and passed to Dialogflow service. It means they cannot be retrieved using EngineService.GetEngine or EngineService.ListEngines API after engine creation. Use ChatEngineMetadata.dialogflow_agent for actual agent association after Engine is created. */
899
946
  dialogflowAgentToLink?: string;
900
947
  }
901
948
  interface GoogleCloudDiscoveryengineV1betaEngineChatEngineConfigAgentCreationConfig {
@@ -919,7 +966,7 @@ declare namespace gapi.client {
919
966
  interface GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig {
920
967
  /** The add-on that this search engine enables. */
921
968
  searchAddOns?: string[];
922
- /** The search feature tier of this engine. Different tiers might have different pricing. To learn more, please check the pricing documentation. Defaults to SearchTier.SEARCH_TIER_STANDARD if not specified. */
969
+ /** The search feature tier of this engine. Different tiers might have different pricing. To learn more, check the pricing documentation. Defaults to SearchTier.SEARCH_TIER_STANDARD if not specified. */
923
970
  searchTier?: string;
924
971
  }
925
972
  interface GoogleCloudDiscoveryengineV1betaImportDocumentsMetadata {
@@ -978,6 +1025,10 @@ declare namespace gapi.client {
978
1025
  /** Count of user events imported, but with Document information not found in the existing Branch. */
979
1026
  unjoinedEventsCount?: string;
980
1027
  }
1028
+ interface GoogleCloudDiscoveryengineV1betaListCustomModelsResponse {
1029
+ /** List of custom tuning models. */
1030
+ models?: GoogleCloudDiscoveryengineV1betaCustomTuningModel[];
1031
+ }
981
1032
  interface GoogleCloudDiscoveryengineV1betaPurgeDocumentsMetadata {
982
1033
  /** Operation create time. */
983
1034
  createTime?: string;
@@ -1035,6 +1086,8 @@ declare namespace gapi.client {
1035
1086
  name?: string;
1036
1087
  /** Required. Input only. The user provided URI pattern from which the `generated_uri_pattern` is generated. */
1037
1088
  providedUriPattern?: string;
1089
+ /** Output only. Root domain of the provided_uri_pattern. */
1090
+ rootDomainUri?: string;
1038
1091
  /** Output only. Site ownership and validity verification status. */
1039
1092
  siteVerificationInfo?: GoogleCloudDiscoveryengineV1betaSiteVerificationInfo;
1040
1093
  /** The type of the target site, e.g., whether the site is to be included or excluded. */
@@ -1063,6 +1116,8 @@ declare namespace gapi.client {
1063
1116
  errorSamples?: GoogleRpcStatus[];
1064
1117
  /** The metrics of the trained model. */
1065
1118
  metrics?: {[P in string]: number};
1119
+ /** Fully qualified name of the CustomTuningModel. */
1120
+ modelName?: string;
1066
1121
  /** The trained model status. Possible values are: * **bad-data**: The training data quality is bad. * **no-improvement**: Tuning didn't improve performance. Won't deploy. * **in-progress**: Model training job creation is in progress. * **training**: Model is actively training. * **evaluating**: The model is evaluating trained metrics. * **indexing**: The model trained metrics are indexing. * **ready**: The model is ready for serving. */
1067
1122
  modelStatus?: string;
1068
1123
  }
@@ -1070,6 +1125,7 @@ declare namespace gapi.client {
1070
1125
  /** Required. The resource name of the engine that this tune applies to. Format: `projects/{project_number}/locations/{location_id}/collections/{collection_id}/engines/{engine_id}` */
1071
1126
  engine?: string;
1072
1127
  }
1128
+ interface GoogleCloudDiscoveryengineV1betaTuneEngineResponse {}
1073
1129
  interface GoogleCloudDiscoveryengineV1betaUpdateSchemaMetadata {
1074
1130
  /** Operation create time. */
1075
1131
  createTime?: string;
@@ -1137,7 +1193,7 @@ declare namespace gapi.client {
1137
1193
  interface GoogleCloudDiscoveryengineV1CloudSqlSource {
1138
1194
  /** Required. The Cloud SQL database to copy the data from with a length limit of 256 characters. */
1139
1195
  databaseId?: string;
1140
- /** Intermediate Cloud Storage directory used for the import with a length limit of 2,000 characters. Can be specified if one wants to have the Cloud SQL export to a specific Cloud Storage directory. Please ensure that the Cloud SQL service account has the necessary Cloud Storage Admin permissions to access the specified Cloud Storage directory. */
1196
+ /** Intermediate Cloud Storage directory used for the import with a length limit of 2,000 characters. Can be specified if one wants to have the Cloud SQL export to a specific Cloud Storage directory. Ensure that the Cloud SQL service account has the necessary Cloud Storage Admin permissions to access the specified Cloud Storage directory. */
1141
1197
  gcsStagingDir?: string;
1142
1198
  /** Required. The Cloud SQL instance to copy the data from with a length limit of 256 characters. */
1143
1199
  instanceId?: string;
@@ -1171,7 +1227,7 @@ declare namespace gapi.client {
1171
1227
  endTime?: string;
1172
1228
  /** Conversation messages. */
1173
1229
  messages?: GoogleCloudDiscoveryengineV1ConversationMessage[];
1174
- /** Immutable. Fully qualified name `project/*‍/locations/global/collections/{collection}/dataStore/*‍/conversations/*` or `project/*‍/locations/global/collections/{collection}/engines/*‍/conversations/*`. */
1230
+ /** Immutable. Fully qualified name `projects/{project}/locations/global/collections/{collection}/dataStore/*‍/conversations/*` or `projects/{project}/locations/global/collections/{collection}/engines/*‍/conversations/*`. */
1175
1231
  name?: string;
1176
1232
  /** Output only. The time the conversation started. */
1177
1233
  startTime?: string;
@@ -1366,7 +1422,7 @@ declare namespace gapi.client {
1366
1422
  }
1367
1423
  interface GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigDigitalParsingConfig {}
1368
1424
  interface GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigOcrParsingConfig {
1369
- /** Apply additional enhanced OCR processing to a list of document elements. Supported values: * `table`: advanced table parsing model. */
1425
+ /** [DEPRECATED] This field is deprecated. To use the additional enhanced document elements processing, please switch to `layout_parsing_config`. */
1370
1426
  enhancedDocumentElements?: string[];
1371
1427
  /** If true, will use native text instead of OCR text on pages containing native text. */
1372
1428
  useNativeText?: boolean;
@@ -1406,7 +1462,7 @@ declare namespace gapi.client {
1406
1462
  interface GoogleCloudDiscoveryengineV1EngineChatEngineConfig {
1407
1463
  /** The configurationt generate the Dialogflow agent that is associated to this Engine. Note that these configurations are one-time consumed by and passed to Dialogflow service. It means they cannot be retrieved using EngineService.GetEngine or EngineService.ListEngines API after engine creation. */
1408
1464
  agentCreationConfig?: GoogleCloudDiscoveryengineV1EngineChatEngineConfigAgentCreationConfig;
1409
- /** The resource name of an exist Dialogflow agent to link to this Chat Engine. Customers can either provide `agent_creation_config` to create agent or provide an agent name that links the agent with the Chat engine. Format: `projects//locations//agents/`. Note that the `dialogflow_agent_to_link` are one-time consumed by and passed to Dialogflow service. It means they cannot be retrieved using EngineService.GetEngine or EngineService.ListEngines API after engine creation. Please use ChatEngineMetadata.dialogflow_agent for actual agent association after Engine is created. */
1465
+ /** The resource name of an exist Dialogflow agent to link to this Chat Engine. Customers can either provide `agent_creation_config` to create agent or provide an agent name that links the agent with the Chat engine. Format: `projects//locations//agents/`. Note that the `dialogflow_agent_to_link` are one-time consumed by and passed to Dialogflow service. It means they cannot be retrieved using EngineService.GetEngine or EngineService.ListEngines API after engine creation. Use ChatEngineMetadata.dialogflow_agent for actual agent association after Engine is created. */
1410
1466
  dialogflowAgentToLink?: string;
1411
1467
  }
1412
1468
  interface GoogleCloudDiscoveryengineV1EngineChatEngineConfigAgentCreationConfig {
@@ -1430,7 +1486,7 @@ declare namespace gapi.client {
1430
1486
  interface GoogleCloudDiscoveryengineV1EngineSearchEngineConfig {
1431
1487
  /** The add-on that this search engine enables. */
1432
1488
  searchAddOns?: string[];
1433
- /** The search feature tier of this engine. Different tiers might have different pricing. To learn more, please check the pricing documentation. Defaults to SearchTier.SEARCH_TIER_STANDARD if not specified. */
1489
+ /** The search feature tier of this engine. Different tiers might have different pricing. To learn more, check the pricing documentation. Defaults to SearchTier.SEARCH_TIER_STANDARD if not specified. */
1434
1490
  searchTier?: string;
1435
1491
  }
1436
1492
  interface GoogleCloudDiscoveryengineV1FetchDomainVerificationStatusResponse {
@@ -1452,7 +1508,7 @@ declare namespace gapi.client {
1452
1508
  collectionId?: string;
1453
1509
  /** Required. The Firestore database to copy the data from with a length limit of 256 characters. */
1454
1510
  databaseId?: string;
1455
- /** Intermediate Cloud Storage directory used for the import with a length limit of 2,000 characters. Can be specified if one wants to have the Firestore export to a specific Cloud Storage directory. Please ensure that the Firestore service account has the necessary Cloud Storage Admin permissions to access the specified Cloud Storage directory. */
1511
+ /** Intermediate Cloud Storage directory used for the import with a length limit of 2,000 characters. Can be specified if one wants to have the Firestore export to a specific Cloud Storage directory. Ensure that the Firestore service account has the necessary Cloud Storage Admin permissions to access the specified Cloud Storage directory. */
1456
1512
  gcsStagingDir?: string;
1457
1513
  /** The project ID that the Cloud SQL source is in with a length limit of 128 characters. If not specified, inherits the project ID from the parent request. */
1458
1514
  projectId?: string;
@@ -1630,7 +1686,7 @@ declare namespace gapi.client {
1630
1686
  mediaProgressPercentage?: number;
1631
1687
  }
1632
1688
  interface GoogleCloudDiscoveryengineV1PageInfo {
1633
- /** The most specific category associated with a category page. To represent full path of category, use '>' sign to separate different hierarchies. If '>' is part of the category name, please replace it with other character(s). Category pages include special pages such as sales or promotions. For instance, a special sale page may have the category hierarchy: `"pageCategory" : "Sales > 2017 Black Friday Deals"`. Required for `view-category-page` events. Other event types should not set this field. Otherwise, an `INVALID_ARGUMENT` error is returned. */
1689
+ /** The most specific category associated with a category page. To represent full path of category, use '>' sign to separate different hierarchies. If '>' is part of the category name, replace it with other character(s). Category pages include special pages such as sales or promotions. For instance, a special sale page may have the category hierarchy: `"pageCategory" : "Sales > 2017 Black Friday Deals"`. Required for `view-category-page` events. Other event types should not set this field. Otherwise, an `INVALID_ARGUMENT` error is returned. */
1634
1690
  pageCategory?: string;
1635
1691
  /** A unique ID of a web page view. This should be kept the same for all user events triggered from the same pageview. For example, an item detail page view could trigger multiple events as the user is browsing the page. The `pageview_id` property should be kept the same for all these events so that they can be grouped together properly. When using the client side event reporting with JavaScript pixel and Google Tag Manager, this value is filled in automatically. */
1636
1692
  pageviewId?: string;
@@ -1761,7 +1817,7 @@ declare namespace gapi.client {
1761
1817
  imageQuery?: GoogleCloudDiscoveryengineV1SearchRequestImageQuery;
1762
1818
  /** A 0-indexed integer that specifies the current offset (that is, starting result location, amongst the Documents deemed by the API as relevant) in search results. This field is only considered if page_token is unset. If this field is negative, an `INVALID_ARGUMENT` is returned. */
1763
1819
  offset?: number;
1764
- /** The order in which documents are returned. Documents can be ordered by a field in an Document object. Leave it unset if ordered by relevance. `order_by` expression is case-sensitive. For more information on ordering, see [Ordering](https://cloud.google.com/retail/docs/filter-and-order#order) If this field is unrecognizable, an `INVALID_ARGUMENT` is returned. */
1820
+ /** The order in which documents are returned. Documents can be ordered by a field in an Document object. Leave it unset if ordered by relevance. `order_by` expression is case-sensitive. For more information on ordering for retail search, see [Ordering](https://cloud.google.com/retail/docs/filter-and-order#order) If this field is unrecognizable, an `INVALID_ARGUMENT` is returned. */
1765
1821
  orderBy?: string;
1766
1822
  /** Maximum number of Documents to return. The maximum allowed value depends on the data type. Values above the maximum value are coerced to the maximum value. * Websites with basic indexing: Default `10`, Maximum `25`. * Websites with advanced indexing: Default `25`, Maximum `50`. * Other: Default `50`, Maximum `100`. If this field is negative, an `INVALID_ARGUMENT` is returned. */
1767
1823
  pageSize?: number;
@@ -1811,7 +1867,7 @@ declare namespace gapi.client {
1811
1867
  numNextSegments?: number;
1812
1868
  /** Specifies whether to also include the adjacent from each selected segments. Return at most `num_previous_segments` segments before each selected segments. */
1813
1869
  numPreviousSegments?: number;
1814
- /** Specifies whether to return the confidence score from the extractive segments in each search result. This feature is available only for new or allowlisted data stores. To allowlist your data store, please contact your Customer Engineer. The default value is `false`. */
1870
+ /** Specifies whether to return the confidence score from the extractive segments in each search result. This feature is available only for new or allowlisted data stores. To allowlist your data store, contact your Customer Engineer. The default value is `false`. */
1815
1871
  returnExtractiveSegmentScore?: boolean;
1816
1872
  }
1817
1873
  interface GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSnippetSpec {
@@ -1835,9 +1891,9 @@ declare namespace gapi.client {
1835
1891
  modelPromptSpec?: GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSummarySpecModelPromptSpec;
1836
1892
  /** If specified, the spec will be used to modify the model specification provided to the LLM. */
1837
1893
  modelSpec?: GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSummarySpecModelSpec;
1838
- /** The number of top results to generate the summary from. If the number of results returned is less than `summaryResultCount`, the summary is generated from all of the results. At most 10 results can be used to generate a summary. */
1894
+ /** The number of top results to generate the summary from. If the number of results returned is less than `summaryResultCount`, the summary is generated from all of the results. At most 10 results for documents mode, or 50 for chunks mode, can be used to generate a summary. The chunks mode is used when SearchRequest.ContentSearchSpec.search_result_mode is set to CHUNKS. */
1839
1895
  summaryResultCount?: number;
1840
- /** If true, answer will be generated from most relevant chunks from top search results. This feature will improve summary quality. Please note that with this feature enabled, not all top search results will be referenced and included in the reference list, so the citation source index only points to the search results listed in the reference list. */
1896
+ /** If true, answer will be generated from most relevant chunks from top search results. This feature will improve summary quality. Note that with this feature enabled, not all top search results will be referenced and included in the reference list, so the citation source index only points to the search results listed in the reference list. */
1841
1897
  useSemanticChunks?: boolean;
1842
1898
  }
1843
1899
  interface GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSummarySpecModelPromptSpec {
@@ -2037,6 +2093,8 @@ declare namespace gapi.client {
2037
2093
  name?: string;
2038
2094
  /** Required. Input only. The user provided URI pattern from which the `generated_uri_pattern` is generated. */
2039
2095
  providedUriPattern?: string;
2096
+ /** Output only. Root domain of the provided_uri_pattern. */
2097
+ rootDomainUri?: string;
2040
2098
  /** Output only. Site ownership and validity verification status. */
2041
2099
  siteVerificationInfo?: GoogleCloudDiscoveryengineV1SiteVerificationInfo;
2042
2100
  /** The type of the target site, e.g., whether the site is to be included or excluded. */
@@ -2458,6 +2516,8 @@ declare namespace gapi.client {
2458
2516
  prettyPrint?: boolean;
2459
2517
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2460
2518
  quotaUser?: string;
2519
+ /** Indicates which fields in the provided imported 'document' to update. If not set, will by default update all fields. */
2520
+ updateMask?: string;
2461
2521
  /** Upload protocol for media (e.g. "raw", "multipart"). */
2462
2522
  upload_protocol?: string;
2463
2523
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
@@ -2489,6 +2549,8 @@ declare namespace gapi.client {
2489
2549
  prettyPrint?: boolean;
2490
2550
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2491
2551
  quotaUser?: string;
2552
+ /** Indicates which fields in the provided imported 'document' to update. If not set, will by default update all fields. */
2553
+ updateMask?: string;
2492
2554
  /** Upload protocol for media (e.g. "raw", "multipart"). */
2493
2555
  upload_protocol?: string;
2494
2556
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
@@ -2841,7 +2903,7 @@ declare namespace gapi.client {
2841
2903
  fields?: string;
2842
2904
  /** 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. */
2843
2905
  key?: string;
2844
- /** Immutable. Fully qualified name `project/*‍/locations/global/collections/{collection}/dataStore/*‍/conversations/*` or `project/*‍/locations/global/collections/{collection}/engines/*‍/conversations/*`. */
2906
+ /** Immutable. Fully qualified name `projects/{project}/locations/global/collections/{collection}/dataStore/*‍/conversations/*` or `projects/{project}/locations/global/collections/{collection}/engines/*‍/conversations/*`. */
2845
2907
  name: string;
2846
2908
  /** OAuth 2.0 token for the current user. */
2847
2909
  oauth_token?: string;
@@ -2872,7 +2934,7 @@ declare namespace gapi.client {
2872
2934
  fields?: string;
2873
2935
  /** 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. */
2874
2936
  key?: string;
2875
- /** Immutable. Fully qualified name `project/*‍/locations/global/collections/{collection}/dataStore/*‍/conversations/*` or `project/*‍/locations/global/collections/{collection}/engines/*‍/conversations/*`. */
2937
+ /** Immutable. Fully qualified name `projects/{project}/locations/global/collections/{collection}/dataStore/*‍/conversations/*` or `projects/{project}/locations/global/collections/{collection}/engines/*‍/conversations/*`. */
2876
2938
  name: string;
2877
2939
  /** OAuth 2.0 token for the current user. */
2878
2940
  oauth_token?: string;
@@ -4288,7 +4350,7 @@ declare namespace gapi.client {
4288
4350
  key?: string;
4289
4351
  /** OAuth 2.0 token for the current user. */
4290
4352
  oauth_token?: string;
4291
- /** Required. The parent DataStore resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`. */
4353
+ /** Required. The parent resource name. If the write user event action is applied in DataStore level, the format is: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`. If the write user event action is applied in Location level, for example, the event with Document across multiple DataStore, the format is: `projects/{project}/locations/{location}`. */
4292
4354
  parent: string;
4293
4355
  /** Returns response with indentations and line breaks. */
4294
4356
  prettyPrint?: boolean;
@@ -4317,7 +4379,7 @@ declare namespace gapi.client {
4317
4379
  key?: string;
4318
4380
  /** OAuth 2.0 token for the current user. */
4319
4381
  oauth_token?: string;
4320
- /** Required. The parent DataStore resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`. */
4382
+ /** Required. The parent resource name. If the write user event action is applied in DataStore level, the format is: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`. If the write user event action is applied in Location level, for example, the event with Document across multiple DataStore, the format is: `projects/{project}/locations/{location}`. */
4321
4383
  parent: string;
4322
4384
  /** Returns response with indentations and line breaks. */
4323
4385
  prettyPrint?: boolean;
@@ -4526,7 +4588,7 @@ declare namespace gapi.client {
4526
4588
  callback?: string;
4527
4589
  /** Selector specifying which fields to include in a partial response. */
4528
4590
  fields?: string;
4529
- /** Filter by solution type. For example: filter = 'solution_type:SOLUTION_TYPE_SEARCH' */
4591
+ /** Filter by solution type . For example: filter = 'solution_type:SOLUTION_TYPE_SEARCH' */
4530
4592
  filter?: string;
4531
4593
  /** 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. */
4532
4594
  key?: string;
@@ -4839,7 +4901,7 @@ declare namespace gapi.client {
4839
4901
  fields?: string;
4840
4902
  /** 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. */
4841
4903
  key?: string;
4842
- /** Immutable. Fully qualified name `project/*‍/locations/global/collections/{collection}/dataStore/*‍/conversations/*` or `project/*‍/locations/global/collections/{collection}/engines/*‍/conversations/*`. */
4904
+ /** Immutable. Fully qualified name `projects/{project}/locations/global/collections/{collection}/dataStore/*‍/conversations/*` or `projects/{project}/locations/global/collections/{collection}/engines/*‍/conversations/*`. */
4843
4905
  name: string;
4844
4906
  /** OAuth 2.0 token for the current user. */
4845
4907
  oauth_token?: string;
@@ -4870,7 +4932,7 @@ declare namespace gapi.client {
4870
4932
  fields?: string;
4871
4933
  /** 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. */
4872
4934
  key?: string;
4873
- /** Immutable. Fully qualified name `project/*‍/locations/global/collections/{collection}/dataStore/*‍/conversations/*` or `project/*‍/locations/global/collections/{collection}/engines/*‍/conversations/*`. */
4935
+ /** Immutable. Fully qualified name `projects/{project}/locations/global/collections/{collection}/dataStore/*‍/conversations/*` or `projects/{project}/locations/global/collections/{collection}/engines/*‍/conversations/*`. */
4874
4936
  name: string;
4875
4937
  /** OAuth 2.0 token for the current user. */
4876
4938
  oauth_token?: string;
@@ -5582,6 +5644,8 @@ declare namespace gapi.client {
5582
5644
  prettyPrint?: boolean;
5583
5645
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
5584
5646
  quotaUser?: string;
5647
+ /** Indicates which fields in the provided imported 'document' to update. If not set, will by default update all fields. */
5648
+ updateMask?: string;
5585
5649
  /** Upload protocol for media (e.g. "raw", "multipart"). */
5586
5650
  upload_protocol?: string;
5587
5651
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
@@ -5613,6 +5677,8 @@ declare namespace gapi.client {
5613
5677
  prettyPrint?: boolean;
5614
5678
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
5615
5679
  quotaUser?: string;
5680
+ /** Indicates which fields in the provided imported 'document' to update. If not set, will by default update all fields. */
5681
+ updateMask?: string;
5616
5682
  /** Upload protocol for media (e.g. "raw", "multipart"). */
5617
5683
  upload_protocol?: string;
5618
5684
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
@@ -5965,7 +6031,7 @@ declare namespace gapi.client {
5965
6031
  fields?: string;
5966
6032
  /** 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. */
5967
6033
  key?: string;
5968
- /** Immutable. Fully qualified name `project/*‍/locations/global/collections/{collection}/dataStore/*‍/conversations/*` or `project/*‍/locations/global/collections/{collection}/engines/*‍/conversations/*`. */
6034
+ /** Immutable. Fully qualified name `projects/{project}/locations/global/collections/{collection}/dataStore/*‍/conversations/*` or `projects/{project}/locations/global/collections/{collection}/engines/*‍/conversations/*`. */
5969
6035
  name: string;
5970
6036
  /** OAuth 2.0 token for the current user. */
5971
6037
  oauth_token?: string;
@@ -5996,7 +6062,7 @@ declare namespace gapi.client {
5996
6062
  fields?: string;
5997
6063
  /** 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. */
5998
6064
  key?: string;
5999
- /** Immutable. Fully qualified name `project/*‍/locations/global/collections/{collection}/dataStore/*‍/conversations/*` or `project/*‍/locations/global/collections/{collection}/engines/*‍/conversations/*`. */
6065
+ /** Immutable. Fully qualified name `projects/{project}/locations/global/collections/{collection}/dataStore/*‍/conversations/*` or `projects/{project}/locations/global/collections/{collection}/engines/*‍/conversations/*`. */
6000
6066
  name: string;
6001
6067
  /** OAuth 2.0 token for the current user. */
6002
6068
  oauth_token?: string;
@@ -7134,7 +7200,7 @@ declare namespace gapi.client {
7134
7200
  key?: string;
7135
7201
  /** OAuth 2.0 token for the current user. */
7136
7202
  oauth_token?: string;
7137
- /** Required. The parent DataStore resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`. */
7203
+ /** Required. The parent resource name. If the write user event action is applied in DataStore level, the format is: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`. If the write user event action is applied in Location level, for example, the event with Document across multiple DataStore, the format is: `projects/{project}/locations/{location}`. */
7138
7204
  parent: string;
7139
7205
  /** Returns response with indentations and line breaks. */
7140
7206
  prettyPrint?: boolean;
@@ -7163,7 +7229,7 @@ declare namespace gapi.client {
7163
7229
  key?: string;
7164
7230
  /** OAuth 2.0 token for the current user. */
7165
7231
  oauth_token?: string;
7166
- /** Required. The parent DataStore resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`. */
7232
+ /** Required. The parent resource name. If the write user event action is applied in DataStore level, the format is: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`. If the write user event action is applied in Location level, for example, the event with Document across multiple DataStore, the format is: `projects/{project}/locations/{location}`. */
7167
7233
  parent: string;
7168
7234
  /** Returns response with indentations and line breaks. */
7169
7235
  prettyPrint?: boolean;
@@ -7372,7 +7438,7 @@ declare namespace gapi.client {
7372
7438
  callback?: string;
7373
7439
  /** Selector specifying which fields to include in a partial response. */
7374
7440
  fields?: string;
7375
- /** Filter by solution type. For example: filter = 'solution_type:SOLUTION_TYPE_SEARCH' */
7441
+ /** Filter by solution type . For example: filter = 'solution_type:SOLUTION_TYPE_SEARCH' */
7376
7442
  filter?: string;
7377
7443
  /** 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. */
7378
7444
  key?: string;
@@ -7527,10 +7593,71 @@ declare namespace gapi.client {
7527
7593
  uploadType?: string;
7528
7594
  }): Request<GoogleLongrunningListOperationsResponse>;
7529
7595
  }
7596
+ interface UserEventsResource {
7597
+ /** Writes a single user event. */
7598
+ write(request: {
7599
+ /** V1 error format. */
7600
+ '$.xgafv'?: string;
7601
+ /** OAuth access token. */
7602
+ access_token?: string;
7603
+ /** Data format for response. */
7604
+ alt?: string;
7605
+ /** JSONP */
7606
+ callback?: string;
7607
+ /** Selector specifying which fields to include in a partial response. */
7608
+ fields?: string;
7609
+ /** 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. */
7610
+ key?: string;
7611
+ /** OAuth 2.0 token for the current user. */
7612
+ oauth_token?: string;
7613
+ /** Required. The parent resource name. If the write user event action is applied in DataStore level, the format is: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`. If the write user event action is applied in Location level, for example, the event with Document across multiple DataStore, the format is: `projects/{project}/locations/{location}`. */
7614
+ parent: string;
7615
+ /** Returns response with indentations and line breaks. */
7616
+ prettyPrint?: boolean;
7617
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
7618
+ quotaUser?: string;
7619
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
7620
+ upload_protocol?: string;
7621
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7622
+ uploadType?: string;
7623
+ /** Request body */
7624
+ resource: GoogleCloudDiscoveryengineV1UserEvent;
7625
+ }): Request<GoogleCloudDiscoveryengineV1UserEvent>;
7626
+ write(
7627
+ request: {
7628
+ /** V1 error format. */
7629
+ '$.xgafv'?: string;
7630
+ /** OAuth access token. */
7631
+ access_token?: string;
7632
+ /** Data format for response. */
7633
+ alt?: string;
7634
+ /** JSONP */
7635
+ callback?: string;
7636
+ /** Selector specifying which fields to include in a partial response. */
7637
+ fields?: string;
7638
+ /** 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. */
7639
+ key?: string;
7640
+ /** OAuth 2.0 token for the current user. */
7641
+ oauth_token?: string;
7642
+ /** Required. The parent resource name. If the write user event action is applied in DataStore level, the format is: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`. If the write user event action is applied in Location level, for example, the event with Document across multiple DataStore, the format is: `projects/{project}/locations/{location}`. */
7643
+ parent: string;
7644
+ /** Returns response with indentations and line breaks. */
7645
+ prettyPrint?: boolean;
7646
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
7647
+ quotaUser?: string;
7648
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
7649
+ upload_protocol?: string;
7650
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7651
+ uploadType?: string;
7652
+ },
7653
+ body: GoogleCloudDiscoveryengineV1UserEvent
7654
+ ): Request<GoogleCloudDiscoveryengineV1UserEvent>;
7655
+ }
7530
7656
  interface LocationsResource {
7531
7657
  collections: CollectionsResource;
7532
7658
  dataStores: DataStoresResource;
7533
7659
  operations: OperationsResource;
7660
+ userEvents: UserEventsResource;
7534
7661
  }
7535
7662
  interface OperationsResource {
7536
7663
  /** 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. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.discoveryengine-v1",
3
- "version": "0.0.20240409",
3
+ "version": "0.0.20240502",
4
4
  "description": "TypeScript typings for Discovery Engine API v1",
5
5
  "repository": {
6
6
  "type": "git",