@maxim_mazurok/gapi.client.discoveryengine-v1beta 0.0.20231209 → 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 +369 -20
- 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
|
|
|
@@ -163,6 +163,12 @@ declare namespace gapi.client {
|
|
|
163
163
|
updateTime?: string;
|
|
164
164
|
}
|
|
165
165
|
interface GoogleCloudDiscoveryengineV1alphaDisableAdvancedSiteSearchResponse {}
|
|
166
|
+
interface GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig {
|
|
167
|
+
/** Output only. The full resource name of the Document Processing Config. Format: `projects/*/locations/*/collections/*/dataStores/*/documentProcessingConfig`. */
|
|
168
|
+
name?: string;
|
|
169
|
+
/** The OCR config. Currently it only applies to PDFs. */
|
|
170
|
+
ocrConfig?: GoogleCloudDiscoveryengineV1alphaOcrConfig;
|
|
171
|
+
}
|
|
166
172
|
interface GoogleCloudDiscoveryengineV1alphaEnableAdvancedSiteSearchMetadata {
|
|
167
173
|
/** Operation create time. */
|
|
168
174
|
createTime?: string;
|
|
@@ -203,7 +209,7 @@ declare namespace gapi.client {
|
|
|
203
209
|
interface GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig {
|
|
204
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. */
|
|
205
211
|
agentCreationConfig?: GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfigAgentCreationConfig;
|
|
206
|
-
/** 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. */
|
|
207
213
|
dialogflowAgentToLink?: string;
|
|
208
214
|
}
|
|
209
215
|
interface GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfigAgentCreationConfig {
|
|
@@ -211,6 +217,8 @@ declare namespace gapi.client {
|
|
|
211
217
|
business?: string;
|
|
212
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. */
|
|
213
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;
|
|
214
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. */
|
|
215
223
|
timeZone?: string;
|
|
216
224
|
}
|
|
@@ -305,6 +313,20 @@ declare namespace gapi.client {
|
|
|
305
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. */
|
|
306
314
|
gcsPrefix?: string;
|
|
307
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
|
+
}
|
|
308
330
|
interface GoogleCloudDiscoveryengineV1alphaImportUserEventsMetadata {
|
|
309
331
|
/** Operation create time. */
|
|
310
332
|
createTime?: string;
|
|
@@ -325,6 +347,14 @@ declare namespace gapi.client {
|
|
|
325
347
|
/** Count of user events imported, but with Document information not found in the existing Branch. */
|
|
326
348
|
unjoinedEventsCount?: string;
|
|
327
349
|
}
|
|
350
|
+
interface GoogleCloudDiscoveryengineV1alphaOcrConfig {
|
|
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. */
|
|
352
|
+
enabled?: boolean;
|
|
353
|
+
/** Apply additional enhanced OCR processing to a list of document elements. Supported values: * `table`: advanced table parsing model. */
|
|
354
|
+
enhancedDocumentElements?: string[];
|
|
355
|
+
/** If true, will use native text instead of OCR text on pages containing native text. */
|
|
356
|
+
useNativeText?: boolean;
|
|
357
|
+
}
|
|
328
358
|
interface GoogleCloudDiscoveryengineV1alphaPurgeDocumentsMetadata {
|
|
329
359
|
/** Operation create time. */
|
|
330
360
|
createTime?: string;
|
|
@@ -341,6 +371,18 @@ declare namespace gapi.client {
|
|
|
341
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. */
|
|
342
372
|
purgeSample?: string[];
|
|
343
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
|
+
}
|
|
344
386
|
interface GoogleCloudDiscoveryengineV1alphaPurgeUserEventsMetadata {
|
|
345
387
|
/** Operation create time. */
|
|
346
388
|
createTime?: string;
|
|
@@ -588,7 +630,7 @@ declare namespace gapi.client {
|
|
|
588
630
|
mimeType?: string;
|
|
589
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. */
|
|
590
632
|
rawBytes?: string;
|
|
591
|
-
/** 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. */
|
|
592
634
|
uri?: string;
|
|
593
635
|
}
|
|
594
636
|
interface GoogleCloudDiscoveryengineV1betaDocumentInfo {
|
|
@@ -653,6 +695,30 @@ declare namespace gapi.client {
|
|
|
653
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. */
|
|
654
696
|
gcsPrefix?: string;
|
|
655
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
|
+
}
|
|
656
722
|
interface GoogleCloudDiscoveryengineV1betaImportUserEventsMetadata {
|
|
657
723
|
/** Operation create time. */
|
|
658
724
|
createTime?: string;
|
|
@@ -763,6 +829,19 @@ declare namespace gapi.client {
|
|
|
763
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. */
|
|
764
830
|
purgeSample?: string[];
|
|
765
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
|
+
}
|
|
766
845
|
interface GoogleCloudDiscoveryengineV1betaRecommendRequest {
|
|
767
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. */
|
|
768
847
|
filter?: string;
|
|
@@ -838,7 +917,7 @@ declare namespace gapi.client {
|
|
|
838
917
|
canonicalFilter?: string;
|
|
839
918
|
/** A specification for configuring the behavior of content search. */
|
|
840
919
|
contentSearchSpec?: GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpec;
|
|
841
|
-
/** 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. */
|
|
842
921
|
embeddingSpec?: GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec;
|
|
843
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. */
|
|
844
923
|
facetSpecs?: GoogleCloudDiscoveryengineV1betaSearchRequestFacetSpec[];
|
|
@@ -892,7 +971,7 @@ declare namespace gapi.client {
|
|
|
892
971
|
summarySpec?: GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpec;
|
|
893
972
|
}
|
|
894
973
|
interface GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecExtractiveContentSpec {
|
|
895
|
-
/** 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. */
|
|
896
975
|
maxExtractiveAnswerCount?: number;
|
|
897
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`. */
|
|
898
977
|
maxExtractiveSegmentCount?: number;
|
|
@@ -930,7 +1009,7 @@ declare namespace gapi.client {
|
|
|
930
1009
|
preamble?: string;
|
|
931
1010
|
}
|
|
932
1011
|
interface GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelSpec {
|
|
933
|
-
/** 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. */
|
|
934
1013
|
version?: string;
|
|
935
1014
|
}
|
|
936
1015
|
interface GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec {
|
|
@@ -1086,7 +1165,7 @@ declare namespace gapi.client {
|
|
|
1086
1165
|
document?: string;
|
|
1087
1166
|
/** Title of the document. */
|
|
1088
1167
|
title?: string;
|
|
1089
|
-
/**
|
|
1168
|
+
/** Cloud Storage or HTTP uri for the document. */
|
|
1090
1169
|
uri?: string;
|
|
1091
1170
|
}
|
|
1092
1171
|
interface GoogleCloudDiscoveryengineV1betaSearchResponseSummarySafetyAttributes {
|
|
@@ -1103,6 +1182,12 @@ declare namespace gapi.client {
|
|
|
1103
1182
|
/** Summary text with no citation information. */
|
|
1104
1183
|
summary?: string;
|
|
1105
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
|
+
}
|
|
1106
1191
|
interface GoogleCloudDiscoveryengineV1betaTextInput {
|
|
1107
1192
|
/** Conversation context of the input. */
|
|
1108
1193
|
context?: GoogleCloudDiscoveryengineV1betaConversationContext;
|
|
@@ -1146,7 +1231,7 @@ declare namespace gapi.client {
|
|
|
1146
1231
|
eventTime?: string;
|
|
1147
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. */
|
|
1148
1233
|
eventType?: string;
|
|
1149
|
-
/** 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. */
|
|
1150
1235
|
filter?: string;
|
|
1151
1236
|
/** Media-specific info. */
|
|
1152
1237
|
mediaInfo?: GoogleCloudDiscoveryengineV1betaMediaInfo;
|
|
@@ -1207,6 +1292,20 @@ declare namespace gapi.client {
|
|
|
1207
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. */
|
|
1208
1293
|
gcsPrefix?: string;
|
|
1209
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
|
+
}
|
|
1210
1309
|
interface GoogleCloudDiscoveryengineV1ImportUserEventsMetadata {
|
|
1211
1310
|
/** Operation create time. */
|
|
1212
1311
|
createTime?: string;
|
|
@@ -1243,6 +1342,18 @@ declare namespace gapi.client {
|
|
|
1243
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. */
|
|
1244
1343
|
purgeSample?: string[];
|
|
1245
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
|
+
}
|
|
1246
1357
|
interface GoogleCloudDiscoveryengineV1Schema {
|
|
1247
1358
|
/** The JSON representation of the schema. */
|
|
1248
1359
|
jsonSchema?: string;
|
|
@@ -1978,7 +2089,7 @@ declare namespace gapi.client {
|
|
|
1978
2089
|
prettyPrint?: boolean;
|
|
1979
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. */
|
|
1980
2091
|
quotaUser?: string;
|
|
1981
|
-
/** 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. */
|
|
1982
2093
|
updateMask?: string;
|
|
1983
2094
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1984
2095
|
upload_protocol?: string;
|
|
@@ -2009,7 +2120,7 @@ declare namespace gapi.client {
|
|
|
2009
2120
|
prettyPrint?: boolean;
|
|
2010
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. */
|
|
2011
2122
|
quotaUser?: string;
|
|
2012
|
-
/** 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. */
|
|
2013
2124
|
updateMask?: string;
|
|
2014
2125
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2015
2126
|
upload_protocol?: string;
|
|
@@ -2441,7 +2552,7 @@ declare namespace gapi.client {
|
|
|
2441
2552
|
prettyPrint?: boolean;
|
|
2442
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. */
|
|
2443
2554
|
quotaUser?: string;
|
|
2444
|
-
/** 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. */
|
|
2445
2556
|
servingConfig: string;
|
|
2446
2557
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2447
2558
|
upload_protocol?: string;
|
|
@@ -2470,7 +2581,7 @@ declare namespace gapi.client {
|
|
|
2470
2581
|
prettyPrint?: boolean;
|
|
2471
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. */
|
|
2472
2583
|
quotaUser?: string;
|
|
2473
|
-
/** 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. */
|
|
2474
2585
|
servingConfig: string;
|
|
2475
2586
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2476
2587
|
upload_protocol?: string;
|
|
@@ -2669,6 +2780,124 @@ declare namespace gapi.client {
|
|
|
2669
2780
|
operations: OperationsResource;
|
|
2670
2781
|
targetSites: TargetSitesResource;
|
|
2671
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
|
+
}
|
|
2672
2901
|
interface UserEventsResource {
|
|
2673
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. */
|
|
2674
2903
|
collect(request?: {
|
|
@@ -2863,6 +3092,7 @@ declare namespace gapi.client {
|
|
|
2863
3092
|
schemas: SchemasResource;
|
|
2864
3093
|
servingConfigs: ServingConfigsResource;
|
|
2865
3094
|
siteSearchEngine: SiteSearchEngineResource;
|
|
3095
|
+
suggestionDenyListEntries: SuggestionDenyListEntriesResource;
|
|
2866
3096
|
userEvents: UserEventsResource;
|
|
2867
3097
|
}
|
|
2868
3098
|
interface ConversationsResource {
|
|
@@ -3093,7 +3323,7 @@ declare namespace gapi.client {
|
|
|
3093
3323
|
prettyPrint?: boolean;
|
|
3094
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. */
|
|
3095
3325
|
quotaUser?: string;
|
|
3096
|
-
/** 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. */
|
|
3097
3327
|
updateMask?: string;
|
|
3098
3328
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3099
3329
|
upload_protocol?: string;
|
|
@@ -3124,7 +3354,7 @@ declare namespace gapi.client {
|
|
|
3124
3354
|
prettyPrint?: boolean;
|
|
3125
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. */
|
|
3126
3356
|
quotaUser?: string;
|
|
3127
|
-
/** 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. */
|
|
3128
3358
|
updateMask?: string;
|
|
3129
3359
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3130
3360
|
upload_protocol?: string;
|
|
@@ -3217,7 +3447,7 @@ declare namespace gapi.client {
|
|
|
3217
3447
|
prettyPrint?: boolean;
|
|
3218
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. */
|
|
3219
3449
|
quotaUser?: string;
|
|
3220
|
-
/** 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. */
|
|
3221
3451
|
servingConfig: string;
|
|
3222
3452
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3223
3453
|
upload_protocol?: string;
|
|
@@ -3246,7 +3476,7 @@ declare namespace gapi.client {
|
|
|
3246
3476
|
prettyPrint?: boolean;
|
|
3247
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. */
|
|
3248
3478
|
quotaUser?: string;
|
|
3249
|
-
/** 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. */
|
|
3250
3480
|
servingConfig: string;
|
|
3251
3481
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3252
3482
|
upload_protocol?: string;
|
|
@@ -4008,7 +4238,7 @@ declare namespace gapi.client {
|
|
|
4008
4238
|
prettyPrint?: boolean;
|
|
4009
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. */
|
|
4010
4240
|
quotaUser?: string;
|
|
4011
|
-
/** 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. */
|
|
4012
4242
|
updateMask?: string;
|
|
4013
4243
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4014
4244
|
upload_protocol?: string;
|
|
@@ -4039,7 +4269,7 @@ declare namespace gapi.client {
|
|
|
4039
4269
|
prettyPrint?: boolean;
|
|
4040
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. */
|
|
4041
4271
|
quotaUser?: string;
|
|
4042
|
-
/** 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. */
|
|
4043
4273
|
updateMask?: string;
|
|
4044
4274
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4045
4275
|
upload_protocol?: string;
|
|
@@ -4408,7 +4638,7 @@ declare namespace gapi.client {
|
|
|
4408
4638
|
prettyPrint?: boolean;
|
|
4409
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. */
|
|
4410
4640
|
quotaUser?: string;
|
|
4411
|
-
/** 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. */
|
|
4412
4642
|
servingConfig: string;
|
|
4413
4643
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4414
4644
|
upload_protocol?: string;
|
|
@@ -4437,7 +4667,7 @@ declare namespace gapi.client {
|
|
|
4437
4667
|
prettyPrint?: boolean;
|
|
4438
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. */
|
|
4439
4669
|
quotaUser?: string;
|
|
4440
|
-
/** 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. */
|
|
4441
4671
|
servingConfig: string;
|
|
4442
4672
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4443
4673
|
upload_protocol?: string;
|
|
@@ -4505,6 +4735,124 @@ declare namespace gapi.client {
|
|
|
4505
4735
|
body: GoogleCloudDiscoveryengineV1betaSearchRequest
|
|
4506
4736
|
): Request<GoogleCloudDiscoveryengineV1betaSearchResponse>;
|
|
4507
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
|
+
}
|
|
4508
4856
|
interface UserEventsResource {
|
|
4509
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. */
|
|
4510
4858
|
collect(request?: {
|
|
@@ -4698,6 +5046,7 @@ declare namespace gapi.client {
|
|
|
4698
5046
|
operations: OperationsResource;
|
|
4699
5047
|
schemas: SchemasResource;
|
|
4700
5048
|
servingConfigs: ServingConfigsResource;
|
|
5049
|
+
suggestionDenyListEntries: SuggestionDenyListEntriesResource;
|
|
4701
5050
|
userEvents: UserEventsResource;
|
|
4702
5051
|
}
|
|
4703
5052
|
interface OperationsResource {
|