@maxim_mazurok/gapi.client.discoveryengine-v1beta 0.0.20240612 → 0.0.20240621
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 +344 -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: 20240621
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -573,6 +573,22 @@ declare namespace gapi.client {
|
|
|
573
573
|
/** Workforce pool name. Example: "locations/global/workforcePools/pool_id" */
|
|
574
574
|
workforcePoolName?: string;
|
|
575
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
|
+
}
|
|
576
592
|
interface GoogleCloudDiscoveryengineV1alphaImportDocumentsMetadata {
|
|
577
593
|
/** Operation create time. */
|
|
578
594
|
createTime?: string;
|
|
@@ -668,6 +684,18 @@ declare namespace gapi.client {
|
|
|
668
684
|
version?: string;
|
|
669
685
|
}
|
|
670
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
|
+
}
|
|
671
699
|
interface GoogleCloudDiscoveryengineV1alphaPurgeDocumentsMetadata {
|
|
672
700
|
/** Operation create time. */
|
|
673
701
|
createTime?: string;
|
|
@@ -1336,6 +1364,22 @@ declare namespace gapi.client {
|
|
|
1336
1364
|
/** End user selected CompleteQueryResponse.QuerySuggestion.suggestion. */
|
|
1337
1365
|
selectedSuggestion?: string;
|
|
1338
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
|
+
}
|
|
1339
1383
|
interface GoogleCloudDiscoveryengineV1betaCondition {
|
|
1340
1384
|
/** Range of time(s) specifying when condition is active. Maximum of 10 time ranges. */
|
|
1341
1385
|
activeTimeRange?: GoogleCloudDiscoveryengineV1betaConditionTimeRange[];
|
|
@@ -1583,7 +1627,7 @@ declare namespace gapi.client {
|
|
|
1583
1627
|
mimeType?: string;
|
|
1584
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. */
|
|
1585
1629
|
rawBytes?: string;
|
|
1586
|
-
/** 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. */
|
|
1587
1631
|
uri?: string;
|
|
1588
1632
|
}
|
|
1589
1633
|
interface GoogleCloudDiscoveryengineV1betaDocumentInfo {
|
|
@@ -1752,6 +1796,36 @@ declare namespace gapi.client {
|
|
|
1752
1796
|
/** Text content of the fact. Can be at most 10K characters long. */
|
|
1753
1797
|
factText?: string;
|
|
1754
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
|
+
}
|
|
1755
1829
|
interface GoogleCloudDiscoveryengineV1betaImportDocumentsMetadata {
|
|
1756
1830
|
/** Operation create time. */
|
|
1757
1831
|
createTime?: string;
|
|
@@ -2004,6 +2078,7 @@ declare namespace gapi.client {
|
|
|
2004
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. */
|
|
2005
2079
|
dataUseTermsVersion?: string;
|
|
2006
2080
|
}
|
|
2081
|
+
interface GoogleCloudDiscoveryengineV1betaPurgeCompletionSuggestionsRequest {}
|
|
2007
2082
|
interface GoogleCloudDiscoveryengineV1betaPurgeDocumentsMetadata {
|
|
2008
2083
|
/** Operation create time. */
|
|
2009
2084
|
createTime?: string;
|
|
@@ -2309,7 +2384,7 @@ declare namespace gapi.client {
|
|
|
2309
2384
|
excludedFilterKeys?: string[];
|
|
2310
2385
|
/** Required. The facet key specification. */
|
|
2311
2386
|
facetKey?: GoogleCloudDiscoveryengineV1betaSearchRequestFacetSpecFacetKey;
|
|
2312
|
-
/** 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. */
|
|
2313
2388
|
limit?: number;
|
|
2314
2389
|
}
|
|
2315
2390
|
interface GoogleCloudDiscoveryengineV1betaSearchRequestFacetSpecFacetKey {
|
|
@@ -2967,6 +3042,22 @@ declare namespace gapi.client {
|
|
|
2967
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. */
|
|
2968
3043
|
searchTier?: string;
|
|
2969
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
|
+
}
|
|
2970
3061
|
interface GoogleCloudDiscoveryengineV1ImportDocumentsMetadata {
|
|
2971
3062
|
/** Operation create time. */
|
|
2972
3063
|
createTime?: string;
|
|
@@ -3048,6 +3139,18 @@ declare namespace gapi.client {
|
|
|
3048
3139
|
version?: string;
|
|
3049
3140
|
}
|
|
3050
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
|
+
}
|
|
3051
3154
|
interface GoogleCloudDiscoveryengineV1PurgeDocumentsMetadata {
|
|
3052
3155
|
/** Operation create time. */
|
|
3053
3156
|
createTime?: string;
|
|
@@ -3690,6 +3793,124 @@ declare namespace gapi.client {
|
|
|
3690
3793
|
documents: DocumentsResource;
|
|
3691
3794
|
operations: OperationsResource;
|
|
3692
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
|
+
}
|
|
3693
3914
|
interface ControlsResource {
|
|
3694
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. */
|
|
3695
3916
|
create(request: {
|
|
@@ -6402,6 +6623,7 @@ declare namespace gapi.client {
|
|
|
6402
6623
|
body: GoogleCloudDiscoveryengineV1betaTrainCustomModelRequest
|
|
6403
6624
|
): Request<GoogleLongrunningOperation>;
|
|
6404
6625
|
branches: BranchesResource;
|
|
6626
|
+
completionSuggestions: CompletionSuggestionsResource;
|
|
6405
6627
|
controls: ControlsResource;
|
|
6406
6628
|
conversations: ConversationsResource;
|
|
6407
6629
|
customModels: CustomModelsResource;
|
|
@@ -8410,6 +8632,124 @@ declare namespace gapi.client {
|
|
|
8410
8632
|
documents: DocumentsResource;
|
|
8411
8633
|
operations: OperationsResource;
|
|
8412
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
|
+
}
|
|
8413
8753
|
interface ControlsResource {
|
|
8414
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. */
|
|
8415
8755
|
create(request: {
|
|
@@ -10757,6 +11097,7 @@ declare namespace gapi.client {
|
|
|
10757
11097
|
body: GoogleCloudDiscoveryengineV1betaDataStore
|
|
10758
11098
|
): Request<GoogleCloudDiscoveryengineV1betaDataStore>;
|
|
10759
11099
|
branches: BranchesResource;
|
|
11100
|
+
completionSuggestions: CompletionSuggestionsResource;
|
|
10760
11101
|
controls: ControlsResource;
|
|
10761
11102
|
conversations: ConversationsResource;
|
|
10762
11103
|
models: ModelsResource;
|