@maxim_mazurok/gapi.client.discoveryengine-v1alpha 0.0.20231218 → 0.0.20240108

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 +366 -31
  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: 20231218
12
+ // Revision: 20240108
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -308,7 +308,7 @@ declare namespace gapi.client {
308
308
  mimeType?: string;
309
309
  /** The content represented as a stream of bytes. The maximum length is 1,000,000 bytes (1 MB / ~0.95 MiB). Note: As with all `bytes` fields, this field is represented as pure binary in Protocol Buffers and base64-encoded string in JSON. For example, `abc123!?$*&()'-=@~` should be represented as `YWJjMTIzIT8kKiYoKSctPUB+` in JSON. See https://developers.google.com/protocol-buffers/docs/proto3#json. */
310
310
  rawBytes?: string;
311
- /** The URI of the content. Only Cloud Storage URIs (e.g. `gs://bucket-name/path/to/file`) are supported. The maximum file size is 100 MB. */
311
+ /** The URI of the content. Only Cloud Storage URIs (e.g. `gs://bucket-name/path/to/file`) are supported. The maximum file size is 2.5 MB for text-based formats, 100 MB for other formats. */
312
312
  uri?: string;
313
313
  }
314
314
  interface GoogleCloudDiscoveryengineV1alphaDocumentInfo {
@@ -374,7 +374,7 @@ declare namespace gapi.client {
374
374
  interface GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig {
375
375
  /** 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. */
376
376
  agentCreationConfig?: GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfigAgentCreationConfig;
377
- /** 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 chat_engine_metadata.dialogflow_agent for actual agent association after Engine is created. */
377
+ /** 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. */
378
378
  dialogflowAgentToLink?: string;
379
379
  }
380
380
  interface GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfigAgentCreationConfig {
@@ -382,6 +382,8 @@ declare namespace gapi.client {
382
382
  business?: string;
383
383
  /** Required. The default language of the agent as a language tag. See [Language Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of the currently supported language codes. */
384
384
  defaultLanguageCode?: string;
385
+ /** Agent location for Agent creation, supported values: global/us/eu. If not provided, us Engine will create Agent using us-central-1 by default; eu Engine will create Agent using eu-west-1 by default. */
386
+ location?: string;
385
387
  /** Required. The time zone of the agent from the [time zone database](https://www.iana.org/time-zones), e.g., America/New_York, Europe/Paris. */
386
388
  timeZone?: string;
387
389
  }
@@ -534,6 +536,30 @@ declare namespace gapi.client {
534
536
  /** Cloud Storage prefix for import errors. This must be an empty, existing Cloud Storage directory. Import errors are written to sharded files in this directory, one per line, as a JSON-encoded `google.rpc.Status` message. */
535
537
  gcsPrefix?: string;
536
538
  }
539
+ interface GoogleCloudDiscoveryengineV1alphaImportSuggestionDenyListEntriesMetadata {
540
+ /** Operation create time. */
541
+ createTime?: string;
542
+ /** Operation last update time. If the operation is done, this is also the finish time. */
543
+ updateTime?: string;
544
+ }
545
+ interface GoogleCloudDiscoveryengineV1alphaImportSuggestionDenyListEntriesRequest {
546
+ /** Cloud Storage location for the input content. Only 1 file can be specified that contains all entries to import. Supported values `gcs_source.schema` for autocomplete suggestion deny list entry imports: * `suggestion_deny_list` (default): One JSON [SuggestionDenyListEntry] per line. */
547
+ gcsSource?: GoogleCloudDiscoveryengineV1alphaGcsSource;
548
+ /** The Inline source for the input content for suggestion deny list entries. */
549
+ inlineSource?: GoogleCloudDiscoveryengineV1alphaImportSuggestionDenyListEntriesRequestInlineSource;
550
+ }
551
+ interface GoogleCloudDiscoveryengineV1alphaImportSuggestionDenyListEntriesRequestInlineSource {
552
+ /** Required. A list of all denylist entries to import. Max of 1000 items. */
553
+ entries?: GoogleCloudDiscoveryengineV1alphaSuggestionDenyListEntry[];
554
+ }
555
+ interface GoogleCloudDiscoveryengineV1alphaImportSuggestionDenyListEntriesResponse {
556
+ /** A sample of errors encountered while processing the request. */
557
+ errorSamples?: GoogleRpcStatus[];
558
+ /** Count of deny list entries that failed to be imported. */
559
+ failedEntriesCount?: string;
560
+ /** Count of deny list entries successfully imported. */
561
+ importedEntriesCount?: string;
562
+ }
537
563
  interface GoogleCloudDiscoveryengineV1alphaImportUserEventsMetadata {
538
564
  /** Operation create time. */
539
565
  createTime?: string;
@@ -631,7 +657,7 @@ declare namespace gapi.client {
631
657
  mediaProgressPercentage?: number;
632
658
  }
633
659
  interface GoogleCloudDiscoveryengineV1alphaOcrConfig {
634
- /** Required. If OCR is enabled or not. OCR must be enabled for other OcrConfig options to apply. */
660
+ /** Required. If OCR is enabled or not. OCR must be enabled for other OcrConfig options to apply. We will only perform OCR on the first 80 pages of the PDF files. */
635
661
  enabled?: boolean;
636
662
  /** Apply additional enhanced OCR processing to a list of document elements. Supported values: * `table`: advanced table parsing model. */
637
663
  enhancedDocumentElements?: string[];
@@ -681,6 +707,19 @@ declare namespace gapi.client {
681
707
  /** A sample of document names that will be deleted. Only populated if `force` is set to false. A max of 100 names will be returned and the names are chosen at random. */
682
708
  purgeSample?: string[];
683
709
  }
710
+ interface GoogleCloudDiscoveryengineV1alphaPurgeSuggestionDenyListEntriesMetadata {
711
+ /** Operation create time. */
712
+ createTime?: string;
713
+ /** Operation last update time. If the operation is done, this is also the finish time. */
714
+ updateTime?: string;
715
+ }
716
+ interface GoogleCloudDiscoveryengineV1alphaPurgeSuggestionDenyListEntriesRequest {}
717
+ interface GoogleCloudDiscoveryengineV1alphaPurgeSuggestionDenyListEntriesResponse {
718
+ /** A sample of errors encountered while processing the request. */
719
+ errorSamples?: GoogleRpcStatus[];
720
+ /** Number of suggestion deny list entries purged. */
721
+ purgeCount?: string;
722
+ }
684
723
  interface GoogleCloudDiscoveryengineV1alphaPurgeUserEventsMetadata {
685
724
  /** Operation create time. */
686
725
  createTime?: string;
@@ -817,7 +856,7 @@ declare namespace gapi.client {
817
856
  canonicalFilter?: string;
818
857
  /** A specification for configuring the behavior of content search. */
819
858
  contentSearchSpec?: GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpec;
820
- /** Uses the provided embedding to do additional semantic document retrieval. The retrieval is based on the dot product of SearchRequest.embedding_spec.embedding_vectors.vector and the document embedding that is provided in SearchRequest.embedding_spec.embedding_vectors.field_path. If SearchRequest.embedding_spec.embedding_vectors.field_path is not provided, it will use ServingConfig.embedding_config.field_paths. */
859
+ /** Uses the provided embedding to do additional semantic document retrieval. The retrieval is based on the dot product of SearchRequest.EmbeddingSpec.EmbeddingVector.vector and the document embedding that is provided in SearchRequest.EmbeddingSpec.EmbeddingVector.field_path. If SearchRequest.EmbeddingSpec.EmbeddingVector.field_path is not provided, it will use ServingConfig.EmbeddingConfig.field_paths. */
821
860
  embeddingSpec?: GoogleCloudDiscoveryengineV1alphaSearchRequestEmbeddingSpec;
822
861
  /** Facet specifications for faceted search. If empty, no facets are returned. A maximum of 100 values are allowed. Otherwise, an `INVALID_ARGUMENT` error is returned. */
823
862
  facetSpecs?: GoogleCloudDiscoveryengineV1alphaSearchRequestFacetSpec[];
@@ -873,7 +912,7 @@ declare namespace gapi.client {
873
912
  summarySpec?: GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpec;
874
913
  }
875
914
  interface GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecExtractiveContentSpec {
876
- /** The maximum number of extractive answers returned in each search result. An extractive answer is a verbatim answer extracted from the original document, which provides a precise and contextually relevant answer to the search query. If the number of matching answers is less than the `max_extractive_answer_count`, return all of the answers. Otherwise, return the `max_extractive_answer_count`. At most one answer is returned for each SearchResult. */
915
+ /** The maximum number of extractive answers returned in each search result. An extractive answer is a verbatim answer extracted from the original document, which provides a precise and contextually relevant answer to the search query. If the number of matching answers is less than the `max_extractive_answer_count`, return all of the answers. Otherwise, return the `max_extractive_answer_count`. At most five answers are returned for each SearchResult. */
877
916
  maxExtractiveAnswerCount?: number;
878
917
  /** The max number of extractive segments returned in each search result. Only applied if the DataStore is set to DataStore.ContentConfig.CONTENT_REQUIRED or DataStore.solution_types is SOLUTION_TYPE_CHAT. An extractive segment is a text segment extracted from the original document that is relevant to the search query, and, in general, more verbose than an extractive answer. The segment could then be used as input for LLMs to generate summaries and answers. If the number of matching segments is less than `max_extractive_segment_count`, return all of the segments. Otherwise, return the `max_extractive_segment_count`. */
879
918
  maxExtractiveSegmentCount?: number;
@@ -911,7 +950,7 @@ declare namespace gapi.client {
911
950
  preamble?: string;
912
951
  }
913
952
  interface GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecModelSpec {
914
- /** The string format of the model version. e.g. stable, preview, etc. */
953
+ /** The model version used to generate the summary. Supported values are: * `stable`: string. Default value when no value is specified. Uses a generally available, fine-tuned version of the text-bison@001 model. * `preview`: string. (Public preview) Uses a fine-tuned version of the text-bison@002 model. This model works only for summaries in English. */
915
954
  version?: string;
916
955
  }
917
956
  interface GoogleCloudDiscoveryengineV1alphaSearchRequestEmbeddingSpec {
@@ -1069,7 +1108,7 @@ declare namespace gapi.client {
1069
1108
  document?: string;
1070
1109
  /** Title of the document. */
1071
1110
  title?: string;
1072
- /** GCS or HTTP uri for the document. */
1111
+ /** Cloud Storage or HTTP uri for the document. */
1073
1112
  uri?: string;
1074
1113
  }
1075
1114
  interface GoogleCloudDiscoveryengineV1alphaSearchResponseSummarySafetyAttributes {
@@ -1096,6 +1135,12 @@ declare namespace gapi.client {
1096
1135
  /** Latest site verification time. */
1097
1136
  verifyTime?: string;
1098
1137
  }
1138
+ interface GoogleCloudDiscoveryengineV1alphaSuggestionDenyListEntry {
1139
+ /** Required. Phrase to block from suggestions served. Can be maximum 125 characters. */
1140
+ blockPhrase?: string;
1141
+ /** Required. The match operator to apply for this phrase. Whether to block the exact phrase, or block any suggestions containing this phrase. */
1142
+ matchOperator?: string;
1143
+ }
1099
1144
  interface GoogleCloudDiscoveryengineV1alphaTargetSite {
1100
1145
  /** Input only. If set to false, a uri_pattern is generated to include all pages whose address contains the provided_uri_pattern. If set to true, an uri_pattern is generated to try to be an exact match of the provided_uri_pattern or just the specific page if the provided_uri_pattern is a specific one. provided_uri_pattern is always normalized to generate the URI pattern to be used by the search engine. */
1101
1146
  exactMatch?: boolean;
@@ -1136,19 +1181,19 @@ declare namespace gapi.client {
1136
1181
  interface GoogleCloudDiscoveryengineV1alphaTrainCustomModelRequest {
1137
1182
  /** The desired location of errors incurred during the data ingestion and training. */
1138
1183
  errorConfig?: GoogleCloudDiscoveryengineV1alphaImportErrorConfig;
1139
- /** Gcs training input. */
1184
+ /** Cloud Storage training input. */
1140
1185
  gcsTrainingInput?: GoogleCloudDiscoveryengineV1alphaTrainCustomModelRequestGcsTrainingInput;
1141
1186
  /** Model to be trained. Supported values are: * **search-tuning**: Fine tuning the search system based on data provided. */
1142
1187
  modelType?: string;
1143
1188
  }
1144
1189
  interface GoogleCloudDiscoveryengineV1alphaTrainCustomModelRequestGcsTrainingInput {
1145
- /** The gcs corpus data which could be associated in train data. The data path format is gs:///. A newline delimited jsonl/ndjson file. * For search-tuning model, each line should have the _id, title and text. Example: {"_id": "doc1", title: "relevant doc", "text": "relevant text"} */
1190
+ /** The Cloud Storage corpus data which could be associated in train data. The data path format is gs:///. A newline delimited jsonl/ndjson file. For search-tuning model, each line should have the _id, title and text. Example: {"_id": "doc1", title: "relevant doc", "text": "relevant text"} */
1146
1191
  corpusDataPath?: string;
1147
- /** The gcs query data which could be associated in train data. The data path format is gs:///. A newline delimited jsonl/ndjson file. * For search-tuning model, each line should have the _id and text. Example: {"_id": "query1", "text": "example query"} */
1192
+ /** The gcs query data which could be associated in train data. The data path format is gs:///. A newline delimited jsonl/ndjson file. For search-tuning model, each line should have the _id and text. Example: {"_id": "query1", "text": "example query"} */
1148
1193
  queryDataPath?: string;
1149
- /** Gcs test data. Same format as train_data_path. If not provided, a random 80/20 train/test split will be performed on train_data_path. */
1194
+ /** Cloud Storage test data. Same format as train_data_path. If not provided, a random 80/20 train/test split will be performed on train_data_path. */
1150
1195
  testDataPath?: string;
1151
- /** Gcs training data path whose format should be gs:///. The file should be in tsv format. Each line should have the doc_id and query_id and score (number). * For search-tuning model, it should have the query-id corpus-id score as tsv file header. The score should be a number in [0, inf+). The larger the number is, the more relevant the pair is. Example: query-id\tcorpus-id\tscore query1\tdoc1\t1 */
1196
+ /** Cloud Storage training data path whose format should be gs:///. The file should be in tsv format. Each line should have the doc_id and query_id and score (number). For search-tuning model, it should have the query-id corpus-id score as tsv file header. The score should be a number in [0, inf+). The larger the number is, the more relevant the pair is. Example: query-id\tcorpus-id\tscore query1\tdoc1\t1 */
1152
1197
  trainDataPath?: string;
1153
1198
  }
1154
1199
  interface GoogleCloudDiscoveryengineV1alphaTrainCustomModelResponse {
@@ -1208,7 +1253,7 @@ declare namespace gapi.client {
1208
1253
  eventTime?: string;
1209
1254
  /** Required. User event type. Allowed values are: Generic values: * `search`: Search for Documents. * `view-item`: Detailed page view of a Document. * `view-item-list`: View of a panel or ordered list of Documents. * `view-home-page`: View of the home page. * `view-category-page`: View of a category page, e.g. Home > Men > Jeans Retail-related values: * `add-to-cart`: Add an item(s) to cart, e.g. in Retail online shopping * `purchase`: Purchase an item(s) Media-related values: * `media-play`: Start/resume watching a video, playing a song, etc. * `media-complete`: Finished or stopped midway through a video, song, etc. */
1210
1255
  eventType?: string;
1211
- /** The filter syntax consists of an expression language for constructing a predicate from one or more fields of the documents being filtered. One example is for `search` events, the associated SearchRequest may contain a filter expression in SearchRequest.filter conforming to https://google.aip.dev/160#filtering. Similarly, for `view-item-list` events that are generated from a RecommendationService.RecommendRequest, this field may be populated directly from RecommendationService.RecommendRequest.filter conforming to https://google.aip.dev/160#filtering. The value must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an `INVALID_ARGUMENT` error is returned. */
1256
+ /** The filter syntax consists of an expression language for constructing a predicate from one or more fields of the documents being filtered. One example is for `search` events, the associated SearchRequest may contain a filter expression in SearchRequest.filter conforming to https://google.aip.dev/160#filtering. Similarly, for `view-item-list` events that are generated from a RecommendRequest, this field may be populated directly from RecommendRequest.filter conforming to https://google.aip.dev/160#filtering. The value must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an `INVALID_ARGUMENT` error is returned. */
1212
1257
  filter?: string;
1213
1258
  /** Media-specific info. */
1214
1259
  mediaInfo?: GoogleCloudDiscoveryengineV1alphaMediaInfo;
@@ -1381,6 +1426,20 @@ declare namespace gapi.client {
1381
1426
  /** Cloud Storage prefix for import errors. This must be an empty, existing Cloud Storage directory. Import errors are written to sharded files in this directory, one per line, as a JSON-encoded `google.rpc.Status` message. */
1382
1427
  gcsPrefix?: string;
1383
1428
  }
1429
+ interface GoogleCloudDiscoveryengineV1betaImportSuggestionDenyListEntriesMetadata {
1430
+ /** Operation create time. */
1431
+ createTime?: string;
1432
+ /** Operation last update time. If the operation is done, this is also the finish time. */
1433
+ updateTime?: string;
1434
+ }
1435
+ interface GoogleCloudDiscoveryengineV1betaImportSuggestionDenyListEntriesResponse {
1436
+ /** A sample of errors encountered while processing the request. */
1437
+ errorSamples?: GoogleRpcStatus[];
1438
+ /** Count of deny list entries that failed to be imported. */
1439
+ failedEntriesCount?: string;
1440
+ /** Count of deny list entries successfully imported. */
1441
+ importedEntriesCount?: string;
1442
+ }
1384
1443
  interface GoogleCloudDiscoveryengineV1betaImportUserEventsMetadata {
1385
1444
  /** Operation create time. */
1386
1445
  createTime?: string;
@@ -1417,6 +1476,18 @@ declare namespace gapi.client {
1417
1476
  /** A sample of document names that will be deleted. Only populated if `force` is set to false. A max of 100 names will be returned and the names are chosen at random. */
1418
1477
  purgeSample?: string[];
1419
1478
  }
1479
+ interface GoogleCloudDiscoveryengineV1betaPurgeSuggestionDenyListEntriesMetadata {
1480
+ /** Operation create time. */
1481
+ createTime?: string;
1482
+ /** Operation last update time. If the operation is done, this is also the finish time. */
1483
+ updateTime?: string;
1484
+ }
1485
+ interface GoogleCloudDiscoveryengineV1betaPurgeSuggestionDenyListEntriesResponse {
1486
+ /** A sample of errors encountered while processing the request. */
1487
+ errorSamples?: GoogleRpcStatus[];
1488
+ /** Number of suggestion deny list entries purged. */
1489
+ purgeCount?: string;
1490
+ }
1420
1491
  interface GoogleCloudDiscoveryengineV1betaSchema {
1421
1492
  /** The JSON representation of the schema. */
1422
1493
  jsonSchema?: string;
@@ -1463,6 +1534,20 @@ declare namespace gapi.client {
1463
1534
  /** Cloud Storage prefix for import errors. This must be an empty, existing Cloud Storage directory. Import errors are written to sharded files in this directory, one per line, as a JSON-encoded `google.rpc.Status` message. */
1464
1535
  gcsPrefix?: string;
1465
1536
  }
1537
+ interface GoogleCloudDiscoveryengineV1ImportSuggestionDenyListEntriesMetadata {
1538
+ /** Operation create time. */
1539
+ createTime?: string;
1540
+ /** Operation last update time. If the operation is done, this is also the finish time. */
1541
+ updateTime?: string;
1542
+ }
1543
+ interface GoogleCloudDiscoveryengineV1ImportSuggestionDenyListEntriesResponse {
1544
+ /** A sample of errors encountered while processing the request. */
1545
+ errorSamples?: GoogleRpcStatus[];
1546
+ /** Count of deny list entries that failed to be imported. */
1547
+ failedEntriesCount?: string;
1548
+ /** Count of deny list entries successfully imported. */
1549
+ importedEntriesCount?: string;
1550
+ }
1466
1551
  interface GoogleCloudDiscoveryengineV1ImportUserEventsMetadata {
1467
1552
  /** Operation create time. */
1468
1553
  createTime?: string;
@@ -1499,6 +1584,18 @@ declare namespace gapi.client {
1499
1584
  /** A sample of document names that will be deleted. Only populated if `force` is set to false. A max of 100 names will be returned and the names are chosen at random. */
1500
1585
  purgeSample?: string[];
1501
1586
  }
1587
+ interface GoogleCloudDiscoveryengineV1PurgeSuggestionDenyListEntriesMetadata {
1588
+ /** Operation create time. */
1589
+ createTime?: string;
1590
+ /** Operation last update time. If the operation is done, this is also the finish time. */
1591
+ updateTime?: string;
1592
+ }
1593
+ interface GoogleCloudDiscoveryengineV1PurgeSuggestionDenyListEntriesResponse {
1594
+ /** A sample of errors encountered while processing the request. */
1595
+ errorSamples?: GoogleRpcStatus[];
1596
+ /** Number of suggestion deny list entries purged. */
1597
+ purgeCount?: string;
1598
+ }
1502
1599
  interface GoogleCloudDiscoveryengineV1Schema {
1503
1600
  /** The JSON representation of the schema. */
1504
1601
  jsonSchema?: string;
@@ -2468,7 +2565,7 @@ declare namespace gapi.client {
2468
2565
  prettyPrint?: boolean;
2469
2566
  /** 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. */
2470
2567
  quotaUser?: string;
2471
- /** Indicates which fields in the provided Conversation to update. The following are NOT supported: * conversation.name If not set or empty, all supported fields are updated. */
2568
+ /** Indicates which fields in the provided Conversation to update. The following are NOT supported: * Conversation.name If not set or empty, all supported fields are updated. */
2472
2569
  updateMask?: string;
2473
2570
  /** Upload protocol for media (e.g. "raw", "multipart"). */
2474
2571
  upload_protocol?: string;
@@ -2499,7 +2596,7 @@ declare namespace gapi.client {
2499
2596
  prettyPrint?: boolean;
2500
2597
  /** 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. */
2501
2598
  quotaUser?: string;
2502
- /** Indicates which fields in the provided Conversation to update. The following are NOT supported: * conversation.name If not set or empty, all supported fields are updated. */
2599
+ /** Indicates which fields in the provided Conversation to update. The following are NOT supported: * Conversation.name If not set or empty, all supported fields are updated. */
2503
2600
  updateMask?: string;
2504
2601
  /** Upload protocol for media (e.g. "raw", "multipart"). */
2505
2602
  upload_protocol?: string;
@@ -2931,7 +3028,7 @@ declare namespace gapi.client {
2931
3028
  prettyPrint?: boolean;
2932
3029
  /** 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. */
2933
3030
  quotaUser?: string;
2934
- /** Required. Full resource name of a ServingConfig: `projects/*‍/locations/global/collections/*‍/engines/*‍/servingConfigs/*`, or `projects/*‍/locations/global/collections/*‍/dataStores/*‍/servingConfigs/*` One default serving config is created along with your recommendation engine creation. The engine ID will be used as the ID of the default serving config. For example, for Engine `projects/*‍/locations/global/collections/*‍/engines/my-engine`, you can use `projects/*‍/locations/global/collections/*‍/engines/my-engine/servingConfigs/my-engine` for your Recommend requests. */
3031
+ /** Required. Full resource name of a ServingConfig: `projects/*‍/locations/global/collections/*‍/engines/*‍/servingConfigs/*`, or `projects/*‍/locations/global/collections/*‍/dataStores/*‍/servingConfigs/*` One default serving config is created along with your recommendation engine creation. The engine ID will be used as the ID of the default serving config. For example, for Engine `projects/*‍/locations/global/collections/*‍/engines/my-engine`, you can use `projects/*‍/locations/global/collections/*‍/engines/my-engine/servingConfigs/my-engine` for your RecommendationService.Recommend requests. */
2935
3032
  servingConfig: string;
2936
3033
  /** Upload protocol for media (e.g. "raw", "multipart"). */
2937
3034
  upload_protocol?: string;
@@ -2960,7 +3057,7 @@ declare namespace gapi.client {
2960
3057
  prettyPrint?: boolean;
2961
3058
  /** 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. */
2962
3059
  quotaUser?: string;
2963
- /** Required. Full resource name of a ServingConfig: `projects/*‍/locations/global/collections/*‍/engines/*‍/servingConfigs/*`, or `projects/*‍/locations/global/collections/*‍/dataStores/*‍/servingConfigs/*` One default serving config is created along with your recommendation engine creation. The engine ID will be used as the ID of the default serving config. For example, for Engine `projects/*‍/locations/global/collections/*‍/engines/my-engine`, you can use `projects/*‍/locations/global/collections/*‍/engines/my-engine/servingConfigs/my-engine` for your Recommend requests. */
3060
+ /** Required. Full resource name of a ServingConfig: `projects/*‍/locations/global/collections/*‍/engines/*‍/servingConfigs/*`, or `projects/*‍/locations/global/collections/*‍/dataStores/*‍/servingConfigs/*` One default serving config is created along with your recommendation engine creation. The engine ID will be used as the ID of the default serving config. For example, for Engine `projects/*‍/locations/global/collections/*‍/engines/my-engine`, you can use `projects/*‍/locations/global/collections/*‍/engines/my-engine/servingConfigs/my-engine` for your RecommendationService.Recommend requests. */
2964
3061
  servingConfig: string;
2965
3062
  /** Upload protocol for media (e.g. "raw", "multipart"). */
2966
3063
  upload_protocol?: string;
@@ -3681,6 +3778,124 @@ declare namespace gapi.client {
3681
3778
  operations: OperationsResource;
3682
3779
  targetSites: TargetSitesResource;
3683
3780
  }
3781
+ interface SuggestionDenyListEntriesResource {
3782
+ /** Imports all SuggestionDenyListEntry for a DataStore. */
3783
+ import(request: {
3784
+ /** V1 error format. */
3785
+ '$.xgafv'?: string;
3786
+ /** OAuth access token. */
3787
+ access_token?: string;
3788
+ /** Data format for response. */
3789
+ alt?: string;
3790
+ /** JSONP */
3791
+ callback?: string;
3792
+ /** Selector specifying which fields to include in a partial response. */
3793
+ fields?: string;
3794
+ /** 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. */
3795
+ key?: string;
3796
+ /** OAuth 2.0 token for the current user. */
3797
+ oauth_token?: string;
3798
+ /** Required. The parent data store resource name for which to import denylist entries. Follows pattern projects/*‍/locations/*‍/collections/*‍/dataStores/*. */
3799
+ parent: string;
3800
+ /** Returns response with indentations and line breaks. */
3801
+ prettyPrint?: boolean;
3802
+ /** 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. */
3803
+ quotaUser?: string;
3804
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3805
+ upload_protocol?: string;
3806
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3807
+ uploadType?: string;
3808
+ /** Request body */
3809
+ resource: GoogleCloudDiscoveryengineV1alphaImportSuggestionDenyListEntriesRequest;
3810
+ }): Request<GoogleLongrunningOperation>;
3811
+ import(
3812
+ request: {
3813
+ /** V1 error format. */
3814
+ '$.xgafv'?: string;
3815
+ /** OAuth access token. */
3816
+ access_token?: string;
3817
+ /** Data format for response. */
3818
+ alt?: string;
3819
+ /** JSONP */
3820
+ callback?: string;
3821
+ /** Selector specifying which fields to include in a partial response. */
3822
+ fields?: string;
3823
+ /** 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. */
3824
+ key?: string;
3825
+ /** OAuth 2.0 token for the current user. */
3826
+ oauth_token?: string;
3827
+ /** Required. The parent data store resource name for which to import denylist entries. Follows pattern projects/*‍/locations/*‍/collections/*‍/dataStores/*. */
3828
+ parent: string;
3829
+ /** Returns response with indentations and line breaks. */
3830
+ prettyPrint?: boolean;
3831
+ /** 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. */
3832
+ quotaUser?: string;
3833
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3834
+ upload_protocol?: string;
3835
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3836
+ uploadType?: string;
3837
+ },
3838
+ body: GoogleCloudDiscoveryengineV1alphaImportSuggestionDenyListEntriesRequest
3839
+ ): Request<GoogleLongrunningOperation>;
3840
+ /** Permanently deletes all SuggestionDenyListEntry for a DataStore. */
3841
+ purge(request: {
3842
+ /** V1 error format. */
3843
+ '$.xgafv'?: string;
3844
+ /** OAuth access token. */
3845
+ access_token?: string;
3846
+ /** Data format for response. */
3847
+ alt?: string;
3848
+ /** JSONP */
3849
+ callback?: string;
3850
+ /** Selector specifying which fields to include in a partial response. */
3851
+ fields?: string;
3852
+ /** 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. */
3853
+ key?: string;
3854
+ /** OAuth 2.0 token for the current user. */
3855
+ oauth_token?: string;
3856
+ /** Required. The parent data store resource name for which to import denylist entries. Follows pattern projects/*‍/locations/*‍/collections/*‍/dataStores/*. */
3857
+ parent: string;
3858
+ /** Returns response with indentations and line breaks. */
3859
+ prettyPrint?: boolean;
3860
+ /** 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. */
3861
+ quotaUser?: string;
3862
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3863
+ upload_protocol?: string;
3864
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3865
+ uploadType?: string;
3866
+ /** Request body */
3867
+ resource: GoogleCloudDiscoveryengineV1alphaPurgeSuggestionDenyListEntriesRequest;
3868
+ }): Request<GoogleLongrunningOperation>;
3869
+ purge(
3870
+ request: {
3871
+ /** V1 error format. */
3872
+ '$.xgafv'?: string;
3873
+ /** OAuth access token. */
3874
+ access_token?: string;
3875
+ /** Data format for response. */
3876
+ alt?: string;
3877
+ /** JSONP */
3878
+ callback?: string;
3879
+ /** Selector specifying which fields to include in a partial response. */
3880
+ fields?: string;
3881
+ /** 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. */
3882
+ key?: string;
3883
+ /** OAuth 2.0 token for the current user. */
3884
+ oauth_token?: string;
3885
+ /** Required. The parent data store resource name for which to import denylist entries. Follows pattern projects/*‍/locations/*‍/collections/*‍/dataStores/*. */
3886
+ parent: string;
3887
+ /** Returns response with indentations and line breaks. */
3888
+ prettyPrint?: boolean;
3889
+ /** 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. */
3890
+ quotaUser?: string;
3891
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3892
+ upload_protocol?: string;
3893
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3894
+ uploadType?: string;
3895
+ },
3896
+ body: GoogleCloudDiscoveryengineV1alphaPurgeSuggestionDenyListEntriesRequest
3897
+ ): Request<GoogleLongrunningOperation>;
3898
+ }
3684
3899
  interface UserEventsResource {
3685
3900
  /** Writes a single user event from the browser. This uses a GET request to due to browser restriction of POST-ing to a third-party domain. This method is used only by the Discovery Engine API JavaScript pixel and Google Tag Manager. Users should not call this method directly. */
3686
3901
  collect(request?: {
@@ -4122,7 +4337,7 @@ declare namespace gapi.client {
4122
4337
  pageSize?: number;
4123
4338
  /** A page token ListDataStoresResponse.next_page_token, received from a previous DataStoreService.ListDataStores call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to DataStoreService.ListDataStores must match the call that provided the page token. Otherwise, an INVALID_ARGUMENT error is returned. */
4124
4339
  pageToken?: string;
4125
- /** Required. The parent branch resource name, such as `projects/{project}/locations/{location}/collections/{collection_id}`. If the caller does not have permission to list DataStoress under this location, regardless of whether or not this data store exists, a PERMISSION_DENIED error is returned. */
4340
+ /** Required. The parent branch resource name, such as `projects/{project}/locations/{location}/collections/{collection_id}`. If the caller does not have permission to list DataStores under this location, regardless of whether or not this data store exists, a PERMISSION_DENIED error is returned. */
4126
4341
  parent: string;
4127
4342
  /** Returns response with indentations and line breaks. */
4128
4343
  prettyPrint?: boolean;
@@ -4322,6 +4537,7 @@ declare namespace gapi.client {
4322
4537
  schemas: SchemasResource;
4323
4538
  servingConfigs: ServingConfigsResource;
4324
4539
  siteSearchEngine: SiteSearchEngineResource;
4540
+ suggestionDenyListEntries: SuggestionDenyListEntriesResource;
4325
4541
  userEvents: UserEventsResource;
4326
4542
  }
4327
4543
  interface ConversationsResource {
@@ -4552,7 +4768,7 @@ declare namespace gapi.client {
4552
4768
  prettyPrint?: boolean;
4553
4769
  /** 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. */
4554
4770
  quotaUser?: string;
4555
- /** Indicates which fields in the provided Conversation to update. The following are NOT supported: * conversation.name If not set or empty, all supported fields are updated. */
4771
+ /** Indicates which fields in the provided Conversation to update. The following are NOT supported: * Conversation.name If not set or empty, all supported fields are updated. */
4556
4772
  updateMask?: string;
4557
4773
  /** Upload protocol for media (e.g. "raw", "multipart"). */
4558
4774
  upload_protocol?: string;
@@ -4583,7 +4799,7 @@ declare namespace gapi.client {
4583
4799
  prettyPrint?: boolean;
4584
4800
  /** 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. */
4585
4801
  quotaUser?: string;
4586
- /** Indicates which fields in the provided Conversation to update. The following are NOT supported: * conversation.name If not set or empty, all supported fields are updated. */
4802
+ /** Indicates which fields in the provided Conversation to update. The following are NOT supported: * Conversation.name If not set or empty, all supported fields are updated. */
4587
4803
  updateMask?: string;
4588
4804
  /** Upload protocol for media (e.g. "raw", "multipart"). */
4589
4805
  upload_protocol?: string;
@@ -4676,7 +4892,7 @@ declare namespace gapi.client {
4676
4892
  prettyPrint?: boolean;
4677
4893
  /** 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. */
4678
4894
  quotaUser?: string;
4679
- /** Required. Full resource name of a ServingConfig: `projects/*‍/locations/global/collections/*‍/engines/*‍/servingConfigs/*`, or `projects/*‍/locations/global/collections/*‍/dataStores/*‍/servingConfigs/*` One default serving config is created along with your recommendation engine creation. The engine ID will be used as the ID of the default serving config. For example, for Engine `projects/*‍/locations/global/collections/*‍/engines/my-engine`, you can use `projects/*‍/locations/global/collections/*‍/engines/my-engine/servingConfigs/my-engine` for your Recommend requests. */
4895
+ /** Required. Full resource name of a ServingConfig: `projects/*‍/locations/global/collections/*‍/engines/*‍/servingConfigs/*`, or `projects/*‍/locations/global/collections/*‍/dataStores/*‍/servingConfigs/*` One default serving config is created along with your recommendation engine creation. The engine ID will be used as the ID of the default serving config. For example, for Engine `projects/*‍/locations/global/collections/*‍/engines/my-engine`, you can use `projects/*‍/locations/global/collections/*‍/engines/my-engine/servingConfigs/my-engine` for your RecommendationService.Recommend requests. */
4680
4896
  servingConfig: string;
4681
4897
  /** Upload protocol for media (e.g. "raw", "multipart"). */
4682
4898
  upload_protocol?: string;
@@ -4705,7 +4921,7 @@ declare namespace gapi.client {
4705
4921
  prettyPrint?: boolean;
4706
4922
  /** 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. */
4707
4923
  quotaUser?: string;
4708
- /** Required. Full resource name of a ServingConfig: `projects/*‍/locations/global/collections/*‍/engines/*‍/servingConfigs/*`, or `projects/*‍/locations/global/collections/*‍/dataStores/*‍/servingConfigs/*` One default serving config is created along with your recommendation engine creation. The engine ID will be used as the ID of the default serving config. For example, for Engine `projects/*‍/locations/global/collections/*‍/engines/my-engine`, you can use `projects/*‍/locations/global/collections/*‍/engines/my-engine/servingConfigs/my-engine` for your Recommend requests. */
4924
+ /** Required. Full resource name of a ServingConfig: `projects/*‍/locations/global/collections/*‍/engines/*‍/servingConfigs/*`, or `projects/*‍/locations/global/collections/*‍/dataStores/*‍/servingConfigs/*` One default serving config is created along with your recommendation engine creation. The engine ID will be used as the ID of the default serving config. For example, for Engine `projects/*‍/locations/global/collections/*‍/engines/my-engine`, you can use `projects/*‍/locations/global/collections/*‍/engines/my-engine/servingConfigs/my-engine` for your RecommendationService.Recommend requests. */
4709
4925
  servingConfig: string;
4710
4926
  /** Upload protocol for media (e.g. "raw", "multipart"). */
4711
4927
  upload_protocol?: string;
@@ -4985,7 +5201,7 @@ declare namespace gapi.client {
4985
5201
  },
4986
5202
  body: GoogleCloudDiscoveryengineV1alphaEngine
4987
5203
  ): Request<GoogleCloudDiscoveryengineV1alphaEngine>;
4988
- /** Pauses the training of an existing engine. Only applicable if solution_type is SOLUTION_TYPE_RECOMMENDATION. */
5204
+ /** Pauses the training of an existing engine. Only applicable if SolutionType is SOLUTION_TYPE_RECOMMENDATION. */
4989
5205
  pause(request: {
4990
5206
  /** V1 error format. */
4991
5207
  '$.xgafv'?: string;
@@ -5043,7 +5259,7 @@ declare namespace gapi.client {
5043
5259
  },
5044
5260
  body: GoogleCloudDiscoveryengineV1alphaPauseEngineRequest
5045
5261
  ): Request<GoogleCloudDiscoveryengineV1alphaEngine>;
5046
- /** Resumes the training of an existing engine. Only applicable if solution_type is SOLUTION_TYPE_RECOMMENDATION. */
5262
+ /** Resumes the training of an existing engine. Only applicable if SolutionType is SOLUTION_TYPE_RECOMMENDATION. */
5047
5263
  resume(request: {
5048
5264
  /** V1 error format. */
5049
5265
  '$.xgafv'?: string;
@@ -5101,7 +5317,7 @@ declare namespace gapi.client {
5101
5317
  },
5102
5318
  body: GoogleCloudDiscoveryengineV1alphaResumeEngineRequest
5103
5319
  ): Request<GoogleCloudDiscoveryengineV1alphaEngine>;
5104
- /** Tunes an existing engine. Only applicable if solution_type is SOLUTION_TYPE_RECOMMENDATION. */
5320
+ /** Tunes an existing engine. Only applicable if SolutionType is SOLUTION_TYPE_RECOMMENDATION. */
5105
5321
  tune(request: {
5106
5322
  /** V1 error format. */
5107
5323
  '$.xgafv'?: string;
@@ -5852,7 +6068,7 @@ declare namespace gapi.client {
5852
6068
  prettyPrint?: boolean;
5853
6069
  /** 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. */
5854
6070
  quotaUser?: string;
5855
- /** Indicates which fields in the provided Conversation to update. The following are NOT supported: * conversation.name If not set or empty, all supported fields are updated. */
6071
+ /** Indicates which fields in the provided Conversation to update. The following are NOT supported: * Conversation.name If not set or empty, all supported fields are updated. */
5856
6072
  updateMask?: string;
5857
6073
  /** Upload protocol for media (e.g. "raw", "multipart"). */
5858
6074
  upload_protocol?: string;
@@ -5883,7 +6099,7 @@ declare namespace gapi.client {
5883
6099
  prettyPrint?: boolean;
5884
6100
  /** 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. */
5885
6101
  quotaUser?: string;
5886
- /** Indicates which fields in the provided Conversation to update. The following are NOT supported: * conversation.name If not set or empty, all supported fields are updated. */
6102
+ /** Indicates which fields in the provided Conversation to update. The following are NOT supported: * Conversation.name If not set or empty, all supported fields are updated. */
5887
6103
  updateMask?: string;
5888
6104
  /** Upload protocol for media (e.g. "raw", "multipart"). */
5889
6105
  upload_protocol?: string;
@@ -6252,7 +6468,7 @@ declare namespace gapi.client {
6252
6468
  prettyPrint?: boolean;
6253
6469
  /** 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. */
6254
6470
  quotaUser?: string;
6255
- /** Required. Full resource name of a ServingConfig: `projects/*‍/locations/global/collections/*‍/engines/*‍/servingConfigs/*`, or `projects/*‍/locations/global/collections/*‍/dataStores/*‍/servingConfigs/*` One default serving config is created along with your recommendation engine creation. The engine ID will be used as the ID of the default serving config. For example, for Engine `projects/*‍/locations/global/collections/*‍/engines/my-engine`, you can use `projects/*‍/locations/global/collections/*‍/engines/my-engine/servingConfigs/my-engine` for your Recommend requests. */
6471
+ /** Required. Full resource name of a ServingConfig: `projects/*‍/locations/global/collections/*‍/engines/*‍/servingConfigs/*`, or `projects/*‍/locations/global/collections/*‍/dataStores/*‍/servingConfigs/*` One default serving config is created along with your recommendation engine creation. The engine ID will be used as the ID of the default serving config. For example, for Engine `projects/*‍/locations/global/collections/*‍/engines/my-engine`, you can use `projects/*‍/locations/global/collections/*‍/engines/my-engine/servingConfigs/my-engine` for your RecommendationService.Recommend requests. */
6256
6472
  servingConfig: string;
6257
6473
  /** Upload protocol for media (e.g. "raw", "multipart"). */
6258
6474
  upload_protocol?: string;
@@ -6281,7 +6497,7 @@ declare namespace gapi.client {
6281
6497
  prettyPrint?: boolean;
6282
6498
  /** 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. */
6283
6499
  quotaUser?: string;
6284
- /** Required. Full resource name of a ServingConfig: `projects/*‍/locations/global/collections/*‍/engines/*‍/servingConfigs/*`, or `projects/*‍/locations/global/collections/*‍/dataStores/*‍/servingConfigs/*` One default serving config is created along with your recommendation engine creation. The engine ID will be used as the ID of the default serving config. For example, for Engine `projects/*‍/locations/global/collections/*‍/engines/my-engine`, you can use `projects/*‍/locations/global/collections/*‍/engines/my-engine/servingConfigs/my-engine` for your Recommend requests. */
6500
+ /** Required. Full resource name of a ServingConfig: `projects/*‍/locations/global/collections/*‍/engines/*‍/servingConfigs/*`, or `projects/*‍/locations/global/collections/*‍/dataStores/*‍/servingConfigs/*` One default serving config is created along with your recommendation engine creation. The engine ID will be used as the ID of the default serving config. For example, for Engine `projects/*‍/locations/global/collections/*‍/engines/my-engine`, you can use `projects/*‍/locations/global/collections/*‍/engines/my-engine/servingConfigs/my-engine` for your RecommendationService.Recommend requests. */
6285
6501
  servingConfig: string;
6286
6502
  /** Upload protocol for media (e.g. "raw", "multipart"). */
6287
6503
  upload_protocol?: string;
@@ -6787,6 +7003,124 @@ declare namespace gapi.client {
6787
7003
  ): Request<GoogleLongrunningOperation>;
6788
7004
  targetSites: TargetSitesResource;
6789
7005
  }
7006
+ interface SuggestionDenyListEntriesResource {
7007
+ /** Imports all SuggestionDenyListEntry for a DataStore. */
7008
+ import(request: {
7009
+ /** V1 error format. */
7010
+ '$.xgafv'?: string;
7011
+ /** OAuth access token. */
7012
+ access_token?: string;
7013
+ /** Data format for response. */
7014
+ alt?: string;
7015
+ /** JSONP */
7016
+ callback?: string;
7017
+ /** Selector specifying which fields to include in a partial response. */
7018
+ fields?: string;
7019
+ /** 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. */
7020
+ key?: string;
7021
+ /** OAuth 2.0 token for the current user. */
7022
+ oauth_token?: string;
7023
+ /** Required. The parent data store resource name for which to import denylist entries. Follows pattern projects/*‍/locations/*‍/collections/*‍/dataStores/*. */
7024
+ parent: string;
7025
+ /** Returns response with indentations and line breaks. */
7026
+ prettyPrint?: boolean;
7027
+ /** 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. */
7028
+ quotaUser?: string;
7029
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
7030
+ upload_protocol?: string;
7031
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7032
+ uploadType?: string;
7033
+ /** Request body */
7034
+ resource: GoogleCloudDiscoveryengineV1alphaImportSuggestionDenyListEntriesRequest;
7035
+ }): Request<GoogleLongrunningOperation>;
7036
+ import(
7037
+ request: {
7038
+ /** V1 error format. */
7039
+ '$.xgafv'?: string;
7040
+ /** OAuth access token. */
7041
+ access_token?: string;
7042
+ /** Data format for response. */
7043
+ alt?: string;
7044
+ /** JSONP */
7045
+ callback?: string;
7046
+ /** Selector specifying which fields to include in a partial response. */
7047
+ fields?: string;
7048
+ /** 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. */
7049
+ key?: string;
7050
+ /** OAuth 2.0 token for the current user. */
7051
+ oauth_token?: string;
7052
+ /** Required. The parent data store resource name for which to import denylist entries. Follows pattern projects/*‍/locations/*‍/collections/*‍/dataStores/*. */
7053
+ parent: string;
7054
+ /** Returns response with indentations and line breaks. */
7055
+ prettyPrint?: boolean;
7056
+ /** 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. */
7057
+ quotaUser?: string;
7058
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
7059
+ upload_protocol?: string;
7060
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7061
+ uploadType?: string;
7062
+ },
7063
+ body: GoogleCloudDiscoveryengineV1alphaImportSuggestionDenyListEntriesRequest
7064
+ ): Request<GoogleLongrunningOperation>;
7065
+ /** Permanently deletes all SuggestionDenyListEntry for a DataStore. */
7066
+ purge(request: {
7067
+ /** V1 error format. */
7068
+ '$.xgafv'?: string;
7069
+ /** OAuth access token. */
7070
+ access_token?: string;
7071
+ /** Data format for response. */
7072
+ alt?: string;
7073
+ /** JSONP */
7074
+ callback?: string;
7075
+ /** Selector specifying which fields to include in a partial response. */
7076
+ fields?: string;
7077
+ /** 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. */
7078
+ key?: string;
7079
+ /** OAuth 2.0 token for the current user. */
7080
+ oauth_token?: string;
7081
+ /** Required. The parent data store resource name for which to import denylist entries. Follows pattern projects/*‍/locations/*‍/collections/*‍/dataStores/*. */
7082
+ parent: string;
7083
+ /** Returns response with indentations and line breaks. */
7084
+ prettyPrint?: boolean;
7085
+ /** 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. */
7086
+ quotaUser?: string;
7087
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
7088
+ upload_protocol?: string;
7089
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7090
+ uploadType?: string;
7091
+ /** Request body */
7092
+ resource: GoogleCloudDiscoveryengineV1alphaPurgeSuggestionDenyListEntriesRequest;
7093
+ }): Request<GoogleLongrunningOperation>;
7094
+ purge(
7095
+ request: {
7096
+ /** V1 error format. */
7097
+ '$.xgafv'?: string;
7098
+ /** OAuth access token. */
7099
+ access_token?: string;
7100
+ /** Data format for response. */
7101
+ alt?: string;
7102
+ /** JSONP */
7103
+ callback?: string;
7104
+ /** Selector specifying which fields to include in a partial response. */
7105
+ fields?: string;
7106
+ /** 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. */
7107
+ key?: string;
7108
+ /** OAuth 2.0 token for the current user. */
7109
+ oauth_token?: string;
7110
+ /** Required. The parent data store resource name for which to import denylist entries. Follows pattern projects/*‍/locations/*‍/collections/*‍/dataStores/*. */
7111
+ parent: string;
7112
+ /** Returns response with indentations and line breaks. */
7113
+ prettyPrint?: boolean;
7114
+ /** 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. */
7115
+ quotaUser?: string;
7116
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
7117
+ upload_protocol?: string;
7118
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7119
+ uploadType?: string;
7120
+ },
7121
+ body: GoogleCloudDiscoveryengineV1alphaPurgeSuggestionDenyListEntriesRequest
7122
+ ): Request<GoogleLongrunningOperation>;
7123
+ }
6790
7124
  interface UserEventsResource {
6791
7125
  /** Writes a single user event from the browser. This uses a GET request to due to browser restriction of POST-ing to a third-party domain. This method is used only by the Discovery Engine API JavaScript pixel and Google Tag Manager. Users should not call this method directly. */
6792
7126
  collect(request?: {
@@ -7228,7 +7562,7 @@ declare namespace gapi.client {
7228
7562
  pageSize?: number;
7229
7563
  /** A page token ListDataStoresResponse.next_page_token, received from a previous DataStoreService.ListDataStores call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to DataStoreService.ListDataStores must match the call that provided the page token. Otherwise, an INVALID_ARGUMENT error is returned. */
7230
7564
  pageToken?: string;
7231
- /** Required. The parent branch resource name, such as `projects/{project}/locations/{location}/collections/{collection_id}`. If the caller does not have permission to list DataStoress under this location, regardless of whether or not this data store exists, a PERMISSION_DENIED error is returned. */
7565
+ /** Required. The parent branch resource name, such as `projects/{project}/locations/{location}/collections/{collection_id}`. If the caller does not have permission to list DataStores under this location, regardless of whether or not this data store exists, a PERMISSION_DENIED error is returned. */
7232
7566
  parent: string;
7233
7567
  /** Returns response with indentations and line breaks. */
7234
7568
  prettyPrint?: boolean;
@@ -7370,6 +7704,7 @@ declare namespace gapi.client {
7370
7704
  schemas: SchemasResource;
7371
7705
  servingConfigs: ServingConfigsResource;
7372
7706
  siteSearchEngine: SiteSearchEngineResource;
7707
+ suggestionDenyListEntries: SuggestionDenyListEntriesResource;
7373
7708
  userEvents: UserEventsResource;
7374
7709
  }
7375
7710
  interface OperationsResource {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.discoveryengine-v1alpha",
3
- "version": "0.0.20231218",
3
+ "version": "0.0.20240108",
4
4
  "description": "TypeScript typings for Discovery Engine API v1alpha",
5
5
  "repository": {
6
6
  "type": "git",