@maxim_mazurok/gapi.client.discoveryengine-v1alpha 0.0.20240206 → 0.0.20240224
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 +77 -3
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://discoveryengine.googleapis.com/$discovery/rest?version=v1alpha
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20240224
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -174,6 +174,8 @@ declare namespace gapi.client {
|
|
|
174
174
|
userInput?: GoogleCloudDiscoveryengineV1alphaTextInput;
|
|
175
175
|
}
|
|
176
176
|
interface GoogleCloudDiscoveryengineV1alphaConverseConversationRequest {
|
|
177
|
+
/** Boost specification to boost certain documents in search results which may affect the converse response. For more information on boosting, see [Boosting](https://cloud.google.com/retail/docs/boosting#boost) */
|
|
178
|
+
boostSpec?: GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpec;
|
|
177
179
|
/** The conversation to be used by auto session only. The name field will be ignored as we automatically assign new name for the conversation in auto session. */
|
|
178
180
|
conversation?: GoogleCloudDiscoveryengineV1alphaConversation;
|
|
179
181
|
/** The filter syntax consists of an expression language for constructing a predicate from one or more fields of the documents being filtered. Filter expression is case-sensitive. This will be used to filter search results which may affect the summary response. If this field is unrecognizable, an `INVALID_ARGUMENT` is returned. Filtering in Vertex AI Search is done by mapping the LHS filter key to a key property defined in the Vertex AI Search backend -- this mapping is defined by the customer in their schema. For example a media customer might have a field 'name' in their schema. In this case the filter would look like this: filter --> name:'ANY("king kong")' For more information about filtering including syntax and filter operators, see [Filter](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata) */
|
|
@@ -250,12 +252,16 @@ declare namespace gapi.client {
|
|
|
250
252
|
defaultSchemaId?: string;
|
|
251
253
|
/** Required. The data store display name. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. */
|
|
252
254
|
displayName?: string;
|
|
255
|
+
/** Configuration for Document understanding and enrichment. */
|
|
256
|
+
documentProcessingConfig?: GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig;
|
|
253
257
|
/** Immutable. The industry vertical that the data store registers. */
|
|
254
258
|
industryVertical?: string;
|
|
255
259
|
/** 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. */
|
|
256
260
|
name?: string;
|
|
257
261
|
/** The solutions that the data store enrolls. Available solutions for each industry_vertical: * `MEDIA`: `SOLUTION_TYPE_RECOMMENDATION` and `SOLUTION_TYPE_SEARCH`. * `SITE_SEARCH`: `SOLUTION_TYPE_SEARCH` is automatically enrolled. Other solutions cannot be enrolled. */
|
|
258
262
|
solutionTypes?: string[];
|
|
263
|
+
/** The start schema to use for this DataStore when provisioning it. If unset, a default vertical specialized schema will be used. This field is only used by CreateDataStore API, and will be ignored if used in other APIs. This field will be omitted from all API responses including CreateDataStore API. To retrieve a schema of a DataStore, use SchemaService.GetSchema API instead. The provided schema will be validated against certain rules on schema. Learn more from [this doc](https://cloud.google.com/generative-ai-app-builder/docs/provide-schema). */
|
|
264
|
+
startingSchema?: GoogleCloudDiscoveryengineV1alphaSchema;
|
|
259
265
|
}
|
|
260
266
|
interface GoogleCloudDiscoveryengineV1alphaDeleteDataStoreMetadata {
|
|
261
267
|
/** Operation create time. */
|
|
@@ -297,6 +303,8 @@ declare namespace gapi.client {
|
|
|
297
303
|
derivedStructData?: {[P in string]: any};
|
|
298
304
|
/** Immutable. The identifier of the document. Id should conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. */
|
|
299
305
|
id?: string;
|
|
306
|
+
/** Output only. The last time the document was indexed. If this field is set, the document could be returned in search results. This field is OUTPUT_ONLY. If this field is not populated, it means the document has never been indexed. */
|
|
307
|
+
indexTime?: string;
|
|
300
308
|
/** The JSON string representation of the document. It should conform to the registered Schema or an `INVALID_ARGUMENT` error is thrown. */
|
|
301
309
|
jsonData?: string;
|
|
302
310
|
/** Immutable. The full resource name of the document. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document_id}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
|
|
@@ -335,7 +343,7 @@ declare namespace gapi.client {
|
|
|
335
343
|
name?: string;
|
|
336
344
|
/** [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. */
|
|
337
345
|
ocrConfig?: GoogleCloudDiscoveryengineV1alphaOcrConfig;
|
|
338
|
-
/** 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. */
|
|
346
|
+
/** 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. */
|
|
339
347
|
parsingConfigOverrides?: {
|
|
340
348
|
[P in string]: GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig;
|
|
341
349
|
};
|
|
@@ -734,6 +742,8 @@ declare namespace gapi.client {
|
|
|
734
742
|
createTime?: string;
|
|
735
743
|
/** Count of entries that encountered errors while processing. */
|
|
736
744
|
failureCount?: string;
|
|
745
|
+
/** Count of entries that were ignored as entries were not found. */
|
|
746
|
+
ignoredCount?: string;
|
|
737
747
|
/** Count of entries that were deleted successfully. */
|
|
738
748
|
successCount?: string;
|
|
739
749
|
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
@@ -900,6 +910,8 @@ declare namespace gapi.client {
|
|
|
900
910
|
canonicalFilter?: string;
|
|
901
911
|
/** A specification for configuring the behavior of content search. */
|
|
902
912
|
contentSearchSpec?: GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpec;
|
|
913
|
+
/** Custom fine tuning configs. */
|
|
914
|
+
customFineTuningSpec?: GoogleCloudDiscoveryengineV1alphaCustomFineTuningSpec;
|
|
903
915
|
/** 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. */
|
|
904
916
|
embeddingSpec?: GoogleCloudDiscoveryengineV1alphaSearchRequestEmbeddingSpec;
|
|
905
917
|
/** Facet specifications for faceted search. If empty, no facets are returned. A maximum of 100 values are allowed. Otherwise, an `INVALID_ARGUMENT` error is returned. */
|
|
@@ -944,7 +956,7 @@ declare namespace gapi.client {
|
|
|
944
956
|
interface GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpec {
|
|
945
957
|
/** 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. */
|
|
946
958
|
boost?: number;
|
|
947
|
-
/** 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": * (
|
|
959
|
+
/** 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")) */
|
|
948
960
|
condition?: string;
|
|
949
961
|
}
|
|
950
962
|
interface GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpec {
|
|
@@ -1129,6 +1141,7 @@ declare namespace gapi.client {
|
|
|
1129
1141
|
summarySkippedReasons?: string[];
|
|
1130
1142
|
/** The summary content. */
|
|
1131
1143
|
summaryText?: string;
|
|
1144
|
+
/** Summary with metadata information. */
|
|
1132
1145
|
summaryWithMetadata?: GoogleCloudDiscoveryengineV1alphaSearchResponseSummarySummaryWithMetadata;
|
|
1133
1146
|
}
|
|
1134
1147
|
interface GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryCitation {
|
|
@@ -1200,6 +1213,7 @@ declare namespace gapi.client {
|
|
|
1200
1213
|
name?: string;
|
|
1201
1214
|
/** Condition oneway synonyms specifications. If multiple oneway synonyms conditions match, all matching oneway synonyms controls in the list will execute. Maximum number of specifications is 100. Can only be set if SolutionType is SOLUTION_TYPE_SEARCH. */
|
|
1202
1215
|
onewaySynonymsControlIds?: string[];
|
|
1216
|
+
/** The ranking expression controls the customized ranking on retrieval documents. To leverage this, document embedding is required. The ranking expression setting in ServingConfig applies to all search requests served by the serving config. However, if SearchRequest.ranking_expression is specified, it overrides the ServingConfig ranking expression. The ranking expression is a single function or multiple functions that are joined by "+". * ranking_expression = function, { " + ", function }; Supported functions: * double * relevance_score * double * dotProduct(embedding_field_path) Function variables: relevance_score: pre-defined keywords, used for measure relevance between query and document. embedding_field_path: the document embedding field used with query embedding vector. dotProduct: embedding function between embedding_field_path and query embedding vector. Example ranking expression: If document has an embedding field doc_embedding, the ranking expression could be 0.5 * relevance_score + 0.3 * dotProduct(doc_embedding). */
|
|
1203
1217
|
rankingExpression?: string;
|
|
1204
1218
|
/** IDs of the redirect controls. Only the first triggered redirect action is applied, even if multiple apply. Maximum number of specifications is 100. Can only be set if SolutionType is SOLUTION_TYPE_SEARCH. */
|
|
1205
1219
|
redirectControlIds?: string[];
|
|
@@ -1435,6 +1449,8 @@ declare namespace gapi.client {
|
|
|
1435
1449
|
enableSnippetResultSummary?: boolean;
|
|
1436
1450
|
/** Turn on or off summarization for the search response. */
|
|
1437
1451
|
enableSummarization?: boolean;
|
|
1452
|
+
/** Whether to enable standalone web app. */
|
|
1453
|
+
enableWebApp?: boolean;
|
|
1438
1454
|
/** The configuration and appearance of facets in the end user view. */
|
|
1439
1455
|
facetField?: GoogleCloudDiscoveryengineV1alphaWidgetConfigFacetField[];
|
|
1440
1456
|
/** 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. */
|
|
@@ -1555,12 +1571,16 @@ declare namespace gapi.client {
|
|
|
1555
1571
|
defaultSchemaId?: string;
|
|
1556
1572
|
/** Required. The data store display name. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. */
|
|
1557
1573
|
displayName?: string;
|
|
1574
|
+
/** Configuration for Document understanding and enrichment. */
|
|
1575
|
+
documentProcessingConfig?: GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig;
|
|
1558
1576
|
/** Immutable. The industry vertical that the data store registers. */
|
|
1559
1577
|
industryVertical?: string;
|
|
1560
1578
|
/** 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. */
|
|
1561
1579
|
name?: string;
|
|
1562
1580
|
/** The solutions that the data store enrolls. Available solutions for each industry_vertical: * `MEDIA`: `SOLUTION_TYPE_RECOMMENDATION` and `SOLUTION_TYPE_SEARCH`. * `SITE_SEARCH`: `SOLUTION_TYPE_SEARCH` is automatically enrolled. Other solutions cannot be enrolled. */
|
|
1563
1581
|
solutionTypes?: string[];
|
|
1582
|
+
/** The start schema to use for this DataStore when provisioning it. If unset, a default vertical specialized schema will be used. This field is only used by CreateDataStore API, and will be ignored if used in other APIs. This field will be omitted from all API responses including CreateDataStore API. To retrieve a schema of a DataStore, use SchemaService.GetSchema API instead. The provided schema will be validated against certain rules on schema. Learn more from [this doc](https://cloud.google.com/generative-ai-app-builder/docs/provide-schema). */
|
|
1583
|
+
startingSchema?: GoogleCloudDiscoveryengineV1betaSchema;
|
|
1564
1584
|
}
|
|
1565
1585
|
interface GoogleCloudDiscoveryengineV1betaDeleteDataStoreMetadata {
|
|
1566
1586
|
/** Operation create time. */
|
|
@@ -1586,6 +1606,7 @@ declare namespace gapi.client {
|
|
|
1586
1606
|
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
1587
1607
|
updateTime?: string;
|
|
1588
1608
|
}
|
|
1609
|
+
interface GoogleCloudDiscoveryengineV1betaDigitalParsingConfig {}
|
|
1589
1610
|
interface GoogleCloudDiscoveryengineV1betaDisableAdvancedSiteSearchMetadata {
|
|
1590
1611
|
/** Operation create time. */
|
|
1591
1612
|
createTime?: string;
|
|
@@ -1593,6 +1614,22 @@ declare namespace gapi.client {
|
|
|
1593
1614
|
updateTime?: string;
|
|
1594
1615
|
}
|
|
1595
1616
|
interface GoogleCloudDiscoveryengineV1betaDisableAdvancedSiteSearchResponse {}
|
|
1617
|
+
interface GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig {
|
|
1618
|
+
/** 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. */
|
|
1619
|
+
defaultParsingConfig?: GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig;
|
|
1620
|
+
/** The full resource name of the Document Processing Config. Format: `projects/*/locations/*/collections/*/dataStores/*/documentProcessingConfig`. */
|
|
1621
|
+
name?: string;
|
|
1622
|
+
/** 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. */
|
|
1623
|
+
parsingConfigOverrides?: {
|
|
1624
|
+
[P in string]: GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig;
|
|
1625
|
+
};
|
|
1626
|
+
}
|
|
1627
|
+
interface GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig {
|
|
1628
|
+
/** Configurations applied to digital parser. */
|
|
1629
|
+
digitalParsingConfig?: any;
|
|
1630
|
+
/** Configurations applied to OCR parser. Currently it only applies to PDFs. */
|
|
1631
|
+
ocrParsingConfig?: GoogleCloudDiscoveryengineV1betaOcrParsingConfig;
|
|
1632
|
+
}
|
|
1596
1633
|
interface GoogleCloudDiscoveryengineV1betaEnableAdvancedSiteSearchMetadata {
|
|
1597
1634
|
/** Operation create time. */
|
|
1598
1635
|
createTime?: string;
|
|
@@ -1708,11 +1745,19 @@ declare namespace gapi.client {
|
|
|
1708
1745
|
/** Count of user events imported, but with Document information not found in the existing Branch. */
|
|
1709
1746
|
unjoinedEventsCount?: string;
|
|
1710
1747
|
}
|
|
1748
|
+
interface GoogleCloudDiscoveryengineV1betaOcrParsingConfig {
|
|
1749
|
+
/** Apply additional enhanced OCR processing to a list of document elements. Supported values: * `table`: advanced table parsing model. */
|
|
1750
|
+
enhancedDocumentElements?: string[];
|
|
1751
|
+
/** If true, will use native text instead of OCR text on pages containing native text. */
|
|
1752
|
+
useNativeText?: boolean;
|
|
1753
|
+
}
|
|
1711
1754
|
interface GoogleCloudDiscoveryengineV1betaPurgeDocumentsMetadata {
|
|
1712
1755
|
/** Operation create time. */
|
|
1713
1756
|
createTime?: string;
|
|
1714
1757
|
/** Count of entries that encountered errors while processing. */
|
|
1715
1758
|
failureCount?: string;
|
|
1759
|
+
/** Count of entries that were ignored as entries were not found. */
|
|
1760
|
+
ignoredCount?: string;
|
|
1716
1761
|
/** Count of entries that were deleted successfully. */
|
|
1717
1762
|
successCount?: string;
|
|
1718
1763
|
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
@@ -1823,12 +1868,16 @@ declare namespace gapi.client {
|
|
|
1823
1868
|
defaultSchemaId?: string;
|
|
1824
1869
|
/** Required. The data store display name. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. */
|
|
1825
1870
|
displayName?: string;
|
|
1871
|
+
/** Configuration for Document understanding and enrichment. */
|
|
1872
|
+
documentProcessingConfig?: GoogleCloudDiscoveryengineV1DocumentProcessingConfig;
|
|
1826
1873
|
/** Immutable. The industry vertical that the data store registers. */
|
|
1827
1874
|
industryVertical?: string;
|
|
1828
1875
|
/** 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. */
|
|
1829
1876
|
name?: string;
|
|
1830
1877
|
/** The solutions that the data store enrolls. Available solutions for each industry_vertical: * `MEDIA`: `SOLUTION_TYPE_RECOMMENDATION` and `SOLUTION_TYPE_SEARCH`. * `SITE_SEARCH`: `SOLUTION_TYPE_SEARCH` is automatically enrolled. Other solutions cannot be enrolled. */
|
|
1831
1878
|
solutionTypes?: string[];
|
|
1879
|
+
/** The start schema to use for this DataStore when provisioning it. If unset, a default vertical specialized schema will be used. This field is only used by CreateDataStore API, and will be ignored if used in other APIs. This field will be omitted from all API responses including CreateDataStore API. To retrieve a schema of a DataStore, use SchemaService.GetSchema API instead. The provided schema will be validated against certain rules on schema. Learn more from [this doc](https://cloud.google.com/generative-ai-app-builder/docs/provide-schema). */
|
|
1880
|
+
startingSchema?: GoogleCloudDiscoveryengineV1Schema;
|
|
1832
1881
|
}
|
|
1833
1882
|
interface GoogleCloudDiscoveryengineV1DeleteDataStoreMetadata {
|
|
1834
1883
|
/** Operation create time. */
|
|
@@ -1854,6 +1903,7 @@ declare namespace gapi.client {
|
|
|
1854
1903
|
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
1855
1904
|
updateTime?: string;
|
|
1856
1905
|
}
|
|
1906
|
+
interface GoogleCloudDiscoveryengineV1DigitalParsingConfig {}
|
|
1857
1907
|
interface GoogleCloudDiscoveryengineV1DisableAdvancedSiteSearchMetadata {
|
|
1858
1908
|
/** Operation create time. */
|
|
1859
1909
|
createTime?: string;
|
|
@@ -1861,6 +1911,22 @@ declare namespace gapi.client {
|
|
|
1861
1911
|
updateTime?: string;
|
|
1862
1912
|
}
|
|
1863
1913
|
interface GoogleCloudDiscoveryengineV1DisableAdvancedSiteSearchResponse {}
|
|
1914
|
+
interface GoogleCloudDiscoveryengineV1DocumentProcessingConfig {
|
|
1915
|
+
/** 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. */
|
|
1916
|
+
defaultParsingConfig?: GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig;
|
|
1917
|
+
/** The full resource name of the Document Processing Config. Format: `projects/*/locations/*/collections/*/dataStores/*/documentProcessingConfig`. */
|
|
1918
|
+
name?: string;
|
|
1919
|
+
/** 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. */
|
|
1920
|
+
parsingConfigOverrides?: {
|
|
1921
|
+
[P in string]: GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig;
|
|
1922
|
+
};
|
|
1923
|
+
}
|
|
1924
|
+
interface GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig {
|
|
1925
|
+
/** Configurations applied to digital parser. */
|
|
1926
|
+
digitalParsingConfig?: any;
|
|
1927
|
+
/** Configurations applied to OCR parser. Currently it only applies to PDFs. */
|
|
1928
|
+
ocrParsingConfig?: GoogleCloudDiscoveryengineV1OcrParsingConfig;
|
|
1929
|
+
}
|
|
1864
1930
|
interface GoogleCloudDiscoveryengineV1EnableAdvancedSiteSearchMetadata {
|
|
1865
1931
|
/** Operation create time. */
|
|
1866
1932
|
createTime?: string;
|
|
@@ -1976,11 +2042,19 @@ declare namespace gapi.client {
|
|
|
1976
2042
|
/** Count of user events imported, but with Document information not found in the existing Branch. */
|
|
1977
2043
|
unjoinedEventsCount?: string;
|
|
1978
2044
|
}
|
|
2045
|
+
interface GoogleCloudDiscoveryengineV1OcrParsingConfig {
|
|
2046
|
+
/** Apply additional enhanced OCR processing to a list of document elements. Supported values: * `table`: advanced table parsing model. */
|
|
2047
|
+
enhancedDocumentElements?: string[];
|
|
2048
|
+
/** If true, will use native text instead of OCR text on pages containing native text. */
|
|
2049
|
+
useNativeText?: boolean;
|
|
2050
|
+
}
|
|
1979
2051
|
interface GoogleCloudDiscoveryengineV1PurgeDocumentsMetadata {
|
|
1980
2052
|
/** Operation create time. */
|
|
1981
2053
|
createTime?: string;
|
|
1982
2054
|
/** Count of entries that encountered errors while processing. */
|
|
1983
2055
|
failureCount?: string;
|
|
2056
|
+
/** Count of entries that were ignored as entries were not found. */
|
|
2057
|
+
ignoredCount?: string;
|
|
1984
2058
|
/** Count of entries that were deleted successfully. */
|
|
1985
2059
|
successCount?: string;
|
|
1986
2060
|
/** Operation last update time. If the operation is done, this is also the finish time. */
|