@googleapis/discoveryengine 7.0.0 → 8.0.0
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/CHANGELOG.md +22 -0
- package/build/v1alpha.d.ts +465 -109
- package/build/v1alpha.js +208 -0
- package/build/v1alpha.js.map +1 -1
- package/build/v1beta.d.ts +219 -109
- package/build/v1beta.js +32 -0
- package/build/v1beta.js.map +1 -1
- package/package.json +1 -1
- package/v1alpha.ts +1092 -216
- package/v1beta.ts +299 -105
package/build/v1alpha.d.ts
CHANGED
|
@@ -280,6 +280,46 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
280
280
|
*/
|
|
281
281
|
tableId?: string | null;
|
|
282
282
|
}
|
|
283
|
+
/**
|
|
284
|
+
* Chunk captures all raw metadata information of items to be recommended or searched in the chunk mode.
|
|
285
|
+
*/
|
|
286
|
+
export interface Schema$GoogleCloudDiscoveryengineV1alphaChunk {
|
|
287
|
+
/**
|
|
288
|
+
* Content is a string from a document (parsed content).
|
|
289
|
+
*/
|
|
290
|
+
content?: string | null;
|
|
291
|
+
/**
|
|
292
|
+
* Output only. This field is OUTPUT_ONLY. It contains derived data that are not in the original input document.
|
|
293
|
+
*/
|
|
294
|
+
derivedStructData?: {
|
|
295
|
+
[key: string]: any;
|
|
296
|
+
} | null;
|
|
297
|
+
/**
|
|
298
|
+
* Metadata of the document from the current chunk.
|
|
299
|
+
*/
|
|
300
|
+
documentMetadata?: Schema$GoogleCloudDiscoveryengineV1alphaChunkDocumentMetadata;
|
|
301
|
+
/**
|
|
302
|
+
* Unique chunk id of the current chunk.
|
|
303
|
+
*/
|
|
304
|
+
id?: string | null;
|
|
305
|
+
/**
|
|
306
|
+
* 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.
|
|
307
|
+
*/
|
|
308
|
+
name?: string | null;
|
|
309
|
+
}
|
|
310
|
+
/**
|
|
311
|
+
* Document metadata contains the information of the document of the current chunk.
|
|
312
|
+
*/
|
|
313
|
+
export interface Schema$GoogleCloudDiscoveryengineV1alphaChunkDocumentMetadata {
|
|
314
|
+
/**
|
|
315
|
+
* Title of the document.
|
|
316
|
+
*/
|
|
317
|
+
title?: string | null;
|
|
318
|
+
/**
|
|
319
|
+
* Uri of the document.
|
|
320
|
+
*/
|
|
321
|
+
uri?: string | null;
|
|
322
|
+
}
|
|
283
323
|
/**
|
|
284
324
|
* Request message for CompletionService.CompleteQuery method.
|
|
285
325
|
*/
|
|
@@ -655,11 +695,6 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
655
695
|
*/
|
|
656
696
|
updateTime?: string | null;
|
|
657
697
|
}
|
|
658
|
-
/**
|
|
659
|
-
* The digital parsing configurations for documents.
|
|
660
|
-
*/
|
|
661
|
-
export interface Schema$GoogleCloudDiscoveryengineV1alphaDigitalParsingConfig {
|
|
662
|
-
}
|
|
663
698
|
/**
|
|
664
699
|
* Metadata related to the progress of the SiteSearchEngineService.DisableAdvancedSiteSearch operation. This will be returned by the google.longrunning.Operation.metadata field.
|
|
665
700
|
*/
|
|
@@ -736,6 +771,9 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
736
771
|
* ACL Information of the Document.
|
|
737
772
|
*/
|
|
738
773
|
export interface Schema$GoogleCloudDiscoveryengineV1alphaDocumentAclInfo {
|
|
774
|
+
/**
|
|
775
|
+
* Readers of the document.
|
|
776
|
+
*/
|
|
739
777
|
readers?: Schema$GoogleCloudDiscoveryengineV1alphaDocumentAclInfoAccessRestriction[];
|
|
740
778
|
}
|
|
741
779
|
/**
|
|
@@ -793,6 +831,10 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
793
831
|
* A singleton resource of DataStore. It's empty when DataStore is created, which defaults to digital parser. The first call to DataStoreService.UpdateDocumentProcessingConfig method will initialize the config.
|
|
794
832
|
*/
|
|
795
833
|
export interface Schema$GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig {
|
|
834
|
+
/**
|
|
835
|
+
* Whether chunking mode is enabled.
|
|
836
|
+
*/
|
|
837
|
+
chunkingConfig?: Schema$GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfig;
|
|
796
838
|
/**
|
|
797
839
|
* 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.
|
|
798
840
|
*/
|
|
@@ -801,10 +843,6 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
801
843
|
* The full resource name of the Document Processing Config. Format: `projects/x/locations/x/collections/x/dataStores/x/documentProcessingConfig`.
|
|
802
844
|
*/
|
|
803
845
|
name?: string | null;
|
|
804
|
-
/**
|
|
805
|
-
* [DEPRECATED] This field is deprecated. To specify OCR parsing config, please specify `ocr_parsing_config` in `default_parsing_config` field The OCR config. Currently it only applies to PDFs.
|
|
806
|
-
*/
|
|
807
|
-
ocrConfig?: Schema$GoogleCloudDiscoveryengineV1alphaOcrConfig;
|
|
808
846
|
/**
|
|
809
847
|
* Map from file type to override the default parsing configuration based on the file type. Supported keys: * `pdf`: Override parsing config for PDF files, either digital parsing, ocr parsing or layout parsing is supported. * `html`: Override parsing config for HTML files, only digital parsing and or layout parsing are supported. * `docx`: Override parsing config for DOCX files, only digital parsing and or layout parsing are supported.
|
|
810
848
|
*/
|
|
@@ -812,6 +850,28 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
812
850
|
[key: string]: Schema$GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig;
|
|
813
851
|
} | null;
|
|
814
852
|
}
|
|
853
|
+
/**
|
|
854
|
+
* Configuration for chunking config.
|
|
855
|
+
*/
|
|
856
|
+
export interface Schema$GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfig {
|
|
857
|
+
/**
|
|
858
|
+
* Configuration for the layout based chunking.
|
|
859
|
+
*/
|
|
860
|
+
layoutBasedChunkingConfig?: Schema$GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig;
|
|
861
|
+
}
|
|
862
|
+
/**
|
|
863
|
+
* Configuration for the layout based chunking.
|
|
864
|
+
*/
|
|
865
|
+
export interface Schema$GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig {
|
|
866
|
+
/**
|
|
867
|
+
* The token size limit for each chunk. Supported values: 100-500 (inclusive). Default value: 500.
|
|
868
|
+
*/
|
|
869
|
+
chunkSize?: number | null;
|
|
870
|
+
/**
|
|
871
|
+
* Whether to include appending different levels of headings to chunks from the middle of the document to prevent context loss. Default value: False.
|
|
872
|
+
*/
|
|
873
|
+
includeAncestorHeadings?: boolean | null;
|
|
874
|
+
}
|
|
815
875
|
/**
|
|
816
876
|
* Related configurations applied to a specific type of document parser.
|
|
817
877
|
*/
|
|
@@ -819,15 +879,38 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
819
879
|
/**
|
|
820
880
|
* Configurations applied to digital parser.
|
|
821
881
|
*/
|
|
822
|
-
digitalParsingConfig?: Schema$
|
|
882
|
+
digitalParsingConfig?: Schema$GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigDigitalParsingConfig;
|
|
823
883
|
/**
|
|
824
884
|
* Configurations applied to layout parser.
|
|
825
885
|
*/
|
|
826
|
-
layoutParsingConfig?: Schema$
|
|
886
|
+
layoutParsingConfig?: Schema$GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayoutParsingConfig;
|
|
827
887
|
/**
|
|
828
888
|
* Configurations applied to OCR parser. Currently it only applies to PDFs.
|
|
829
889
|
*/
|
|
830
|
-
ocrParsingConfig?: Schema$
|
|
890
|
+
ocrParsingConfig?: Schema$GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigOcrParsingConfig;
|
|
891
|
+
}
|
|
892
|
+
/**
|
|
893
|
+
* The digital parsing configurations for documents.
|
|
894
|
+
*/
|
|
895
|
+
export interface Schema$GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigDigitalParsingConfig {
|
|
896
|
+
}
|
|
897
|
+
/**
|
|
898
|
+
* The layout parsing configurations for documents.
|
|
899
|
+
*/
|
|
900
|
+
export interface Schema$GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayoutParsingConfig {
|
|
901
|
+
}
|
|
902
|
+
/**
|
|
903
|
+
* The OCR parsing configurations for documents.
|
|
904
|
+
*/
|
|
905
|
+
export interface Schema$GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigOcrParsingConfig {
|
|
906
|
+
/**
|
|
907
|
+
* Apply additional enhanced OCR processing to a list of document elements. Supported values: * `table`: advanced table parsing model.
|
|
908
|
+
*/
|
|
909
|
+
enhancedDocumentElements?: string[] | null;
|
|
910
|
+
/**
|
|
911
|
+
* If true, will use native text instead of OCR text on pages containing native text.
|
|
912
|
+
*/
|
|
913
|
+
useNativeText?: boolean | null;
|
|
831
914
|
}
|
|
832
915
|
/**
|
|
833
916
|
* Double list.
|
|
@@ -874,10 +957,6 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
874
957
|
* Metadata that describes the training and serving parameters of an Engine.
|
|
875
958
|
*/
|
|
876
959
|
export interface Schema$GoogleCloudDiscoveryengineV1alphaEngine {
|
|
877
|
-
/**
|
|
878
|
-
* 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.
|
|
879
|
-
*/
|
|
880
|
-
allowMultipleDataStoresSearchEngine?: boolean | null;
|
|
881
960
|
/**
|
|
882
961
|
* Configurations for the Chat Engine. Only applicable if solution_type is SOLUTION_TYPE_CHAT.
|
|
883
962
|
*/
|
|
@@ -1475,9 +1554,17 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
1475
1554
|
minimum?: number | null;
|
|
1476
1555
|
}
|
|
1477
1556
|
/**
|
|
1478
|
-
*
|
|
1557
|
+
* Response message for ChunkService.ListChunks method.
|
|
1479
1558
|
*/
|
|
1480
|
-
export interface Schema$
|
|
1559
|
+
export interface Schema$GoogleCloudDiscoveryengineV1alphaListChunksResponse {
|
|
1560
|
+
/**
|
|
1561
|
+
* The Chunks.
|
|
1562
|
+
*/
|
|
1563
|
+
chunks?: Schema$GoogleCloudDiscoveryengineV1alphaChunk[];
|
|
1564
|
+
/**
|
|
1565
|
+
* A token that can be sent as ListChunksRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.
|
|
1566
|
+
*/
|
|
1567
|
+
nextPageToken?: string | null;
|
|
1481
1568
|
}
|
|
1482
1569
|
/**
|
|
1483
1570
|
* Response for ListConversations method.
|
|
@@ -1605,36 +1692,6 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
1605
1692
|
*/
|
|
1606
1693
|
mediaProgressPercentage?: number | null;
|
|
1607
1694
|
}
|
|
1608
|
-
/**
|
|
1609
|
-
* The OCR options for parsing documents.
|
|
1610
|
-
*/
|
|
1611
|
-
export interface Schema$GoogleCloudDiscoveryengineV1alphaOcrConfig {
|
|
1612
|
-
/**
|
|
1613
|
-
* Required. If OCR is enabled or not. OCR must be enabled for other OcrConfig options to apply. We will only perform OCR on the first 80 pages of the PDF files.
|
|
1614
|
-
*/
|
|
1615
|
-
enabled?: boolean | null;
|
|
1616
|
-
/**
|
|
1617
|
-
* Apply additional enhanced OCR processing to a list of document elements. Supported values: * `table`: advanced table parsing model.
|
|
1618
|
-
*/
|
|
1619
|
-
enhancedDocumentElements?: string[] | null;
|
|
1620
|
-
/**
|
|
1621
|
-
* If true, will use native text instead of OCR text on pages containing native text.
|
|
1622
|
-
*/
|
|
1623
|
-
useNativeText?: boolean | null;
|
|
1624
|
-
}
|
|
1625
|
-
/**
|
|
1626
|
-
* The OCR parsing configurations for documents.
|
|
1627
|
-
*/
|
|
1628
|
-
export interface Schema$GoogleCloudDiscoveryengineV1alphaOcrParsingConfig {
|
|
1629
|
-
/**
|
|
1630
|
-
* Apply additional enhanced OCR processing to a list of document elements. Supported values: * `table`: advanced table parsing model.
|
|
1631
|
-
*/
|
|
1632
|
-
enhancedDocumentElements?: string[] | null;
|
|
1633
|
-
/**
|
|
1634
|
-
* If true, will use native text instead of OCR text on pages containing native text.
|
|
1635
|
-
*/
|
|
1636
|
-
useNativeText?: boolean | null;
|
|
1637
|
-
}
|
|
1638
1695
|
/**
|
|
1639
1696
|
* Detailed page information.
|
|
1640
1697
|
*/
|
|
@@ -1695,6 +1752,19 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
1695
1752
|
*/
|
|
1696
1753
|
userId?: string | null;
|
|
1697
1754
|
}
|
|
1755
|
+
/**
|
|
1756
|
+
* Document captures all raw metadata information of items to be recommended or searched.
|
|
1757
|
+
*/
|
|
1758
|
+
export interface Schema$GoogleCloudDiscoveryengineV1alphaProcessedDocument {
|
|
1759
|
+
/**
|
|
1760
|
+
* Required. Full resource name of the referenced document, in the format `projects/x/locations/x/collections/x/dataStores/x/branches/x/documents/x`.
|
|
1761
|
+
*/
|
|
1762
|
+
document?: string | null;
|
|
1763
|
+
/**
|
|
1764
|
+
* The JSON string representation of the processed document.
|
|
1765
|
+
*/
|
|
1766
|
+
jsonData?: string | null;
|
|
1767
|
+
}
|
|
1698
1768
|
/**
|
|
1699
1769
|
* Metadata related to the progress of the PurgeDocuments operation. This will be returned by the google.longrunning.Operation.metadata field.
|
|
1700
1770
|
*/
|
|
@@ -2098,6 +2168,10 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
2098
2168
|
* Custom fine tuning configs.
|
|
2099
2169
|
*/
|
|
2100
2170
|
customFineTuningSpec?: Schema$GoogleCloudDiscoveryengineV1alphaCustomFineTuningSpec;
|
|
2171
|
+
/**
|
|
2172
|
+
* A list of data store specs to apply on a search call.
|
|
2173
|
+
*/
|
|
2174
|
+
dataStoreSpecs?: Schema$GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec[];
|
|
2101
2175
|
/**
|
|
2102
2176
|
* Uses the provided embedding to do additional semantic document retrieval. The retrieval is based on the dot product of SearchRequest.EmbeddingSpec.EmbeddingVector.vector and the document embedding that is provided in SearchRequest.EmbeddingSpec.EmbeddingVector.field_path. If SearchRequest.EmbeddingSpec.EmbeddingVector.field_path is not provided, it will use ServingConfig.EmbeddingConfig.field_path.
|
|
2103
2177
|
*/
|
|
@@ -2189,11 +2263,11 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
2189
2263
|
*/
|
|
2190
2264
|
export interface Schema$GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpec {
|
|
2191
2265
|
/**
|
|
2192
|
-
* Strength of the condition boost, which should be in [-1, 1]. Negative boost means demotion. Default is 0.0. Setting to 1.0 gives the document a big promotion. However, it does not necessarily mean that the boosted document will be the top result at all times, nor that other documents will be excluded. Results could still be shown even when none of them matches the condition. And results that are significantly more relevant to the search query can still trump your heavily favored but irrelevant documents. Setting to -1.0 gives the document a big demotion. However, results that are deeply relevant might still be shown. The document will have an upstream battle to get a fairly high ranking, but it is not blocked out completely. Setting to 0.0 means no boost applied. The boosting condition is ignored.
|
|
2266
|
+
* Strength of the condition boost, which should be in [-1, 1]. Negative boost means demotion. Default is 0.0. Setting to 1.0 gives the document a big promotion. However, it does not necessarily mean that the boosted document will be the top result at all times, nor that other documents will be excluded. Results could still be shown even when none of them matches the condition. And results that are significantly more relevant to the search query can still trump your heavily favored but irrelevant documents. Setting to -1.0 gives the document a big demotion. However, results that are deeply relevant might still be shown. The document will have an upstream battle to get a fairly high ranking, but it is not blocked out completely. Setting to 0.0 means no boost applied. The boosting condition is ignored. Only one of the (condition, boost) combination or the boost_control_spec below are set. If both are set then the global boost is ignored and the more fine-grained boost_control_spec is applied.
|
|
2193
2267
|
*/
|
|
2194
2268
|
boost?: number | null;
|
|
2195
2269
|
/**
|
|
2196
|
-
* An expression which specifies a boost condition. The syntax and supported fields are the same as a filter expression. See SearchRequest.filter for detail syntax and limitations. Examples: * To boost documents with document ID "doc_1" or "doc_2", and color "Red" or "Blue":
|
|
2270
|
+
* An expression which specifies a boost condition. The syntax and supported fields are the same as a filter expression. See SearchRequest.filter for detail syntax and limitations. Examples: * To boost documents with document ID "doc_1" or "doc_2", and color "Red" or "Blue": `(document_id: ANY("doc_1", "doc_2")) AND (color: ANY("Red", "Blue"))`
|
|
2197
2271
|
*/
|
|
2198
2272
|
condition?: string | null;
|
|
2199
2273
|
}
|
|
@@ -2205,6 +2279,10 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
2205
2279
|
* If there is no extractive_content_spec provided, there will be no extractive answer in the search response.
|
|
2206
2280
|
*/
|
|
2207
2281
|
extractiveContentSpec?: Schema$GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecExtractiveContentSpec;
|
|
2282
|
+
/**
|
|
2283
|
+
* 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`.
|
|
2284
|
+
*/
|
|
2285
|
+
searchResultMode?: string | null;
|
|
2208
2286
|
/**
|
|
2209
2287
|
* If `snippetSpec` is not specified, snippets are not included in the search response.
|
|
2210
2288
|
*/
|
|
@@ -2234,6 +2312,10 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
2234
2312
|
* Specifies whether to also include the adjacent from each selected segments. Return at most `num_previous_segments` segments before each selected segments.
|
|
2235
2313
|
*/
|
|
2236
2314
|
numPreviousSegments?: number | null;
|
|
2315
|
+
/**
|
|
2316
|
+
* Specifies whether to return the confidence score from the extractive segments in each search result. This feature is available only for new or allowlisted data stores. To allowlist your data store, please contact your Customer Engineer. The default value is `false`.
|
|
2317
|
+
*/
|
|
2318
|
+
returnExtractiveSegmentScore?: boolean | null;
|
|
2237
2319
|
}
|
|
2238
2320
|
/**
|
|
2239
2321
|
* A specification for configuring snippets in a search response.
|
|
@@ -2281,9 +2363,13 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
2281
2363
|
*/
|
|
2282
2364
|
modelSpec?: Schema$GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecModelSpec;
|
|
2283
2365
|
/**
|
|
2284
|
-
* The number of top results to generate the summary from. If the number of results returned is less than `summaryResultCount`, the summary is generated from all of the results. At most
|
|
2366
|
+
* The number of top results to generate the summary from. If the number of results returned is less than `summaryResultCount`, the summary is generated from all of the results. At most 10 results can be used to generate a summary.
|
|
2285
2367
|
*/
|
|
2286
2368
|
summaryResultCount?: number | null;
|
|
2369
|
+
/**
|
|
2370
|
+
* If true, answer will be generated from most relevant chunks from top search results. This feature will improve summary quality. Please note that with this feature enabled, not all top search results will be referenced and included in the reference list, so the citation source index only points to the search results listed in the reference list.
|
|
2371
|
+
*/
|
|
2372
|
+
useSemanticChunks?: boolean | null;
|
|
2287
2373
|
}
|
|
2288
2374
|
/**
|
|
2289
2375
|
* Specification of the prompt to use with the model.
|
|
@@ -2299,10 +2385,19 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
2299
2385
|
*/
|
|
2300
2386
|
export interface Schema$GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecModelSpec {
|
|
2301
2387
|
/**
|
|
2302
|
-
* The model version used to generate the summary. Supported values are: * `stable`: string. Default value when no value is specified. Uses a generally available, fine-tuned
|
|
2388
|
+
* The model version used to generate the summary. Supported values are: * `stable`: string. Default value when no value is specified. Uses a generally available, fine-tuned model. For more information, see [Answer generation model versions and lifecycle](https://cloud.google.com/generative-ai-app-builder/docs/answer-generation-models). * `preview`: string. (Public preview) Uses a preview model. For more information, see [Answer generation model versions and lifecycle](https://cloud.google.com/generative-ai-app-builder/docs/answer-generation-models).
|
|
2303
2389
|
*/
|
|
2304
2390
|
version?: string | null;
|
|
2305
2391
|
}
|
|
2392
|
+
/**
|
|
2393
|
+
* A struct to define data stores to filter on in a search call.
|
|
2394
|
+
*/
|
|
2395
|
+
export interface Schema$GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec {
|
|
2396
|
+
/**
|
|
2397
|
+
* Required. Full resource name of DataStore, such as `projects/{project\}/locations/{location\}/collections/{collection_id\}/dataStores/{data_store_id\}`.
|
|
2398
|
+
*/
|
|
2399
|
+
dataStore?: string | null;
|
|
2400
|
+
}
|
|
2306
2401
|
/**
|
|
2307
2402
|
* The specification that uses customized query embedding vector to do semantic document retrieval.
|
|
2308
2403
|
*/
|
|
@@ -2550,6 +2645,10 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
2550
2645
|
* Represents the search results.
|
|
2551
2646
|
*/
|
|
2552
2647
|
export interface Schema$GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResult {
|
|
2648
|
+
/**
|
|
2649
|
+
* The chunk data in the search response if the SearchRequest.ContentSearchSpec.search_result_mode is set to CHUNKS.
|
|
2650
|
+
*/
|
|
2651
|
+
chunk?: Schema$GoogleCloudDiscoveryengineV1alphaChunk;
|
|
2553
2652
|
/**
|
|
2554
2653
|
* The document data snippet in the search response. Only fields that are marked as retrievable are populated.
|
|
2555
2654
|
*/
|
|
@@ -2725,7 +2824,7 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
2725
2824
|
*/
|
|
2726
2825
|
modelId?: string | null;
|
|
2727
2826
|
/**
|
|
2728
|
-
* Immutable. Fully qualified name `projects/{project\}/locations/{location\}/collections/{collection_id\}/
|
|
2827
|
+
* Immutable. Fully qualified name `projects/{project\}/locations/{location\}/collections/{collection_id\}/engines/{engine_id\}/servingConfigs/{serving_config_id\}`
|
|
2729
2828
|
*/
|
|
2730
2829
|
name?: string | null;
|
|
2731
2830
|
/**
|
|
@@ -2774,10 +2873,6 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
2774
2873
|
* Specifies the content freshness used for recommendation result. Contents will be demoted if contents were published for more than content freshness cutoff days.
|
|
2775
2874
|
*/
|
|
2776
2875
|
contentFreshnessCutoffDays?: number | null;
|
|
2777
|
-
/**
|
|
2778
|
-
* Specifies the content watched minutes threshold for demotion.
|
|
2779
|
-
*/
|
|
2780
|
-
contentWatchedMinutesThreshold?: number | null;
|
|
2781
2876
|
/**
|
|
2782
2877
|
* Specifies the content watched percentage threshold for demotion. Threshold value must be between [0, 1.0] inclusive.
|
|
2783
2878
|
*/
|
|
@@ -2933,11 +3028,11 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
2933
3028
|
*/
|
|
2934
3029
|
export interface Schema$GoogleCloudDiscoveryengineV1alphaTrainCustomModelRequestGcsTrainingInput {
|
|
2935
3030
|
/**
|
|
2936
|
-
* The Cloud Storage corpus data which could be associated in train data. The data path format is gs
|
|
3031
|
+
* The Cloud Storage corpus data which could be associated in train data. The data path format is `gs:///`. A newline delimited jsonl/ndjson file. For search-tuning model, each line should have the _id, title and text. Example: `{"_id": "doc1", title: "relevant doc", "text": "relevant text"\}`
|
|
2937
3032
|
*/
|
|
2938
3033
|
corpusDataPath?: string | null;
|
|
2939
3034
|
/**
|
|
2940
|
-
* The gcs query data which could be associated in train data. The data path format is gs
|
|
3035
|
+
* The gcs query data which could be associated in train data. The data path format is `gs:///`. A newline delimited jsonl/ndjson file. For search-tuning model, each line should have the _id and text. Example: {"_id": "query1", "text": "example query"\}
|
|
2941
3036
|
*/
|
|
2942
3037
|
queryDataPath?: string | null;
|
|
2943
3038
|
/**
|
|
@@ -2945,7 +3040,7 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
2945
3040
|
*/
|
|
2946
3041
|
testDataPath?: string | null;
|
|
2947
3042
|
/**
|
|
2948
|
-
* Cloud Storage training data path whose format should be gs
|
|
3043
|
+
* Cloud Storage training data path whose format should be `gs:///`. The file should be in tsv format. Each line should have the doc_id and query_id and score (number). For search-tuning model, it should have the query-id corpus-id score as tsv file header. The score should be a number in `[0, inf+)`. The larger the number is, the more relevant the pair is. Example: * `query-id\tcorpus-id\tscore` * `query1\tdoc1\t1`
|
|
2949
3044
|
*/
|
|
2950
3045
|
trainDataPath?: string | null;
|
|
2951
3046
|
}
|
|
@@ -3183,6 +3278,10 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
3183
3278
|
* Whether allow no-auth integration with widget. If set true, public access to search or other solutions from widget is allowed without authenication token provided by customer hosted backend server.
|
|
3184
3279
|
*/
|
|
3185
3280
|
allowPublicAccess?: boolean | null;
|
|
3281
|
+
/**
|
|
3282
|
+
* Output only. Collection components that lists all collections and child data stores associated with the widget config, those data sources can be used for filtering in widget service APIs, users can return results that from selected data sources.
|
|
3283
|
+
*/
|
|
3284
|
+
collectionComponents?: Schema$GoogleCloudDiscoveryengineV1alphaWidgetConfigCollectionComponent[];
|
|
3186
3285
|
/**
|
|
3187
3286
|
* Output only. Unique obfuscated identifier of a WidgetConfig.
|
|
3188
3287
|
*/
|
|
@@ -3199,6 +3298,10 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
3199
3298
|
* Output only. The type of the parent data store.
|
|
3200
3299
|
*/
|
|
3201
3300
|
dataStoreType?: string | null;
|
|
3301
|
+
/**
|
|
3302
|
+
* Configurable UI configurations per data store.
|
|
3303
|
+
*/
|
|
3304
|
+
dataStoreUiConfigs?: Schema$GoogleCloudDiscoveryengineV1alphaWidgetConfigDataStoreUiConfig[];
|
|
3202
3305
|
/**
|
|
3203
3306
|
* Required. The human readable widget config display name. Used in Discovery UI. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.
|
|
3204
3307
|
*/
|
|
@@ -3274,6 +3377,67 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
3274
3377
|
*/
|
|
3275
3378
|
updateTime?: string | null;
|
|
3276
3379
|
}
|
|
3380
|
+
/**
|
|
3381
|
+
* Read-only collection component that contains data store collections fields that may be used for filtering
|
|
3382
|
+
*/
|
|
3383
|
+
export interface Schema$GoogleCloudDiscoveryengineV1alphaWidgetConfigCollectionComponent {
|
|
3384
|
+
/**
|
|
3385
|
+
* For the data store collection, list of the children data stores.
|
|
3386
|
+
*/
|
|
3387
|
+
dataStoreComponents?: Schema$GoogleCloudDiscoveryengineV1alphaWidgetConfigDataStoreComponent[];
|
|
3388
|
+
/**
|
|
3389
|
+
* The display name of the collection.
|
|
3390
|
+
*/
|
|
3391
|
+
displayName?: string | null;
|
|
3392
|
+
/**
|
|
3393
|
+
* Output only. the identifier of the collection, used for widget service. For now it refers to collection_id, in the future we will migrate the field to encrypted collection name UUID.
|
|
3394
|
+
*/
|
|
3395
|
+
id?: string | null;
|
|
3396
|
+
/**
|
|
3397
|
+
* The name of the collection. It should be collection resource name. Format: `projects/{project_number\}/locations/{location\}/collections/{collection_id\}`. For widget service usage, such look up widget config, returned name should be skipped.
|
|
3398
|
+
*/
|
|
3399
|
+
name?: string | null;
|
|
3400
|
+
}
|
|
3401
|
+
/**
|
|
3402
|
+
* Read-only data store component that contains data stores fields that may be used for filtering, it's the child of `CollectionComponent`.
|
|
3403
|
+
*/
|
|
3404
|
+
export interface Schema$GoogleCloudDiscoveryengineV1alphaWidgetConfigDataStoreComponent {
|
|
3405
|
+
/**
|
|
3406
|
+
* The display name of the data store.
|
|
3407
|
+
*/
|
|
3408
|
+
displayName?: string | null;
|
|
3409
|
+
/**
|
|
3410
|
+
* Output only. the identifier of the data store, used for widget service. For now it refers to data_store_id, in the future we will migrate the field to encrypted data store name UUID.
|
|
3411
|
+
*/
|
|
3412
|
+
id?: string | null;
|
|
3413
|
+
/**
|
|
3414
|
+
* The name of the data store. It should be data store resource name Format: `projects/{project_number\}/locations/{location\}/collections/{collection_id\}/dataStores/{data_store_id\}`. For widget service usage, such look up widget config, returned name should be skipped.
|
|
3415
|
+
*/
|
|
3416
|
+
name?: string | null;
|
|
3417
|
+
}
|
|
3418
|
+
/**
|
|
3419
|
+
* UI component configuration for data store.
|
|
3420
|
+
*/
|
|
3421
|
+
export interface Schema$GoogleCloudDiscoveryengineV1alphaWidgetConfigDataStoreUiConfig {
|
|
3422
|
+
/**
|
|
3423
|
+
* Facet fields that store the mapping of fields to end user widget appearance.
|
|
3424
|
+
*/
|
|
3425
|
+
facetField?: Schema$GoogleCloudDiscoveryengineV1alphaWidgetConfigFacetField[];
|
|
3426
|
+
/**
|
|
3427
|
+
* The key is the UI component. Mock. Currently supported `title`, `thumbnail`, `url`, `custom1`, `custom2`, `custom3`. The value is the name of the field along with its device visibility. The 3 custom fields are optional and can be added or removed. `title`, `thumbnail`, `url` are required UI components that cannot be removed.
|
|
3428
|
+
*/
|
|
3429
|
+
fieldsUiComponentsMap?: {
|
|
3430
|
+
[key: string]: Schema$GoogleCloudDiscoveryengineV1alphaWidgetConfigUIComponentField;
|
|
3431
|
+
} | null;
|
|
3432
|
+
/**
|
|
3433
|
+
* Output only. the identifier of the data store, used for widget service. For now it refers to data_store_id, in the future we will migrate the field to encrypted data store name UUID.
|
|
3434
|
+
*/
|
|
3435
|
+
id?: string | null;
|
|
3436
|
+
/**
|
|
3437
|
+
* The name of the data store. It should be data store resource name Format: `projects/{project_number\}/locations/{location\}/collections/{collection_id\}/dataStores/{data_store_id\}`. For widget service usage, such look up widget config, returned name should be skipped.
|
|
3438
|
+
*/
|
|
3439
|
+
name?: string | null;
|
|
3440
|
+
}
|
|
3277
3441
|
/**
|
|
3278
3442
|
* Facet fields that store the mapping of fields to end user widget appearance.
|
|
3279
3443
|
*/
|
|
@@ -3561,11 +3725,6 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
3561
3725
|
*/
|
|
3562
3726
|
updateTime?: string | null;
|
|
3563
3727
|
}
|
|
3564
|
-
/**
|
|
3565
|
-
* The digital parsing configurations for documents.
|
|
3566
|
-
*/
|
|
3567
|
-
export interface Schema$GoogleCloudDiscoveryengineV1betaDigitalParsingConfig {
|
|
3568
|
-
}
|
|
3569
3728
|
/**
|
|
3570
3729
|
* Metadata related to the progress of the SiteSearchEngineService.DisableAdvancedSiteSearch operation. This will be returned by the google.longrunning.Operation.metadata field.
|
|
3571
3730
|
*/
|
|
@@ -3610,11 +3769,29 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
3610
3769
|
/**
|
|
3611
3770
|
* Configurations applied to digital parser.
|
|
3612
3771
|
*/
|
|
3613
|
-
digitalParsingConfig?: Schema$
|
|
3772
|
+
digitalParsingConfig?: Schema$GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigDigitalParsingConfig;
|
|
3614
3773
|
/**
|
|
3615
3774
|
* Configurations applied to OCR parser. Currently it only applies to PDFs.
|
|
3616
3775
|
*/
|
|
3617
|
-
ocrParsingConfig?: Schema$
|
|
3776
|
+
ocrParsingConfig?: Schema$GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigOcrParsingConfig;
|
|
3777
|
+
}
|
|
3778
|
+
/**
|
|
3779
|
+
* The digital parsing configurations for documents.
|
|
3780
|
+
*/
|
|
3781
|
+
export interface Schema$GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigDigitalParsingConfig {
|
|
3782
|
+
}
|
|
3783
|
+
/**
|
|
3784
|
+
* The OCR parsing configurations for documents.
|
|
3785
|
+
*/
|
|
3786
|
+
export interface Schema$GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigOcrParsingConfig {
|
|
3787
|
+
/**
|
|
3788
|
+
* Apply additional enhanced OCR processing to a list of document elements. Supported values: * `table`: advanced table parsing model.
|
|
3789
|
+
*/
|
|
3790
|
+
enhancedDocumentElements?: string[] | null;
|
|
3791
|
+
/**
|
|
3792
|
+
* If true, will use native text instead of OCR text on pages containing native text.
|
|
3793
|
+
*/
|
|
3794
|
+
useNativeText?: boolean | null;
|
|
3618
3795
|
}
|
|
3619
3796
|
/**
|
|
3620
3797
|
* Metadata related to the progress of the SiteSearchEngineService.EnableAdvancedSiteSearch operation. This will be returned by the google.longrunning.Operation.metadata field.
|
|
@@ -3863,19 +4040,6 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
3863
4040
|
*/
|
|
3864
4041
|
unjoinedEventsCount?: string | null;
|
|
3865
4042
|
}
|
|
3866
|
-
/**
|
|
3867
|
-
* The OCR parsing configurations for documents.
|
|
3868
|
-
*/
|
|
3869
|
-
export interface Schema$GoogleCloudDiscoveryengineV1betaOcrParsingConfig {
|
|
3870
|
-
/**
|
|
3871
|
-
* Apply additional enhanced OCR processing to a list of document elements. Supported values: * `table`: advanced table parsing model.
|
|
3872
|
-
*/
|
|
3873
|
-
enhancedDocumentElements?: string[] | null;
|
|
3874
|
-
/**
|
|
3875
|
-
* If true, will use native text instead of OCR text on pages containing native text.
|
|
3876
|
-
*/
|
|
3877
|
-
useNativeText?: boolean | null;
|
|
3878
|
-
}
|
|
3879
4043
|
/**
|
|
3880
4044
|
* Metadata related to the progress of the PurgeDocuments operation. This will be returned by the google.longrunning.Operation.metadata field.
|
|
3881
4045
|
*/
|
|
@@ -4031,6 +4195,36 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
4031
4195
|
*/
|
|
4032
4196
|
totalRequiredQuota?: string | null;
|
|
4033
4197
|
}
|
|
4198
|
+
/**
|
|
4199
|
+
* Metadata related to the progress of the TrainCustomModel operation. This is returned by the google.longrunning.Operation.metadata field.
|
|
4200
|
+
*/
|
|
4201
|
+
export interface Schema$GoogleCloudDiscoveryengineV1betaTrainCustomModelMetadata {
|
|
4202
|
+
/**
|
|
4203
|
+
* Operation create time.
|
|
4204
|
+
*/
|
|
4205
|
+
createTime?: string | null;
|
|
4206
|
+
/**
|
|
4207
|
+
* Operation last update time. If the operation is done, this is also the finish time.
|
|
4208
|
+
*/
|
|
4209
|
+
updateTime?: string | null;
|
|
4210
|
+
}
|
|
4211
|
+
/**
|
|
4212
|
+
* Response of the TrainCustomModelRequest. This message is returned by the google.longrunning.Operations.response field.
|
|
4213
|
+
*/
|
|
4214
|
+
export interface Schema$GoogleCloudDiscoveryengineV1betaTrainCustomModelResponse {
|
|
4215
|
+
/**
|
|
4216
|
+
* Echoes the destination for the complete errors in the request if set.
|
|
4217
|
+
*/
|
|
4218
|
+
errorConfig?: Schema$GoogleCloudDiscoveryengineV1betaImportErrorConfig;
|
|
4219
|
+
/**
|
|
4220
|
+
* A sample of errors encountered while processing the data.
|
|
4221
|
+
*/
|
|
4222
|
+
errorSamples?: Schema$GoogleRpcStatus[];
|
|
4223
|
+
/**
|
|
4224
|
+
* The trained model status. Possible values are: * **bad-data**: The training data quality is bad. * **no-improvement**: Tuning didn't improve performance. Won't deploy. * **in-progress**: Model training is in progress. * **ready**: The model is ready for serving.
|
|
4225
|
+
*/
|
|
4226
|
+
modelStatus?: string | null;
|
|
4227
|
+
}
|
|
4034
4228
|
/**
|
|
4035
4229
|
* Metadata for UpdateSchema LRO.
|
|
4036
4230
|
*/
|
|
@@ -4202,11 +4396,6 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
4202
4396
|
*/
|
|
4203
4397
|
updateTime?: string | null;
|
|
4204
4398
|
}
|
|
4205
|
-
/**
|
|
4206
|
-
* The digital parsing configurations for documents.
|
|
4207
|
-
*/
|
|
4208
|
-
export interface Schema$GoogleCloudDiscoveryengineV1DigitalParsingConfig {
|
|
4209
|
-
}
|
|
4210
4399
|
/**
|
|
4211
4400
|
* Metadata related to the progress of the SiteSearchEngineService.DisableAdvancedSiteSearch operation. This will be returned by the google.longrunning.Operation.metadata field.
|
|
4212
4401
|
*/
|
|
@@ -4251,11 +4440,29 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
4251
4440
|
/**
|
|
4252
4441
|
* Configurations applied to digital parser.
|
|
4253
4442
|
*/
|
|
4254
|
-
digitalParsingConfig?: Schema$
|
|
4443
|
+
digitalParsingConfig?: Schema$GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigDigitalParsingConfig;
|
|
4255
4444
|
/**
|
|
4256
4445
|
* Configurations applied to OCR parser. Currently it only applies to PDFs.
|
|
4257
4446
|
*/
|
|
4258
|
-
ocrParsingConfig?: Schema$
|
|
4447
|
+
ocrParsingConfig?: Schema$GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigOcrParsingConfig;
|
|
4448
|
+
}
|
|
4449
|
+
/**
|
|
4450
|
+
* The digital parsing configurations for documents.
|
|
4451
|
+
*/
|
|
4452
|
+
export interface Schema$GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigDigitalParsingConfig {
|
|
4453
|
+
}
|
|
4454
|
+
/**
|
|
4455
|
+
* The OCR parsing configurations for documents.
|
|
4456
|
+
*/
|
|
4457
|
+
export interface Schema$GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigOcrParsingConfig {
|
|
4458
|
+
/**
|
|
4459
|
+
* Apply additional enhanced OCR processing to a list of document elements. Supported values: * `table`: advanced table parsing model.
|
|
4460
|
+
*/
|
|
4461
|
+
enhancedDocumentElements?: string[] | null;
|
|
4462
|
+
/**
|
|
4463
|
+
* If true, will use native text instead of OCR text on pages containing native text.
|
|
4464
|
+
*/
|
|
4465
|
+
useNativeText?: boolean | null;
|
|
4259
4466
|
}
|
|
4260
4467
|
/**
|
|
4261
4468
|
* Metadata related to the progress of the SiteSearchEngineService.EnableAdvancedSiteSearch operation. This will be returned by the google.longrunning.Operation.metadata field.
|
|
@@ -4504,19 +4711,6 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
4504
4711
|
*/
|
|
4505
4712
|
unjoinedEventsCount?: string | null;
|
|
4506
4713
|
}
|
|
4507
|
-
/**
|
|
4508
|
-
* The OCR parsing configurations for documents.
|
|
4509
|
-
*/
|
|
4510
|
-
export interface Schema$GoogleCloudDiscoveryengineV1OcrParsingConfig {
|
|
4511
|
-
/**
|
|
4512
|
-
* Apply additional enhanced OCR processing to a list of document elements. Supported values: * `table`: advanced table parsing model.
|
|
4513
|
-
*/
|
|
4514
|
-
enhancedDocumentElements?: string[] | null;
|
|
4515
|
-
/**
|
|
4516
|
-
* If true, will use native text instead of OCR text on pages containing native text.
|
|
4517
|
-
*/
|
|
4518
|
-
useNativeText?: boolean | null;
|
|
4519
|
-
}
|
|
4520
4714
|
/**
|
|
4521
4715
|
* Metadata related to the progress of the PurgeDocuments operation. This will be returned by the google.longrunning.Operation.metadata field.
|
|
4522
4716
|
*/
|
|
@@ -5312,6 +5506,7 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
5312
5506
|
}
|
|
5313
5507
|
export class Resource$Projects$Locations$Collections$Datastores$Branches$Documents {
|
|
5314
5508
|
context: APIRequestContext;
|
|
5509
|
+
chunks: Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Chunks;
|
|
5315
5510
|
constructor(context: APIRequestContext);
|
|
5316
5511
|
/**
|
|
5317
5512
|
* Creates a Document.
|
|
@@ -5355,6 +5550,20 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
5355
5550
|
get(params: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Get, options: MethodOptions | BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaDocument>, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaDocument>): void;
|
|
5356
5551
|
get(params: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Get, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaDocument>): void;
|
|
5357
5552
|
get(callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaDocument>): void;
|
|
5553
|
+
/**
|
|
5554
|
+
* Gets the parsed layout information for a Document.
|
|
5555
|
+
*
|
|
5556
|
+
* @param params - Parameters for request
|
|
5557
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
5558
|
+
* @param callback - Optional callback that handles the response.
|
|
5559
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5560
|
+
*/
|
|
5561
|
+
getProcessedDocument(params: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Getprocesseddocument, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
5562
|
+
getProcessedDocument(params?: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Getprocesseddocument, options?: MethodOptions): GaxiosPromise<Schema$GoogleCloudDiscoveryengineV1alphaProcessedDocument>;
|
|
5563
|
+
getProcessedDocument(params: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Getprocesseddocument, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
5564
|
+
getProcessedDocument(params: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Getprocesseddocument, options: MethodOptions | BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaProcessedDocument>, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaProcessedDocument>): void;
|
|
5565
|
+
getProcessedDocument(params: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Getprocesseddocument, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaProcessedDocument>): void;
|
|
5566
|
+
getProcessedDocument(callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaProcessedDocument>): void;
|
|
5358
5567
|
/**
|
|
5359
5568
|
* Bulk import of multiple Documents. Request processing may be synchronous. Non-existing items will be created. Note: It is possible for a subset of the Documents to be successfully updated.
|
|
5360
5569
|
*
|
|
@@ -5438,6 +5647,20 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
5438
5647
|
*/
|
|
5439
5648
|
name?: string;
|
|
5440
5649
|
}
|
|
5650
|
+
export interface Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Getprocesseddocument extends StandardParameters {
|
|
5651
|
+
/**
|
|
5652
|
+
* Required. Full resource name of Document, such as `projects/{project\}/locations/{location\}/collections/{collection\}/dataStores/{data_store\}/branches/{branch\}/documents/{document\}`. If the caller does not have permission to access the Document, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. If the requested Document does not exist, a `NOT_FOUND` error is returned.
|
|
5653
|
+
*/
|
|
5654
|
+
name?: string;
|
|
5655
|
+
/**
|
|
5656
|
+
* What format output should be. If unspecified, defaults to JSON.
|
|
5657
|
+
*/
|
|
5658
|
+
processedDocumentFormat?: string;
|
|
5659
|
+
/**
|
|
5660
|
+
* Required. What type of processing to return.
|
|
5661
|
+
*/
|
|
5662
|
+
processedDocumentType?: string;
|
|
5663
|
+
}
|
|
5441
5664
|
export interface Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Import extends StandardParameters {
|
|
5442
5665
|
/**
|
|
5443
5666
|
* Required. The parent branch resource name, such as `projects/{project\}/locations/{location\}/collections/{collection\}/dataStores/{data_store\}/branches/{branch\}`. Requires create/update permission.
|
|
@@ -5490,6 +5713,58 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
5490
5713
|
*/
|
|
5491
5714
|
requestBody?: Schema$GoogleCloudDiscoveryengineV1alphaPurgeDocumentsRequest;
|
|
5492
5715
|
}
|
|
5716
|
+
export class Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Chunks {
|
|
5717
|
+
context: APIRequestContext;
|
|
5718
|
+
constructor(context: APIRequestContext);
|
|
5719
|
+
/**
|
|
5720
|
+
* Gets a Document.
|
|
5721
|
+
*
|
|
5722
|
+
* @param params - Parameters for request
|
|
5723
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
5724
|
+
* @param callback - Optional callback that handles the response.
|
|
5725
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5726
|
+
*/
|
|
5727
|
+
get(params: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Chunks$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
5728
|
+
get(params?: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Chunks$Get, options?: MethodOptions): GaxiosPromise<Schema$GoogleCloudDiscoveryengineV1alphaChunk>;
|
|
5729
|
+
get(params: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Chunks$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
5730
|
+
get(params: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Chunks$Get, options: MethodOptions | BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaChunk>, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaChunk>): void;
|
|
5731
|
+
get(params: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Chunks$Get, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaChunk>): void;
|
|
5732
|
+
get(callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaChunk>): void;
|
|
5733
|
+
/**
|
|
5734
|
+
* Gets a list of Chunks.
|
|
5735
|
+
*
|
|
5736
|
+
* @param params - Parameters for request
|
|
5737
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
5738
|
+
* @param callback - Optional callback that handles the response.
|
|
5739
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5740
|
+
*/
|
|
5741
|
+
list(params: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Chunks$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
5742
|
+
list(params?: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Chunks$List, options?: MethodOptions): GaxiosPromise<Schema$GoogleCloudDiscoveryengineV1alphaListChunksResponse>;
|
|
5743
|
+
list(params: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Chunks$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
5744
|
+
list(params: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Chunks$List, options: MethodOptions | BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaListChunksResponse>, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaListChunksResponse>): void;
|
|
5745
|
+
list(params: Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Chunks$List, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaListChunksResponse>): void;
|
|
5746
|
+
list(callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaListChunksResponse>): void;
|
|
5747
|
+
}
|
|
5748
|
+
export interface Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Chunks$Get extends StandardParameters {
|
|
5749
|
+
/**
|
|
5750
|
+
* Required. Full resource name of Chunk, such as `projects/{project\}/locations/{location\}/collections/{collection\}/dataStores/{data_store\}/branches/{branch\}/documents/{document\}/chunks/{chunk\}`. If the caller does not have permission to access the Chunk, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. If the requested Chunk does not exist, a `NOT_FOUND` error is returned.
|
|
5751
|
+
*/
|
|
5752
|
+
name?: string;
|
|
5753
|
+
}
|
|
5754
|
+
export interface Params$Resource$Projects$Locations$Collections$Datastores$Branches$Documents$Chunks$List extends StandardParameters {
|
|
5755
|
+
/**
|
|
5756
|
+
* Maximum number of Chunks to return. If unspecified, defaults to 100. The maximum allowed value is 1000. Values above 1000 will be coerced to 1000. If this field is negative, an `INVALID_ARGUMENT` error is returned.
|
|
5757
|
+
*/
|
|
5758
|
+
pageSize?: number;
|
|
5759
|
+
/**
|
|
5760
|
+
* A page token ListChunksResponse.next_page_token, received from a previous ChunkService.ListChunks call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ChunkService.ListChunks must match the call that provided the page token. Otherwise, an `INVALID_ARGUMENT` error is returned.
|
|
5761
|
+
*/
|
|
5762
|
+
pageToken?: string;
|
|
5763
|
+
/**
|
|
5764
|
+
* Required. The parent document resource name, such as `projects/{project\}/locations/{location\}/collections/{collection\}/dataStores/{data_store\}/branches/{branch\}/documents/{document\}`. If the caller does not have permission to list Chunks under this document, regardless of whether or not this document exists, a `PERMISSION_DENIED` error is returned.
|
|
5765
|
+
*/
|
|
5766
|
+
parent?: string;
|
|
5767
|
+
}
|
|
5493
5768
|
export class Resource$Projects$Locations$Collections$Datastores$Branches$Operations {
|
|
5494
5769
|
context: APIRequestContext;
|
|
5495
5770
|
constructor(context: APIRequestContext);
|
|
@@ -6080,7 +6355,7 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
6080
6355
|
}
|
|
6081
6356
|
export interface Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Get extends StandardParameters {
|
|
6082
6357
|
/**
|
|
6083
|
-
* Required. The resource name of the ServingConfig to get. Format: `projects/{project_number\}/locations/{location\}/collections/{collection\}/
|
|
6358
|
+
* Required. The resource name of the ServingConfig to get. Format: `projects/{project_number\}/locations/{location\}/collections/{collection\}/engines/{engine\}/servingConfigs/{serving_config_id\}`
|
|
6084
6359
|
*/
|
|
6085
6360
|
name?: string;
|
|
6086
6361
|
}
|
|
@@ -6094,13 +6369,13 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
6094
6369
|
*/
|
|
6095
6370
|
pageToken?: string;
|
|
6096
6371
|
/**
|
|
6097
|
-
* Required.
|
|
6372
|
+
* Required. Full resource name of the parent resource. Format: `projects/{project_number\}/locations/{location\}/collections/{collection\}/engines/{engine\}`
|
|
6098
6373
|
*/
|
|
6099
6374
|
parent?: string;
|
|
6100
6375
|
}
|
|
6101
6376
|
export interface Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Patch extends StandardParameters {
|
|
6102
6377
|
/**
|
|
6103
|
-
* Immutable. Fully qualified name `projects/{project\}/locations/{location\}/collections/{collection_id\}/
|
|
6378
|
+
* Immutable. Fully qualified name `projects/{project\}/locations/{location\}/collections/{collection_id\}/engines/{engine_id\}/servingConfigs/{serving_config_id\}`
|
|
6104
6379
|
*/
|
|
6105
6380
|
name?: string;
|
|
6106
6381
|
/**
|
|
@@ -7174,7 +7449,7 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
7174
7449
|
}
|
|
7175
7450
|
export interface Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Get extends StandardParameters {
|
|
7176
7451
|
/**
|
|
7177
|
-
* Required. The resource name of the ServingConfig to get. Format: `projects/{project_number\}/locations/{location\}/collections/{collection\}/
|
|
7452
|
+
* Required. The resource name of the ServingConfig to get. Format: `projects/{project_number\}/locations/{location\}/collections/{collection\}/engines/{engine\}/servingConfigs/{serving_config_id\}`
|
|
7178
7453
|
*/
|
|
7179
7454
|
name?: string;
|
|
7180
7455
|
}
|
|
@@ -7188,13 +7463,13 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
7188
7463
|
*/
|
|
7189
7464
|
pageToken?: string;
|
|
7190
7465
|
/**
|
|
7191
|
-
* Required.
|
|
7466
|
+
* Required. Full resource name of the parent resource. Format: `projects/{project_number\}/locations/{location\}/collections/{collection\}/engines/{engine\}`
|
|
7192
7467
|
*/
|
|
7193
7468
|
parent?: string;
|
|
7194
7469
|
}
|
|
7195
7470
|
export interface Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Patch extends StandardParameters {
|
|
7196
7471
|
/**
|
|
7197
|
-
* Immutable. Fully qualified name `projects/{project\}/locations/{location\}/collections/{collection_id\}/
|
|
7472
|
+
* Immutable. Fully qualified name `projects/{project\}/locations/{location\}/collections/{collection_id\}/engines/{engine_id\}/servingConfigs/{serving_config_id\}`
|
|
7198
7473
|
*/
|
|
7199
7474
|
name?: string;
|
|
7200
7475
|
/**
|
|
@@ -7539,6 +7814,7 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
7539
7814
|
}
|
|
7540
7815
|
export class Resource$Projects$Locations$Datastores$Branches$Documents {
|
|
7541
7816
|
context: APIRequestContext;
|
|
7817
|
+
chunks: Resource$Projects$Locations$Datastores$Branches$Documents$Chunks;
|
|
7542
7818
|
constructor(context: APIRequestContext);
|
|
7543
7819
|
/**
|
|
7544
7820
|
* Creates a Document.
|
|
@@ -7582,6 +7858,20 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
7582
7858
|
get(params: Params$Resource$Projects$Locations$Datastores$Branches$Documents$Get, options: MethodOptions | BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaDocument>, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaDocument>): void;
|
|
7583
7859
|
get(params: Params$Resource$Projects$Locations$Datastores$Branches$Documents$Get, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaDocument>): void;
|
|
7584
7860
|
get(callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaDocument>): void;
|
|
7861
|
+
/**
|
|
7862
|
+
* Gets the parsed layout information for a Document.
|
|
7863
|
+
*
|
|
7864
|
+
* @param params - Parameters for request
|
|
7865
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
7866
|
+
* @param callback - Optional callback that handles the response.
|
|
7867
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
7868
|
+
*/
|
|
7869
|
+
getProcessedDocument(params: Params$Resource$Projects$Locations$Datastores$Branches$Documents$Getprocesseddocument, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
7870
|
+
getProcessedDocument(params?: Params$Resource$Projects$Locations$Datastores$Branches$Documents$Getprocesseddocument, options?: MethodOptions): GaxiosPromise<Schema$GoogleCloudDiscoveryengineV1alphaProcessedDocument>;
|
|
7871
|
+
getProcessedDocument(params: Params$Resource$Projects$Locations$Datastores$Branches$Documents$Getprocesseddocument, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
7872
|
+
getProcessedDocument(params: Params$Resource$Projects$Locations$Datastores$Branches$Documents$Getprocesseddocument, options: MethodOptions | BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaProcessedDocument>, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaProcessedDocument>): void;
|
|
7873
|
+
getProcessedDocument(params: Params$Resource$Projects$Locations$Datastores$Branches$Documents$Getprocesseddocument, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaProcessedDocument>): void;
|
|
7874
|
+
getProcessedDocument(callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaProcessedDocument>): void;
|
|
7585
7875
|
/**
|
|
7586
7876
|
* Bulk import of multiple Documents. Request processing may be synchronous. Non-existing items will be created. Note: It is possible for a subset of the Documents to be successfully updated.
|
|
7587
7877
|
*
|
|
@@ -7665,6 +7955,20 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
7665
7955
|
*/
|
|
7666
7956
|
name?: string;
|
|
7667
7957
|
}
|
|
7958
|
+
export interface Params$Resource$Projects$Locations$Datastores$Branches$Documents$Getprocesseddocument extends StandardParameters {
|
|
7959
|
+
/**
|
|
7960
|
+
* Required. Full resource name of Document, such as `projects/{project\}/locations/{location\}/collections/{collection\}/dataStores/{data_store\}/branches/{branch\}/documents/{document\}`. If the caller does not have permission to access the Document, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. If the requested Document does not exist, a `NOT_FOUND` error is returned.
|
|
7961
|
+
*/
|
|
7962
|
+
name?: string;
|
|
7963
|
+
/**
|
|
7964
|
+
* What format output should be. If unspecified, defaults to JSON.
|
|
7965
|
+
*/
|
|
7966
|
+
processedDocumentFormat?: string;
|
|
7967
|
+
/**
|
|
7968
|
+
* Required. What type of processing to return.
|
|
7969
|
+
*/
|
|
7970
|
+
processedDocumentType?: string;
|
|
7971
|
+
}
|
|
7668
7972
|
export interface Params$Resource$Projects$Locations$Datastores$Branches$Documents$Import extends StandardParameters {
|
|
7669
7973
|
/**
|
|
7670
7974
|
* Required. The parent branch resource name, such as `projects/{project\}/locations/{location\}/collections/{collection\}/dataStores/{data_store\}/branches/{branch\}`. Requires create/update permission.
|
|
@@ -7717,6 +8021,58 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
7717
8021
|
*/
|
|
7718
8022
|
requestBody?: Schema$GoogleCloudDiscoveryengineV1alphaPurgeDocumentsRequest;
|
|
7719
8023
|
}
|
|
8024
|
+
export class Resource$Projects$Locations$Datastores$Branches$Documents$Chunks {
|
|
8025
|
+
context: APIRequestContext;
|
|
8026
|
+
constructor(context: APIRequestContext);
|
|
8027
|
+
/**
|
|
8028
|
+
* Gets a Document.
|
|
8029
|
+
*
|
|
8030
|
+
* @param params - Parameters for request
|
|
8031
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
8032
|
+
* @param callback - Optional callback that handles the response.
|
|
8033
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
8034
|
+
*/
|
|
8035
|
+
get(params: Params$Resource$Projects$Locations$Datastores$Branches$Documents$Chunks$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
8036
|
+
get(params?: Params$Resource$Projects$Locations$Datastores$Branches$Documents$Chunks$Get, options?: MethodOptions): GaxiosPromise<Schema$GoogleCloudDiscoveryengineV1alphaChunk>;
|
|
8037
|
+
get(params: Params$Resource$Projects$Locations$Datastores$Branches$Documents$Chunks$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
8038
|
+
get(params: Params$Resource$Projects$Locations$Datastores$Branches$Documents$Chunks$Get, options: MethodOptions | BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaChunk>, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaChunk>): void;
|
|
8039
|
+
get(params: Params$Resource$Projects$Locations$Datastores$Branches$Documents$Chunks$Get, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaChunk>): void;
|
|
8040
|
+
get(callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaChunk>): void;
|
|
8041
|
+
/**
|
|
8042
|
+
* Gets a list of Chunks.
|
|
8043
|
+
*
|
|
8044
|
+
* @param params - Parameters for request
|
|
8045
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
8046
|
+
* @param callback - Optional callback that handles the response.
|
|
8047
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
8048
|
+
*/
|
|
8049
|
+
list(params: Params$Resource$Projects$Locations$Datastores$Branches$Documents$Chunks$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
8050
|
+
list(params?: Params$Resource$Projects$Locations$Datastores$Branches$Documents$Chunks$List, options?: MethodOptions): GaxiosPromise<Schema$GoogleCloudDiscoveryengineV1alphaListChunksResponse>;
|
|
8051
|
+
list(params: Params$Resource$Projects$Locations$Datastores$Branches$Documents$Chunks$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
8052
|
+
list(params: Params$Resource$Projects$Locations$Datastores$Branches$Documents$Chunks$List, options: MethodOptions | BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaListChunksResponse>, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaListChunksResponse>): void;
|
|
8053
|
+
list(params: Params$Resource$Projects$Locations$Datastores$Branches$Documents$Chunks$List, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaListChunksResponse>): void;
|
|
8054
|
+
list(callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaListChunksResponse>): void;
|
|
8055
|
+
}
|
|
8056
|
+
export interface Params$Resource$Projects$Locations$Datastores$Branches$Documents$Chunks$Get extends StandardParameters {
|
|
8057
|
+
/**
|
|
8058
|
+
* Required. Full resource name of Chunk, such as `projects/{project\}/locations/{location\}/collections/{collection\}/dataStores/{data_store\}/branches/{branch\}/documents/{document\}/chunks/{chunk\}`. If the caller does not have permission to access the Chunk, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. If the requested Chunk does not exist, a `NOT_FOUND` error is returned.
|
|
8059
|
+
*/
|
|
8060
|
+
name?: string;
|
|
8061
|
+
}
|
|
8062
|
+
export interface Params$Resource$Projects$Locations$Datastores$Branches$Documents$Chunks$List extends StandardParameters {
|
|
8063
|
+
/**
|
|
8064
|
+
* Maximum number of Chunks to return. If unspecified, defaults to 100. The maximum allowed value is 1000. Values above 1000 will be coerced to 1000. If this field is negative, an `INVALID_ARGUMENT` error is returned.
|
|
8065
|
+
*/
|
|
8066
|
+
pageSize?: number;
|
|
8067
|
+
/**
|
|
8068
|
+
* A page token ListChunksResponse.next_page_token, received from a previous ChunkService.ListChunks call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ChunkService.ListChunks must match the call that provided the page token. Otherwise, an `INVALID_ARGUMENT` error is returned.
|
|
8069
|
+
*/
|
|
8070
|
+
pageToken?: string;
|
|
8071
|
+
/**
|
|
8072
|
+
* Required. The parent document resource name, such as `projects/{project\}/locations/{location\}/collections/{collection\}/dataStores/{data_store\}/branches/{branch\}/documents/{document\}`. If the caller does not have permission to list Chunks under this document, regardless of whether or not this document exists, a `PERMISSION_DENIED` error is returned.
|
|
8073
|
+
*/
|
|
8074
|
+
parent?: string;
|
|
8075
|
+
}
|
|
7720
8076
|
export class Resource$Projects$Locations$Datastores$Branches$Operations {
|
|
7721
8077
|
context: APIRequestContext;
|
|
7722
8078
|
constructor(context: APIRequestContext);
|
|
@@ -8250,7 +8606,7 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
8250
8606
|
}
|
|
8251
8607
|
export interface Params$Resource$Projects$Locations$Datastores$Servingconfigs$Get extends StandardParameters {
|
|
8252
8608
|
/**
|
|
8253
|
-
* Required. The resource name of the ServingConfig to get. Format: `projects/{project_number\}/locations/{location\}/collections/{collection\}/
|
|
8609
|
+
* Required. The resource name of the ServingConfig to get. Format: `projects/{project_number\}/locations/{location\}/collections/{collection\}/engines/{engine\}/servingConfigs/{serving_config_id\}`
|
|
8254
8610
|
*/
|
|
8255
8611
|
name?: string;
|
|
8256
8612
|
}
|
|
@@ -8264,13 +8620,13 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
8264
8620
|
*/
|
|
8265
8621
|
pageToken?: string;
|
|
8266
8622
|
/**
|
|
8267
|
-
* Required.
|
|
8623
|
+
* Required. Full resource name of the parent resource. Format: `projects/{project_number\}/locations/{location\}/collections/{collection\}/engines/{engine\}`
|
|
8268
8624
|
*/
|
|
8269
8625
|
parent?: string;
|
|
8270
8626
|
}
|
|
8271
8627
|
export interface Params$Resource$Projects$Locations$Datastores$Servingconfigs$Patch extends StandardParameters {
|
|
8272
8628
|
/**
|
|
8273
|
-
* Immutable. Fully qualified name `projects/{project\}/locations/{location\}/collections/{collection_id\}/
|
|
8629
|
+
* Immutable. Fully qualified name `projects/{project\}/locations/{location\}/collections/{collection_id\}/engines/{engine_id\}/servingConfigs/{serving_config_id\}`
|
|
8274
8630
|
*/
|
|
8275
8631
|
name?: string;
|
|
8276
8632
|
/**
|