@maxim_mazurok/gapi.client.discoveryengine-v1beta 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 +372 -3
- 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: 20240617
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -357,6 +357,8 @@ declare namespace gapi.client {
|
|
|
357
357
|
idpConfig?: GoogleCloudDiscoveryengineV1alphaIdpConfig;
|
|
358
358
|
/** Immutable. The industry vertical that the data store registers. */
|
|
359
359
|
industryVertical?: string;
|
|
360
|
+
/** Language info for DataStore. */
|
|
361
|
+
languageInfo?: GoogleCloudDiscoveryengineV1alphaLanguageInfo;
|
|
360
362
|
/** 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. */
|
|
361
363
|
name?: string;
|
|
362
364
|
/** 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. */
|
|
@@ -571,6 +573,22 @@ declare namespace gapi.client {
|
|
|
571
573
|
/** Workforce pool name. Example: "locations/global/workforcePools/pool_id" */
|
|
572
574
|
workforcePoolName?: string;
|
|
573
575
|
}
|
|
576
|
+
interface GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsMetadata {
|
|
577
|
+
/** Operation create time. */
|
|
578
|
+
createTime?: string;
|
|
579
|
+
/** Count of CompletionSuggestions that failed to be imported. */
|
|
580
|
+
failureCount?: string;
|
|
581
|
+
/** Count of CompletionSuggestions successfully imported. */
|
|
582
|
+
successCount?: string;
|
|
583
|
+
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
584
|
+
updateTime?: string;
|
|
585
|
+
}
|
|
586
|
+
interface GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsResponse {
|
|
587
|
+
/** The desired location of errors incurred during the Import. */
|
|
588
|
+
errorConfig?: GoogleCloudDiscoveryengineV1alphaImportErrorConfig;
|
|
589
|
+
/** A sample of errors encountered while processing the request. */
|
|
590
|
+
errorSamples?: GoogleRpcStatus[];
|
|
591
|
+
}
|
|
574
592
|
interface GoogleCloudDiscoveryengineV1alphaImportDocumentsMetadata {
|
|
575
593
|
/** Operation create time. */
|
|
576
594
|
createTime?: string;
|
|
@@ -627,6 +645,16 @@ declare namespace gapi.client {
|
|
|
627
645
|
/** Count of user events imported, but with Document information not found in the existing Branch. */
|
|
628
646
|
unjoinedEventsCount?: string;
|
|
629
647
|
}
|
|
648
|
+
interface GoogleCloudDiscoveryengineV1alphaLanguageInfo {
|
|
649
|
+
/** Output only. Language part of normalized_language_code. E.g.: `en-US` -> `en`, `zh-Hans-HK` -> `zh`, `en` -> `en`. */
|
|
650
|
+
language?: string;
|
|
651
|
+
/** The language code for the DataStore. */
|
|
652
|
+
languageCode?: string;
|
|
653
|
+
/** 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`. */
|
|
654
|
+
normalizedLanguageCode?: string;
|
|
655
|
+
/** Output only. Region part of normalized_language_code, if present. E.g.: `en-US` -> `US`, `zh-Hans-HK` -> `HK`, `en` -> ``. */
|
|
656
|
+
region?: string;
|
|
657
|
+
}
|
|
630
658
|
interface GoogleCloudDiscoveryengineV1alphaListCustomModelsResponse {
|
|
631
659
|
/** List of custom tuning models. */
|
|
632
660
|
models?: GoogleCloudDiscoveryengineV1alphaCustomTuningModel[];
|
|
@@ -656,6 +684,18 @@ declare namespace gapi.client {
|
|
|
656
684
|
version?: string;
|
|
657
685
|
}
|
|
658
686
|
interface GoogleCloudDiscoveryengineV1alphaProvisionProjectMetadata {}
|
|
687
|
+
interface GoogleCloudDiscoveryengineV1alphaPurgeCompletionSuggestionsMetadata {
|
|
688
|
+
/** Operation create time. */
|
|
689
|
+
createTime?: string;
|
|
690
|
+
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
691
|
+
updateTime?: string;
|
|
692
|
+
}
|
|
693
|
+
interface GoogleCloudDiscoveryengineV1alphaPurgeCompletionSuggestionsResponse {
|
|
694
|
+
/** A sample of errors encountered while processing the request. */
|
|
695
|
+
errorSamples?: GoogleRpcStatus[];
|
|
696
|
+
/** Whether the completion suggestions were successfully purged. */
|
|
697
|
+
purgeSucceeded?: boolean;
|
|
698
|
+
}
|
|
659
699
|
interface GoogleCloudDiscoveryengineV1alphaPurgeDocumentsMetadata {
|
|
660
700
|
/** Operation create time. */
|
|
661
701
|
createTime?: string;
|
|
@@ -1324,6 +1364,22 @@ declare namespace gapi.client {
|
|
|
1324
1364
|
/** End user selected CompleteQueryResponse.QuerySuggestion.suggestion. */
|
|
1325
1365
|
selectedSuggestion?: string;
|
|
1326
1366
|
}
|
|
1367
|
+
interface GoogleCloudDiscoveryengineV1betaCompletionSuggestion {
|
|
1368
|
+
/** Alternative matching phrases for this suggestion. */
|
|
1369
|
+
alternativePhrases?: string[];
|
|
1370
|
+
/** Frequency of this suggestion. Will be used to rank suggestions when score is not available. */
|
|
1371
|
+
frequency?: string;
|
|
1372
|
+
/** Global score of this suggestion. Control how this suggestion would be scored / ranked. */
|
|
1373
|
+
globalScore?: number;
|
|
1374
|
+
/** 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. */
|
|
1375
|
+
groupId?: string;
|
|
1376
|
+
/** The score of this suggestion within its group. */
|
|
1377
|
+
groupScore?: number;
|
|
1378
|
+
/** BCP-47 language code of this suggestion. */
|
|
1379
|
+
languageCode?: string;
|
|
1380
|
+
/** Required. The suggestion text. */
|
|
1381
|
+
suggestion?: string;
|
|
1382
|
+
}
|
|
1327
1383
|
interface GoogleCloudDiscoveryengineV1betaCondition {
|
|
1328
1384
|
/** Range of time(s) specifying when condition is active. Maximum of 10 time ranges. */
|
|
1329
1385
|
activeTimeRange?: GoogleCloudDiscoveryengineV1betaConditionTimeRange[];
|
|
@@ -1505,6 +1561,8 @@ declare namespace gapi.client {
|
|
|
1505
1561
|
documentProcessingConfig?: GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig;
|
|
1506
1562
|
/** Immutable. The industry vertical that the data store registers. */
|
|
1507
1563
|
industryVertical?: string;
|
|
1564
|
+
/** Language info for DataStore. */
|
|
1565
|
+
languageInfo?: GoogleCloudDiscoveryengineV1betaLanguageInfo;
|
|
1508
1566
|
/** 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. */
|
|
1509
1567
|
name?: string;
|
|
1510
1568
|
/** 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. */
|
|
@@ -1569,7 +1627,7 @@ declare namespace gapi.client {
|
|
|
1569
1627
|
mimeType?: string;
|
|
1570
1628
|
/** 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. */
|
|
1571
1629
|
rawBytes?: string;
|
|
1572
|
-
/** 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,
|
|
1630
|
+
/** 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. */
|
|
1573
1631
|
uri?: string;
|
|
1574
1632
|
}
|
|
1575
1633
|
interface GoogleCloudDiscoveryengineV1betaDocumentInfo {
|
|
@@ -1738,6 +1796,36 @@ declare namespace gapi.client {
|
|
|
1738
1796
|
/** Text content of the fact. Can be at most 10K characters long. */
|
|
1739
1797
|
factText?: string;
|
|
1740
1798
|
}
|
|
1799
|
+
interface GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsMetadata {
|
|
1800
|
+
/** Operation create time. */
|
|
1801
|
+
createTime?: string;
|
|
1802
|
+
/** Count of CompletionSuggestions that failed to be imported. */
|
|
1803
|
+
failureCount?: string;
|
|
1804
|
+
/** Count of CompletionSuggestions successfully imported. */
|
|
1805
|
+
successCount?: string;
|
|
1806
|
+
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
1807
|
+
updateTime?: string;
|
|
1808
|
+
}
|
|
1809
|
+
interface GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsRequest {
|
|
1810
|
+
/** BigQuery input source. */
|
|
1811
|
+
bigquerySource?: GoogleCloudDiscoveryengineV1betaBigQuerySource;
|
|
1812
|
+
/** The desired location of errors incurred during the Import. */
|
|
1813
|
+
errorConfig?: GoogleCloudDiscoveryengineV1betaImportErrorConfig;
|
|
1814
|
+
/** Cloud Storage location for the input content. */
|
|
1815
|
+
gcsSource?: GoogleCloudDiscoveryengineV1betaGcsSource;
|
|
1816
|
+
/** The Inline source for suggestion entries. */
|
|
1817
|
+
inlineSource?: GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsRequestInlineSource;
|
|
1818
|
+
}
|
|
1819
|
+
interface GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsRequestInlineSource {
|
|
1820
|
+
/** Required. A list of all denylist entries to import. Max of 1000 items. */
|
|
1821
|
+
suggestions?: GoogleCloudDiscoveryengineV1betaCompletionSuggestion[];
|
|
1822
|
+
}
|
|
1823
|
+
interface GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsResponse {
|
|
1824
|
+
/** The desired location of errors incurred during the Import. */
|
|
1825
|
+
errorConfig?: GoogleCloudDiscoveryengineV1betaImportErrorConfig;
|
|
1826
|
+
/** A sample of errors encountered while processing the request. */
|
|
1827
|
+
errorSamples?: GoogleRpcStatus[];
|
|
1828
|
+
}
|
|
1741
1829
|
interface GoogleCloudDiscoveryengineV1betaImportDocumentsMetadata {
|
|
1742
1830
|
/** Operation create time. */
|
|
1743
1831
|
createTime?: string;
|
|
@@ -1862,6 +1950,16 @@ declare namespace gapi.client {
|
|
|
1862
1950
|
/** Inclusive lower bound. */
|
|
1863
1951
|
minimum?: number;
|
|
1864
1952
|
}
|
|
1953
|
+
interface GoogleCloudDiscoveryengineV1betaLanguageInfo {
|
|
1954
|
+
/** Output only. Language part of normalized_language_code. E.g.: `en-US` -> `en`, `zh-Hans-HK` -> `zh`, `en` -> `en`. */
|
|
1955
|
+
language?: string;
|
|
1956
|
+
/** The language code for the DataStore. */
|
|
1957
|
+
languageCode?: string;
|
|
1958
|
+
/** 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`. */
|
|
1959
|
+
normalizedLanguageCode?: string;
|
|
1960
|
+
/** Output only. Region part of normalized_language_code, if present. E.g.: `en-US` -> `US`, `zh-Hans-HK` -> `HK`, `en` -> ``. */
|
|
1961
|
+
region?: string;
|
|
1962
|
+
}
|
|
1865
1963
|
interface GoogleCloudDiscoveryengineV1betaListControlsResponse {
|
|
1866
1964
|
/** All the Controls for a given data store. */
|
|
1867
1965
|
controls?: GoogleCloudDiscoveryengineV1betaControl[];
|
|
@@ -1980,6 +2078,7 @@ declare namespace gapi.client {
|
|
|
1980
2078
|
/** 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. */
|
|
1981
2079
|
dataUseTermsVersion?: string;
|
|
1982
2080
|
}
|
|
2081
|
+
interface GoogleCloudDiscoveryengineV1betaPurgeCompletionSuggestionsRequest {}
|
|
1983
2082
|
interface GoogleCloudDiscoveryengineV1betaPurgeDocumentsMetadata {
|
|
1984
2083
|
/** Operation create time. */
|
|
1985
2084
|
createTime?: string;
|
|
@@ -2141,6 +2240,8 @@ declare namespace gapi.client {
|
|
|
2141
2240
|
filter?: string;
|
|
2142
2241
|
/** Raw image query. */
|
|
2143
2242
|
imageQuery?: GoogleCloudDiscoveryengineV1betaSearchRequestImageQuery;
|
|
2243
|
+
/** 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. */
|
|
2244
|
+
languageCode?: string;
|
|
2144
2245
|
/** 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. */
|
|
2145
2246
|
offset?: number;
|
|
2146
2247
|
/** 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. */
|
|
@@ -2157,6 +2258,8 @@ declare namespace gapi.client {
|
|
|
2157
2258
|
queryExpansionSpec?: GoogleCloudDiscoveryengineV1betaSearchRequestQueryExpansionSpec;
|
|
2158
2259
|
/** 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)`. */
|
|
2159
2260
|
rankingExpression?: string;
|
|
2261
|
+
/** 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. */
|
|
2262
|
+
regionCode?: string;
|
|
2160
2263
|
/** Whether to turn on safe search. This is only supported for website search. */
|
|
2161
2264
|
safeSearch?: boolean;
|
|
2162
2265
|
/** The spell correction specification that specifies the mode under which spell correction takes effect. */
|
|
@@ -2281,7 +2384,7 @@ declare namespace gapi.client {
|
|
|
2281
2384
|
excludedFilterKeys?: string[];
|
|
2282
2385
|
/** Required. The facet key specification. */
|
|
2283
2386
|
facetKey?: GoogleCloudDiscoveryengineV1betaSearchRequestFacetSpecFacetKey;
|
|
2284
|
-
/** 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. */
|
|
2387
|
+
/** 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. */
|
|
2285
2388
|
limit?: number;
|
|
2286
2389
|
}
|
|
2287
2390
|
interface GoogleCloudDiscoveryengineV1betaSearchRequestFacetSpecFacetKey {
|
|
@@ -2939,6 +3042,22 @@ declare namespace gapi.client {
|
|
|
2939
3042
|
/** 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. */
|
|
2940
3043
|
searchTier?: string;
|
|
2941
3044
|
}
|
|
3045
|
+
interface GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsMetadata {
|
|
3046
|
+
/** Operation create time. */
|
|
3047
|
+
createTime?: string;
|
|
3048
|
+
/** Count of CompletionSuggestions that failed to be imported. */
|
|
3049
|
+
failureCount?: string;
|
|
3050
|
+
/** Count of CompletionSuggestions successfully imported. */
|
|
3051
|
+
successCount?: string;
|
|
3052
|
+
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
3053
|
+
updateTime?: string;
|
|
3054
|
+
}
|
|
3055
|
+
interface GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsResponse {
|
|
3056
|
+
/** The desired location of errors incurred during the Import. */
|
|
3057
|
+
errorConfig?: GoogleCloudDiscoveryengineV1ImportErrorConfig;
|
|
3058
|
+
/** A sample of errors encountered while processing the request. */
|
|
3059
|
+
errorSamples?: GoogleRpcStatus[];
|
|
3060
|
+
}
|
|
2942
3061
|
interface GoogleCloudDiscoveryengineV1ImportDocumentsMetadata {
|
|
2943
3062
|
/** Operation create time. */
|
|
2944
3063
|
createTime?: string;
|
|
@@ -3020,6 +3139,18 @@ declare namespace gapi.client {
|
|
|
3020
3139
|
version?: string;
|
|
3021
3140
|
}
|
|
3022
3141
|
interface GoogleCloudDiscoveryengineV1ProvisionProjectMetadata {}
|
|
3142
|
+
interface GoogleCloudDiscoveryengineV1PurgeCompletionSuggestionsMetadata {
|
|
3143
|
+
/** Operation create time. */
|
|
3144
|
+
createTime?: string;
|
|
3145
|
+
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
3146
|
+
updateTime?: string;
|
|
3147
|
+
}
|
|
3148
|
+
interface GoogleCloudDiscoveryengineV1PurgeCompletionSuggestionsResponse {
|
|
3149
|
+
/** A sample of errors encountered while processing the request. */
|
|
3150
|
+
errorSamples?: GoogleRpcStatus[];
|
|
3151
|
+
/** Whether the completion suggestions were successfully purged. */
|
|
3152
|
+
purgeSucceeded?: boolean;
|
|
3153
|
+
}
|
|
3023
3154
|
interface GoogleCloudDiscoveryengineV1PurgeDocumentsMetadata {
|
|
3024
3155
|
/** Operation create time. */
|
|
3025
3156
|
createTime?: string;
|
|
@@ -3662,6 +3793,124 @@ declare namespace gapi.client {
|
|
|
3662
3793
|
documents: DocumentsResource;
|
|
3663
3794
|
operations: OperationsResource;
|
|
3664
3795
|
}
|
|
3796
|
+
interface CompletionSuggestionsResource {
|
|
3797
|
+
/** Imports CompletionSuggestions for a DataStore. */
|
|
3798
|
+
import(request: {
|
|
3799
|
+
/** V1 error format. */
|
|
3800
|
+
'$.xgafv'?: string;
|
|
3801
|
+
/** OAuth access token. */
|
|
3802
|
+
access_token?: string;
|
|
3803
|
+
/** Data format for response. */
|
|
3804
|
+
alt?: string;
|
|
3805
|
+
/** JSONP */
|
|
3806
|
+
callback?: string;
|
|
3807
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3808
|
+
fields?: string;
|
|
3809
|
+
/** 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. */
|
|
3810
|
+
key?: string;
|
|
3811
|
+
/** OAuth 2.0 token for the current user. */
|
|
3812
|
+
oauth_token?: string;
|
|
3813
|
+
/** Required. The parent data store resource name for which to import customer autocomplete suggestions. Follows pattern `projects/*/locations/*/collections/*/dataStores/*` */
|
|
3814
|
+
parent: string;
|
|
3815
|
+
/** Returns response with indentations and line breaks. */
|
|
3816
|
+
prettyPrint?: boolean;
|
|
3817
|
+
/** 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. */
|
|
3818
|
+
quotaUser?: string;
|
|
3819
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3820
|
+
upload_protocol?: string;
|
|
3821
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3822
|
+
uploadType?: string;
|
|
3823
|
+
/** Request body */
|
|
3824
|
+
resource: GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsRequest;
|
|
3825
|
+
}): Request<GoogleLongrunningOperation>;
|
|
3826
|
+
import(
|
|
3827
|
+
request: {
|
|
3828
|
+
/** V1 error format. */
|
|
3829
|
+
'$.xgafv'?: string;
|
|
3830
|
+
/** OAuth access token. */
|
|
3831
|
+
access_token?: string;
|
|
3832
|
+
/** Data format for response. */
|
|
3833
|
+
alt?: string;
|
|
3834
|
+
/** JSONP */
|
|
3835
|
+
callback?: string;
|
|
3836
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3837
|
+
fields?: string;
|
|
3838
|
+
/** 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. */
|
|
3839
|
+
key?: string;
|
|
3840
|
+
/** OAuth 2.0 token for the current user. */
|
|
3841
|
+
oauth_token?: string;
|
|
3842
|
+
/** Required. The parent data store resource name for which to import customer autocomplete suggestions. Follows pattern `projects/*/locations/*/collections/*/dataStores/*` */
|
|
3843
|
+
parent: string;
|
|
3844
|
+
/** Returns response with indentations and line breaks. */
|
|
3845
|
+
prettyPrint?: boolean;
|
|
3846
|
+
/** 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. */
|
|
3847
|
+
quotaUser?: string;
|
|
3848
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3849
|
+
upload_protocol?: string;
|
|
3850
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3851
|
+
uploadType?: string;
|
|
3852
|
+
},
|
|
3853
|
+
body: GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsRequest
|
|
3854
|
+
): Request<GoogleLongrunningOperation>;
|
|
3855
|
+
/** Permanently deletes all CompletionSuggestions for a DataStore. */
|
|
3856
|
+
purge(request: {
|
|
3857
|
+
/** V1 error format. */
|
|
3858
|
+
'$.xgafv'?: string;
|
|
3859
|
+
/** OAuth access token. */
|
|
3860
|
+
access_token?: string;
|
|
3861
|
+
/** Data format for response. */
|
|
3862
|
+
alt?: string;
|
|
3863
|
+
/** JSONP */
|
|
3864
|
+
callback?: string;
|
|
3865
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3866
|
+
fields?: string;
|
|
3867
|
+
/** 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. */
|
|
3868
|
+
key?: string;
|
|
3869
|
+
/** OAuth 2.0 token for the current user. */
|
|
3870
|
+
oauth_token?: string;
|
|
3871
|
+
/** Required. The parent data store resource name for which to purge completion suggestions. Follows pattern projects/*/locations/*/collections/*/dataStores/*. */
|
|
3872
|
+
parent: string;
|
|
3873
|
+
/** Returns response with indentations and line breaks. */
|
|
3874
|
+
prettyPrint?: boolean;
|
|
3875
|
+
/** 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. */
|
|
3876
|
+
quotaUser?: string;
|
|
3877
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3878
|
+
upload_protocol?: string;
|
|
3879
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3880
|
+
uploadType?: string;
|
|
3881
|
+
/** Request body */
|
|
3882
|
+
resource: GoogleCloudDiscoveryengineV1betaPurgeCompletionSuggestionsRequest;
|
|
3883
|
+
}): Request<GoogleLongrunningOperation>;
|
|
3884
|
+
purge(
|
|
3885
|
+
request: {
|
|
3886
|
+
/** V1 error format. */
|
|
3887
|
+
'$.xgafv'?: string;
|
|
3888
|
+
/** OAuth access token. */
|
|
3889
|
+
access_token?: string;
|
|
3890
|
+
/** Data format for response. */
|
|
3891
|
+
alt?: string;
|
|
3892
|
+
/** JSONP */
|
|
3893
|
+
callback?: string;
|
|
3894
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3895
|
+
fields?: string;
|
|
3896
|
+
/** 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. */
|
|
3897
|
+
key?: string;
|
|
3898
|
+
/** OAuth 2.0 token for the current user. */
|
|
3899
|
+
oauth_token?: string;
|
|
3900
|
+
/** Required. The parent data store resource name for which to purge completion suggestions. Follows pattern projects/*/locations/*/collections/*/dataStores/*. */
|
|
3901
|
+
parent: string;
|
|
3902
|
+
/** Returns response with indentations and line breaks. */
|
|
3903
|
+
prettyPrint?: boolean;
|
|
3904
|
+
/** 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. */
|
|
3905
|
+
quotaUser?: string;
|
|
3906
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3907
|
+
upload_protocol?: string;
|
|
3908
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3909
|
+
uploadType?: string;
|
|
3910
|
+
},
|
|
3911
|
+
body: GoogleCloudDiscoveryengineV1betaPurgeCompletionSuggestionsRequest
|
|
3912
|
+
): Request<GoogleLongrunningOperation>;
|
|
3913
|
+
}
|
|
3665
3914
|
interface ControlsResource {
|
|
3666
3915
|
/** 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. */
|
|
3667
3916
|
create(request: {
|
|
@@ -6374,6 +6623,7 @@ declare namespace gapi.client {
|
|
|
6374
6623
|
body: GoogleCloudDiscoveryengineV1betaTrainCustomModelRequest
|
|
6375
6624
|
): Request<GoogleLongrunningOperation>;
|
|
6376
6625
|
branches: BranchesResource;
|
|
6626
|
+
completionSuggestions: CompletionSuggestionsResource;
|
|
6377
6627
|
controls: ControlsResource;
|
|
6378
6628
|
conversations: ConversationsResource;
|
|
6379
6629
|
customModels: CustomModelsResource;
|
|
@@ -8382,6 +8632,124 @@ declare namespace gapi.client {
|
|
|
8382
8632
|
documents: DocumentsResource;
|
|
8383
8633
|
operations: OperationsResource;
|
|
8384
8634
|
}
|
|
8635
|
+
interface CompletionSuggestionsResource {
|
|
8636
|
+
/** Imports CompletionSuggestions for a DataStore. */
|
|
8637
|
+
import(request: {
|
|
8638
|
+
/** V1 error format. */
|
|
8639
|
+
'$.xgafv'?: string;
|
|
8640
|
+
/** OAuth access token. */
|
|
8641
|
+
access_token?: string;
|
|
8642
|
+
/** Data format for response. */
|
|
8643
|
+
alt?: string;
|
|
8644
|
+
/** JSONP */
|
|
8645
|
+
callback?: string;
|
|
8646
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
8647
|
+
fields?: string;
|
|
8648
|
+
/** 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. */
|
|
8649
|
+
key?: string;
|
|
8650
|
+
/** OAuth 2.0 token for the current user. */
|
|
8651
|
+
oauth_token?: string;
|
|
8652
|
+
/** Required. The parent data store resource name for which to import customer autocomplete suggestions. Follows pattern `projects/*/locations/*/collections/*/dataStores/*` */
|
|
8653
|
+
parent: string;
|
|
8654
|
+
/** Returns response with indentations and line breaks. */
|
|
8655
|
+
prettyPrint?: boolean;
|
|
8656
|
+
/** 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. */
|
|
8657
|
+
quotaUser?: string;
|
|
8658
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
8659
|
+
upload_protocol?: string;
|
|
8660
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
8661
|
+
uploadType?: string;
|
|
8662
|
+
/** Request body */
|
|
8663
|
+
resource: GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsRequest;
|
|
8664
|
+
}): Request<GoogleLongrunningOperation>;
|
|
8665
|
+
import(
|
|
8666
|
+
request: {
|
|
8667
|
+
/** V1 error format. */
|
|
8668
|
+
'$.xgafv'?: string;
|
|
8669
|
+
/** OAuth access token. */
|
|
8670
|
+
access_token?: string;
|
|
8671
|
+
/** Data format for response. */
|
|
8672
|
+
alt?: string;
|
|
8673
|
+
/** JSONP */
|
|
8674
|
+
callback?: string;
|
|
8675
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
8676
|
+
fields?: string;
|
|
8677
|
+
/** 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. */
|
|
8678
|
+
key?: string;
|
|
8679
|
+
/** OAuth 2.0 token for the current user. */
|
|
8680
|
+
oauth_token?: string;
|
|
8681
|
+
/** Required. The parent data store resource name for which to import customer autocomplete suggestions. Follows pattern `projects/*/locations/*/collections/*/dataStores/*` */
|
|
8682
|
+
parent: string;
|
|
8683
|
+
/** Returns response with indentations and line breaks. */
|
|
8684
|
+
prettyPrint?: boolean;
|
|
8685
|
+
/** 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. */
|
|
8686
|
+
quotaUser?: string;
|
|
8687
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
8688
|
+
upload_protocol?: string;
|
|
8689
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
8690
|
+
uploadType?: string;
|
|
8691
|
+
},
|
|
8692
|
+
body: GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsRequest
|
|
8693
|
+
): Request<GoogleLongrunningOperation>;
|
|
8694
|
+
/** Permanently deletes all CompletionSuggestions for a DataStore. */
|
|
8695
|
+
purge(request: {
|
|
8696
|
+
/** V1 error format. */
|
|
8697
|
+
'$.xgafv'?: string;
|
|
8698
|
+
/** OAuth access token. */
|
|
8699
|
+
access_token?: string;
|
|
8700
|
+
/** Data format for response. */
|
|
8701
|
+
alt?: string;
|
|
8702
|
+
/** JSONP */
|
|
8703
|
+
callback?: string;
|
|
8704
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
8705
|
+
fields?: string;
|
|
8706
|
+
/** 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. */
|
|
8707
|
+
key?: string;
|
|
8708
|
+
/** OAuth 2.0 token for the current user. */
|
|
8709
|
+
oauth_token?: string;
|
|
8710
|
+
/** Required. The parent data store resource name for which to purge completion suggestions. Follows pattern projects/*/locations/*/collections/*/dataStores/*. */
|
|
8711
|
+
parent: string;
|
|
8712
|
+
/** Returns response with indentations and line breaks. */
|
|
8713
|
+
prettyPrint?: boolean;
|
|
8714
|
+
/** 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. */
|
|
8715
|
+
quotaUser?: string;
|
|
8716
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
8717
|
+
upload_protocol?: string;
|
|
8718
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
8719
|
+
uploadType?: string;
|
|
8720
|
+
/** Request body */
|
|
8721
|
+
resource: GoogleCloudDiscoveryengineV1betaPurgeCompletionSuggestionsRequest;
|
|
8722
|
+
}): Request<GoogleLongrunningOperation>;
|
|
8723
|
+
purge(
|
|
8724
|
+
request: {
|
|
8725
|
+
/** V1 error format. */
|
|
8726
|
+
'$.xgafv'?: string;
|
|
8727
|
+
/** OAuth access token. */
|
|
8728
|
+
access_token?: string;
|
|
8729
|
+
/** Data format for response. */
|
|
8730
|
+
alt?: string;
|
|
8731
|
+
/** JSONP */
|
|
8732
|
+
callback?: string;
|
|
8733
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
8734
|
+
fields?: string;
|
|
8735
|
+
/** 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. */
|
|
8736
|
+
key?: string;
|
|
8737
|
+
/** OAuth 2.0 token for the current user. */
|
|
8738
|
+
oauth_token?: string;
|
|
8739
|
+
/** Required. The parent data store resource name for which to purge completion suggestions. Follows pattern projects/*/locations/*/collections/*/dataStores/*. */
|
|
8740
|
+
parent: string;
|
|
8741
|
+
/** Returns response with indentations and line breaks. */
|
|
8742
|
+
prettyPrint?: boolean;
|
|
8743
|
+
/** 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. */
|
|
8744
|
+
quotaUser?: string;
|
|
8745
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
8746
|
+
upload_protocol?: string;
|
|
8747
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
8748
|
+
uploadType?: string;
|
|
8749
|
+
},
|
|
8750
|
+
body: GoogleCloudDiscoveryengineV1betaPurgeCompletionSuggestionsRequest
|
|
8751
|
+
): Request<GoogleLongrunningOperation>;
|
|
8752
|
+
}
|
|
8385
8753
|
interface ControlsResource {
|
|
8386
8754
|
/** 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. */
|
|
8387
8755
|
create(request: {
|
|
@@ -10729,6 +11097,7 @@ declare namespace gapi.client {
|
|
|
10729
11097
|
body: GoogleCloudDiscoveryengineV1betaDataStore
|
|
10730
11098
|
): Request<GoogleCloudDiscoveryengineV1betaDataStore>;
|
|
10731
11099
|
branches: BranchesResource;
|
|
11100
|
+
completionSuggestions: CompletionSuggestionsResource;
|
|
10732
11101
|
controls: ControlsResource;
|
|
10733
11102
|
conversations: ConversationsResource;
|
|
10734
11103
|
models: ModelsResource;
|