@maxim_mazurok/gapi.client.discoveryengine-v1alpha 0.0.20240607 → 0.0.20240617
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 +383 -6
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://discoveryengine.googleapis.com/$discovery/rest?version=v1alpha
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20240617
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -558,9 +558,9 @@ declare namespace gapi.client {
|
|
|
558
558
|
citationThreshold?: number;
|
|
559
559
|
}
|
|
560
560
|
interface GoogleCloudDiscoveryengineV1alphaCheckRequirementRequest {
|
|
561
|
-
/**
|
|
561
|
+
/** The type specifying the requirement to check. The supported types are: * `discoveryengine.googleapis.com/media_recs/general/all/warning` * `discoveryengine.googleapis.com/media_recs/oyml/cvr/warning` * `discoveryengine.googleapis.com/media_recs/rfy/cvr/warning` * `discoveryengine.googleapis.com/media_recs/mlt/cvr/warning` * `discoveryengine.googleapis.com/media_recs/mp/cvr/warning` * `discoveryengine.googleapis.com/media_recs/oyml/wdps/warning` * `discoveryengine.googleapis.com/media_recs/rfy/wdps/warning` * `discoveryengine.googleapis.com/media_recs/mlt/wdps/warning` */
|
|
562
562
|
requirementType?: string;
|
|
563
|
-
/** The resources
|
|
563
|
+
/** The type needed for the monitored resources: * `discoveryengine.googleapis.com/Branch`. * The labels needed for this resource: * `project_number` * `location_id` * `collection_id` * `datastore_id` * `branch_id` * `discoveryengine.googleapis.com/DataStore` * The labels needed for this resource: * `project_number` * `location_id` * `collection_id` * `datastore_id` */
|
|
564
564
|
resources?: GoogleApiMonitoredResource[];
|
|
565
565
|
}
|
|
566
566
|
interface GoogleCloudDiscoveryengineV1alphaCheckRequirementResponse {
|
|
@@ -657,6 +657,22 @@ declare namespace gapi.client {
|
|
|
657
657
|
/** End user selected CompleteQueryResponse.QuerySuggestion.suggestion. */
|
|
658
658
|
selectedSuggestion?: string;
|
|
659
659
|
}
|
|
660
|
+
interface GoogleCloudDiscoveryengineV1alphaCompletionSuggestion {
|
|
661
|
+
/** Alternative matching phrases for this suggestion. */
|
|
662
|
+
alternativePhrases?: string[];
|
|
663
|
+
/** Frequency of this suggestion. Will be used to rank suggestions when score is not available. */
|
|
664
|
+
frequency?: string;
|
|
665
|
+
/** Global score of this suggestion. Control how this suggestion would be scored / ranked. */
|
|
666
|
+
globalScore?: number;
|
|
667
|
+
/** If two suggestions have the same groupId, they will not be returned together. Instead the one ranked higher will be returned. This can be used to deduplicate semantically identical suggestions. */
|
|
668
|
+
groupId?: string;
|
|
669
|
+
/** The score of this suggestion within its group. */
|
|
670
|
+
groupScore?: number;
|
|
671
|
+
/** BCP-47 language code of this suggestion. */
|
|
672
|
+
languageCode?: string;
|
|
673
|
+
/** Required. The suggestion text. */
|
|
674
|
+
suggestion?: string;
|
|
675
|
+
}
|
|
660
676
|
interface GoogleCloudDiscoveryengineV1alphaCondition {
|
|
661
677
|
/** Range of time(s) specifying when condition is active. Maximum of 10 time ranges. */
|
|
662
678
|
activeTimeRange?: GoogleCloudDiscoveryengineV1alphaConditionTimeRange[];
|
|
@@ -846,6 +862,8 @@ declare namespace gapi.client {
|
|
|
846
862
|
idpConfig?: GoogleCloudDiscoveryengineV1alphaIdpConfig;
|
|
847
863
|
/** Immutable. The industry vertical that the data store registers. */
|
|
848
864
|
industryVertical?: string;
|
|
865
|
+
/** Language info for DataStore. */
|
|
866
|
+
languageInfo?: GoogleCloudDiscoveryengineV1alphaLanguageInfo;
|
|
849
867
|
/** Immutable. The full resource name of the data store. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
|
|
850
868
|
name?: string;
|
|
851
869
|
/** The solutions that the data store enrolls. Available solutions for each industry_vertical: * `MEDIA`: `SOLUTION_TYPE_RECOMMENDATION` and `SOLUTION_TYPE_SEARCH`. * `SITE_SEARCH`: `SOLUTION_TYPE_SEARCH` is automatically enrolled. Other solutions cannot be enrolled. */
|
|
@@ -920,7 +938,7 @@ declare namespace gapi.client {
|
|
|
920
938
|
mimeType?: string;
|
|
921
939
|
/** 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. */
|
|
922
940
|
rawBytes?: string;
|
|
923
|
-
/** 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,
|
|
941
|
+
/** 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, 200 MB for other formats. */
|
|
924
942
|
uri?: string;
|
|
925
943
|
}
|
|
926
944
|
interface GoogleCloudDiscoveryengineV1alphaDocumentInfo {
|
|
@@ -1198,6 +1216,36 @@ declare namespace gapi.client {
|
|
|
1198
1216
|
/** Workforce pool name. Example: "locations/global/workforcePools/pool_id" */
|
|
1199
1217
|
workforcePoolName?: string;
|
|
1200
1218
|
}
|
|
1219
|
+
interface GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsMetadata {
|
|
1220
|
+
/** Operation create time. */
|
|
1221
|
+
createTime?: string;
|
|
1222
|
+
/** Count of CompletionSuggestions that failed to be imported. */
|
|
1223
|
+
failureCount?: string;
|
|
1224
|
+
/** Count of CompletionSuggestions successfully imported. */
|
|
1225
|
+
successCount?: string;
|
|
1226
|
+
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
1227
|
+
updateTime?: string;
|
|
1228
|
+
}
|
|
1229
|
+
interface GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsRequest {
|
|
1230
|
+
/** BigQuery input source. */
|
|
1231
|
+
bigquerySource?: GoogleCloudDiscoveryengineV1alphaBigQuerySource;
|
|
1232
|
+
/** The desired location of errors incurred during the Import. */
|
|
1233
|
+
errorConfig?: GoogleCloudDiscoveryengineV1alphaImportErrorConfig;
|
|
1234
|
+
/** Cloud Storage location for the input content. */
|
|
1235
|
+
gcsSource?: GoogleCloudDiscoveryengineV1alphaGcsSource;
|
|
1236
|
+
/** The Inline source for suggestion entries. */
|
|
1237
|
+
inlineSource?: GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsRequestInlineSource;
|
|
1238
|
+
}
|
|
1239
|
+
interface GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsRequestInlineSource {
|
|
1240
|
+
/** Required. A list of all denylist entries to import. Max of 1000 items. */
|
|
1241
|
+
suggestions?: GoogleCloudDiscoveryengineV1alphaCompletionSuggestion[];
|
|
1242
|
+
}
|
|
1243
|
+
interface GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsResponse {
|
|
1244
|
+
/** The desired location of errors incurred during the Import. */
|
|
1245
|
+
errorConfig?: GoogleCloudDiscoveryengineV1alphaImportErrorConfig;
|
|
1246
|
+
/** A sample of errors encountered while processing the request. */
|
|
1247
|
+
errorSamples?: GoogleRpcStatus[];
|
|
1248
|
+
}
|
|
1201
1249
|
interface GoogleCloudDiscoveryengineV1alphaImportDocumentsMetadata {
|
|
1202
1250
|
/** Operation create time. */
|
|
1203
1251
|
createTime?: string;
|
|
@@ -1322,6 +1370,16 @@ declare namespace gapi.client {
|
|
|
1322
1370
|
/** Inclusive lower bound. */
|
|
1323
1371
|
minimum?: number;
|
|
1324
1372
|
}
|
|
1373
|
+
interface GoogleCloudDiscoveryengineV1alphaLanguageInfo {
|
|
1374
|
+
/** Output only. Language part of normalized_language_code. E.g.: `en-US` -> `en`, `zh-Hans-HK` -> `zh`, `en` -> `en`. */
|
|
1375
|
+
language?: string;
|
|
1376
|
+
/** The language code for the DataStore. */
|
|
1377
|
+
languageCode?: string;
|
|
1378
|
+
/** Output only. This is the normalized form of language_code. E.g.: language_code of `en-GB`, `en_GB`, `en-UK` or `en-gb` will have normalized_language_code of `en-GB`. */
|
|
1379
|
+
normalizedLanguageCode?: string;
|
|
1380
|
+
/** Output only. Region part of normalized_language_code, if present. E.g.: `en-US` -> `US`, `zh-Hans-HK` -> `HK`, `en` -> ``. */
|
|
1381
|
+
region?: string;
|
|
1382
|
+
}
|
|
1325
1383
|
interface GoogleCloudDiscoveryengineV1alphaListChunksResponse {
|
|
1326
1384
|
/** The Chunks. */
|
|
1327
1385
|
chunks?: GoogleCloudDiscoveryengineV1alphaChunk[];
|
|
@@ -1458,6 +1516,19 @@ declare namespace gapi.client {
|
|
|
1458
1516
|
/** Required. The version of the [Terms for data use](https://cloud.google.com/retail/data-use-terms) that caller has read and would like to give consent to. Acceptable version is `2022-11-23`, and this may change over time. */
|
|
1459
1517
|
dataUseTermsVersion?: string;
|
|
1460
1518
|
}
|
|
1519
|
+
interface GoogleCloudDiscoveryengineV1alphaPurgeCompletionSuggestionsMetadata {
|
|
1520
|
+
/** Operation create time. */
|
|
1521
|
+
createTime?: string;
|
|
1522
|
+
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
1523
|
+
updateTime?: string;
|
|
1524
|
+
}
|
|
1525
|
+
interface GoogleCloudDiscoveryengineV1alphaPurgeCompletionSuggestionsRequest {}
|
|
1526
|
+
interface GoogleCloudDiscoveryengineV1alphaPurgeCompletionSuggestionsResponse {
|
|
1527
|
+
/** A sample of errors encountered while processing the request. */
|
|
1528
|
+
errorSamples?: GoogleRpcStatus[];
|
|
1529
|
+
/** Whether the completion suggestions were successfully purged. */
|
|
1530
|
+
purgeSucceeded?: boolean;
|
|
1531
|
+
}
|
|
1461
1532
|
interface GoogleCloudDiscoveryengineV1alphaPurgeDocumentsMetadata {
|
|
1462
1533
|
/** Operation create time. */
|
|
1463
1534
|
createTime?: string;
|
|
@@ -1664,7 +1735,7 @@ declare namespace gapi.client {
|
|
|
1664
1735
|
metricBindings?: GoogleCloudDiscoveryengineV1alphaRequirementMetricBinding[];
|
|
1665
1736
|
/** A list of threshold bindings to be used in `condition`. */
|
|
1666
1737
|
thresholdBindings?: GoogleCloudDiscoveryengineV1alphaRequirementThresholdBinding[];
|
|
1667
|
-
/** The requirement type, used as an identifier. Must be unique. The type should prefix with service name to avoid possible collision. It's
|
|
1738
|
+
/** The requirement type, used as an identifier. Must be unique. The type should prefix with service name to avoid possible collision. It's encouraged to use natural hierarchical grouping for similar requirements. Examples: * `library.googleapis.com/books/min_available_books` * `discoveryengine.googleapis.com/media_rec/recommended_for_you/conversion_rate` */
|
|
1668
1739
|
type?: string;
|
|
1669
1740
|
/** A list of the metric bindings to be used in `condition`. */
|
|
1670
1741
|
violationSamplesBindings?: GoogleCloudDiscoveryengineV1alphaRequirementViolationSamplesBinding[];
|
|
@@ -1739,6 +1810,8 @@ declare namespace gapi.client {
|
|
|
1739
1810
|
filter?: string;
|
|
1740
1811
|
/** Raw image query. */
|
|
1741
1812
|
imageQuery?: GoogleCloudDiscoveryengineV1alphaSearchRequestImageQuery;
|
|
1813
|
+
/** The BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see [Standard fields](https://cloud.google.com/apis/design/standard_fields). This field helps to better interpret the query. If a value isn't specified, the query language code is automatically detected, which may not be accurate. */
|
|
1814
|
+
languageCode?: string;
|
|
1742
1815
|
/** A 0-indexed integer that specifies the current offset (that is, starting result location, amongst the Documents deemed by the API as relevant) in search results. This field is only considered if page_token is unset. If this field is negative, an `INVALID_ARGUMENT` is returned. */
|
|
1743
1816
|
offset?: number;
|
|
1744
1817
|
/** The order in which documents are returned. Documents can be ordered by a field in an Document object. Leave it unset if ordered by relevance. `order_by` expression is case-sensitive. For more information on ordering for retail search, see [Ordering](https://cloud.google.com/retail/docs/filter-and-order#order) If this field is unrecognizable, an `INVALID_ARGUMENT` is returned. */
|
|
@@ -1755,8 +1828,14 @@ declare namespace gapi.client {
|
|
|
1755
1828
|
queryExpansionSpec?: GoogleCloudDiscoveryengineV1alphaSearchRequestQueryExpansionSpec;
|
|
1756
1829
|
/** The ranking expression controls the customized ranking on retrieval documents. This overrides ServingConfig.ranking_expression. The ranking expression is a single function or multiple functions that are joint by "+". * ranking_expression = function, { " + ", function }; Supported functions: * double * relevance_score * double * dotProduct(embedding_field_path) Function variables: `relevance_score`: pre-defined keywords, used for measure relevance between query and document. `embedding_field_path`: the document embedding field used with query embedding vector. `dotProduct`: embedding function between embedding_field_path and query embedding vector. Example ranking expression: If document has an embedding field doc_embedding, the ranking expression could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`. */
|
|
1757
1830
|
rankingExpression?: string;
|
|
1831
|
+
/** The Unicode country/region code (CLDR) of a location, such as "US" and "419". For more information, see [Standard fields](https://cloud.google.com/apis/design/standard_fields). If set, then results will be boosted based on the region_code provided. */
|
|
1832
|
+
regionCode?: string;
|
|
1833
|
+
/** The relevance threshold of the search results. Default to Google defined threshold, leveraging a balance of precision and recall to deliver both highly accurate results and comprehensive coverage of relevant information. */
|
|
1834
|
+
relevanceThreshold?: string;
|
|
1758
1835
|
/** Whether to turn on safe search. This is only supported for website search. */
|
|
1759
1836
|
safeSearch?: boolean;
|
|
1837
|
+
/** Search as you type configuration. Only supported for the IndustryVertical.MEDIA vertical. */
|
|
1838
|
+
searchAsYouTypeSpec?: GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAsYouTypeSpec;
|
|
1760
1839
|
/** The spell correction specification that specifies the mode under which spell correction takes effect. */
|
|
1761
1840
|
spellCorrectionSpec?: GoogleCloudDiscoveryengineV1alphaSearchRequestSpellCorrectionSpec;
|
|
1762
1841
|
/** Information about the end user. Highly recommended for analytics. UserInfo.user_agent is used to deduce `device_type` for analytics. */
|
|
@@ -1879,7 +1958,7 @@ declare namespace gapi.client {
|
|
|
1879
1958
|
excludedFilterKeys?: string[];
|
|
1880
1959
|
/** Required. The facet key specification. */
|
|
1881
1960
|
facetKey?: GoogleCloudDiscoveryengineV1alphaSearchRequestFacetSpecFacetKey;
|
|
1882
|
-
/** Maximum facet values that are returned for this facet. If unspecified, defaults to 20. The maximum allowed value is 300. Values above 300 are coerced to 300. If this field is negative, an `INVALID_ARGUMENT` is returned. */
|
|
1961
|
+
/** Maximum facet values that are returned for this facet. If unspecified, defaults to 20. The maximum allowed value is 300. Values above 300 are coerced to 300. For aggregation in healthcare search, when the [FacetKey.key] is "healthcare_aggregation_key", the limit will be overridden to 10,000 internally, regardless of the value set here. If this field is negative, an `INVALID_ARGUMENT` is returned. */
|
|
1883
1962
|
limit?: number;
|
|
1884
1963
|
}
|
|
1885
1964
|
interface GoogleCloudDiscoveryengineV1alphaSearchRequestFacetSpecFacetKey {
|
|
@@ -1908,6 +1987,10 @@ declare namespace gapi.client {
|
|
|
1908
1987
|
/** Whether to pin unexpanded results. If this field is set to true, unexpanded products are always at the top of the search results, followed by the expanded results. */
|
|
1909
1988
|
pinUnexpandedResults?: boolean;
|
|
1910
1989
|
}
|
|
1990
|
+
interface GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAsYouTypeSpec {
|
|
1991
|
+
/** The condition under which search as you type should occur. Default to Condition.DISABLED. */
|
|
1992
|
+
condition?: string;
|
|
1993
|
+
}
|
|
1911
1994
|
interface GoogleCloudDiscoveryengineV1alphaSearchRequestSpellCorrectionSpec {
|
|
1912
1995
|
/** The mode under which spell correction replaces the original search query. Defaults to Mode.AUTO. */
|
|
1913
1996
|
mode?: string;
|
|
@@ -2440,6 +2523,8 @@ declare namespace gapi.client {
|
|
|
2440
2523
|
documentProcessingConfig?: GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig;
|
|
2441
2524
|
/** Immutable. The industry vertical that the data store registers. */
|
|
2442
2525
|
industryVertical?: string;
|
|
2526
|
+
/** Language info for DataStore. */
|
|
2527
|
+
languageInfo?: GoogleCloudDiscoveryengineV1betaLanguageInfo;
|
|
2443
2528
|
/** Immutable. The full resource name of the data store. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
|
|
2444
2529
|
name?: string;
|
|
2445
2530
|
/** The solutions that the data store enrolls. Available solutions for each industry_vertical: * `MEDIA`: `SOLUTION_TYPE_RECOMMENDATION` and `SOLUTION_TYPE_SEARCH`. * `SITE_SEARCH`: `SOLUTION_TYPE_SEARCH` is automatically enrolled. Other solutions cannot be enrolled. */
|
|
@@ -2577,6 +2662,22 @@ declare namespace gapi.client {
|
|
|
2577
2662
|
/** The search feature tier of this engine. Different tiers might have different pricing. To learn more, check the pricing documentation. Defaults to SearchTier.SEARCH_TIER_STANDARD if not specified. */
|
|
2578
2663
|
searchTier?: string;
|
|
2579
2664
|
}
|
|
2665
|
+
interface GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsMetadata {
|
|
2666
|
+
/** Operation create time. */
|
|
2667
|
+
createTime?: string;
|
|
2668
|
+
/** Count of CompletionSuggestions that failed to be imported. */
|
|
2669
|
+
failureCount?: string;
|
|
2670
|
+
/** Count of CompletionSuggestions successfully imported. */
|
|
2671
|
+
successCount?: string;
|
|
2672
|
+
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
2673
|
+
updateTime?: string;
|
|
2674
|
+
}
|
|
2675
|
+
interface GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsResponse {
|
|
2676
|
+
/** The desired location of errors incurred during the Import. */
|
|
2677
|
+
errorConfig?: GoogleCloudDiscoveryengineV1betaImportErrorConfig;
|
|
2678
|
+
/** A sample of errors encountered while processing the request. */
|
|
2679
|
+
errorSamples?: GoogleRpcStatus[];
|
|
2680
|
+
}
|
|
2580
2681
|
interface GoogleCloudDiscoveryengineV1betaImportDocumentsMetadata {
|
|
2581
2682
|
/** Operation create time. */
|
|
2582
2683
|
createTime?: string;
|
|
@@ -2633,6 +2734,16 @@ declare namespace gapi.client {
|
|
|
2633
2734
|
/** Count of user events imported, but with Document information not found in the existing Branch. */
|
|
2634
2735
|
unjoinedEventsCount?: string;
|
|
2635
2736
|
}
|
|
2737
|
+
interface GoogleCloudDiscoveryengineV1betaLanguageInfo {
|
|
2738
|
+
/** Output only. Language part of normalized_language_code. E.g.: `en-US` -> `en`, `zh-Hans-HK` -> `zh`, `en` -> `en`. */
|
|
2739
|
+
language?: string;
|
|
2740
|
+
/** The language code for the DataStore. */
|
|
2741
|
+
languageCode?: string;
|
|
2742
|
+
/** Output only. This is the normalized form of language_code. E.g.: language_code of `en-GB`, `en_GB`, `en-UK` or `en-gb` will have normalized_language_code of `en-GB`. */
|
|
2743
|
+
normalizedLanguageCode?: string;
|
|
2744
|
+
/** Output only. Region part of normalized_language_code, if present. E.g.: `en-US` -> `US`, `zh-Hans-HK` -> `HK`, `en` -> ``. */
|
|
2745
|
+
region?: string;
|
|
2746
|
+
}
|
|
2636
2747
|
interface GoogleCloudDiscoveryengineV1betaListCustomModelsResponse {
|
|
2637
2748
|
/** List of custom tuning models. */
|
|
2638
2749
|
models?: GoogleCloudDiscoveryengineV1betaCustomTuningModel[];
|
|
@@ -3007,6 +3118,22 @@ declare namespace gapi.client {
|
|
|
3007
3118
|
/** The search feature tier of this engine. Different tiers might have different pricing. To learn more, check the pricing documentation. Defaults to SearchTier.SEARCH_TIER_STANDARD if not specified. */
|
|
3008
3119
|
searchTier?: string;
|
|
3009
3120
|
}
|
|
3121
|
+
interface GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsMetadata {
|
|
3122
|
+
/** Operation create time. */
|
|
3123
|
+
createTime?: string;
|
|
3124
|
+
/** Count of CompletionSuggestions that failed to be imported. */
|
|
3125
|
+
failureCount?: string;
|
|
3126
|
+
/** Count of CompletionSuggestions successfully imported. */
|
|
3127
|
+
successCount?: string;
|
|
3128
|
+
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
3129
|
+
updateTime?: string;
|
|
3130
|
+
}
|
|
3131
|
+
interface GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsResponse {
|
|
3132
|
+
/** The desired location of errors incurred during the Import. */
|
|
3133
|
+
errorConfig?: GoogleCloudDiscoveryengineV1ImportErrorConfig;
|
|
3134
|
+
/** A sample of errors encountered while processing the request. */
|
|
3135
|
+
errorSamples?: GoogleRpcStatus[];
|
|
3136
|
+
}
|
|
3010
3137
|
interface GoogleCloudDiscoveryengineV1ImportDocumentsMetadata {
|
|
3011
3138
|
/** Operation create time. */
|
|
3012
3139
|
createTime?: string;
|
|
@@ -3088,6 +3215,18 @@ declare namespace gapi.client {
|
|
|
3088
3215
|
version?: string;
|
|
3089
3216
|
}
|
|
3090
3217
|
interface GoogleCloudDiscoveryengineV1ProvisionProjectMetadata {}
|
|
3218
|
+
interface GoogleCloudDiscoveryengineV1PurgeCompletionSuggestionsMetadata {
|
|
3219
|
+
/** Operation create time. */
|
|
3220
|
+
createTime?: string;
|
|
3221
|
+
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
3222
|
+
updateTime?: string;
|
|
3223
|
+
}
|
|
3224
|
+
interface GoogleCloudDiscoveryengineV1PurgeCompletionSuggestionsResponse {
|
|
3225
|
+
/** A sample of errors encountered while processing the request. */
|
|
3226
|
+
errorSamples?: GoogleRpcStatus[];
|
|
3227
|
+
/** Whether the completion suggestions were successfully purged. */
|
|
3228
|
+
purgeSucceeded?: boolean;
|
|
3229
|
+
}
|
|
3091
3230
|
interface GoogleCloudDiscoveryengineV1PurgeDocumentsMetadata {
|
|
3092
3231
|
/** Operation create time. */
|
|
3093
3232
|
createTime?: string;
|
|
@@ -3844,6 +3983,124 @@ declare namespace gapi.client {
|
|
|
3844
3983
|
documents: DocumentsResource;
|
|
3845
3984
|
operations: OperationsResource;
|
|
3846
3985
|
}
|
|
3986
|
+
interface CompletionSuggestionsResource {
|
|
3987
|
+
/** Imports CompletionSuggestions for a DataStore. */
|
|
3988
|
+
import(request: {
|
|
3989
|
+
/** V1 error format. */
|
|
3990
|
+
'$.xgafv'?: string;
|
|
3991
|
+
/** OAuth access token. */
|
|
3992
|
+
access_token?: string;
|
|
3993
|
+
/** Data format for response. */
|
|
3994
|
+
alt?: string;
|
|
3995
|
+
/** JSONP */
|
|
3996
|
+
callback?: string;
|
|
3997
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3998
|
+
fields?: string;
|
|
3999
|
+
/** 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. */
|
|
4000
|
+
key?: string;
|
|
4001
|
+
/** OAuth 2.0 token for the current user. */
|
|
4002
|
+
oauth_token?: string;
|
|
4003
|
+
/** Required. The parent data store resource name for which to import customer autocomplete suggestions. Follows pattern `projects/*/locations/*/collections/*/dataStores/*` */
|
|
4004
|
+
parent: string;
|
|
4005
|
+
/** Returns response with indentations and line breaks. */
|
|
4006
|
+
prettyPrint?: boolean;
|
|
4007
|
+
/** 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. */
|
|
4008
|
+
quotaUser?: string;
|
|
4009
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4010
|
+
upload_protocol?: string;
|
|
4011
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4012
|
+
uploadType?: string;
|
|
4013
|
+
/** Request body */
|
|
4014
|
+
resource: GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsRequest;
|
|
4015
|
+
}): Request<GoogleLongrunningOperation>;
|
|
4016
|
+
import(
|
|
4017
|
+
request: {
|
|
4018
|
+
/** V1 error format. */
|
|
4019
|
+
'$.xgafv'?: string;
|
|
4020
|
+
/** OAuth access token. */
|
|
4021
|
+
access_token?: string;
|
|
4022
|
+
/** Data format for response. */
|
|
4023
|
+
alt?: string;
|
|
4024
|
+
/** JSONP */
|
|
4025
|
+
callback?: string;
|
|
4026
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4027
|
+
fields?: string;
|
|
4028
|
+
/** 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. */
|
|
4029
|
+
key?: string;
|
|
4030
|
+
/** OAuth 2.0 token for the current user. */
|
|
4031
|
+
oauth_token?: string;
|
|
4032
|
+
/** Required. The parent data store resource name for which to import customer autocomplete suggestions. Follows pattern `projects/*/locations/*/collections/*/dataStores/*` */
|
|
4033
|
+
parent: string;
|
|
4034
|
+
/** Returns response with indentations and line breaks. */
|
|
4035
|
+
prettyPrint?: boolean;
|
|
4036
|
+
/** 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. */
|
|
4037
|
+
quotaUser?: string;
|
|
4038
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4039
|
+
upload_protocol?: string;
|
|
4040
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4041
|
+
uploadType?: string;
|
|
4042
|
+
},
|
|
4043
|
+
body: GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsRequest
|
|
4044
|
+
): Request<GoogleLongrunningOperation>;
|
|
4045
|
+
/** Permanently deletes all CompletionSuggestions for a DataStore. */
|
|
4046
|
+
purge(request: {
|
|
4047
|
+
/** V1 error format. */
|
|
4048
|
+
'$.xgafv'?: string;
|
|
4049
|
+
/** OAuth access token. */
|
|
4050
|
+
access_token?: string;
|
|
4051
|
+
/** Data format for response. */
|
|
4052
|
+
alt?: string;
|
|
4053
|
+
/** JSONP */
|
|
4054
|
+
callback?: string;
|
|
4055
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4056
|
+
fields?: string;
|
|
4057
|
+
/** 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. */
|
|
4058
|
+
key?: string;
|
|
4059
|
+
/** OAuth 2.0 token for the current user. */
|
|
4060
|
+
oauth_token?: string;
|
|
4061
|
+
/** Required. The parent data store resource name for which to purge completion suggestions. Follows pattern projects/*/locations/*/collections/*/dataStores/*. */
|
|
4062
|
+
parent: string;
|
|
4063
|
+
/** Returns response with indentations and line breaks. */
|
|
4064
|
+
prettyPrint?: boolean;
|
|
4065
|
+
/** 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. */
|
|
4066
|
+
quotaUser?: string;
|
|
4067
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4068
|
+
upload_protocol?: string;
|
|
4069
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4070
|
+
uploadType?: string;
|
|
4071
|
+
/** Request body */
|
|
4072
|
+
resource: GoogleCloudDiscoveryengineV1alphaPurgeCompletionSuggestionsRequest;
|
|
4073
|
+
}): Request<GoogleLongrunningOperation>;
|
|
4074
|
+
purge(
|
|
4075
|
+
request: {
|
|
4076
|
+
/** V1 error format. */
|
|
4077
|
+
'$.xgafv'?: string;
|
|
4078
|
+
/** OAuth access token. */
|
|
4079
|
+
access_token?: string;
|
|
4080
|
+
/** Data format for response. */
|
|
4081
|
+
alt?: string;
|
|
4082
|
+
/** JSONP */
|
|
4083
|
+
callback?: string;
|
|
4084
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4085
|
+
fields?: string;
|
|
4086
|
+
/** 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. */
|
|
4087
|
+
key?: string;
|
|
4088
|
+
/** OAuth 2.0 token for the current user. */
|
|
4089
|
+
oauth_token?: string;
|
|
4090
|
+
/** Required. The parent data store resource name for which to purge completion suggestions. Follows pattern projects/*/locations/*/collections/*/dataStores/*. */
|
|
4091
|
+
parent: string;
|
|
4092
|
+
/** Returns response with indentations and line breaks. */
|
|
4093
|
+
prettyPrint?: boolean;
|
|
4094
|
+
/** 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. */
|
|
4095
|
+
quotaUser?: string;
|
|
4096
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4097
|
+
upload_protocol?: string;
|
|
4098
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4099
|
+
uploadType?: string;
|
|
4100
|
+
},
|
|
4101
|
+
body: GoogleCloudDiscoveryengineV1alphaPurgeCompletionSuggestionsRequest
|
|
4102
|
+
): Request<GoogleLongrunningOperation>;
|
|
4103
|
+
}
|
|
3847
4104
|
interface ControlsResource {
|
|
3848
4105
|
/** Creates a Control. By default 1000 controls are allowed for a data store. A request can be submitted to adjust this limit. If the Control to create already exists, an ALREADY_EXISTS error is returned. */
|
|
3849
4106
|
create(request: {
|
|
@@ -6703,6 +6960,7 @@ declare namespace gapi.client {
|
|
|
6703
6960
|
body: GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig
|
|
6704
6961
|
): Request<GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig>;
|
|
6705
6962
|
branches: BranchesResource;
|
|
6963
|
+
completionSuggestions: CompletionSuggestionsResource;
|
|
6706
6964
|
controls: ControlsResource;
|
|
6707
6965
|
conversations: ConversationsResource;
|
|
6708
6966
|
customModels: CustomModelsResource;
|
|
@@ -8803,6 +9061,124 @@ declare namespace gapi.client {
|
|
|
8803
9061
|
documents: DocumentsResource;
|
|
8804
9062
|
operations: OperationsResource;
|
|
8805
9063
|
}
|
|
9064
|
+
interface CompletionSuggestionsResource {
|
|
9065
|
+
/** Imports CompletionSuggestions for a DataStore. */
|
|
9066
|
+
import(request: {
|
|
9067
|
+
/** V1 error format. */
|
|
9068
|
+
'$.xgafv'?: string;
|
|
9069
|
+
/** OAuth access token. */
|
|
9070
|
+
access_token?: string;
|
|
9071
|
+
/** Data format for response. */
|
|
9072
|
+
alt?: string;
|
|
9073
|
+
/** JSONP */
|
|
9074
|
+
callback?: string;
|
|
9075
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
9076
|
+
fields?: string;
|
|
9077
|
+
/** 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. */
|
|
9078
|
+
key?: string;
|
|
9079
|
+
/** OAuth 2.0 token for the current user. */
|
|
9080
|
+
oauth_token?: string;
|
|
9081
|
+
/** Required. The parent data store resource name for which to import customer autocomplete suggestions. Follows pattern `projects/*/locations/*/collections/*/dataStores/*` */
|
|
9082
|
+
parent: string;
|
|
9083
|
+
/** Returns response with indentations and line breaks. */
|
|
9084
|
+
prettyPrint?: boolean;
|
|
9085
|
+
/** 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. */
|
|
9086
|
+
quotaUser?: string;
|
|
9087
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
9088
|
+
upload_protocol?: string;
|
|
9089
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
9090
|
+
uploadType?: string;
|
|
9091
|
+
/** Request body */
|
|
9092
|
+
resource: GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsRequest;
|
|
9093
|
+
}): Request<GoogleLongrunningOperation>;
|
|
9094
|
+
import(
|
|
9095
|
+
request: {
|
|
9096
|
+
/** V1 error format. */
|
|
9097
|
+
'$.xgafv'?: string;
|
|
9098
|
+
/** OAuth access token. */
|
|
9099
|
+
access_token?: string;
|
|
9100
|
+
/** Data format for response. */
|
|
9101
|
+
alt?: string;
|
|
9102
|
+
/** JSONP */
|
|
9103
|
+
callback?: string;
|
|
9104
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
9105
|
+
fields?: string;
|
|
9106
|
+
/** 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. */
|
|
9107
|
+
key?: string;
|
|
9108
|
+
/** OAuth 2.0 token for the current user. */
|
|
9109
|
+
oauth_token?: string;
|
|
9110
|
+
/** Required. The parent data store resource name for which to import customer autocomplete suggestions. Follows pattern `projects/*/locations/*/collections/*/dataStores/*` */
|
|
9111
|
+
parent: string;
|
|
9112
|
+
/** Returns response with indentations and line breaks. */
|
|
9113
|
+
prettyPrint?: boolean;
|
|
9114
|
+
/** 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. */
|
|
9115
|
+
quotaUser?: string;
|
|
9116
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
9117
|
+
upload_protocol?: string;
|
|
9118
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
9119
|
+
uploadType?: string;
|
|
9120
|
+
},
|
|
9121
|
+
body: GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsRequest
|
|
9122
|
+
): Request<GoogleLongrunningOperation>;
|
|
9123
|
+
/** Permanently deletes all CompletionSuggestions for a DataStore. */
|
|
9124
|
+
purge(request: {
|
|
9125
|
+
/** V1 error format. */
|
|
9126
|
+
'$.xgafv'?: string;
|
|
9127
|
+
/** OAuth access token. */
|
|
9128
|
+
access_token?: string;
|
|
9129
|
+
/** Data format for response. */
|
|
9130
|
+
alt?: string;
|
|
9131
|
+
/** JSONP */
|
|
9132
|
+
callback?: string;
|
|
9133
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
9134
|
+
fields?: string;
|
|
9135
|
+
/** 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. */
|
|
9136
|
+
key?: string;
|
|
9137
|
+
/** OAuth 2.0 token for the current user. */
|
|
9138
|
+
oauth_token?: string;
|
|
9139
|
+
/** Required. The parent data store resource name for which to purge completion suggestions. Follows pattern projects/*/locations/*/collections/*/dataStores/*. */
|
|
9140
|
+
parent: string;
|
|
9141
|
+
/** Returns response with indentations and line breaks. */
|
|
9142
|
+
prettyPrint?: boolean;
|
|
9143
|
+
/** 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. */
|
|
9144
|
+
quotaUser?: string;
|
|
9145
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
9146
|
+
upload_protocol?: string;
|
|
9147
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
9148
|
+
uploadType?: string;
|
|
9149
|
+
/** Request body */
|
|
9150
|
+
resource: GoogleCloudDiscoveryengineV1alphaPurgeCompletionSuggestionsRequest;
|
|
9151
|
+
}): Request<GoogleLongrunningOperation>;
|
|
9152
|
+
purge(
|
|
9153
|
+
request: {
|
|
9154
|
+
/** V1 error format. */
|
|
9155
|
+
'$.xgafv'?: string;
|
|
9156
|
+
/** OAuth access token. */
|
|
9157
|
+
access_token?: string;
|
|
9158
|
+
/** Data format for response. */
|
|
9159
|
+
alt?: string;
|
|
9160
|
+
/** JSONP */
|
|
9161
|
+
callback?: string;
|
|
9162
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
9163
|
+
fields?: string;
|
|
9164
|
+
/** 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. */
|
|
9165
|
+
key?: string;
|
|
9166
|
+
/** OAuth 2.0 token for the current user. */
|
|
9167
|
+
oauth_token?: string;
|
|
9168
|
+
/** Required. The parent data store resource name for which to purge completion suggestions. Follows pattern projects/*/locations/*/collections/*/dataStores/*. */
|
|
9169
|
+
parent: string;
|
|
9170
|
+
/** Returns response with indentations and line breaks. */
|
|
9171
|
+
prettyPrint?: boolean;
|
|
9172
|
+
/** 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. */
|
|
9173
|
+
quotaUser?: string;
|
|
9174
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
9175
|
+
upload_protocol?: string;
|
|
9176
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
9177
|
+
uploadType?: string;
|
|
9178
|
+
},
|
|
9179
|
+
body: GoogleCloudDiscoveryengineV1alphaPurgeCompletionSuggestionsRequest
|
|
9180
|
+
): Request<GoogleLongrunningOperation>;
|
|
9181
|
+
}
|
|
8806
9182
|
interface ControlsResource {
|
|
8807
9183
|
/** Creates a Control. By default 1000 controls are allowed for a data store. A request can be submitted to adjust this limit. If the Control to create already exists, an ALREADY_EXISTS error is returned. */
|
|
8808
9184
|
create(request: {
|
|
@@ -11297,6 +11673,7 @@ declare namespace gapi.client {
|
|
|
11297
11673
|
body: GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig
|
|
11298
11674
|
): Request<GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig>;
|
|
11299
11675
|
branches: BranchesResource;
|
|
11676
|
+
completionSuggestions: CompletionSuggestionsResource;
|
|
11300
11677
|
controls: ControlsResource;
|
|
11301
11678
|
conversations: ConversationsResource;
|
|
11302
11679
|
models: ModelsResource;
|