@maxim_mazurok/gapi.client.discoveryengine-v1alpha 0.0.20240224 → 0.0.20240229
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 +176 -4
- 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: 20240229
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -82,6 +82,12 @@ declare namespace gapi.client {
|
|
|
82
82
|
/** Human-readable name of a function or method—for example, `google.cloud.discoveryengine.v1alpha.RecommendationService.Recommend`. */
|
|
83
83
|
functionName?: string;
|
|
84
84
|
}
|
|
85
|
+
interface GoogleCloudDiscoveryengineV1alphaAclConfig {
|
|
86
|
+
/** Identity provider config. */
|
|
87
|
+
idpConfig?: GoogleCloudDiscoveryengineV1alphaIdpConfig;
|
|
88
|
+
/** Immutable. The full resource name of the acl configuration. Format: `projects/{project}/locations/{location}/aclConfig`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
|
|
89
|
+
name?: string;
|
|
90
|
+
}
|
|
85
91
|
interface GoogleCloudDiscoveryengineV1alphaAdditionalParams {
|
|
86
92
|
/** Token that used for non-human user check. */
|
|
87
93
|
token?: string;
|
|
@@ -115,6 +121,24 @@ declare namespace gapi.client {
|
|
|
115
121
|
/** Required. The BigQuery table to copy the data from with a length limit of 1,024 characters. */
|
|
116
122
|
tableId?: string;
|
|
117
123
|
}
|
|
124
|
+
interface GoogleCloudDiscoveryengineV1alphaChunk {
|
|
125
|
+
/** Content is a string from a document (parsed content). */
|
|
126
|
+
content?: string;
|
|
127
|
+
/** Output only. This field is OUTPUT_ONLY. It contains derived data that are not in the original input document. */
|
|
128
|
+
derivedStructData?: {[P in string]: any};
|
|
129
|
+
/** Metadata of the document from the current chunk. */
|
|
130
|
+
documentMetadata?: GoogleCloudDiscoveryengineV1alphaChunkDocumentMetadata;
|
|
131
|
+
/** Unique chunk id of the current chunk. */
|
|
132
|
+
id?: string;
|
|
133
|
+
/** The full resource name of the chunk. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document_id}/chunks/{chunk_id}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
|
|
134
|
+
name?: string;
|
|
135
|
+
}
|
|
136
|
+
interface GoogleCloudDiscoveryengineV1alphaChunkDocumentMetadata {
|
|
137
|
+
/** Title of the document. */
|
|
138
|
+
title?: string;
|
|
139
|
+
/** Uri of the document. */
|
|
140
|
+
uri?: string;
|
|
141
|
+
}
|
|
118
142
|
interface GoogleCloudDiscoveryengineV1alphaCompleteQueryRequest {
|
|
119
143
|
/** Required. The parent data store resource name for which the completion is performed, such as `projects/*/locations/global/collections/default_collection/dataStores/default_data_store`. */
|
|
120
144
|
dataStore?: string;
|
|
@@ -122,7 +146,7 @@ declare namespace gapi.client {
|
|
|
122
146
|
includeTailSuggestions?: boolean;
|
|
123
147
|
/** Required. The typeahead input used to fetch suggestions. Maximum length is 128 characters. */
|
|
124
148
|
query?: string;
|
|
125
|
-
/** Specifies the autocomplete data model. This overrides any model specified in the Configuration > Autocomplete section of the Cloud console. Currently supported values: * `document` - Using suggestions generated from user-imported documents. * `search-history` - Using suggestions generated from the past history of SearchService.Search API calls. Do not use it when there is no traffic for Search API. * `user-event` - Using suggestions generated from user-imported search events. * `document-completable` - Using suggestions taken directly from user-imported document fields marked as completable. Default values: * `document` is the default model for regular dataStores. * `search-history` is the default model for site search dataStores. */
|
|
149
|
+
/** Specifies the autocomplete data model. This overrides any model specified in the Configuration > Autocomplete section of the Cloud console. Currently supported values: * `document` - Using suggestions generated from user-imported documents. * `search-history` - Using suggestions generated from the past history of SearchService.Search API calls. Do not use it when there is no traffic for Search API. * `user-event` - Using suggestions generated from user-imported search events. * `document-completable` - Using suggestions taken directly from user-imported document fields marked as completable. Default values: * `document` is the default model for regular dataStores. * `search-history` is the default model for site search dataStores. * */
|
|
126
150
|
queryModel?: string;
|
|
127
151
|
/** A unique identifier for tracking visitors. For example, this could be implemented with an HTTP cookie, which should be able to uniquely identify a visitor on a single device. This unique identifier should not change if the visitor logs in or out of the website. This field should NOT have a fixed value such as `unknown_visitor`. This should be the same identifier as UserEvent.user_pseudo_id and SearchRequest.user_pseudo_id. The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` error is returned. */
|
|
128
152
|
userPseudoId?: string;
|
|
@@ -244,6 +268,8 @@ declare namespace gapi.client {
|
|
|
244
268
|
enableSearchAdaptor?: boolean;
|
|
245
269
|
}
|
|
246
270
|
interface GoogleCloudDiscoveryengineV1alphaDataStore {
|
|
271
|
+
/** Immutable. Whether data in the DataStore has ACL information. If set to `true`, the source data must have ACL. ACL will be ingested when data is ingested by DocumentService.ImportDocuments methods. When ACL is enabled for the DataStore, Document can't be accessed by calling DocumentService.GetDocument or DocumentService.ListDocuments. Currently ACL is only supported in `GENERIC` industry vertical with non-`PUBLIC_WEBSITE` content config. */
|
|
272
|
+
aclEnabled?: boolean;
|
|
247
273
|
/** Immutable. The content config of the data store. If this field is unset, the server behavior defaults to ContentConfig.NO_CONTENT. */
|
|
248
274
|
contentConfig?: string;
|
|
249
275
|
/** Output only. Timestamp the DataStore was created at. */
|
|
@@ -254,6 +280,8 @@ declare namespace gapi.client {
|
|
|
254
280
|
displayName?: string;
|
|
255
281
|
/** Configuration for Document understanding and enrichment. */
|
|
256
282
|
documentProcessingConfig?: GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig;
|
|
283
|
+
/** Output only. Data store level identity provider config. */
|
|
284
|
+
idpConfig?: GoogleCloudDiscoveryengineV1alphaIdpConfig;
|
|
257
285
|
/** Immutable. The industry vertical that the data store registers. */
|
|
258
286
|
industryVertical?: string;
|
|
259
287
|
/** 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. */
|
|
@@ -297,6 +325,8 @@ declare namespace gapi.client {
|
|
|
297
325
|
interface GoogleCloudDiscoveryengineV1alphaDisableAdvancedSiteSearchRequest {}
|
|
298
326
|
interface GoogleCloudDiscoveryengineV1alphaDisableAdvancedSiteSearchResponse {}
|
|
299
327
|
interface GoogleCloudDiscoveryengineV1alphaDocument {
|
|
328
|
+
/** Access control information for the document. */
|
|
329
|
+
aclInfo?: GoogleCloudDiscoveryengineV1alphaDocumentAclInfo;
|
|
300
330
|
/** The unstructured data linked to this document. Content must be set if this document is under a `CONTENT_REQUIRED` data store. */
|
|
301
331
|
content?: GoogleCloudDiscoveryengineV1alphaDocumentContent;
|
|
302
332
|
/** Output only. This field is OUTPUT_ONLY. It contains derived data that are not in the original input document. */
|
|
@@ -316,6 +346,13 @@ declare namespace gapi.client {
|
|
|
316
346
|
/** The structured JSON data for the document. It should conform to the registered Schema or an `INVALID_ARGUMENT` error is thrown. */
|
|
317
347
|
structData?: {[P in string]: any};
|
|
318
348
|
}
|
|
349
|
+
interface GoogleCloudDiscoveryengineV1alphaDocumentAclInfo {
|
|
350
|
+
readers?: GoogleCloudDiscoveryengineV1alphaDocumentAclInfoAccessRestriction[];
|
|
351
|
+
}
|
|
352
|
+
interface GoogleCloudDiscoveryengineV1alphaDocumentAclInfoAccessRestriction {
|
|
353
|
+
/** List of principals. */
|
|
354
|
+
principals?: GoogleCloudDiscoveryengineV1alphaPrincipal[];
|
|
355
|
+
}
|
|
319
356
|
interface GoogleCloudDiscoveryengineV1alphaDocumentContent {
|
|
320
357
|
/** The MIME type of the content. Supported types: * `application/pdf` (PDF, only native PDFs are supported for now) * `text/html` (HTML) * `application/vnd.openxmlformats-officedocument.wordprocessingml.document` (DOCX) * `application/vnd.openxmlformats-officedocument.presentationml.presentation` (PPTX) * `text/plain` (TXT) See https://www.iana.org/assignments/media-types/media-types.xhtml. */
|
|
321
358
|
mimeType?: string;
|
|
@@ -337,6 +374,8 @@ declare namespace gapi.client {
|
|
|
337
374
|
uri?: string;
|
|
338
375
|
}
|
|
339
376
|
interface GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig {
|
|
377
|
+
/** Whether chunking mode is enabled. */
|
|
378
|
+
chunkingConfig?: GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfig;
|
|
340
379
|
/** Configurations for default Document parser. If not specified, we will configure it as default DigitalParsingConfig, and the default parsing config will be applied to all file types for Document parsing. */
|
|
341
380
|
defaultParsingConfig?: GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig;
|
|
342
381
|
/** The full resource name of the Document Processing Config. Format: `projects/*/locations/*/collections/*/dataStores/*/documentProcessingConfig`. */
|
|
@@ -348,6 +387,16 @@ declare namespace gapi.client {
|
|
|
348
387
|
[P in string]: GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig;
|
|
349
388
|
};
|
|
350
389
|
}
|
|
390
|
+
interface GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfig {
|
|
391
|
+
/** Configuration for the layout based chunking. */
|
|
392
|
+
layoutBasedChunkingConfig?: GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig;
|
|
393
|
+
}
|
|
394
|
+
interface GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig {
|
|
395
|
+
/** The token size limit for each chunk. Supported values: 100-500 (inclusive). Default value: 500. */
|
|
396
|
+
chunkSize?: number;
|
|
397
|
+
/** Whether to include appending different levels of headings to chunks from the middle of the document to prevent context loss. Default value: False. */
|
|
398
|
+
includeAncestorHeadings?: boolean;
|
|
399
|
+
}
|
|
351
400
|
interface GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig {
|
|
352
401
|
/** Configurations applied to digital parser. */
|
|
353
402
|
digitalParsingConfig?: any;
|
|
@@ -373,6 +422,8 @@ declare namespace gapi.client {
|
|
|
373
422
|
interface GoogleCloudDiscoveryengineV1alphaEnableAdvancedSiteSearchRequest {}
|
|
374
423
|
interface GoogleCloudDiscoveryengineV1alphaEnableAdvancedSiteSearchResponse {}
|
|
375
424
|
interface GoogleCloudDiscoveryengineV1alphaEngine {
|
|
425
|
+
/** Whether the search engine can associate with multiple data stores. If true, the generic search engine can associate with one or more data stores. This is an input-only field. */
|
|
426
|
+
allowMultipleDataStoresSearchEngine?: boolean;
|
|
376
427
|
/** Configurations for the Chat Engine. Only applicable if solution_type is SOLUTION_TYPE_CHAT. */
|
|
377
428
|
chatEngineConfig?: GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig;
|
|
378
429
|
/** Output only. Additional information of the Chat Engine. Only applicable if solution_type is SOLUTION_TYPE_CHAT. */
|
|
@@ -535,6 +586,16 @@ declare namespace gapi.client {
|
|
|
535
586
|
/** Max number of related questions to be returned. The valid range is [1, 5]. If enable_related_questions is true, the default value is 3. */
|
|
536
587
|
maxRelatedQuestions?: number;
|
|
537
588
|
}
|
|
589
|
+
interface GoogleCloudDiscoveryengineV1alphaIdpConfig {
|
|
590
|
+
/** External Identity provider config. */
|
|
591
|
+
externalIdpConfig?: GoogleCloudDiscoveryengineV1alphaIdpConfigExternalIdpConfig;
|
|
592
|
+
/** Identity provider type configured. */
|
|
593
|
+
idpType?: string;
|
|
594
|
+
}
|
|
595
|
+
interface GoogleCloudDiscoveryengineV1alphaIdpConfigExternalIdpConfig {
|
|
596
|
+
/** Workforce pool name. Example: "locations/global/workforcePools/pool_id" */
|
|
597
|
+
workforcePoolName?: string;
|
|
598
|
+
}
|
|
538
599
|
interface GoogleCloudDiscoveryengineV1alphaImportDocumentsMetadata {
|
|
539
600
|
/** Operation create time. */
|
|
540
601
|
createTime?: string;
|
|
@@ -737,6 +798,12 @@ declare namespace gapi.client {
|
|
|
737
798
|
totalPanels?: number;
|
|
738
799
|
}
|
|
739
800
|
interface GoogleCloudDiscoveryengineV1alphaPauseEngineRequest {}
|
|
801
|
+
interface GoogleCloudDiscoveryengineV1alphaPrincipal {
|
|
802
|
+
/** Group identifier. For Google Workspace user account, group_id should be the google workspace group email. For non-google identity provider user account, group_id is the mapped group identifier configured during the workforcepool config. */
|
|
803
|
+
groupId?: string;
|
|
804
|
+
/** User identifier. For Google Workspace user account, user_id should be the google workspace user email. For non-google identity provider user account, user_id is the mapped user identifier configured during the workforcepool config. */
|
|
805
|
+
userId?: string;
|
|
806
|
+
}
|
|
740
807
|
interface GoogleCloudDiscoveryengineV1alphaPurgeDocumentsMetadata {
|
|
741
808
|
/** Operation create time. */
|
|
742
809
|
createTime?: string;
|
|
@@ -750,10 +817,14 @@ declare namespace gapi.client {
|
|
|
750
817
|
updateTime?: string;
|
|
751
818
|
}
|
|
752
819
|
interface GoogleCloudDiscoveryengineV1alphaPurgeDocumentsRequest {
|
|
820
|
+
/** The desired location of errors incurred during the purge. */
|
|
821
|
+
errorConfig?: GoogleCloudDiscoveryengineV1alphaPurgeErrorConfig;
|
|
753
822
|
/** Required. Filter matching documents to purge. Only currently supported value is `*` (all items). */
|
|
754
823
|
filter?: string;
|
|
755
824
|
/** Actually performs the purge. If `force` is set to false, return the expected purge count without deleting any documents. */
|
|
756
825
|
force?: boolean;
|
|
826
|
+
/** Cloud Storage location for the input content. Supported `data_schema`: * `document_id`: One valid Document.id per line. */
|
|
827
|
+
gcsSource?: GoogleCloudDiscoveryengineV1alphaGcsSource;
|
|
757
828
|
}
|
|
758
829
|
interface GoogleCloudDiscoveryengineV1alphaPurgeDocumentsResponse {
|
|
759
830
|
/** The total count of documents purged as a result of the operation. */
|
|
@@ -761,6 +832,10 @@ declare namespace gapi.client {
|
|
|
761
832
|
/** A sample of document names that will be deleted. Only populated if `force` is set to false. A max of 100 names will be returned and the names are chosen at random. */
|
|
762
833
|
purgeSample?: string[];
|
|
763
834
|
}
|
|
835
|
+
interface GoogleCloudDiscoveryengineV1alphaPurgeErrorConfig {
|
|
836
|
+
/** Cloud Storage prefix for purge errors. This must be an empty, existing Cloud Storage directory. Purge errors are written to sharded files in this directory, one per line, as a JSON-encoded `google.rpc.Status` message. */
|
|
837
|
+
gcsPrefix?: string;
|
|
838
|
+
}
|
|
764
839
|
interface GoogleCloudDiscoveryengineV1alphaPurgeSuggestionDenyListEntriesMetadata {
|
|
765
840
|
/** Operation create time. */
|
|
766
841
|
createTime?: string;
|
|
@@ -962,6 +1037,8 @@ declare namespace gapi.client {
|
|
|
962
1037
|
interface GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpec {
|
|
963
1038
|
/** If there is no extractive_content_spec provided, there will be no extractive answer in the search response. */
|
|
964
1039
|
extractiveContentSpec?: GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecExtractiveContentSpec;
|
|
1040
|
+
/** Specifies the search result mode. If unspecified, the search result mode is based on DataStore.DocumentProcessingConfig.chunking_config: * If DataStore.DocumentProcessingConfig.chunking_config is specified, it defaults to `CHUNKS`. * Otherwise, it defaults to `DOCUMENTS`. */
|
|
1041
|
+
searchResultMode?: string;
|
|
965
1042
|
/** If `snippetSpec` is not specified, snippets are not included in the search response. */
|
|
966
1043
|
snippetSpec?: GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSnippetSpec;
|
|
967
1044
|
/** If `summarySpec` is not specified, summaries are not included in the search response. */
|
|
@@ -1125,6 +1202,8 @@ declare namespace gapi.client {
|
|
|
1125
1202
|
pinnedResultCount?: string;
|
|
1126
1203
|
}
|
|
1127
1204
|
interface GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResult {
|
|
1205
|
+
/** The chunk data in the search response if the SearchRequest.ContentSearchSpec.search_result_mode is set to CHUNKS. */
|
|
1206
|
+
chunk?: GoogleCloudDiscoveryengineV1alphaChunk;
|
|
1128
1207
|
/** The document data snippet in the search response. Only fields that are marked as retrievable are populated. */
|
|
1129
1208
|
document?: GoogleCloudDiscoveryengineV1alphaDocument;
|
|
1130
1209
|
/** Document.id of the searched Document. */
|
|
@@ -2696,6 +2775,8 @@ declare namespace gapi.client {
|
|
|
2696
2775
|
prettyPrint?: boolean;
|
|
2697
2776
|
/** 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. */
|
|
2698
2777
|
quotaUser?: string;
|
|
2778
|
+
/** Indicates which fields in the provided imported 'document' to update. If not set, will by default update all fields. */
|
|
2779
|
+
updateMask?: string;
|
|
2699
2780
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2700
2781
|
upload_protocol?: string;
|
|
2701
2782
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
@@ -2727,6 +2808,8 @@ declare namespace gapi.client {
|
|
|
2727
2808
|
prettyPrint?: boolean;
|
|
2728
2809
|
/** 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. */
|
|
2729
2810
|
quotaUser?: string;
|
|
2811
|
+
/** Indicates which fields in the provided imported 'document' to update. If not set, will by default update all fields. */
|
|
2812
|
+
updateMask?: string;
|
|
2730
2813
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2731
2814
|
upload_protocol?: string;
|
|
2732
2815
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
@@ -4772,7 +4855,7 @@ declare namespace gapi.client {
|
|
|
4772
4855
|
prettyPrint?: boolean;
|
|
4773
4856
|
/** Required. The typeahead input used to fetch suggestions. Maximum length is 128 characters. */
|
|
4774
4857
|
query?: string;
|
|
4775
|
-
/** Specifies the autocomplete data model. This overrides any model specified in the Configuration > Autocomplete section of the Cloud console. Currently supported values: * `document` - Using suggestions generated from user-imported documents. * `search-history` - Using suggestions generated from the past history of SearchService.Search API calls. Do not use it when there is no traffic for Search API. * `user-event` - Using suggestions generated from user-imported search events. * `document-completable` - Using suggestions taken directly from user-imported document fields marked as completable. Default values: * `document` is the default model for regular dataStores. * `search-history` is the default model for site search dataStores. */
|
|
4858
|
+
/** Specifies the autocomplete data model. This overrides any model specified in the Configuration > Autocomplete section of the Cloud console. Currently supported values: * `document` - Using suggestions generated from user-imported documents. * `search-history` - Using suggestions generated from the past history of SearchService.Search API calls. Do not use it when there is no traffic for Search API. * `user-event` - Using suggestions generated from user-imported search events. * `document-completable` - Using suggestions taken directly from user-imported document fields marked as completable. Default values: * `document` is the default model for regular dataStores. * `search-history` is the default model for site search dataStores. * */
|
|
4776
4859
|
queryModel?: string;
|
|
4777
4860
|
/** 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. */
|
|
4778
4861
|
quotaUser?: string;
|
|
@@ -6439,6 +6522,8 @@ declare namespace gapi.client {
|
|
|
6439
6522
|
prettyPrint?: boolean;
|
|
6440
6523
|
/** 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. */
|
|
6441
6524
|
quotaUser?: string;
|
|
6525
|
+
/** Indicates which fields in the provided imported 'document' to update. If not set, will by default update all fields. */
|
|
6526
|
+
updateMask?: string;
|
|
6442
6527
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6443
6528
|
upload_protocol?: string;
|
|
6444
6529
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
@@ -6470,6 +6555,8 @@ declare namespace gapi.client {
|
|
|
6470
6555
|
prettyPrint?: boolean;
|
|
6471
6556
|
/** 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. */
|
|
6472
6557
|
quotaUser?: string;
|
|
6558
|
+
/** Indicates which fields in the provided imported 'document' to update. If not set, will by default update all fields. */
|
|
6559
|
+
updateMask?: string;
|
|
6473
6560
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6474
6561
|
upload_protocol?: string;
|
|
6475
6562
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
@@ -8237,7 +8324,7 @@ declare namespace gapi.client {
|
|
|
8237
8324
|
prettyPrint?: boolean;
|
|
8238
8325
|
/** Required. The typeahead input used to fetch suggestions. Maximum length is 128 characters. */
|
|
8239
8326
|
query?: string;
|
|
8240
|
-
/** Specifies the autocomplete data model. This overrides any model specified in the Configuration > Autocomplete section of the Cloud console. Currently supported values: * `document` - Using suggestions generated from user-imported documents. * `search-history` - Using suggestions generated from the past history of SearchService.Search API calls. Do not use it when there is no traffic for Search API. * `user-event` - Using suggestions generated from user-imported search events. * `document-completable` - Using suggestions taken directly from user-imported document fields marked as completable. Default values: * `document` is the default model for regular dataStores. * `search-history` is the default model for site search dataStores. */
|
|
8327
|
+
/** Specifies the autocomplete data model. This overrides any model specified in the Configuration > Autocomplete section of the Cloud console. Currently supported values: * `document` - Using suggestions generated from user-imported documents. * `search-history` - Using suggestions generated from the past history of SearchService.Search API calls. Do not use it when there is no traffic for Search API. * `user-event` - Using suggestions generated from user-imported search events. * `document-completable` - Using suggestions taken directly from user-imported document fields marked as completable. Default values: * `document` is the default model for regular dataStores. * `search-history` is the default model for site search dataStores. * */
|
|
8241
8328
|
queryModel?: string;
|
|
8242
8329
|
/** 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. */
|
|
8243
8330
|
quotaUser?: string;
|
|
@@ -8710,6 +8797,91 @@ declare namespace gapi.client {
|
|
|
8710
8797
|
},
|
|
8711
8798
|
body: GoogleCloudDiscoveryengineV1alphaEstimateDataSizeRequest
|
|
8712
8799
|
): Request<GoogleLongrunningOperation>;
|
|
8800
|
+
/** Gets the AclConfig. */
|
|
8801
|
+
getAclConfig(request?: {
|
|
8802
|
+
/** V1 error format. */
|
|
8803
|
+
'$.xgafv'?: string;
|
|
8804
|
+
/** OAuth access token. */
|
|
8805
|
+
access_token?: string;
|
|
8806
|
+
/** Data format for response. */
|
|
8807
|
+
alt?: string;
|
|
8808
|
+
/** JSONP */
|
|
8809
|
+
callback?: string;
|
|
8810
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
8811
|
+
fields?: string;
|
|
8812
|
+
/** 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. */
|
|
8813
|
+
key?: string;
|
|
8814
|
+
/** Required. Resource name of AclConfig, such as `projects/*/locations/*/aclConfig`. If the caller does not have permission to access the AclConfig, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. */
|
|
8815
|
+
name: string;
|
|
8816
|
+
/** OAuth 2.0 token for the current user. */
|
|
8817
|
+
oauth_token?: string;
|
|
8818
|
+
/** Returns response with indentations and line breaks. */
|
|
8819
|
+
prettyPrint?: boolean;
|
|
8820
|
+
/** 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. */
|
|
8821
|
+
quotaUser?: string;
|
|
8822
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
8823
|
+
upload_protocol?: string;
|
|
8824
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
8825
|
+
uploadType?: string;
|
|
8826
|
+
}): Request<GoogleCloudDiscoveryengineV1alphaAclConfig>;
|
|
8827
|
+
/** Default Acl Configuration for use in a location of a customer's project. Updates will only reflect to new data stores. Existing data stores will still use the old value. */
|
|
8828
|
+
updateAclConfig(request: {
|
|
8829
|
+
/** V1 error format. */
|
|
8830
|
+
'$.xgafv'?: string;
|
|
8831
|
+
/** OAuth access token. */
|
|
8832
|
+
access_token?: string;
|
|
8833
|
+
/** Data format for response. */
|
|
8834
|
+
alt?: string;
|
|
8835
|
+
/** JSONP */
|
|
8836
|
+
callback?: string;
|
|
8837
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
8838
|
+
fields?: string;
|
|
8839
|
+
/** 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. */
|
|
8840
|
+
key?: string;
|
|
8841
|
+
/** Immutable. The full resource name of the acl configuration. Format: `projects/{project}/locations/{location}/aclConfig`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
|
|
8842
|
+
name: string;
|
|
8843
|
+
/** OAuth 2.0 token for the current user. */
|
|
8844
|
+
oauth_token?: string;
|
|
8845
|
+
/** Returns response with indentations and line breaks. */
|
|
8846
|
+
prettyPrint?: boolean;
|
|
8847
|
+
/** 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. */
|
|
8848
|
+
quotaUser?: string;
|
|
8849
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
8850
|
+
upload_protocol?: string;
|
|
8851
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
8852
|
+
uploadType?: string;
|
|
8853
|
+
/** Request body */
|
|
8854
|
+
resource: GoogleCloudDiscoveryengineV1alphaAclConfig;
|
|
8855
|
+
}): Request<GoogleCloudDiscoveryengineV1alphaAclConfig>;
|
|
8856
|
+
updateAclConfig(
|
|
8857
|
+
request: {
|
|
8858
|
+
/** V1 error format. */
|
|
8859
|
+
'$.xgafv'?: string;
|
|
8860
|
+
/** OAuth access token. */
|
|
8861
|
+
access_token?: string;
|
|
8862
|
+
/** Data format for response. */
|
|
8863
|
+
alt?: string;
|
|
8864
|
+
/** JSONP */
|
|
8865
|
+
callback?: string;
|
|
8866
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
8867
|
+
fields?: string;
|
|
8868
|
+
/** 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. */
|
|
8869
|
+
key?: string;
|
|
8870
|
+
/** Immutable. The full resource name of the acl configuration. Format: `projects/{project}/locations/{location}/aclConfig`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
|
|
8871
|
+
name: string;
|
|
8872
|
+
/** OAuth 2.0 token for the current user. */
|
|
8873
|
+
oauth_token?: string;
|
|
8874
|
+
/** Returns response with indentations and line breaks. */
|
|
8875
|
+
prettyPrint?: boolean;
|
|
8876
|
+
/** 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. */
|
|
8877
|
+
quotaUser?: string;
|
|
8878
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
8879
|
+
upload_protocol?: string;
|
|
8880
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
8881
|
+
uploadType?: string;
|
|
8882
|
+
},
|
|
8883
|
+
body: GoogleCloudDiscoveryengineV1alphaAclConfig
|
|
8884
|
+
): Request<GoogleCloudDiscoveryengineV1alphaAclConfig>;
|
|
8713
8885
|
collections: CollectionsResource;
|
|
8714
8886
|
dataStores: DataStoresResource;
|
|
8715
8887
|
operations: OperationsResource;
|