@maxim_mazurok/gapi.client.discoveryengine-v1beta 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.
- package/index.d.ts +356 -21
- 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=v1beta
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20240108
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -209,7 +209,7 @@ declare namespace gapi.client {
|
|
|
209
209
|
interface GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig {
|
|
210
210
|
/** 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. */
|
|
211
211
|
agentCreationConfig?: GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfigAgentCreationConfig;
|
|
212
|
-
/** 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
|
|
212
|
+
/** 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. */
|
|
213
213
|
dialogflowAgentToLink?: string;
|
|
214
214
|
}
|
|
215
215
|
interface GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfigAgentCreationConfig {
|
|
@@ -217,6 +217,8 @@ declare namespace gapi.client {
|
|
|
217
217
|
business?: string;
|
|
218
218
|
/** 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. */
|
|
219
219
|
defaultLanguageCode?: string;
|
|
220
|
+
/** 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. */
|
|
221
|
+
location?: string;
|
|
220
222
|
/** 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. */
|
|
221
223
|
timeZone?: string;
|
|
222
224
|
}
|
|
@@ -311,6 +313,20 @@ declare namespace gapi.client {
|
|
|
311
313
|
/** 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. */
|
|
312
314
|
gcsPrefix?: string;
|
|
313
315
|
}
|
|
316
|
+
interface GoogleCloudDiscoveryengineV1alphaImportSuggestionDenyListEntriesMetadata {
|
|
317
|
+
/** Operation create time. */
|
|
318
|
+
createTime?: string;
|
|
319
|
+
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
320
|
+
updateTime?: string;
|
|
321
|
+
}
|
|
322
|
+
interface GoogleCloudDiscoveryengineV1alphaImportSuggestionDenyListEntriesResponse {
|
|
323
|
+
/** A sample of errors encountered while processing the request. */
|
|
324
|
+
errorSamples?: GoogleRpcStatus[];
|
|
325
|
+
/** Count of deny list entries that failed to be imported. */
|
|
326
|
+
failedEntriesCount?: string;
|
|
327
|
+
/** Count of deny list entries successfully imported. */
|
|
328
|
+
importedEntriesCount?: string;
|
|
329
|
+
}
|
|
314
330
|
interface GoogleCloudDiscoveryengineV1alphaImportUserEventsMetadata {
|
|
315
331
|
/** Operation create time. */
|
|
316
332
|
createTime?: string;
|
|
@@ -332,7 +348,7 @@ declare namespace gapi.client {
|
|
|
332
348
|
unjoinedEventsCount?: string;
|
|
333
349
|
}
|
|
334
350
|
interface GoogleCloudDiscoveryengineV1alphaOcrConfig {
|
|
335
|
-
/** Required. If OCR is enabled or not. OCR must be enabled for other OcrConfig options to apply. */
|
|
351
|
+
/** 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. */
|
|
336
352
|
enabled?: boolean;
|
|
337
353
|
/** Apply additional enhanced OCR processing to a list of document elements. Supported values: * `table`: advanced table parsing model. */
|
|
338
354
|
enhancedDocumentElements?: string[];
|
|
@@ -355,6 +371,18 @@ declare namespace gapi.client {
|
|
|
355
371
|
/** 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. */
|
|
356
372
|
purgeSample?: string[];
|
|
357
373
|
}
|
|
374
|
+
interface GoogleCloudDiscoveryengineV1alphaPurgeSuggestionDenyListEntriesMetadata {
|
|
375
|
+
/** Operation create time. */
|
|
376
|
+
createTime?: string;
|
|
377
|
+
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
378
|
+
updateTime?: string;
|
|
379
|
+
}
|
|
380
|
+
interface GoogleCloudDiscoveryengineV1alphaPurgeSuggestionDenyListEntriesResponse {
|
|
381
|
+
/** A sample of errors encountered while processing the request. */
|
|
382
|
+
errorSamples?: GoogleRpcStatus[];
|
|
383
|
+
/** Number of suggestion deny list entries purged. */
|
|
384
|
+
purgeCount?: string;
|
|
385
|
+
}
|
|
358
386
|
interface GoogleCloudDiscoveryengineV1alphaPurgeUserEventsMetadata {
|
|
359
387
|
/** Operation create time. */
|
|
360
388
|
createTime?: string;
|
|
@@ -602,7 +630,7 @@ declare namespace gapi.client {
|
|
|
602
630
|
mimeType?: string;
|
|
603
631
|
/** 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. */
|
|
604
632
|
rawBytes?: string;
|
|
605
|
-
/** 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. */
|
|
633
|
+
/** 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. */
|
|
606
634
|
uri?: string;
|
|
607
635
|
}
|
|
608
636
|
interface GoogleCloudDiscoveryengineV1betaDocumentInfo {
|
|
@@ -667,6 +695,30 @@ declare namespace gapi.client {
|
|
|
667
695
|
/** 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. */
|
|
668
696
|
gcsPrefix?: string;
|
|
669
697
|
}
|
|
698
|
+
interface GoogleCloudDiscoveryengineV1betaImportSuggestionDenyListEntriesMetadata {
|
|
699
|
+
/** Operation create time. */
|
|
700
|
+
createTime?: string;
|
|
701
|
+
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
702
|
+
updateTime?: string;
|
|
703
|
+
}
|
|
704
|
+
interface GoogleCloudDiscoveryengineV1betaImportSuggestionDenyListEntriesRequest {
|
|
705
|
+
/** 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. */
|
|
706
|
+
gcsSource?: GoogleCloudDiscoveryengineV1betaGcsSource;
|
|
707
|
+
/** The Inline source for the input content for suggestion deny list entries. */
|
|
708
|
+
inlineSource?: GoogleCloudDiscoveryengineV1betaImportSuggestionDenyListEntriesRequestInlineSource;
|
|
709
|
+
}
|
|
710
|
+
interface GoogleCloudDiscoveryengineV1betaImportSuggestionDenyListEntriesRequestInlineSource {
|
|
711
|
+
/** Required. A list of all denylist entries to import. Max of 1000 items. */
|
|
712
|
+
entries?: GoogleCloudDiscoveryengineV1betaSuggestionDenyListEntry[];
|
|
713
|
+
}
|
|
714
|
+
interface GoogleCloudDiscoveryengineV1betaImportSuggestionDenyListEntriesResponse {
|
|
715
|
+
/** A sample of errors encountered while processing the request. */
|
|
716
|
+
errorSamples?: GoogleRpcStatus[];
|
|
717
|
+
/** Count of deny list entries that failed to be imported. */
|
|
718
|
+
failedEntriesCount?: string;
|
|
719
|
+
/** Count of deny list entries successfully imported. */
|
|
720
|
+
importedEntriesCount?: string;
|
|
721
|
+
}
|
|
670
722
|
interface GoogleCloudDiscoveryengineV1betaImportUserEventsMetadata {
|
|
671
723
|
/** Operation create time. */
|
|
672
724
|
createTime?: string;
|
|
@@ -777,6 +829,19 @@ declare namespace gapi.client {
|
|
|
777
829
|
/** 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. */
|
|
778
830
|
purgeSample?: string[];
|
|
779
831
|
}
|
|
832
|
+
interface GoogleCloudDiscoveryengineV1betaPurgeSuggestionDenyListEntriesMetadata {
|
|
833
|
+
/** Operation create time. */
|
|
834
|
+
createTime?: string;
|
|
835
|
+
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
836
|
+
updateTime?: string;
|
|
837
|
+
}
|
|
838
|
+
interface GoogleCloudDiscoveryengineV1betaPurgeSuggestionDenyListEntriesRequest {}
|
|
839
|
+
interface GoogleCloudDiscoveryengineV1betaPurgeSuggestionDenyListEntriesResponse {
|
|
840
|
+
/** A sample of errors encountered while processing the request. */
|
|
841
|
+
errorSamples?: GoogleRpcStatus[];
|
|
842
|
+
/** Number of suggestion deny list entries purged. */
|
|
843
|
+
purgeCount?: string;
|
|
844
|
+
}
|
|
780
845
|
interface GoogleCloudDiscoveryengineV1betaRecommendRequest {
|
|
781
846
|
/** Filter for restricting recommendation results with a length limit of 5,000 characters. Currently, only filter expressions on the `filter_tags` attribute is supported. Examples: * `(filter_tags: ANY("Red", "Blue") OR filter_tags: ANY("Hot", "Cold"))` * `(filter_tags: ANY("Red", "Blue")) AND NOT (filter_tags: ANY("Green"))` If `attributeFilteringSyntax` is set to true under the `params` field, then attribute-based expressions are expected instead of the above described tag-based syntax. Examples: * (launguage: ANY("en", "es")) AND NOT (categories: ANY("Movie")) * (available: true) AND (launguage: ANY("en", "es")) OR (categories: ANY("Movie")) If your filter blocks all results, the API will return generic (unfiltered) popular Documents. If you only want results strictly matching the filters, set `strictFiltering` to True in RecommendRequest.params to receive empty results instead. Note that the API will never return Documents with `storageStatus` of `EXPIRED` or `DELETED` regardless of filter choices. */
|
|
782
847
|
filter?: string;
|
|
@@ -852,7 +917,7 @@ declare namespace gapi.client {
|
|
|
852
917
|
canonicalFilter?: string;
|
|
853
918
|
/** A specification for configuring the behavior of content search. */
|
|
854
919
|
contentSearchSpec?: GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpec;
|
|
855
|
-
/** Uses the provided embedding to do additional semantic document retrieval. The retrieval is based on the dot product of SearchRequest.
|
|
920
|
+
/** 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. */
|
|
856
921
|
embeddingSpec?: GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec;
|
|
857
922
|
/** 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. */
|
|
858
923
|
facetSpecs?: GoogleCloudDiscoveryengineV1betaSearchRequestFacetSpec[];
|
|
@@ -906,7 +971,7 @@ declare namespace gapi.client {
|
|
|
906
971
|
summarySpec?: GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpec;
|
|
907
972
|
}
|
|
908
973
|
interface GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecExtractiveContentSpec {
|
|
909
|
-
/** 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
|
|
974
|
+
/** 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. */
|
|
910
975
|
maxExtractiveAnswerCount?: number;
|
|
911
976
|
/** 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`. */
|
|
912
977
|
maxExtractiveSegmentCount?: number;
|
|
@@ -944,7 +1009,7 @@ declare namespace gapi.client {
|
|
|
944
1009
|
preamble?: string;
|
|
945
1010
|
}
|
|
946
1011
|
interface GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelSpec {
|
|
947
|
-
/** The string
|
|
1012
|
+
/** 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. */
|
|
948
1013
|
version?: string;
|
|
949
1014
|
}
|
|
950
1015
|
interface GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec {
|
|
@@ -1100,7 +1165,7 @@ declare namespace gapi.client {
|
|
|
1100
1165
|
document?: string;
|
|
1101
1166
|
/** Title of the document. */
|
|
1102
1167
|
title?: string;
|
|
1103
|
-
/**
|
|
1168
|
+
/** Cloud Storage or HTTP uri for the document. */
|
|
1104
1169
|
uri?: string;
|
|
1105
1170
|
}
|
|
1106
1171
|
interface GoogleCloudDiscoveryengineV1betaSearchResponseSummarySafetyAttributes {
|
|
@@ -1117,6 +1182,12 @@ declare namespace gapi.client {
|
|
|
1117
1182
|
/** Summary text with no citation information. */
|
|
1118
1183
|
summary?: string;
|
|
1119
1184
|
}
|
|
1185
|
+
interface GoogleCloudDiscoveryengineV1betaSuggestionDenyListEntry {
|
|
1186
|
+
/** Required. Phrase to block from suggestions served. Can be maximum 125 characters. */
|
|
1187
|
+
blockPhrase?: string;
|
|
1188
|
+
/** Required. The match operator to apply for this phrase. Whether to block the exact phrase, or block any suggestions containing this phrase. */
|
|
1189
|
+
matchOperator?: string;
|
|
1190
|
+
}
|
|
1120
1191
|
interface GoogleCloudDiscoveryengineV1betaTextInput {
|
|
1121
1192
|
/** Conversation context of the input. */
|
|
1122
1193
|
context?: GoogleCloudDiscoveryengineV1betaConversationContext;
|
|
@@ -1160,7 +1231,7 @@ declare namespace gapi.client {
|
|
|
1160
1231
|
eventTime?: string;
|
|
1161
1232
|
/** 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. */
|
|
1162
1233
|
eventType?: string;
|
|
1163
|
-
/** 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
|
|
1234
|
+
/** 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. */
|
|
1164
1235
|
filter?: string;
|
|
1165
1236
|
/** Media-specific info. */
|
|
1166
1237
|
mediaInfo?: GoogleCloudDiscoveryengineV1betaMediaInfo;
|
|
@@ -1221,6 +1292,20 @@ declare namespace gapi.client {
|
|
|
1221
1292
|
/** 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. */
|
|
1222
1293
|
gcsPrefix?: string;
|
|
1223
1294
|
}
|
|
1295
|
+
interface GoogleCloudDiscoveryengineV1ImportSuggestionDenyListEntriesMetadata {
|
|
1296
|
+
/** Operation create time. */
|
|
1297
|
+
createTime?: string;
|
|
1298
|
+
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
1299
|
+
updateTime?: string;
|
|
1300
|
+
}
|
|
1301
|
+
interface GoogleCloudDiscoveryengineV1ImportSuggestionDenyListEntriesResponse {
|
|
1302
|
+
/** A sample of errors encountered while processing the request. */
|
|
1303
|
+
errorSamples?: GoogleRpcStatus[];
|
|
1304
|
+
/** Count of deny list entries that failed to be imported. */
|
|
1305
|
+
failedEntriesCount?: string;
|
|
1306
|
+
/** Count of deny list entries successfully imported. */
|
|
1307
|
+
importedEntriesCount?: string;
|
|
1308
|
+
}
|
|
1224
1309
|
interface GoogleCloudDiscoveryengineV1ImportUserEventsMetadata {
|
|
1225
1310
|
/** Operation create time. */
|
|
1226
1311
|
createTime?: string;
|
|
@@ -1257,6 +1342,18 @@ declare namespace gapi.client {
|
|
|
1257
1342
|
/** 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. */
|
|
1258
1343
|
purgeSample?: string[];
|
|
1259
1344
|
}
|
|
1345
|
+
interface GoogleCloudDiscoveryengineV1PurgeSuggestionDenyListEntriesMetadata {
|
|
1346
|
+
/** Operation create time. */
|
|
1347
|
+
createTime?: string;
|
|
1348
|
+
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
1349
|
+
updateTime?: string;
|
|
1350
|
+
}
|
|
1351
|
+
interface GoogleCloudDiscoveryengineV1PurgeSuggestionDenyListEntriesResponse {
|
|
1352
|
+
/** A sample of errors encountered while processing the request. */
|
|
1353
|
+
errorSamples?: GoogleRpcStatus[];
|
|
1354
|
+
/** Number of suggestion deny list entries purged. */
|
|
1355
|
+
purgeCount?: string;
|
|
1356
|
+
}
|
|
1260
1357
|
interface GoogleCloudDiscoveryengineV1Schema {
|
|
1261
1358
|
/** The JSON representation of the schema. */
|
|
1262
1359
|
jsonSchema?: string;
|
|
@@ -1992,7 +2089,7 @@ declare namespace gapi.client {
|
|
|
1992
2089
|
prettyPrint?: boolean;
|
|
1993
2090
|
/** 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. */
|
|
1994
2091
|
quotaUser?: string;
|
|
1995
|
-
/** Indicates which fields in the provided Conversation to update. The following are NOT supported: *
|
|
2092
|
+
/** 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. */
|
|
1996
2093
|
updateMask?: string;
|
|
1997
2094
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1998
2095
|
upload_protocol?: string;
|
|
@@ -2023,7 +2120,7 @@ declare namespace gapi.client {
|
|
|
2023
2120
|
prettyPrint?: boolean;
|
|
2024
2121
|
/** 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. */
|
|
2025
2122
|
quotaUser?: string;
|
|
2026
|
-
/** Indicates which fields in the provided Conversation to update. The following are NOT supported: *
|
|
2123
|
+
/** 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. */
|
|
2027
2124
|
updateMask?: string;
|
|
2028
2125
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2029
2126
|
upload_protocol?: string;
|
|
@@ -2455,7 +2552,7 @@ declare namespace gapi.client {
|
|
|
2455
2552
|
prettyPrint?: boolean;
|
|
2456
2553
|
/** 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. */
|
|
2457
2554
|
quotaUser?: string;
|
|
2458
|
-
/** 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. */
|
|
2555
|
+
/** 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. */
|
|
2459
2556
|
servingConfig: string;
|
|
2460
2557
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2461
2558
|
upload_protocol?: string;
|
|
@@ -2484,7 +2581,7 @@ declare namespace gapi.client {
|
|
|
2484
2581
|
prettyPrint?: boolean;
|
|
2485
2582
|
/** 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. */
|
|
2486
2583
|
quotaUser?: string;
|
|
2487
|
-
/** 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. */
|
|
2584
|
+
/** 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. */
|
|
2488
2585
|
servingConfig: string;
|
|
2489
2586
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2490
2587
|
upload_protocol?: string;
|
|
@@ -2683,6 +2780,124 @@ declare namespace gapi.client {
|
|
|
2683
2780
|
operations: OperationsResource;
|
|
2684
2781
|
targetSites: TargetSitesResource;
|
|
2685
2782
|
}
|
|
2783
|
+
interface SuggestionDenyListEntriesResource {
|
|
2784
|
+
/** Imports all SuggestionDenyListEntry for a DataStore. */
|
|
2785
|
+
import(request: {
|
|
2786
|
+
/** V1 error format. */
|
|
2787
|
+
'$.xgafv'?: string;
|
|
2788
|
+
/** OAuth access token. */
|
|
2789
|
+
access_token?: string;
|
|
2790
|
+
/** Data format for response. */
|
|
2791
|
+
alt?: string;
|
|
2792
|
+
/** JSONP */
|
|
2793
|
+
callback?: string;
|
|
2794
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2795
|
+
fields?: string;
|
|
2796
|
+
/** 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. */
|
|
2797
|
+
key?: string;
|
|
2798
|
+
/** OAuth 2.0 token for the current user. */
|
|
2799
|
+
oauth_token?: string;
|
|
2800
|
+
/** Required. The parent data store resource name for which to import denylist entries. Follows pattern projects/*/locations/*/collections/*/dataStores/*. */
|
|
2801
|
+
parent: string;
|
|
2802
|
+
/** Returns response with indentations and line breaks. */
|
|
2803
|
+
prettyPrint?: boolean;
|
|
2804
|
+
/** 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. */
|
|
2805
|
+
quotaUser?: string;
|
|
2806
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2807
|
+
upload_protocol?: string;
|
|
2808
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2809
|
+
uploadType?: string;
|
|
2810
|
+
/** Request body */
|
|
2811
|
+
resource: GoogleCloudDiscoveryengineV1betaImportSuggestionDenyListEntriesRequest;
|
|
2812
|
+
}): Request<GoogleLongrunningOperation>;
|
|
2813
|
+
import(
|
|
2814
|
+
request: {
|
|
2815
|
+
/** V1 error format. */
|
|
2816
|
+
'$.xgafv'?: string;
|
|
2817
|
+
/** OAuth access token. */
|
|
2818
|
+
access_token?: string;
|
|
2819
|
+
/** Data format for response. */
|
|
2820
|
+
alt?: string;
|
|
2821
|
+
/** JSONP */
|
|
2822
|
+
callback?: string;
|
|
2823
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2824
|
+
fields?: string;
|
|
2825
|
+
/** 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. */
|
|
2826
|
+
key?: string;
|
|
2827
|
+
/** OAuth 2.0 token for the current user. */
|
|
2828
|
+
oauth_token?: string;
|
|
2829
|
+
/** Required. The parent data store resource name for which to import denylist entries. Follows pattern projects/*/locations/*/collections/*/dataStores/*. */
|
|
2830
|
+
parent: string;
|
|
2831
|
+
/** Returns response with indentations and line breaks. */
|
|
2832
|
+
prettyPrint?: boolean;
|
|
2833
|
+
/** 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. */
|
|
2834
|
+
quotaUser?: string;
|
|
2835
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2836
|
+
upload_protocol?: string;
|
|
2837
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2838
|
+
uploadType?: string;
|
|
2839
|
+
},
|
|
2840
|
+
body: GoogleCloudDiscoveryengineV1betaImportSuggestionDenyListEntriesRequest
|
|
2841
|
+
): Request<GoogleLongrunningOperation>;
|
|
2842
|
+
/** Permanently deletes all SuggestionDenyListEntry for a DataStore. */
|
|
2843
|
+
purge(request: {
|
|
2844
|
+
/** V1 error format. */
|
|
2845
|
+
'$.xgafv'?: string;
|
|
2846
|
+
/** OAuth access token. */
|
|
2847
|
+
access_token?: string;
|
|
2848
|
+
/** Data format for response. */
|
|
2849
|
+
alt?: string;
|
|
2850
|
+
/** JSONP */
|
|
2851
|
+
callback?: string;
|
|
2852
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2853
|
+
fields?: string;
|
|
2854
|
+
/** 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. */
|
|
2855
|
+
key?: string;
|
|
2856
|
+
/** OAuth 2.0 token for the current user. */
|
|
2857
|
+
oauth_token?: string;
|
|
2858
|
+
/** Required. The parent data store resource name for which to import denylist entries. Follows pattern projects/*/locations/*/collections/*/dataStores/*. */
|
|
2859
|
+
parent: string;
|
|
2860
|
+
/** Returns response with indentations and line breaks. */
|
|
2861
|
+
prettyPrint?: boolean;
|
|
2862
|
+
/** 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. */
|
|
2863
|
+
quotaUser?: string;
|
|
2864
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2865
|
+
upload_protocol?: string;
|
|
2866
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2867
|
+
uploadType?: string;
|
|
2868
|
+
/** Request body */
|
|
2869
|
+
resource: GoogleCloudDiscoveryengineV1betaPurgeSuggestionDenyListEntriesRequest;
|
|
2870
|
+
}): Request<GoogleLongrunningOperation>;
|
|
2871
|
+
purge(
|
|
2872
|
+
request: {
|
|
2873
|
+
/** V1 error format. */
|
|
2874
|
+
'$.xgafv'?: string;
|
|
2875
|
+
/** OAuth access token. */
|
|
2876
|
+
access_token?: string;
|
|
2877
|
+
/** Data format for response. */
|
|
2878
|
+
alt?: string;
|
|
2879
|
+
/** JSONP */
|
|
2880
|
+
callback?: string;
|
|
2881
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2882
|
+
fields?: string;
|
|
2883
|
+
/** 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. */
|
|
2884
|
+
key?: string;
|
|
2885
|
+
/** OAuth 2.0 token for the current user. */
|
|
2886
|
+
oauth_token?: string;
|
|
2887
|
+
/** Required. The parent data store resource name for which to import denylist entries. Follows pattern projects/*/locations/*/collections/*/dataStores/*. */
|
|
2888
|
+
parent: string;
|
|
2889
|
+
/** Returns response with indentations and line breaks. */
|
|
2890
|
+
prettyPrint?: boolean;
|
|
2891
|
+
/** 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. */
|
|
2892
|
+
quotaUser?: string;
|
|
2893
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2894
|
+
upload_protocol?: string;
|
|
2895
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2896
|
+
uploadType?: string;
|
|
2897
|
+
},
|
|
2898
|
+
body: GoogleCloudDiscoveryengineV1betaPurgeSuggestionDenyListEntriesRequest
|
|
2899
|
+
): Request<GoogleLongrunningOperation>;
|
|
2900
|
+
}
|
|
2686
2901
|
interface UserEventsResource {
|
|
2687
2902
|
/** 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. */
|
|
2688
2903
|
collect(request?: {
|
|
@@ -2877,6 +3092,7 @@ declare namespace gapi.client {
|
|
|
2877
3092
|
schemas: SchemasResource;
|
|
2878
3093
|
servingConfigs: ServingConfigsResource;
|
|
2879
3094
|
siteSearchEngine: SiteSearchEngineResource;
|
|
3095
|
+
suggestionDenyListEntries: SuggestionDenyListEntriesResource;
|
|
2880
3096
|
userEvents: UserEventsResource;
|
|
2881
3097
|
}
|
|
2882
3098
|
interface ConversationsResource {
|
|
@@ -3107,7 +3323,7 @@ declare namespace gapi.client {
|
|
|
3107
3323
|
prettyPrint?: boolean;
|
|
3108
3324
|
/** 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. */
|
|
3109
3325
|
quotaUser?: string;
|
|
3110
|
-
/** Indicates which fields in the provided Conversation to update. The following are NOT supported: *
|
|
3326
|
+
/** 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. */
|
|
3111
3327
|
updateMask?: string;
|
|
3112
3328
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3113
3329
|
upload_protocol?: string;
|
|
@@ -3138,7 +3354,7 @@ declare namespace gapi.client {
|
|
|
3138
3354
|
prettyPrint?: boolean;
|
|
3139
3355
|
/** 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. */
|
|
3140
3356
|
quotaUser?: string;
|
|
3141
|
-
/** Indicates which fields in the provided Conversation to update. The following are NOT supported: *
|
|
3357
|
+
/** 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. */
|
|
3142
3358
|
updateMask?: string;
|
|
3143
3359
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3144
3360
|
upload_protocol?: string;
|
|
@@ -3231,7 +3447,7 @@ declare namespace gapi.client {
|
|
|
3231
3447
|
prettyPrint?: boolean;
|
|
3232
3448
|
/** 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. */
|
|
3233
3449
|
quotaUser?: string;
|
|
3234
|
-
/** 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. */
|
|
3450
|
+
/** 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. */
|
|
3235
3451
|
servingConfig: string;
|
|
3236
3452
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3237
3453
|
upload_protocol?: string;
|
|
@@ -3260,7 +3476,7 @@ declare namespace gapi.client {
|
|
|
3260
3476
|
prettyPrint?: boolean;
|
|
3261
3477
|
/** 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. */
|
|
3262
3478
|
quotaUser?: string;
|
|
3263
|
-
/** 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. */
|
|
3479
|
+
/** 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. */
|
|
3264
3480
|
servingConfig: string;
|
|
3265
3481
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3266
3482
|
upload_protocol?: string;
|
|
@@ -4022,7 +4238,7 @@ declare namespace gapi.client {
|
|
|
4022
4238
|
prettyPrint?: boolean;
|
|
4023
4239
|
/** 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. */
|
|
4024
4240
|
quotaUser?: string;
|
|
4025
|
-
/** Indicates which fields in the provided Conversation to update. The following are NOT supported: *
|
|
4241
|
+
/** 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. */
|
|
4026
4242
|
updateMask?: string;
|
|
4027
4243
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4028
4244
|
upload_protocol?: string;
|
|
@@ -4053,7 +4269,7 @@ declare namespace gapi.client {
|
|
|
4053
4269
|
prettyPrint?: boolean;
|
|
4054
4270
|
/** 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. */
|
|
4055
4271
|
quotaUser?: string;
|
|
4056
|
-
/** Indicates which fields in the provided Conversation to update. The following are NOT supported: *
|
|
4272
|
+
/** 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. */
|
|
4057
4273
|
updateMask?: string;
|
|
4058
4274
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4059
4275
|
upload_protocol?: string;
|
|
@@ -4422,7 +4638,7 @@ declare namespace gapi.client {
|
|
|
4422
4638
|
prettyPrint?: boolean;
|
|
4423
4639
|
/** 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. */
|
|
4424
4640
|
quotaUser?: string;
|
|
4425
|
-
/** 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. */
|
|
4641
|
+
/** 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. */
|
|
4426
4642
|
servingConfig: string;
|
|
4427
4643
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4428
4644
|
upload_protocol?: string;
|
|
@@ -4451,7 +4667,7 @@ declare namespace gapi.client {
|
|
|
4451
4667
|
prettyPrint?: boolean;
|
|
4452
4668
|
/** 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. */
|
|
4453
4669
|
quotaUser?: string;
|
|
4454
|
-
/** 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. */
|
|
4670
|
+
/** 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. */
|
|
4455
4671
|
servingConfig: string;
|
|
4456
4672
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4457
4673
|
upload_protocol?: string;
|
|
@@ -4519,6 +4735,124 @@ declare namespace gapi.client {
|
|
|
4519
4735
|
body: GoogleCloudDiscoveryengineV1betaSearchRequest
|
|
4520
4736
|
): Request<GoogleCloudDiscoveryengineV1betaSearchResponse>;
|
|
4521
4737
|
}
|
|
4738
|
+
interface SuggestionDenyListEntriesResource {
|
|
4739
|
+
/** Imports all SuggestionDenyListEntry for a DataStore. */
|
|
4740
|
+
import(request: {
|
|
4741
|
+
/** V1 error format. */
|
|
4742
|
+
'$.xgafv'?: string;
|
|
4743
|
+
/** OAuth access token. */
|
|
4744
|
+
access_token?: string;
|
|
4745
|
+
/** Data format for response. */
|
|
4746
|
+
alt?: string;
|
|
4747
|
+
/** JSONP */
|
|
4748
|
+
callback?: string;
|
|
4749
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4750
|
+
fields?: string;
|
|
4751
|
+
/** 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. */
|
|
4752
|
+
key?: string;
|
|
4753
|
+
/** OAuth 2.0 token for the current user. */
|
|
4754
|
+
oauth_token?: string;
|
|
4755
|
+
/** Required. The parent data store resource name for which to import denylist entries. Follows pattern projects/*/locations/*/collections/*/dataStores/*. */
|
|
4756
|
+
parent: string;
|
|
4757
|
+
/** Returns response with indentations and line breaks. */
|
|
4758
|
+
prettyPrint?: boolean;
|
|
4759
|
+
/** 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. */
|
|
4760
|
+
quotaUser?: string;
|
|
4761
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4762
|
+
upload_protocol?: string;
|
|
4763
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4764
|
+
uploadType?: string;
|
|
4765
|
+
/** Request body */
|
|
4766
|
+
resource: GoogleCloudDiscoveryengineV1betaImportSuggestionDenyListEntriesRequest;
|
|
4767
|
+
}): Request<GoogleLongrunningOperation>;
|
|
4768
|
+
import(
|
|
4769
|
+
request: {
|
|
4770
|
+
/** V1 error format. */
|
|
4771
|
+
'$.xgafv'?: string;
|
|
4772
|
+
/** OAuth access token. */
|
|
4773
|
+
access_token?: string;
|
|
4774
|
+
/** Data format for response. */
|
|
4775
|
+
alt?: string;
|
|
4776
|
+
/** JSONP */
|
|
4777
|
+
callback?: string;
|
|
4778
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4779
|
+
fields?: string;
|
|
4780
|
+
/** 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. */
|
|
4781
|
+
key?: string;
|
|
4782
|
+
/** OAuth 2.0 token for the current user. */
|
|
4783
|
+
oauth_token?: string;
|
|
4784
|
+
/** Required. The parent data store resource name for which to import denylist entries. Follows pattern projects/*/locations/*/collections/*/dataStores/*. */
|
|
4785
|
+
parent: string;
|
|
4786
|
+
/** Returns response with indentations and line breaks. */
|
|
4787
|
+
prettyPrint?: boolean;
|
|
4788
|
+
/** 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. */
|
|
4789
|
+
quotaUser?: string;
|
|
4790
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4791
|
+
upload_protocol?: string;
|
|
4792
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4793
|
+
uploadType?: string;
|
|
4794
|
+
},
|
|
4795
|
+
body: GoogleCloudDiscoveryengineV1betaImportSuggestionDenyListEntriesRequest
|
|
4796
|
+
): Request<GoogleLongrunningOperation>;
|
|
4797
|
+
/** Permanently deletes all SuggestionDenyListEntry for a DataStore. */
|
|
4798
|
+
purge(request: {
|
|
4799
|
+
/** V1 error format. */
|
|
4800
|
+
'$.xgafv'?: string;
|
|
4801
|
+
/** OAuth access token. */
|
|
4802
|
+
access_token?: string;
|
|
4803
|
+
/** Data format for response. */
|
|
4804
|
+
alt?: string;
|
|
4805
|
+
/** JSONP */
|
|
4806
|
+
callback?: string;
|
|
4807
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4808
|
+
fields?: string;
|
|
4809
|
+
/** 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. */
|
|
4810
|
+
key?: string;
|
|
4811
|
+
/** OAuth 2.0 token for the current user. */
|
|
4812
|
+
oauth_token?: string;
|
|
4813
|
+
/** Required. The parent data store resource name for which to import denylist entries. Follows pattern projects/*/locations/*/collections/*/dataStores/*. */
|
|
4814
|
+
parent: string;
|
|
4815
|
+
/** Returns response with indentations and line breaks. */
|
|
4816
|
+
prettyPrint?: boolean;
|
|
4817
|
+
/** 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. */
|
|
4818
|
+
quotaUser?: string;
|
|
4819
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4820
|
+
upload_protocol?: string;
|
|
4821
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4822
|
+
uploadType?: string;
|
|
4823
|
+
/** Request body */
|
|
4824
|
+
resource: GoogleCloudDiscoveryengineV1betaPurgeSuggestionDenyListEntriesRequest;
|
|
4825
|
+
}): Request<GoogleLongrunningOperation>;
|
|
4826
|
+
purge(
|
|
4827
|
+
request: {
|
|
4828
|
+
/** V1 error format. */
|
|
4829
|
+
'$.xgafv'?: string;
|
|
4830
|
+
/** OAuth access token. */
|
|
4831
|
+
access_token?: string;
|
|
4832
|
+
/** Data format for response. */
|
|
4833
|
+
alt?: string;
|
|
4834
|
+
/** JSONP */
|
|
4835
|
+
callback?: string;
|
|
4836
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4837
|
+
fields?: string;
|
|
4838
|
+
/** 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. */
|
|
4839
|
+
key?: string;
|
|
4840
|
+
/** OAuth 2.0 token for the current user. */
|
|
4841
|
+
oauth_token?: string;
|
|
4842
|
+
/** Required. The parent data store resource name for which to import denylist entries. Follows pattern projects/*/locations/*/collections/*/dataStores/*. */
|
|
4843
|
+
parent: string;
|
|
4844
|
+
/** Returns response with indentations and line breaks. */
|
|
4845
|
+
prettyPrint?: boolean;
|
|
4846
|
+
/** 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. */
|
|
4847
|
+
quotaUser?: string;
|
|
4848
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4849
|
+
upload_protocol?: string;
|
|
4850
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4851
|
+
uploadType?: string;
|
|
4852
|
+
},
|
|
4853
|
+
body: GoogleCloudDiscoveryengineV1betaPurgeSuggestionDenyListEntriesRequest
|
|
4854
|
+
): Request<GoogleLongrunningOperation>;
|
|
4855
|
+
}
|
|
4522
4856
|
interface UserEventsResource {
|
|
4523
4857
|
/** 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. */
|
|
4524
4858
|
collect(request?: {
|
|
@@ -4712,6 +5046,7 @@ declare namespace gapi.client {
|
|
|
4712
5046
|
operations: OperationsResource;
|
|
4713
5047
|
schemas: SchemasResource;
|
|
4714
5048
|
servingConfigs: ServingConfigsResource;
|
|
5049
|
+
suggestionDenyListEntries: SuggestionDenyListEntriesResource;
|
|
4715
5050
|
userEvents: UserEventsResource;
|
|
4716
5051
|
}
|
|
4717
5052
|
interface OperationsResource {
|