@googleapis/discoveryengine 6.1.0 → 7.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 +13 -0
- package/build/v1alpha.d.ts +318 -3
- package/build/v1alpha.js +62 -0
- package/build/v1alpha.js.map +1 -1
- package/build/v1beta.d.ts +209 -3
- package/build/v1beta.js.map +1 -1
- package/package.json +1 -1
- package/v1alpha.ts +483 -3
- package/v1beta.ts +211 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [7.0.0](https://github.com/googleapis/google-api-nodejs-client/compare/discoveryengine-v6.1.0...discoveryengine-v7.0.0) (2024-03-12)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### ⚠ BREAKING CHANGES
|
|
7
|
+
|
|
8
|
+
* This release has breaking changes.
|
|
9
|
+
* This release has breaking changes.
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* run the generator ([#3434](https://github.com/googleapis/google-api-nodejs-client/issues/3434)) ([f0db524](https://github.com/googleapis/google-api-nodejs-client/commit/f0db524bb26f05cea3dec4c0ed66b496399e3857))
|
|
14
|
+
* run the generator ([#3447](https://github.com/googleapis/google-api-nodejs-client/issues/3447)) ([873b559](https://github.com/googleapis/google-api-nodejs-client/commit/873b55950bcf04db37f08e8a62caa6e4a9b9c487))
|
|
15
|
+
|
|
3
16
|
## [6.1.0](https://github.com/googleapis/google-api-nodejs-client/compare/discoveryengine-v6.0.0...discoveryengine-v6.1.0) (2024-02-07)
|
|
4
17
|
|
|
5
18
|
|
package/build/v1alpha.d.ts
CHANGED
|
@@ -193,6 +193,19 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
193
193
|
*/
|
|
194
194
|
functionName?: string | null;
|
|
195
195
|
}
|
|
196
|
+
/**
|
|
197
|
+
* Access Control Configuration.
|
|
198
|
+
*/
|
|
199
|
+
export interface Schema$GoogleCloudDiscoveryengineV1alphaAclConfig {
|
|
200
|
+
/**
|
|
201
|
+
* Identity provider config.
|
|
202
|
+
*/
|
|
203
|
+
idpConfig?: Schema$GoogleCloudDiscoveryengineV1alphaIdpConfig;
|
|
204
|
+
/**
|
|
205
|
+
* 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.
|
|
206
|
+
*/
|
|
207
|
+
name?: string | null;
|
|
208
|
+
}
|
|
196
209
|
/**
|
|
197
210
|
* AdditionalParams message for WidgetService methods for security and privacy enhancement.
|
|
198
211
|
*/
|
|
@@ -394,6 +407,10 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
394
407
|
* Request message for ConversationalSearchService.ConverseConversation method.
|
|
395
408
|
*/
|
|
396
409
|
export interface Schema$GoogleCloudDiscoveryengineV1alphaConverseConversationRequest {
|
|
410
|
+
/**
|
|
411
|
+
* 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)
|
|
412
|
+
*/
|
|
413
|
+
boostSpec?: Schema$GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpec;
|
|
397
414
|
/**
|
|
398
415
|
* 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.
|
|
399
416
|
*/
|
|
@@ -541,6 +558,10 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
541
558
|
* DataStore captures global settings and configs at the DataStore level.
|
|
542
559
|
*/
|
|
543
560
|
export interface Schema$GoogleCloudDiscoveryengineV1alphaDataStore {
|
|
561
|
+
/**
|
|
562
|
+
* 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.
|
|
563
|
+
*/
|
|
564
|
+
aclEnabled?: boolean | null;
|
|
544
565
|
/**
|
|
545
566
|
* Immutable. The content config of the data store. If this field is unset, the server behavior defaults to ContentConfig.NO_CONTENT.
|
|
546
567
|
*/
|
|
@@ -557,6 +578,14 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
557
578
|
* 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.
|
|
558
579
|
*/
|
|
559
580
|
displayName?: string | null;
|
|
581
|
+
/**
|
|
582
|
+
* Configuration for Document understanding and enrichment.
|
|
583
|
+
*/
|
|
584
|
+
documentProcessingConfig?: Schema$GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig;
|
|
585
|
+
/**
|
|
586
|
+
* Output only. Data store level identity provider config.
|
|
587
|
+
*/
|
|
588
|
+
idpConfig?: Schema$GoogleCloudDiscoveryengineV1alphaIdpConfig;
|
|
560
589
|
/**
|
|
561
590
|
* Immutable. The industry vertical that the data store registers.
|
|
562
591
|
*/
|
|
@@ -569,6 +598,10 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
569
598
|
* 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.
|
|
570
599
|
*/
|
|
571
600
|
solutionTypes?: string[] | null;
|
|
601
|
+
/**
|
|
602
|
+
* 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).
|
|
603
|
+
*/
|
|
604
|
+
startingSchema?: Schema$GoogleCloudDiscoveryengineV1alphaSchema;
|
|
572
605
|
}
|
|
573
606
|
/**
|
|
574
607
|
* Metadata related to the progress of the DataStoreService.DeleteDataStore operation. This will be returned by the google.longrunning.Operation.metadata field.
|
|
@@ -654,6 +687,10 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
654
687
|
* Document captures all raw metadata information of items to be recommended or searched.
|
|
655
688
|
*/
|
|
656
689
|
export interface Schema$GoogleCloudDiscoveryengineV1alphaDocument {
|
|
690
|
+
/**
|
|
691
|
+
* Access control information for the document.
|
|
692
|
+
*/
|
|
693
|
+
aclInfo?: Schema$GoogleCloudDiscoveryengineV1alphaDocumentAclInfo;
|
|
657
694
|
/**
|
|
658
695
|
* The unstructured data linked to this document. Content must be set if this document is under a `CONTENT_REQUIRED` data store.
|
|
659
696
|
*/
|
|
@@ -668,6 +705,10 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
668
705
|
* 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.
|
|
669
706
|
*/
|
|
670
707
|
id?: string | null;
|
|
708
|
+
/**
|
|
709
|
+
* 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.
|
|
710
|
+
*/
|
|
711
|
+
indexTime?: string | null;
|
|
671
712
|
/**
|
|
672
713
|
* The JSON string representation of the document. It should conform to the registered Schema or an `INVALID_ARGUMENT` error is thrown.
|
|
673
714
|
*/
|
|
@@ -691,6 +732,21 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
691
732
|
[key: string]: any;
|
|
692
733
|
} | null;
|
|
693
734
|
}
|
|
735
|
+
/**
|
|
736
|
+
* ACL Information of the Document.
|
|
737
|
+
*/
|
|
738
|
+
export interface Schema$GoogleCloudDiscoveryengineV1alphaDocumentAclInfo {
|
|
739
|
+
readers?: Schema$GoogleCloudDiscoveryengineV1alphaDocumentAclInfoAccessRestriction[];
|
|
740
|
+
}
|
|
741
|
+
/**
|
|
742
|
+
* AclRestriction to model complex inheritance restrictions. Example: Modeling a "Both Permit" inheritance, where to access a child document, user needs to have access to parent document. Document Hierarchy - Space_S --\> Page_P. Readers: Space_S: group_1, user_1 Page_P: group_2, group_3, user_2 Space_S ACL Restriction - { "acl_info": { "readers": [ { "principals": [ { "group_id": "group_1" \}, { "user_id": "user_1" \} ] \} ] \} \} Page_P ACL Restriction. { "acl_info": { "readers": [ { "principals": [ { "group_id": "group_2" \}, { "group_id": "group_3" \}, { "user_id": "user_2" \} ], \}, { "principals": [ { "group_id": "group_1" \}, { "user_id": "user_1" \} ], \} ] \} \}
|
|
743
|
+
*/
|
|
744
|
+
export interface Schema$GoogleCloudDiscoveryengineV1alphaDocumentAclInfoAccessRestriction {
|
|
745
|
+
/**
|
|
746
|
+
* List of principals.
|
|
747
|
+
*/
|
|
748
|
+
principals?: Schema$GoogleCloudDiscoveryengineV1alphaPrincipal[];
|
|
749
|
+
}
|
|
694
750
|
/**
|
|
695
751
|
* Unstructured data linked to this document.
|
|
696
752
|
*/
|
|
@@ -750,7 +806,7 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
750
806
|
*/
|
|
751
807
|
ocrConfig?: Schema$GoogleCloudDiscoveryengineV1alphaOcrConfig;
|
|
752
808
|
/**
|
|
753
|
-
* 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.
|
|
809
|
+
* 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.
|
|
754
810
|
*/
|
|
755
811
|
parsingConfigOverrides?: {
|
|
756
812
|
[key: string]: Schema$GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig;
|
|
@@ -818,6 +874,10 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
818
874
|
* Metadata that describes the training and serving parameters of an Engine.
|
|
819
875
|
*/
|
|
820
876
|
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;
|
|
821
881
|
/**
|
|
822
882
|
* Configurations for the Chat Engine. Only applicable if solution_type is SOLUTION_TYPE_CHAT.
|
|
823
883
|
*/
|
|
@@ -1162,6 +1222,28 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
1162
1222
|
*/
|
|
1163
1223
|
maxRelatedQuestions?: number | null;
|
|
1164
1224
|
}
|
|
1225
|
+
/**
|
|
1226
|
+
* Identity Provider Config.
|
|
1227
|
+
*/
|
|
1228
|
+
export interface Schema$GoogleCloudDiscoveryengineV1alphaIdpConfig {
|
|
1229
|
+
/**
|
|
1230
|
+
* External Identity provider config.
|
|
1231
|
+
*/
|
|
1232
|
+
externalIdpConfig?: Schema$GoogleCloudDiscoveryengineV1alphaIdpConfigExternalIdpConfig;
|
|
1233
|
+
/**
|
|
1234
|
+
* Identity provider type configured.
|
|
1235
|
+
*/
|
|
1236
|
+
idpType?: string | null;
|
|
1237
|
+
}
|
|
1238
|
+
/**
|
|
1239
|
+
* Third party IDP Config.
|
|
1240
|
+
*/
|
|
1241
|
+
export interface Schema$GoogleCloudDiscoveryengineV1alphaIdpConfigExternalIdpConfig {
|
|
1242
|
+
/**
|
|
1243
|
+
* Workforce pool name. Example: "locations/global/workforcePools/pool_id"
|
|
1244
|
+
*/
|
|
1245
|
+
workforcePoolName?: string | null;
|
|
1246
|
+
}
|
|
1165
1247
|
/**
|
|
1166
1248
|
* Metadata related to the progress of the ImportDocuments operation. This is returned by the google.longrunning.Operation.metadata field.
|
|
1167
1249
|
*/
|
|
@@ -1600,6 +1682,19 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
1600
1682
|
*/
|
|
1601
1683
|
export interface Schema$GoogleCloudDiscoveryengineV1alphaPauseEngineRequest {
|
|
1602
1684
|
}
|
|
1685
|
+
/**
|
|
1686
|
+
* Principal identifier of a user or a group.
|
|
1687
|
+
*/
|
|
1688
|
+
export interface Schema$GoogleCloudDiscoveryengineV1alphaPrincipal {
|
|
1689
|
+
/**
|
|
1690
|
+
* 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.
|
|
1691
|
+
*/
|
|
1692
|
+
groupId?: string | null;
|
|
1693
|
+
/**
|
|
1694
|
+
* 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.
|
|
1695
|
+
*/
|
|
1696
|
+
userId?: string | null;
|
|
1697
|
+
}
|
|
1603
1698
|
/**
|
|
1604
1699
|
* Metadata related to the progress of the PurgeDocuments operation. This will be returned by the google.longrunning.Operation.metadata field.
|
|
1605
1700
|
*/
|
|
@@ -1612,6 +1707,10 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
1612
1707
|
* Count of entries that encountered errors while processing.
|
|
1613
1708
|
*/
|
|
1614
1709
|
failureCount?: string | null;
|
|
1710
|
+
/**
|
|
1711
|
+
* Count of entries that were ignored as entries were not found.
|
|
1712
|
+
*/
|
|
1713
|
+
ignoredCount?: string | null;
|
|
1615
1714
|
/**
|
|
1616
1715
|
* Count of entries that were deleted successfully.
|
|
1617
1716
|
*/
|
|
@@ -1625,6 +1724,10 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
1625
1724
|
* Request message for DocumentService.PurgeDocuments method.
|
|
1626
1725
|
*/
|
|
1627
1726
|
export interface Schema$GoogleCloudDiscoveryengineV1alphaPurgeDocumentsRequest {
|
|
1727
|
+
/**
|
|
1728
|
+
* The desired location of errors incurred during the purge.
|
|
1729
|
+
*/
|
|
1730
|
+
errorConfig?: Schema$GoogleCloudDiscoveryengineV1alphaPurgeErrorConfig;
|
|
1628
1731
|
/**
|
|
1629
1732
|
* Required. Filter matching documents to purge. Only currently supported value is `*` (all items).
|
|
1630
1733
|
*/
|
|
@@ -1633,6 +1736,10 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
1633
1736
|
* Actually performs the purge. If `force` is set to false, return the expected purge count without deleting any documents.
|
|
1634
1737
|
*/
|
|
1635
1738
|
force?: boolean | null;
|
|
1739
|
+
/**
|
|
1740
|
+
* Cloud Storage location for the input content. Supported `data_schema`: * `document_id`: One valid Document.id per line.
|
|
1741
|
+
*/
|
|
1742
|
+
gcsSource?: Schema$GoogleCloudDiscoveryengineV1alphaGcsSource;
|
|
1636
1743
|
}
|
|
1637
1744
|
/**
|
|
1638
1745
|
* Response message for DocumentService.PurgeDocuments method. If the long running operation is successfully done, then this message is returned by the google.longrunning.Operations.response field.
|
|
@@ -1647,6 +1754,15 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
1647
1754
|
*/
|
|
1648
1755
|
purgeSample?: string[] | null;
|
|
1649
1756
|
}
|
|
1757
|
+
/**
|
|
1758
|
+
* Configuration of destination for Purge related errors.
|
|
1759
|
+
*/
|
|
1760
|
+
export interface Schema$GoogleCloudDiscoveryengineV1alphaPurgeErrorConfig {
|
|
1761
|
+
/**
|
|
1762
|
+
* 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.
|
|
1763
|
+
*/
|
|
1764
|
+
gcsPrefix?: string | null;
|
|
1765
|
+
}
|
|
1650
1766
|
/**
|
|
1651
1767
|
* Metadata related to the progress of the PurgeSuggestionDenyListEntries operation. This is returned by the google.longrunning.Operation.metadata field.
|
|
1652
1768
|
*/
|
|
@@ -1978,6 +2094,10 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
1978
2094
|
* A specification for configuring the behavior of content search.
|
|
1979
2095
|
*/
|
|
1980
2096
|
contentSearchSpec?: Schema$GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpec;
|
|
2097
|
+
/**
|
|
2098
|
+
* Custom fine tuning configs.
|
|
2099
|
+
*/
|
|
2100
|
+
customFineTuningSpec?: Schema$GoogleCloudDiscoveryengineV1alphaCustomFineTuningSpec;
|
|
1981
2101
|
/**
|
|
1982
2102
|
* 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.
|
|
1983
2103
|
*/
|
|
@@ -2073,7 +2193,7 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
2073
2193
|
*/
|
|
2074
2194
|
boost?: number | null;
|
|
2075
2195
|
/**
|
|
2076
|
-
* 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": * (
|
|
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": * (document_id: ANY("doc_1", "doc_2")) AND (color: ANY("Red", "Blue"))
|
|
2077
2197
|
*/
|
|
2078
2198
|
condition?: string | null;
|
|
2079
2199
|
}
|
|
@@ -2179,7 +2299,7 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
2179
2299
|
*/
|
|
2180
2300
|
export interface Schema$GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecModelSpec {
|
|
2181
2301
|
/**
|
|
2182
|
-
* 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 version of the text-bison@001 model.
|
|
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 version of the text-bison@001 model. * `preview`: string. (Public preview) Uses a fine-tuned version of the text-bison@002 model. This model works only for summaries in English.
|
|
2183
2303
|
*/
|
|
2184
2304
|
version?: string | null;
|
|
2185
2305
|
}
|
|
@@ -2461,6 +2581,9 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
2461
2581
|
* The summary content.
|
|
2462
2582
|
*/
|
|
2463
2583
|
summaryText?: string | null;
|
|
2584
|
+
/**
|
|
2585
|
+
* Summary with metadata information.
|
|
2586
|
+
*/
|
|
2464
2587
|
summaryWithMetadata?: Schema$GoogleCloudDiscoveryengineV1alphaSearchResponseSummarySummaryWithMetadata;
|
|
2465
2588
|
}
|
|
2466
2589
|
/**
|
|
@@ -2609,6 +2732,9 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
2609
2732
|
* 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.
|
|
2610
2733
|
*/
|
|
2611
2734
|
onewaySynonymsControlIds?: string[] | null;
|
|
2735
|
+
/**
|
|
2736
|
+
* 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).
|
|
2737
|
+
*/
|
|
2612
2738
|
rankingExpression?: string | null;
|
|
2613
2739
|
/**
|
|
2614
2740
|
* 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.
|
|
@@ -2750,6 +2876,9 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
2750
2876
|
*/
|
|
2751
2877
|
quotaFailure?: Schema$GoogleCloudDiscoveryengineV1alphaTargetSiteFailureReasonQuotaFailure;
|
|
2752
2878
|
}
|
|
2879
|
+
/**
|
|
2880
|
+
* Failed due to insufficient quota.
|
|
2881
|
+
*/
|
|
2753
2882
|
export interface Schema$GoogleCloudDiscoveryengineV1alphaTargetSiteFailureReasonQuotaFailure {
|
|
2754
2883
|
/**
|
|
2755
2884
|
* This number is an estimation on how much total quota this project needs to successfully complete indexing.
|
|
@@ -3102,6 +3231,10 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
3102
3231
|
* Turn on or off summarization for the search response.
|
|
3103
3232
|
*/
|
|
3104
3233
|
enableSummarization?: boolean | null;
|
|
3234
|
+
/**
|
|
3235
|
+
* Whether to enable standalone web app.
|
|
3236
|
+
*/
|
|
3237
|
+
enableWebApp?: boolean | null;
|
|
3105
3238
|
/**
|
|
3106
3239
|
* The configuration and appearance of facets in the end user view.
|
|
3107
3240
|
*/
|
|
@@ -3355,6 +3488,10 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
3355
3488
|
* 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.
|
|
3356
3489
|
*/
|
|
3357
3490
|
displayName?: string | null;
|
|
3491
|
+
/**
|
|
3492
|
+
* Configuration for Document understanding and enrichment.
|
|
3493
|
+
*/
|
|
3494
|
+
documentProcessingConfig?: Schema$GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig;
|
|
3358
3495
|
/**
|
|
3359
3496
|
* Immutable. The industry vertical that the data store registers.
|
|
3360
3497
|
*/
|
|
@@ -3367,6 +3504,10 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
3367
3504
|
* 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.
|
|
3368
3505
|
*/
|
|
3369
3506
|
solutionTypes?: string[] | null;
|
|
3507
|
+
/**
|
|
3508
|
+
* 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).
|
|
3509
|
+
*/
|
|
3510
|
+
startingSchema?: Schema$GoogleCloudDiscoveryengineV1betaSchema;
|
|
3370
3511
|
}
|
|
3371
3512
|
/**
|
|
3372
3513
|
* Metadata related to the progress of the DataStoreService.DeleteDataStore operation. This will be returned by the google.longrunning.Operation.metadata field.
|
|
@@ -3420,6 +3561,11 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
3420
3561
|
*/
|
|
3421
3562
|
updateTime?: string | null;
|
|
3422
3563
|
}
|
|
3564
|
+
/**
|
|
3565
|
+
* The digital parsing configurations for documents.
|
|
3566
|
+
*/
|
|
3567
|
+
export interface Schema$GoogleCloudDiscoveryengineV1betaDigitalParsingConfig {
|
|
3568
|
+
}
|
|
3423
3569
|
/**
|
|
3424
3570
|
* Metadata related to the progress of the SiteSearchEngineService.DisableAdvancedSiteSearch operation. This will be returned by the google.longrunning.Operation.metadata field.
|
|
3425
3571
|
*/
|
|
@@ -3438,6 +3584,38 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
3438
3584
|
*/
|
|
3439
3585
|
export interface Schema$GoogleCloudDiscoveryengineV1betaDisableAdvancedSiteSearchResponse {
|
|
3440
3586
|
}
|
|
3587
|
+
/**
|
|
3588
|
+
* 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.
|
|
3589
|
+
*/
|
|
3590
|
+
export interface Schema$GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig {
|
|
3591
|
+
/**
|
|
3592
|
+
* 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.
|
|
3593
|
+
*/
|
|
3594
|
+
defaultParsingConfig?: Schema$GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig;
|
|
3595
|
+
/**
|
|
3596
|
+
* The full resource name of the Document Processing Config. Format: `projects/x/locations/x/collections/x/dataStores/x/documentProcessingConfig`.
|
|
3597
|
+
*/
|
|
3598
|
+
name?: string | null;
|
|
3599
|
+
/**
|
|
3600
|
+
* 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.
|
|
3601
|
+
*/
|
|
3602
|
+
parsingConfigOverrides?: {
|
|
3603
|
+
[key: string]: Schema$GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig;
|
|
3604
|
+
} | null;
|
|
3605
|
+
}
|
|
3606
|
+
/**
|
|
3607
|
+
* Related configurations applied to a specific type of document parser.
|
|
3608
|
+
*/
|
|
3609
|
+
export interface Schema$GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig {
|
|
3610
|
+
/**
|
|
3611
|
+
* Configurations applied to digital parser.
|
|
3612
|
+
*/
|
|
3613
|
+
digitalParsingConfig?: Schema$GoogleCloudDiscoveryengineV1betaDigitalParsingConfig;
|
|
3614
|
+
/**
|
|
3615
|
+
* Configurations applied to OCR parser. Currently it only applies to PDFs.
|
|
3616
|
+
*/
|
|
3617
|
+
ocrParsingConfig?: Schema$GoogleCloudDiscoveryengineV1betaOcrParsingConfig;
|
|
3618
|
+
}
|
|
3441
3619
|
/**
|
|
3442
3620
|
* Metadata related to the progress of the SiteSearchEngineService.EnableAdvancedSiteSearch operation. This will be returned by the google.longrunning.Operation.metadata field.
|
|
3443
3621
|
*/
|
|
@@ -3685,6 +3863,19 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
3685
3863
|
*/
|
|
3686
3864
|
unjoinedEventsCount?: string | null;
|
|
3687
3865
|
}
|
|
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
|
+
}
|
|
3688
3879
|
/**
|
|
3689
3880
|
* Metadata related to the progress of the PurgeDocuments operation. This will be returned by the google.longrunning.Operation.metadata field.
|
|
3690
3881
|
*/
|
|
@@ -3697,6 +3888,10 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
3697
3888
|
* Count of entries that encountered errors while processing.
|
|
3698
3889
|
*/
|
|
3699
3890
|
failureCount?: string | null;
|
|
3891
|
+
/**
|
|
3892
|
+
* Count of entries that were ignored as entries were not found.
|
|
3893
|
+
*/
|
|
3894
|
+
ignoredCount?: string | null;
|
|
3700
3895
|
/**
|
|
3701
3896
|
* Count of entries that were deleted successfully.
|
|
3702
3897
|
*/
|
|
@@ -3827,6 +4022,9 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
3827
4022
|
*/
|
|
3828
4023
|
quotaFailure?: Schema$GoogleCloudDiscoveryengineV1betaTargetSiteFailureReasonQuotaFailure;
|
|
3829
4024
|
}
|
|
4025
|
+
/**
|
|
4026
|
+
* Failed due to insufficient quota.
|
|
4027
|
+
*/
|
|
3830
4028
|
export interface Schema$GoogleCloudDiscoveryengineV1betaTargetSiteFailureReasonQuotaFailure {
|
|
3831
4029
|
/**
|
|
3832
4030
|
* This number is an estimation on how much total quota this project needs to successfully complete indexing.
|
|
@@ -3931,6 +4129,10 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
3931
4129
|
* 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.
|
|
3932
4130
|
*/
|
|
3933
4131
|
displayName?: string | null;
|
|
4132
|
+
/**
|
|
4133
|
+
* Configuration for Document understanding and enrichment.
|
|
4134
|
+
*/
|
|
4135
|
+
documentProcessingConfig?: Schema$GoogleCloudDiscoveryengineV1DocumentProcessingConfig;
|
|
3934
4136
|
/**
|
|
3935
4137
|
* Immutable. The industry vertical that the data store registers.
|
|
3936
4138
|
*/
|
|
@@ -3943,6 +4145,10 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
3943
4145
|
* 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.
|
|
3944
4146
|
*/
|
|
3945
4147
|
solutionTypes?: string[] | null;
|
|
4148
|
+
/**
|
|
4149
|
+
* 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).
|
|
4150
|
+
*/
|
|
4151
|
+
startingSchema?: Schema$GoogleCloudDiscoveryengineV1Schema;
|
|
3946
4152
|
}
|
|
3947
4153
|
/**
|
|
3948
4154
|
* Metadata related to the progress of the DataStoreService.DeleteDataStore operation. This will be returned by the google.longrunning.Operation.metadata field.
|
|
@@ -3996,6 +4202,11 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
3996
4202
|
*/
|
|
3997
4203
|
updateTime?: string | null;
|
|
3998
4204
|
}
|
|
4205
|
+
/**
|
|
4206
|
+
* The digital parsing configurations for documents.
|
|
4207
|
+
*/
|
|
4208
|
+
export interface Schema$GoogleCloudDiscoveryengineV1DigitalParsingConfig {
|
|
4209
|
+
}
|
|
3999
4210
|
/**
|
|
4000
4211
|
* Metadata related to the progress of the SiteSearchEngineService.DisableAdvancedSiteSearch operation. This will be returned by the google.longrunning.Operation.metadata field.
|
|
4001
4212
|
*/
|
|
@@ -4014,6 +4225,38 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
4014
4225
|
*/
|
|
4015
4226
|
export interface Schema$GoogleCloudDiscoveryengineV1DisableAdvancedSiteSearchResponse {
|
|
4016
4227
|
}
|
|
4228
|
+
/**
|
|
4229
|
+
* 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.
|
|
4230
|
+
*/
|
|
4231
|
+
export interface Schema$GoogleCloudDiscoveryengineV1DocumentProcessingConfig {
|
|
4232
|
+
/**
|
|
4233
|
+
* 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.
|
|
4234
|
+
*/
|
|
4235
|
+
defaultParsingConfig?: Schema$GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig;
|
|
4236
|
+
/**
|
|
4237
|
+
* The full resource name of the Document Processing Config. Format: `projects/x/locations/x/collections/x/dataStores/x/documentProcessingConfig`.
|
|
4238
|
+
*/
|
|
4239
|
+
name?: string | null;
|
|
4240
|
+
/**
|
|
4241
|
+
* 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.
|
|
4242
|
+
*/
|
|
4243
|
+
parsingConfigOverrides?: {
|
|
4244
|
+
[key: string]: Schema$GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig;
|
|
4245
|
+
} | null;
|
|
4246
|
+
}
|
|
4247
|
+
/**
|
|
4248
|
+
* Related configurations applied to a specific type of document parser.
|
|
4249
|
+
*/
|
|
4250
|
+
export interface Schema$GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig {
|
|
4251
|
+
/**
|
|
4252
|
+
* Configurations applied to digital parser.
|
|
4253
|
+
*/
|
|
4254
|
+
digitalParsingConfig?: Schema$GoogleCloudDiscoveryengineV1DigitalParsingConfig;
|
|
4255
|
+
/**
|
|
4256
|
+
* Configurations applied to OCR parser. Currently it only applies to PDFs.
|
|
4257
|
+
*/
|
|
4258
|
+
ocrParsingConfig?: Schema$GoogleCloudDiscoveryengineV1OcrParsingConfig;
|
|
4259
|
+
}
|
|
4017
4260
|
/**
|
|
4018
4261
|
* Metadata related to the progress of the SiteSearchEngineService.EnableAdvancedSiteSearch operation. This will be returned by the google.longrunning.Operation.metadata field.
|
|
4019
4262
|
*/
|
|
@@ -4261,6 +4504,19 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
4261
4504
|
*/
|
|
4262
4505
|
unjoinedEventsCount?: string | null;
|
|
4263
4506
|
}
|
|
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
|
+
}
|
|
4264
4520
|
/**
|
|
4265
4521
|
* Metadata related to the progress of the PurgeDocuments operation. This will be returned by the google.longrunning.Operation.metadata field.
|
|
4266
4522
|
*/
|
|
@@ -4273,6 +4529,10 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
4273
4529
|
* Count of entries that encountered errors while processing.
|
|
4274
4530
|
*/
|
|
4275
4531
|
failureCount?: string | null;
|
|
4532
|
+
/**
|
|
4533
|
+
* Count of entries that were ignored as entries were not found.
|
|
4534
|
+
*/
|
|
4535
|
+
ignoredCount?: string | null;
|
|
4276
4536
|
/**
|
|
4277
4537
|
* Count of entries that were deleted successfully.
|
|
4278
4538
|
*/
|
|
@@ -4403,6 +4663,9 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
4403
4663
|
*/
|
|
4404
4664
|
quotaFailure?: Schema$GoogleCloudDiscoveryengineV1TargetSiteFailureReasonQuotaFailure;
|
|
4405
4665
|
}
|
|
4666
|
+
/**
|
|
4667
|
+
* Failed due to insufficient quota.
|
|
4668
|
+
*/
|
|
4406
4669
|
export interface Schema$GoogleCloudDiscoveryengineV1TargetSiteFailureReasonQuotaFailure {
|
|
4407
4670
|
/**
|
|
4408
4671
|
* This number is an estimation on how much total quota this project needs to successfully complete indexing.
|
|
@@ -4644,6 +4907,34 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
4644
4907
|
estimateDataSize(params: Params$Resource$Projects$Locations$Estimatedatasize, options: MethodOptions | BodyResponseCallback<Schema$GoogleLongrunningOperation>, callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
|
|
4645
4908
|
estimateDataSize(params: Params$Resource$Projects$Locations$Estimatedatasize, callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
|
|
4646
4909
|
estimateDataSize(callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
|
|
4910
|
+
/**
|
|
4911
|
+
* Gets the AclConfig.
|
|
4912
|
+
*
|
|
4913
|
+
* @param params - Parameters for request
|
|
4914
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
4915
|
+
* @param callback - Optional callback that handles the response.
|
|
4916
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4917
|
+
*/
|
|
4918
|
+
getAclConfig(params: Params$Resource$Projects$Locations$Getaclconfig, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
4919
|
+
getAclConfig(params?: Params$Resource$Projects$Locations$Getaclconfig, options?: MethodOptions): GaxiosPromise<Schema$GoogleCloudDiscoveryengineV1alphaAclConfig>;
|
|
4920
|
+
getAclConfig(params: Params$Resource$Projects$Locations$Getaclconfig, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
4921
|
+
getAclConfig(params: Params$Resource$Projects$Locations$Getaclconfig, options: MethodOptions | BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaAclConfig>, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaAclConfig>): void;
|
|
4922
|
+
getAclConfig(params: Params$Resource$Projects$Locations$Getaclconfig, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaAclConfig>): void;
|
|
4923
|
+
getAclConfig(callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaAclConfig>): void;
|
|
4924
|
+
/**
|
|
4925
|
+
* 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.
|
|
4926
|
+
*
|
|
4927
|
+
* @param params - Parameters for request
|
|
4928
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
4929
|
+
* @param callback - Optional callback that handles the response.
|
|
4930
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4931
|
+
*/
|
|
4932
|
+
updateAclConfig(params: Params$Resource$Projects$Locations$Updateaclconfig, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
4933
|
+
updateAclConfig(params?: Params$Resource$Projects$Locations$Updateaclconfig, options?: MethodOptions): GaxiosPromise<Schema$GoogleCloudDiscoveryengineV1alphaAclConfig>;
|
|
4934
|
+
updateAclConfig(params: Params$Resource$Projects$Locations$Updateaclconfig, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
4935
|
+
updateAclConfig(params: Params$Resource$Projects$Locations$Updateaclconfig, options: MethodOptions | BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaAclConfig>, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaAclConfig>): void;
|
|
4936
|
+
updateAclConfig(params: Params$Resource$Projects$Locations$Updateaclconfig, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaAclConfig>): void;
|
|
4937
|
+
updateAclConfig(callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1alphaAclConfig>): void;
|
|
4647
4938
|
}
|
|
4648
4939
|
export interface Params$Resource$Projects$Locations$Estimatedatasize extends StandardParameters {
|
|
4649
4940
|
/**
|
|
@@ -4655,6 +4946,22 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
4655
4946
|
*/
|
|
4656
4947
|
requestBody?: Schema$GoogleCloudDiscoveryengineV1alphaEstimateDataSizeRequest;
|
|
4657
4948
|
}
|
|
4949
|
+
export interface Params$Resource$Projects$Locations$Getaclconfig extends StandardParameters {
|
|
4950
|
+
/**
|
|
4951
|
+
* Required. Resource name of AclConfig, such as `projects/x/locations/x/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.
|
|
4952
|
+
*/
|
|
4953
|
+
name?: string;
|
|
4954
|
+
}
|
|
4955
|
+
export interface Params$Resource$Projects$Locations$Updateaclconfig extends StandardParameters {
|
|
4956
|
+
/**
|
|
4957
|
+
* 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.
|
|
4958
|
+
*/
|
|
4959
|
+
name?: string;
|
|
4960
|
+
/**
|
|
4961
|
+
* Request body metadata
|
|
4962
|
+
*/
|
|
4963
|
+
requestBody?: Schema$GoogleCloudDiscoveryengineV1alphaAclConfig;
|
|
4964
|
+
}
|
|
4658
4965
|
export class Resource$Projects$Locations$Collections {
|
|
4659
4966
|
context: APIRequestContext;
|
|
4660
4967
|
dataConnector: Resource$Projects$Locations$Collections$Dataconnector;
|
|
@@ -5164,6 +5471,10 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
5164
5471
|
* 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.
|
|
5165
5472
|
*/
|
|
5166
5473
|
name?: string;
|
|
5474
|
+
/**
|
|
5475
|
+
* Indicates which fields in the provided imported 'document' to update. If not set, will by default update all fields.
|
|
5476
|
+
*/
|
|
5477
|
+
updateMask?: string;
|
|
5167
5478
|
/**
|
|
5168
5479
|
* Request body metadata
|
|
5169
5480
|
*/
|
|
@@ -7387,6 +7698,10 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
7387
7698
|
* 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.
|
|
7388
7699
|
*/
|
|
7389
7700
|
name?: string;
|
|
7701
|
+
/**
|
|
7702
|
+
* Indicates which fields in the provided imported 'document' to update. If not set, will by default update all fields.
|
|
7703
|
+
*/
|
|
7704
|
+
updateMask?: string;
|
|
7390
7705
|
/**
|
|
7391
7706
|
* Request body metadata
|
|
7392
7707
|
*/
|