Debian Codegraph @

docs/dyn/discoveryengine_v1alpha.projects.locations.collections.dataStores.html

raw
1 <html><body>
2 <style>
3
4 body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13 }
14
15 body {
16 font-size: 13px;
17 padding: 1em;
18 }
19
20 h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23 }
24
25 h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28 }
29
30 h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34 }
35
36 pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39 }
40
41 pre {
42 margin-top: 0.5em;
43 }
44
45 h1, h2, h3, p {
46 font-family: Arial, sans serif;
47 }
48
49 h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51 }
52
53 .toc_element {
54 margin-top: 0.5em;
55 }
56
57 .firstline {
58 margin-left: 2 em;
59 }
60
61 .method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66 }
67
68 .details {
69 font-weight: bold;
70 font-size: 14px;
71 }
72
73 </style>
74
75 <h1><a href="discoveryengine_v1alpha.html">Discovery Engine API</a> . <a href="discoveryengine_v1alpha.projects.html">projects</a> . <a href="discoveryengine_v1alpha.projects.locations.html">locations</a> . <a href="discoveryengine_v1alpha.projects.locations.collections.html">collections</a> . <a href="discoveryengine_v1alpha.projects.locations.collections.dataStores.html">dataStores</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="discoveryengine_v1alpha.projects.locations.collections.dataStores.branches.html">branches()</a></code>
79 </p>
80 <p class="firstline">Returns the branches Resource.</p>
81
82 <p class="toc_element">
83 <code><a href="discoveryengine_v1alpha.projects.locations.collections.dataStores.completionConfig.html">completionConfig()</a></code>
84 </p>
85 <p class="firstline">Returns the completionConfig Resource.</p>
86
87 <p class="toc_element">
88 <code><a href="discoveryengine_v1alpha.projects.locations.collections.dataStores.completionSuggestions.html">completionSuggestions()</a></code>
89 </p>
90 <p class="firstline">Returns the completionSuggestions Resource.</p>
91
92 <p class="toc_element">
93 <code><a href="discoveryengine_v1alpha.projects.locations.collections.dataStores.controls.html">controls()</a></code>
94 </p>
95 <p class="firstline">Returns the controls Resource.</p>
96
97 <p class="toc_element">
98 <code><a href="discoveryengine_v1alpha.projects.locations.collections.dataStores.conversations.html">conversations()</a></code>
99 </p>
100 <p class="firstline">Returns the conversations Resource.</p>
101
102 <p class="toc_element">
103 <code><a href="discoveryengine_v1alpha.projects.locations.collections.dataStores.customModels.html">customModels()</a></code>
104 </p>
105 <p class="firstline">Returns the customModels Resource.</p>
106
107 <p class="toc_element">
108 <code><a href="discoveryengine_v1alpha.projects.locations.collections.dataStores.models.html">models()</a></code>
109 </p>
110 <p class="firstline">Returns the models Resource.</p>
111
112 <p class="toc_element">
113 <code><a href="discoveryengine_v1alpha.projects.locations.collections.dataStores.operations.html">operations()</a></code>
114 </p>
115 <p class="firstline">Returns the operations Resource.</p>
116
117 <p class="toc_element">
118 <code><a href="discoveryengine_v1alpha.projects.locations.collections.dataStores.schemas.html">schemas()</a></code>
119 </p>
120 <p class="firstline">Returns the schemas Resource.</p>
121
122 <p class="toc_element">
123 <code><a href="discoveryengine_v1alpha.projects.locations.collections.dataStores.servingConfigs.html">servingConfigs()</a></code>
124 </p>
125 <p class="firstline">Returns the servingConfigs Resource.</p>
126
127 <p class="toc_element">
128 <code><a href="discoveryengine_v1alpha.projects.locations.collections.dataStores.sessions.html">sessions()</a></code>
129 </p>
130 <p class="firstline">Returns the sessions Resource.</p>
131
132 <p class="toc_element">
133 <code><a href="discoveryengine_v1alpha.projects.locations.collections.dataStores.siteSearchEngine.html">siteSearchEngine()</a></code>
134 </p>
135 <p class="firstline">Returns the siteSearchEngine Resource.</p>
136
137 <p class="toc_element">
138 <code><a href="discoveryengine_v1alpha.projects.locations.collections.dataStores.suggestionDenyListEntries.html">suggestionDenyListEntries()</a></code>
139 </p>
140 <p class="firstline">Returns the suggestionDenyListEntries Resource.</p>
141
142 <p class="toc_element">
143 <code><a href="discoveryengine_v1alpha.projects.locations.collections.dataStores.userEvents.html">userEvents()</a></code>
144 </p>
145 <p class="firstline">Returns the userEvents Resource.</p>
146
147 <p class="toc_element">
148 <code><a href="discoveryengine_v1alpha.projects.locations.collections.dataStores.widgetConfigs.html">widgetConfigs()</a></code>
149 </p>
150 <p class="firstline">Returns the widgetConfigs Resource.</p>
151
152 <p class="toc_element">
153 <code><a href="#addPatientFilter">addPatientFilter(dataStore, body=None, x__xgafv=None)</a></code></p>
154 <p class="firstline">Adds a group of patient IDs as a patient filter for the data store. Patient filters are empty by default when a data store is created, and are stored in a separate table. The data store must first be created, and must be a healthcare data store. The filter group must be a FHIR resource name of type Group, and the filter will be constructed from the direct members of the group which are Patient resources.</p>
155 <p class="toc_element">
156 <code><a href="#close">close()</a></code></p>
157 <p class="firstline">Close httplib2 connections.</p>
158 <p class="toc_element">
159 <code><a href="#completeQuery">completeQuery(dataStore, includeTailSuggestions=None, query=None, queryModel=None, userPseudoId=None, x__xgafv=None)</a></code></p>
160 <p class="firstline">Completes the specified user input with keyword suggestions.</p>
161 <p class="toc_element">
162 <code><a href="#create">create(parent, body=None, cmekConfigName=None, createAdvancedSiteSearch=None, dataStoreId=None, disableCmek=None, skipDefaultSchemaCreation=None, x__xgafv=None)</a></code></p>
163 <p class="firstline">Creates a DataStore. DataStore is for storing Documents. To serve these documents for Search, or Recommendation use case, an Engine needs to be created separately.</p>
164 <p class="toc_element">
165 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
166 <p class="firstline">Deletes a DataStore.</p>
167 <p class="toc_element">
168 <code><a href="#deletePatientFilter">deletePatientFilter(dataStore, body=None, x__xgafv=None)</a></code></p>
169 <p class="firstline">Deletes the entire patient filter for the data store. Patient filters are empty by default when a data store is created, and are stored in a separate table. The data store must first be created, and must be a healthcare data store. This method will fail if the data store does not have a patient filter.</p>
170 <p class="toc_element">
171 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
172 <p class="firstline">Gets a DataStore.</p>
173 <p class="toc_element">
174 <code><a href="#getCompletionConfig">getCompletionConfig(name, x__xgafv=None)</a></code></p>
175 <p class="firstline">Gets a CompletionConfig</p>
176 <p class="toc_element">
177 <code><a href="#getDocumentProcessingConfig">getDocumentProcessingConfig(name, x__xgafv=None)</a></code></p>
178 <p class="firstline">Gets a DocumentProcessingConfig.</p>
179 <p class="toc_element">
180 <code><a href="#getSiteSearchEngine">getSiteSearchEngine(name, x__xgafv=None)</a></code></p>
181 <p class="firstline">Gets the SiteSearchEngine.</p>
182 <p class="toc_element">
183 <code><a href="#list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
184 <p class="firstline">Lists all the DataStores associated with the project.</p>
185 <p class="toc_element">
186 <code><a href="#list_next">list_next()</a></code></p>
187 <p class="firstline">Retrieves the next page of results.</p>
188 <p class="toc_element">
189 <code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
190 <p class="firstline">Updates a DataStore</p>
191 <p class="toc_element">
192 <code><a href="#removePatientFilter">removePatientFilter(dataStore, body=None, x__xgafv=None)</a></code></p>
193 <p class="firstline">Removes a group of patient IDs from the patient filter for the data store. Patient filters are empty by default when a data store is created, and are stored in a separate table. The data store must first be created, and must be a healthcare data store. This method will fail if the data store does not have a patient filter. The filter group must be a FHIR resource name of type Group, and the list of patient IDs to remove will be constructed from the direct members of the group which are Patient resources.</p>
194 <p class="toc_element">
195 <code><a href="#replacePatientFilter">replacePatientFilter(dataStore, body=None, x__xgafv=None)</a></code></p>
196 <p class="firstline">Replaces the patient filter for the data store. This method is essentially a combination of DeletePatientFilters and AddPatientFilter. Patient filters are empty by default when a data store is created, and are stored in a separate table. The data store must first be created, and must be a healthcare data store. This method will fail if the data store does not have a patient filter. The filter group must be a FHIR resource name of type Group, and the new filter will be constructed from the direct members of the group which are Patient resources.</p>
197 <p class="toc_element">
198 <code><a href="#trainCustomModel">trainCustomModel(dataStore, body=None, x__xgafv=None)</a></code></p>
199 <p class="firstline">Trains a custom model.</p>
200 <p class="toc_element">
201 <code><a href="#updateCompletionConfig">updateCompletionConfig(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
202 <p class="firstline">Updates the CompletionConfigs.</p>
203 <p class="toc_element">
204 <code><a href="#updateDocumentProcessingConfig">updateDocumentProcessingConfig(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
205 <p class="firstline">Updates the DocumentProcessingConfig. DocumentProcessingConfig is a singleon resource of DataStore. It's empty when DataStore is created. The first call to this method will set up DocumentProcessingConfig.</p>
206 <h3>Method Details</h3>
207 <div class="method">
208 <code class="details" id="addPatientFilter">addPatientFilter(dataStore, body=None, x__xgafv=None)</code>
209 <pre>Adds a group of patient IDs as a patient filter for the data store. Patient filters are empty by default when a data store is created, and are stored in a separate table. The data store must first be created, and must be a healthcare data store. The filter group must be a FHIR resource name of type Group, and the filter will be constructed from the direct members of the group which are Patient resources.
210
211 Args:
212 dataStore: string, Required. Full resource name of DataStore, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. If the caller does not have permission to access the DataStore, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested DataStore does not exist, a NOT_FOUND error is returned. If the requested DataStore already has a patient filter, an ALREADY_EXISTS error will be returned. (required)
213 body: object, The request body.
214 The object takes the form of:
215
216 { # Request for DataStoreService.AddPatientFilter method.
217 &quot;dataStore&quot;: &quot;A String&quot;, # Required. Full resource name of DataStore, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. If the caller does not have permission to access the DataStore, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested DataStore does not exist, a NOT_FOUND error is returned. If the requested DataStore already has a patient filter, an ALREADY_EXISTS error will be returned.
218 &quot;filterGroups&quot;: [ # Required. Names of the Group resources to use as a basis for the patient filter, in format `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/fhir/Group/{group_id}`. if the caller does not have permission to access the FHIR store, regardless of whether it exists, PERMISSION_DENIED error is returned. If the discovery engine service account does not have permission to access the FHIR store, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the group is not found at the location, a RESOURCE_NOT_FOUND error will be returned. The filter group must be a FHIR resource name of type Group, and the filter will be constructed from the direct members of the group which are Patient resources.
219 &quot;A String&quot;,
220 ],
221 }
222
223 x__xgafv: string, V1 error format.
224 Allowed values
225 1 - v1 error format
226 2 - v2 error format
227
228 Returns:
229 An object of the form:
230
231 { # This resource represents a long-running operation that is the result of a network API call.
232 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
233 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
234 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
235 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
236 {
237 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
238 },
239 ],
240 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
241 },
242 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
243 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
244 },
245 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
246 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
247 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
248 },
249 }</pre>
250 </div>
251
252 <div class="method">
253 <code class="details" id="close">close()</code>
254 <pre>Close httplib2 connections.</pre>
255 </div>
256
257 <div class="method">
258 <code class="details" id="completeQuery">completeQuery(dataStore, includeTailSuggestions=None, query=None, queryModel=None, userPseudoId=None, x__xgafv=None)</code>
259 <pre>Completes the specified user input with keyword suggestions.
260
261 Args:
262 dataStore: string, Required. The parent data store resource name for which the completion is performed, such as `projects/*/locations/global/collections/default_collection/dataStores/default_data_store`. (required)
263 includeTailSuggestions: boolean, Indicates if tail suggestions should be returned if there are no suggestions that match the full query. Even if set to true, if there are suggestions that match the full query, those are returned and no tail suggestions are returned.
264 query: string, Required. The typeahead input used to fetch suggestions. Maximum length is 128 characters.
265 queryModel: string, Specifies the autocomplete data model. This overrides any model specified in the Configuration &gt; Autocomplete section of the Cloud console. Currently supported values: * `document` - Using suggestions generated from user-imported documents. * `search-history` - Using suggestions generated from the past history of SearchService.Search API calls. Do not use it when there is no traffic for Search API. * `user-event` - Using suggestions generated from user-imported search events. * `document-completable` - Using suggestions taken directly from user-imported document fields marked as completable. Default values: * `document` is the default model for regular dataStores. * `search-history` is the default model for site search dataStores.
266 userPseudoId: string, Optional. A unique identifier for tracking visitors. For example, this could be implemented with an HTTP cookie, which should be able to uniquely identify a visitor on a single device. This unique identifier should not change if the visitor logs in or out of the website. This field should NOT have a fixed value such as `unknown_visitor`. This should be the same identifier as UserEvent.user_pseudo_id and SearchRequest.user_pseudo_id. The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` error is returned.
267 x__xgafv: string, V1 error format.
268 Allowed values
269 1 - v1 error format
270 2 - v2 error format
271
272 Returns:
273 An object of the form:
274
275 { # Response message for CompletionService.CompleteQuery method.
276 &quot;querySuggestions&quot;: [ # Results of the matched query suggestions. The result list is ordered and the first result is a top suggestion.
277 { # Suggestions as search queries.
278 &quot;completableFieldPaths&quot;: [ # The unique document field paths that serve as the source of this suggestion if it was generated from completable fields. This field is only populated for the document-completable model.
279 &quot;A String&quot;,
280 ],
281 &quot;suggestion&quot;: &quot;A String&quot;, # The suggestion for the query.
282 },
283 ],
284 &quot;tailMatchTriggered&quot;: True or False, # True if the returned suggestions are all tail suggestions. For tail matching to be triggered, include_tail_suggestions in the request must be true and there must be no suggestions that match the full query.
285 }</pre>
286 </div>
287
288 <div class="method">
289 <code class="details" id="create">create(parent, body=None, cmekConfigName=None, createAdvancedSiteSearch=None, dataStoreId=None, disableCmek=None, skipDefaultSchemaCreation=None, x__xgafv=None)</code>
290 <pre>Creates a DataStore. DataStore is for storing Documents. To serve these documents for Search, or Recommendation use case, an Engine needs to be created separately.
291
292 Args:
293 parent: string, Required. The parent resource name, such as `projects/{project}/locations/{location}/collections/{collection}`. (required)
294 body: object, The request body.
295 The object takes the form of:
296
297 { # DataStore captures global settings and configs at the DataStore level.
298 &quot;aclEnabled&quot;: True or False, # 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&#x27;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.
299 &quot;advancedSiteSearchConfig&quot;: { # Configuration data for advance site search. # Optional. Configuration for advanced site search.
300 &quot;disableAutomaticRefresh&quot;: True or False, # If set true, automatic refresh is disabled for the DataStore.
301 &quot;disableInitialIndex&quot;: True or False, # If set true, initial indexing is disabled for the DataStore.
302 },
303 &quot;billingEstimation&quot;: { # Estimation of data size per data store. # Output only. Data size estimation for billing.
304 &quot;structuredDataSize&quot;: &quot;A String&quot;, # Data size for structured data in terms of bytes.
305 &quot;structuredDataUpdateTime&quot;: &quot;A String&quot;, # Last updated timestamp for structured data.
306 &quot;unstructuredDataSize&quot;: &quot;A String&quot;, # Data size for unstructured data in terms of bytes.
307 &quot;unstructuredDataUpdateTime&quot;: &quot;A String&quot;, # Last updated timestamp for unstructured data.
308 &quot;websiteDataSize&quot;: &quot;A String&quot;, # Data size for websites in terms of bytes.
309 &quot;websiteDataUpdateTime&quot;: &quot;A String&quot;, # Last updated timestamp for websites.
310 },
311 &quot;cmekConfig&quot;: { # Configurations used to enable CMEK data encryption with Cloud KMS keys. # Output only. CMEK-related information for the DataStore.
312 &quot;isDefault&quot;: True or False, # Output only. The default CmekConfig for the Customer.
313 &quot;kmsKey&quot;: &quot;A String&quot;, # Required. KMS key resource name which will be used to encrypt resources `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`.
314 &quot;kmsKeyVersion&quot;: &quot;A String&quot;, # Output only. KMS key version resource name which will be used to encrypt resources `/cryptoKeyVersions/{keyVersion}`.
315 &quot;lastRotationTimestampMicros&quot;: &quot;A String&quot;, # Output only. The timestamp of the last key rotation.
316 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the CmekConfig of the form `projects/{project}/locations/{location}/cmekConfig` or `projects/{project}/locations/{location}/cmekConfigs/{cmek_config}`.
317 &quot;notebooklmState&quot;: &quot;A String&quot;, # Output only. Whether the NotebookLM Corpus is ready to be used.
318 &quot;singleRegionKeys&quot;: [ # Optional. Single-regional CMEKs that are required for some VAIS features.
319 { # Metadata for single-regional CMEKs.
320 &quot;kmsKey&quot;: &quot;A String&quot;, # Required. Single-regional kms key resource name which will be used to encrypt resources `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`.
321 },
322 ],
323 &quot;state&quot;: &quot;A String&quot;, # Output only. The states of the CmekConfig.
324 },
325 &quot;configurableBillingApproach&quot;: &quot;A String&quot;, # Optional. Configuration for configurable billing approach. See
326 &quot;configurableBillingApproachUpdateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when configurable_billing_approach was last updated.
327 &quot;contentConfig&quot;: &quot;A String&quot;, # Immutable. The content config of the data store. If this field is unset, the server behavior defaults to ContentConfig.NO_CONTENT.
328 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Timestamp the DataStore was created at.
329 &quot;dataProtectionPolicy&quot;: { # Contains the data protection policy config for a DataStore or a connector. # Optional. Specifies the data protection policy for the data store.
330 &quot;sensitiveDataProtectionPolicy&quot;: { # Specifies a Sensitive Data Protection (https://cloud.google.com/sensitive-data-protection/docs/sensitive-data-protection-overview) policy. # Optional. Specifies the sensitive data protection policy for the connector source.
331 &quot;policy&quot;: &quot;A String&quot;, # Optional. Specifies the resource name of the Sensitive Data Protection content policy.
332 },
333 },
334 &quot;defaultSchemaId&quot;: &quot;A String&quot;, # Output only. The id of the default Schema associated to this data store.
335 &quot;displayName&quot;: &quot;A String&quot;, # 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.
336 &quot;documentProcessingConfig&quot;: { # A singleton resource of DataStore. If it&#x27;s empty when DataStore is created and DataStore is set to DataStore.ContentConfig.CONTENT_REQUIRED, the default parser will default to digital parser. # Configuration for Document understanding and enrichment.
337 &quot;chunkingConfig&quot;: { # Configuration for chunking config. # Whether chunking mode is enabled.
338 &quot;layoutBasedChunkingConfig&quot;: { # Configuration for the layout based chunking. # Configuration for the layout based chunking.
339 &quot;chunkSize&quot;: 42, # The token size limit for each chunk. Supported values: 100-500 (inclusive). Default value: 500.
340 &quot;includeAncestorHeadings&quot;: True or False, # Whether to include appending different levels of headings to chunks from the middle of the document to prevent context loss. Default value: False.
341 },
342 },
343 &quot;defaultParsingConfig&quot;: { # Related configurations applied to a specific type of document parser. # 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.
344 &quot;digitalParsingConfig&quot;: { # The digital parsing configurations for documents. # Configurations applied to digital parser.
345 },
346 &quot;layoutParsingConfig&quot;: { # The layout parsing configurations for documents. # Configurations applied to layout parser.
347 &quot;enableGetProcessedDocument&quot;: True or False, # Optional. If true, the processed document will be made available for the GetProcessedDocument API.
348 &quot;enableImageAnnotation&quot;: True or False, # Optional. If true, the LLM based annotation is added to the image during parsing.
349 &quot;enableLlmLayoutParsing&quot;: True or False, # Optional. If true, the pdf layout will be refined using an LLM.
350 &quot;enableTableAnnotation&quot;: True or False, # Optional. If true, the LLM based annotation is added to the table during parsing.
351 &quot;excludeHtmlClasses&quot;: [ # Optional. List of HTML classes to exclude from the parsed content.
352 &quot;A String&quot;,
353 ],
354 &quot;excludeHtmlElements&quot;: [ # Optional. List of HTML elements to exclude from the parsed content.
355 &quot;A String&quot;,
356 ],
357 &quot;excludeHtmlIds&quot;: [ # Optional. List of HTML ids to exclude from the parsed content.
358 &quot;A String&quot;,
359 ],
360 &quot;structuredContentTypes&quot;: [ # Optional. Contains the required structure types to extract from the document. Supported values: * `shareholder-structure`
361 &quot;A String&quot;,
362 ],
363 },
364 &quot;ocrParsingConfig&quot;: { # The OCR parsing configurations for documents. # Configurations applied to OCR parser. Currently it only applies to PDFs.
365 &quot;enhancedDocumentElements&quot;: [ # [DEPRECATED] This field is deprecated. To use the additional enhanced document elements processing, please switch to `layout_parsing_config`.
366 &quot;A String&quot;,
367 ],
368 &quot;useNativeText&quot;: True or False, # If true, will use native text instead of OCR text on pages containing native text.
369 },
370 },
371 &quot;name&quot;: &quot;A String&quot;, # The full resource name of the Document Processing Config. Format: `projects/*/locations/*/collections/*/dataStores/*/documentProcessingConfig`.
372 &quot;parsingConfigOverrides&quot;: { # 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 layout parsing are supported. * `docx`: Override parsing config for DOCX files, only digital parsing and layout parsing are supported. * `pptx`: Override parsing config for PPTX files, only digital parsing and layout parsing are supported. * `xlsm`: Override parsing config for XLSM files, only digital parsing and layout parsing are supported. * `xlsx`: Override parsing config for XLSX files, only digital parsing and layout parsing are supported.
373 &quot;a_key&quot;: { # Related configurations applied to a specific type of document parser.
374 &quot;digitalParsingConfig&quot;: { # The digital parsing configurations for documents. # Configurations applied to digital parser.
375 },
376 &quot;layoutParsingConfig&quot;: { # The layout parsing configurations for documents. # Configurations applied to layout parser.
377 &quot;enableGetProcessedDocument&quot;: True or False, # Optional. If true, the processed document will be made available for the GetProcessedDocument API.
378 &quot;enableImageAnnotation&quot;: True or False, # Optional. If true, the LLM based annotation is added to the image during parsing.
379 &quot;enableLlmLayoutParsing&quot;: True or False, # Optional. If true, the pdf layout will be refined using an LLM.
380 &quot;enableTableAnnotation&quot;: True or False, # Optional. If true, the LLM based annotation is added to the table during parsing.
381 &quot;excludeHtmlClasses&quot;: [ # Optional. List of HTML classes to exclude from the parsed content.
382 &quot;A String&quot;,
383 ],
384 &quot;excludeHtmlElements&quot;: [ # Optional. List of HTML elements to exclude from the parsed content.
385 &quot;A String&quot;,
386 ],
387 &quot;excludeHtmlIds&quot;: [ # Optional. List of HTML ids to exclude from the parsed content.
388 &quot;A String&quot;,
389 ],
390 &quot;structuredContentTypes&quot;: [ # Optional. Contains the required structure types to extract from the document. Supported values: * `shareholder-structure`
391 &quot;A String&quot;,
392 ],
393 },
394 &quot;ocrParsingConfig&quot;: { # The OCR parsing configurations for documents. # Configurations applied to OCR parser. Currently it only applies to PDFs.
395 &quot;enhancedDocumentElements&quot;: [ # [DEPRECATED] This field is deprecated. To use the additional enhanced document elements processing, please switch to `layout_parsing_config`.
396 &quot;A String&quot;,
397 ],
398 &quot;useNativeText&quot;: True or False, # If true, will use native text instead of OCR text on pages containing native text.
399 },
400 },
401 },
402 },
403 &quot;federatedSearchConfig&quot;: { # Stores information for federated search. # Optional. If set, this DataStore is a federated search DataStore.
404 &quot;alloyDbConfig&quot;: { # Stores information for connecting to AlloyDB. # AlloyDB config. If set, this DataStore is connected to AlloyDB.
405 &quot;alloydbAiNlConfig&quot;: { # Configuration for AlloyDB AI Natural Language. # Optional. Configuration for Magic.
406 &quot;nlConfigId&quot;: &quot;A String&quot;, # Optional. AlloyDb AI NL config id, i.e. the value that was used for calling `SELECT alloydb_ai_nl.g_create_configuration(...)`. Can be empty.
407 },
408 &quot;alloydbConnectionConfig&quot;: { # Configuration for connecting to AlloyDB. # Required. Configuration for connecting to AlloyDB.
409 &quot;authMode&quot;: &quot;A String&quot;, # Optional. Auth mode.
410 &quot;database&quot;: &quot;A String&quot;, # Required. The AlloyDB database to connect to.
411 &quot;enablePsvs&quot;: True or False, # Optional. If true, enable PSVS for AlloyDB.
412 &quot;instance&quot;: &quot;A String&quot;, # Required. The AlloyDB instance to connect to.
413 &quot;password&quot;: &quot;A String&quot;, # Required. Database password. If auth_mode = END_USER_ACCOUNT, it can be unset. In that case, the password will be inferred on the AlloyDB side, based on the authenticated user.
414 &quot;user&quot;: &quot;A String&quot;, # Required. Database user. If auth_mode = END_USER_ACCOUNT, it can be unset. In that case, the user will be inferred on the AlloyDB side, based on the authenticated user.
415 },
416 &quot;returnedFields&quot;: [ # Optional. Fields to be returned in the search results. If empty, all fields will be returned.
417 &quot;A String&quot;,
418 ],
419 },
420 &quot;notebooklmConfig&quot;: { # Config for connecting to NotebookLM Enterprise. # NotebookLM config. If set, this DataStore is connected to NotebookLM Enterprise.
421 &quot;searchConfig&quot;: &quot;A String&quot;, # Required. Search config name. Format: projects/*/locations/global/notebookLmSearchConfigs/*
422 },
423 &quot;thirdPartyOauthConfig&quot;: { # Stores information for third party applicationOAuth. # Third Party OAuth config. If set, this DataStore is connected to a third party application.
424 &quot;appName&quot;: &quot;A String&quot;, # Optional. The type of the application. E.g., &quot;jira&quot;, &quot;box&quot;, etc.
425 &quot;instanceName&quot;: &quot;A String&quot;, # Optional. The instance name identifying the 3P app, e.g., &quot;vaissptbots-my&quot;. This is different from the instance_uri which is the full URL of the 3P app e.g., &quot;https://vaissptbots-my.sharepoint.com&quot;.
426 },
427 },
428 &quot;healthcareFhirConfig&quot;: { # Config to data store for `HEALTHCARE_FHIR` vertical. # Optional. Configuration for `HEALTHCARE_FHIR` vertical.
429 &quot;enableConfigurableSchema&quot;: True or False, # Whether to enable configurable schema for `HEALTHCARE_FHIR` vertical. If set to `true`, the predefined healthcare fhir schema can be extended for more customized searching and filtering.
430 &quot;enableStaticIndexingForBatchIngestion&quot;: True or False, # Whether to enable static indexing for `HEALTHCARE_FHIR` batch ingestion. If set to `true`, the batch ingestion will be processed in a static indexing mode which is slower but more capable of handling larger volume.
431 &quot;initialFilterGroups&quot;: [ # Optional. Names of the Group resources to use as a basis for the initial patient filter, in format `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/fhir/Group/{group_id}`. The filter group must be a FHIR resource name of type Group, and the filter will be constructed from the direct members of the group which are Patient resources.
432 &quot;A String&quot;,
433 ],
434 },
435 &quot;identityMappingStore&quot;: &quot;A String&quot;, # Immutable. The fully qualified resource name of the associated IdentityMappingStore. This field can only be set for acl_enabled DataStores with `THIRD_PARTY` or `GSUITE` IdP. Format: `projects/{project}/locations/{location}/identityMappingStores/{identity_mapping_store}`.
436 &quot;idpConfig&quot;: { # Identity Provider Config. # Output only. Data store level identity provider config.
437 &quot;externalIdpConfig&quot;: { # Third party IDP Config. # External Identity provider config.
438 &quot;workforcePoolName&quot;: &quot;A String&quot;, # Workforce pool name. Example: &quot;locations/global/workforcePools/pool_id&quot;
439 },
440 &quot;idpType&quot;: &quot;A String&quot;, # Identity provider type configured.
441 },
442 &quot;industryVertical&quot;: &quot;A String&quot;, # Immutable. The industry vertical that the data store registers.
443 &quot;isInfobotFaqDataStore&quot;: True or False, # Optional. If set, this DataStore is an Infobot FAQ DataStore.
444 &quot;kmsKeyName&quot;: &quot;A String&quot;, # Input only. The KMS key to be used to protect this DataStore at creation time. Must be set for requests that need to comply with CMEK Org Policy protections. If this field is set and processed successfully, the DataStore will be protected by the KMS key, as indicated in the cmek_config field.
445 &quot;languageInfo&quot;: { # Language info for DataStore. # Language info for DataStore.
446 &quot;language&quot;: &quot;A String&quot;, # Output only. Language part of normalized_language_code. E.g.: `en-US` -&gt; `en`, `zh-Hans-HK` -&gt; `zh`, `en` -&gt; `en`.
447 &quot;languageCode&quot;: &quot;A String&quot;, # The language code for the DataStore.
448 &quot;normalizedLanguageCode&quot;: &quot;A String&quot;, # Output only. This is the normalized form of language_code. E.g.: language_code of `en-GB`, `en_GB`, `en-UK` or `en-gb` will have normalized_language_code of `en-GB`.
449 &quot;region&quot;: &quot;A String&quot;, # Output only. Region part of normalized_language_code, if present. E.g.: `en-US` -&gt; `US`, `zh-Hans-HK` -&gt; `HK`, `en` -&gt; ``.
450 },
451 &quot;name&quot;: &quot;A String&quot;, # Immutable. Identifier. 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.
452 &quot;naturalLanguageQueryUnderstandingConfig&quot;: { # Configuration for Natural Language Query Understanding. # Optional. Configuration for Natural Language Query Understanding.
453 &quot;mode&quot;: &quot;A String&quot;, # Mode of Natural Language Query Understanding. If this field is unset, the behavior defaults to NaturalLanguageQueryUnderstandingConfig.Mode.DISABLED.
454 },
455 &quot;servingConfigDataStore&quot;: { # Stores information regarding the serving configurations at DataStore level. # Optional. Stores serving config at DataStore level.
456 &quot;disabledForServing&quot;: True or False, # Optional. If set true, the DataStore will not be available for serving search requests.
457 },
458 &quot;solutionTypes&quot;: [ # 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.
459 &quot;A String&quot;,
460 ],
461 &quot;startingSchema&quot;: { # Defines the structure and layout of a type of document data. # 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).
462 &quot;fieldConfigs&quot;: [ # Output only. Configurations for fields of the schema.
463 { # Configurations for fields of a schema. For example, configuring a field is indexable, or searchable.
464 &quot;advancedSiteSearchDataSources&quot;: [ # If this field is set, only the corresponding source will be indexed for this field. Otherwise, the values from different sources are merged. Assuming a page with `` in meta tag, and `` in page map: if this enum is set to METATAGS, we will only index ``; if this enum is not set, we will merge them and index ``.
465 &quot;A String&quot;,
466 ],
467 &quot;completableOption&quot;: &quot;A String&quot;, # If completable_option is COMPLETABLE_ENABLED, field values are directly used and returned as suggestions for Autocomplete in CompletionService.CompleteQuery. If completable_option is unset, the server behavior defaults to COMPLETABLE_DISABLED for fields that support setting completable options, which are just `string` fields. For those fields that do not support setting completable options, the server will skip completable option setting, and setting completable_option for those fields will throw `INVALID_ARGUMENT` error.
468 &quot;dynamicFacetableOption&quot;: &quot;A String&quot;, # If dynamic_facetable_option is DYNAMIC_FACETABLE_ENABLED, field values are available for dynamic facet. Could only be DYNAMIC_FACETABLE_DISABLED if FieldConfig.indexable_option is INDEXABLE_DISABLED. Otherwise, an `INVALID_ARGUMENT` error will be returned. If dynamic_facetable_option is unset, the server behavior defaults to DYNAMIC_FACETABLE_DISABLED for fields that support setting dynamic facetable options. For those fields that do not support setting dynamic facetable options, such as `object` and `boolean`, the server will skip dynamic facetable option setting, and setting dynamic_facetable_option for those fields will throw `INVALID_ARGUMENT` error.
469 &quot;fieldPath&quot;: &quot;A String&quot;, # Required. Field path of the schema field. For example: `title`, `description`, `release_info.release_year`.
470 &quot;fieldType&quot;: &quot;A String&quot;, # Output only. Raw type of the field.
471 &quot;indexableOption&quot;: &quot;A String&quot;, # If indexable_option is INDEXABLE_ENABLED, field values are indexed so that it can be filtered or faceted in SearchService.Search. If indexable_option is unset, the server behavior defaults to INDEXABLE_DISABLED for fields that support setting indexable options. For those fields that do not support setting indexable options, such as `object` and `boolean` and key properties, the server will skip indexable_option setting, and setting indexable_option for those fields will throw `INVALID_ARGUMENT` error.
472 &quot;keyPropertyType&quot;: &quot;A String&quot;, # Output only. Type of the key property that this field is mapped to. Empty string if this is not annotated as mapped to a key property. Example types are `title`, `description`. Full list is defined by `keyPropertyMapping` in the schema field annotation. If the schema field has a `KeyPropertyMapping` annotation, `indexable_option` and `searchable_option` of this field cannot be modified.
473 &quot;metatagName&quot;: &quot;A String&quot;, # Optional. The metatag name found in the HTML page. If user defines this field, the value of this metatag name will be used to extract metatag. If the user does not define this field, the FieldConfig.field_path will be used to extract metatag.
474 &quot;recsFilterableOption&quot;: &quot;A String&quot;, # If recs_filterable_option is FILTERABLE_ENABLED, field values are filterable by filter expression in RecommendationService.Recommend. If FILTERABLE_ENABLED but the field type is numerical, field values are not filterable by text queries in RecommendationService.Recommend. Only textual fields are supported. If recs_filterable_option is unset, the default setting is FILTERABLE_DISABLED for fields that support setting filterable options. When a field set to [FILTERABLE_DISABLED] is filtered, a warning is generated and an empty result is returned.
475 &quot;retrievableOption&quot;: &quot;A String&quot;, # If retrievable_option is RETRIEVABLE_ENABLED, field values are included in the search results. If retrievable_option is unset, the server behavior defaults to RETRIEVABLE_DISABLED for fields that support setting retrievable options. For those fields that do not support setting retrievable options, such as `object` and `boolean`, the server will skip retrievable option setting, and setting retrievable_option for those fields will throw `INVALID_ARGUMENT` error.
476 &quot;schemaOrgPaths&quot;: [ # Field paths for indexing custom attribute from schema.org data. More details of schema.org and its defined types can be found at [schema.org](https://schema.org). It is only used on advanced site search schema. Currently only support full path from root. The full path to a field is constructed by concatenating field names, starting from `_root`, with a period `.` as the delimiter. Examples: * Publish date of the root: _root.datePublished * Publish date of the reviews: _root.review.datePublished
477 &quot;A String&quot;,
478 ],
479 &quot;searchableFieldImportance&quot;: &quot;A String&quot;, # Optional. Specifies the importance of the field when `searchable_option` is `SEARCHABLE_ENABLED`. If `searchable_option` is `SEARCHABLE_DISABLED`, this field is ignored. If `searchable_option` is `SEARCHABLE_ENABLED` and this is `SEARCHABLE_FIELD_IMPORTANCE_UNSPECIFIED`, it behaves as `DEFAULT_IMPORTANCE`. For more information, see [Weight searchable fields](https://cloud.google.com/generative-ai-app-builder/docs/configure-field-settings#weight-search).
480 &quot;searchableOption&quot;: &quot;A String&quot;, # If searchable_option is SEARCHABLE_ENABLED, field values are searchable by text queries in SearchService.Search. If SEARCHABLE_ENABLED but field type is numerical, field values will not be searchable by text queries in SearchService.Search, as there are no text values associated to numerical fields. If searchable_option is unset, the server behavior defaults to SEARCHABLE_DISABLED for fields that support setting searchable options. Only `string` fields that have no key property mapping support setting searchable_option. For those fields that do not support setting searchable options, the server will skip searchable option setting, and setting searchable_option for those fields will throw `INVALID_ARGUMENT` error.
481 },
482 ],
483 &quot;jsonSchema&quot;: &quot;A String&quot;, # The JSON representation of the schema.
484 &quot;name&quot;: &quot;A String&quot;, # Immutable. The full resource name of the schema, in the format of `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.
485 &quot;structSchema&quot;: { # The structured representation of the schema.
486 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
487 },
488 },
489 &quot;workspaceConfig&quot;: { # Config to store data store type configuration for workspace data # Config to store data store type configuration for workspace data. This must be set when DataStore.content_config is set as DataStore.ContentConfig.GOOGLE_WORKSPACE.
490 &quot;dasherCustomerId&quot;: &quot;A String&quot;, # Output only. Obfuscated Dasher customer ID. Derived by the server from the project&#x27;s GCP organization at data store creation time; any value supplied in the request payload is ignored.
491 &quot;superAdminEmailAddress&quot;: &quot;A String&quot;, # Optional. The super admin email address for the workspace that will be used for access token generation. For now we only use it for Native Google Drive connector data ingestion.
492 &quot;superAdminServiceAccount&quot;: &quot;A String&quot;, # Optional. The super admin service account for the workspace that will be used for access token generation. For now we only use it for Native Google Drive connector data ingestion.
493 &quot;type&quot;: &quot;A String&quot;, # The Google Workspace data source.
494 },
495 }
496
497 cmekConfigName: string, Resource name of the CmekConfig to use for protecting this DataStore.
498 createAdvancedSiteSearch: boolean, A boolean flag indicating whether user want to directly create an advanced data store for site search. If the data store is not configured as site search (GENERIC vertical and PUBLIC_WEBSITE content_config), this flag will be ignored.
499 dataStoreId: string, Required. The ID to use for the DataStore, which will become the final component of the DataStore&#x27;s resource name. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an INVALID_ARGUMENT error is returned.
500 disableCmek: boolean, DataStore without CMEK protections. If a default CmekConfig is set for the project, setting this field will override the default CmekConfig as well.
501 skipDefaultSchemaCreation: boolean, A boolean flag indicating whether to skip the default schema creation for the data store. Only enable this flag if you are certain that the default schema is incompatible with your use case. If set to true, you must manually create a schema for the data store before any documents can be ingested. This flag cannot be specified if `data_store.starting_schema` is specified.
502 x__xgafv: string, V1 error format.
503 Allowed values
504 1 - v1 error format
505 2 - v2 error format
506
507 Returns:
508 An object of the form:
509
510 { # This resource represents a long-running operation that is the result of a network API call.
511 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
512 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
513 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
514 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
515 {
516 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
517 },
518 ],
519 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
520 },
521 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
522 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
523 },
524 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
525 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
526 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
527 },
528 }</pre>
529 </div>
530
531 <div class="method">
532 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
533 <pre>Deletes a DataStore.
534
535 Args:
536 name: string, Required. Full resource name of DataStore, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. If the caller does not have permission to delete the DataStore, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the DataStore to delete does not exist, a NOT_FOUND error is returned. (required)
537 x__xgafv: string, V1 error format.
538 Allowed values
539 1 - v1 error format
540 2 - v2 error format
541
542 Returns:
543 An object of the form:
544
545 { # This resource represents a long-running operation that is the result of a network API call.
546 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
547 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
548 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
549 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
550 {
551 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
552 },
553 ],
554 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
555 },
556 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
557 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
558 },
559 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
560 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
561 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
562 },
563 }</pre>
564 </div>
565
566 <div class="method">
567 <code class="details" id="deletePatientFilter">deletePatientFilter(dataStore, body=None, x__xgafv=None)</code>
568 <pre>Deletes the entire patient filter for the data store. Patient filters are empty by default when a data store is created, and are stored in a separate table. The data store must first be created, and must be a healthcare data store. This method will fail if the data store does not have a patient filter.
569
570 Args:
571 dataStore: string, Required. Full resource name of DataStore, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. If the caller does not have permission to access the DataStore, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested DataStore does not exist, a NOT_FOUND error is returned. If the requested DataStore does not have a patient filter, a NOT_FOUND error will be returned. (required)
572 body: object, The request body.
573 The object takes the form of:
574
575 { # Request for DataStoreService.DeletePatientFilters method.
576 &quot;dataStore&quot;: &quot;A String&quot;, # Required. Full resource name of DataStore, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. If the caller does not have permission to access the DataStore, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested DataStore does not exist, a NOT_FOUND error is returned. If the requested DataStore does not have a patient filter, a NOT_FOUND error will be returned.
577 }
578
579 x__xgafv: string, V1 error format.
580 Allowed values
581 1 - v1 error format
582 2 - v2 error format
583
584 Returns:
585 An object of the form:
586
587 { # This resource represents a long-running operation that is the result of a network API call.
588 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
589 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
590 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
591 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
592 {
593 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
594 },
595 ],
596 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
597 },
598 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
599 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
600 },
601 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
602 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
603 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
604 },
605 }</pre>
606 </div>
607
608 <div class="method">
609 <code class="details" id="get">get(name, x__xgafv=None)</code>
610 <pre>Gets a DataStore.
611
612 Args:
613 name: string, Required. Full resource name of DataStore, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. If the caller does not have permission to access the DataStore, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested DataStore does not exist, a NOT_FOUND error is returned. (required)
614 x__xgafv: string, V1 error format.
615 Allowed values
616 1 - v1 error format
617 2 - v2 error format
618
619 Returns:
620 An object of the form:
621
622 { # DataStore captures global settings and configs at the DataStore level.
623 &quot;aclEnabled&quot;: True or False, # 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&#x27;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.
624 &quot;advancedSiteSearchConfig&quot;: { # Configuration data for advance site search. # Optional. Configuration for advanced site search.
625 &quot;disableAutomaticRefresh&quot;: True or False, # If set true, automatic refresh is disabled for the DataStore.
626 &quot;disableInitialIndex&quot;: True or False, # If set true, initial indexing is disabled for the DataStore.
627 },
628 &quot;billingEstimation&quot;: { # Estimation of data size per data store. # Output only. Data size estimation for billing.
629 &quot;structuredDataSize&quot;: &quot;A String&quot;, # Data size for structured data in terms of bytes.
630 &quot;structuredDataUpdateTime&quot;: &quot;A String&quot;, # Last updated timestamp for structured data.
631 &quot;unstructuredDataSize&quot;: &quot;A String&quot;, # Data size for unstructured data in terms of bytes.
632 &quot;unstructuredDataUpdateTime&quot;: &quot;A String&quot;, # Last updated timestamp for unstructured data.
633 &quot;websiteDataSize&quot;: &quot;A String&quot;, # Data size for websites in terms of bytes.
634 &quot;websiteDataUpdateTime&quot;: &quot;A String&quot;, # Last updated timestamp for websites.
635 },
636 &quot;cmekConfig&quot;: { # Configurations used to enable CMEK data encryption with Cloud KMS keys. # Output only. CMEK-related information for the DataStore.
637 &quot;isDefault&quot;: True or False, # Output only. The default CmekConfig for the Customer.
638 &quot;kmsKey&quot;: &quot;A String&quot;, # Required. KMS key resource name which will be used to encrypt resources `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`.
639 &quot;kmsKeyVersion&quot;: &quot;A String&quot;, # Output only. KMS key version resource name which will be used to encrypt resources `/cryptoKeyVersions/{keyVersion}`.
640 &quot;lastRotationTimestampMicros&quot;: &quot;A String&quot;, # Output only. The timestamp of the last key rotation.
641 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the CmekConfig of the form `projects/{project}/locations/{location}/cmekConfig` or `projects/{project}/locations/{location}/cmekConfigs/{cmek_config}`.
642 &quot;notebooklmState&quot;: &quot;A String&quot;, # Output only. Whether the NotebookLM Corpus is ready to be used.
643 &quot;singleRegionKeys&quot;: [ # Optional. Single-regional CMEKs that are required for some VAIS features.
644 { # Metadata for single-regional CMEKs.
645 &quot;kmsKey&quot;: &quot;A String&quot;, # Required. Single-regional kms key resource name which will be used to encrypt resources `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`.
646 },
647 ],
648 &quot;state&quot;: &quot;A String&quot;, # Output only. The states of the CmekConfig.
649 },
650 &quot;configurableBillingApproach&quot;: &quot;A String&quot;, # Optional. Configuration for configurable billing approach. See
651 &quot;configurableBillingApproachUpdateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when configurable_billing_approach was last updated.
652 &quot;contentConfig&quot;: &quot;A String&quot;, # Immutable. The content config of the data store. If this field is unset, the server behavior defaults to ContentConfig.NO_CONTENT.
653 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Timestamp the DataStore was created at.
654 &quot;dataProtectionPolicy&quot;: { # Contains the data protection policy config for a DataStore or a connector. # Optional. Specifies the data protection policy for the data store.
655 &quot;sensitiveDataProtectionPolicy&quot;: { # Specifies a Sensitive Data Protection (https://cloud.google.com/sensitive-data-protection/docs/sensitive-data-protection-overview) policy. # Optional. Specifies the sensitive data protection policy for the connector source.
656 &quot;policy&quot;: &quot;A String&quot;, # Optional. Specifies the resource name of the Sensitive Data Protection content policy.
657 },
658 },
659 &quot;defaultSchemaId&quot;: &quot;A String&quot;, # Output only. The id of the default Schema associated to this data store.
660 &quot;displayName&quot;: &quot;A String&quot;, # 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.
661 &quot;documentProcessingConfig&quot;: { # A singleton resource of DataStore. If it&#x27;s empty when DataStore is created and DataStore is set to DataStore.ContentConfig.CONTENT_REQUIRED, the default parser will default to digital parser. # Configuration for Document understanding and enrichment.
662 &quot;chunkingConfig&quot;: { # Configuration for chunking config. # Whether chunking mode is enabled.
663 &quot;layoutBasedChunkingConfig&quot;: { # Configuration for the layout based chunking. # Configuration for the layout based chunking.
664 &quot;chunkSize&quot;: 42, # The token size limit for each chunk. Supported values: 100-500 (inclusive). Default value: 500.
665 &quot;includeAncestorHeadings&quot;: True or False, # Whether to include appending different levels of headings to chunks from the middle of the document to prevent context loss. Default value: False.
666 },
667 },
668 &quot;defaultParsingConfig&quot;: { # Related configurations applied to a specific type of document parser. # 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.
669 &quot;digitalParsingConfig&quot;: { # The digital parsing configurations for documents. # Configurations applied to digital parser.
670 },
671 &quot;layoutParsingConfig&quot;: { # The layout parsing configurations for documents. # Configurations applied to layout parser.
672 &quot;enableGetProcessedDocument&quot;: True or False, # Optional. If true, the processed document will be made available for the GetProcessedDocument API.
673 &quot;enableImageAnnotation&quot;: True or False, # Optional. If true, the LLM based annotation is added to the image during parsing.
674 &quot;enableLlmLayoutParsing&quot;: True or False, # Optional. If true, the pdf layout will be refined using an LLM.
675 &quot;enableTableAnnotation&quot;: True or False, # Optional. If true, the LLM based annotation is added to the table during parsing.
676 &quot;excludeHtmlClasses&quot;: [ # Optional. List of HTML classes to exclude from the parsed content.
677 &quot;A String&quot;,
678 ],
679 &quot;excludeHtmlElements&quot;: [ # Optional. List of HTML elements to exclude from the parsed content.
680 &quot;A String&quot;,
681 ],
682 &quot;excludeHtmlIds&quot;: [ # Optional. List of HTML ids to exclude from the parsed content.
683 &quot;A String&quot;,
684 ],
685 &quot;structuredContentTypes&quot;: [ # Optional. Contains the required structure types to extract from the document. Supported values: * `shareholder-structure`
686 &quot;A String&quot;,
687 ],
688 },
689 &quot;ocrParsingConfig&quot;: { # The OCR parsing configurations for documents. # Configurations applied to OCR parser. Currently it only applies to PDFs.
690 &quot;enhancedDocumentElements&quot;: [ # [DEPRECATED] This field is deprecated. To use the additional enhanced document elements processing, please switch to `layout_parsing_config`.
691 &quot;A String&quot;,
692 ],
693 &quot;useNativeText&quot;: True or False, # If true, will use native text instead of OCR text on pages containing native text.
694 },
695 },
696 &quot;name&quot;: &quot;A String&quot;, # The full resource name of the Document Processing Config. Format: `projects/*/locations/*/collections/*/dataStores/*/documentProcessingConfig`.
697 &quot;parsingConfigOverrides&quot;: { # 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 layout parsing are supported. * `docx`: Override parsing config for DOCX files, only digital parsing and layout parsing are supported. * `pptx`: Override parsing config for PPTX files, only digital parsing and layout parsing are supported. * `xlsm`: Override parsing config for XLSM files, only digital parsing and layout parsing are supported. * `xlsx`: Override parsing config for XLSX files, only digital parsing and layout parsing are supported.
698 &quot;a_key&quot;: { # Related configurations applied to a specific type of document parser.
699 &quot;digitalParsingConfig&quot;: { # The digital parsing configurations for documents. # Configurations applied to digital parser.
700 },
701 &quot;layoutParsingConfig&quot;: { # The layout parsing configurations for documents. # Configurations applied to layout parser.
702 &quot;enableGetProcessedDocument&quot;: True or False, # Optional. If true, the processed document will be made available for the GetProcessedDocument API.
703 &quot;enableImageAnnotation&quot;: True or False, # Optional. If true, the LLM based annotation is added to the image during parsing.
704 &quot;enableLlmLayoutParsing&quot;: True or False, # Optional. If true, the pdf layout will be refined using an LLM.
705 &quot;enableTableAnnotation&quot;: True or False, # Optional. If true, the LLM based annotation is added to the table during parsing.
706 &quot;excludeHtmlClasses&quot;: [ # Optional. List of HTML classes to exclude from the parsed content.
707 &quot;A String&quot;,
708 ],
709 &quot;excludeHtmlElements&quot;: [ # Optional. List of HTML elements to exclude from the parsed content.
710 &quot;A String&quot;,
711 ],
712 &quot;excludeHtmlIds&quot;: [ # Optional. List of HTML ids to exclude from the parsed content.
713 &quot;A String&quot;,
714 ],
715 &quot;structuredContentTypes&quot;: [ # Optional. Contains the required structure types to extract from the document. Supported values: * `shareholder-structure`
716 &quot;A String&quot;,
717 ],
718 },
719 &quot;ocrParsingConfig&quot;: { # The OCR parsing configurations for documents. # Configurations applied to OCR parser. Currently it only applies to PDFs.
720 &quot;enhancedDocumentElements&quot;: [ # [DEPRECATED] This field is deprecated. To use the additional enhanced document elements processing, please switch to `layout_parsing_config`.
721 &quot;A String&quot;,
722 ],
723 &quot;useNativeText&quot;: True or False, # If true, will use native text instead of OCR text on pages containing native text.
724 },
725 },
726 },
727 },
728 &quot;federatedSearchConfig&quot;: { # Stores information for federated search. # Optional. If set, this DataStore is a federated search DataStore.
729 &quot;alloyDbConfig&quot;: { # Stores information for connecting to AlloyDB. # AlloyDB config. If set, this DataStore is connected to AlloyDB.
730 &quot;alloydbAiNlConfig&quot;: { # Configuration for AlloyDB AI Natural Language. # Optional. Configuration for Magic.
731 &quot;nlConfigId&quot;: &quot;A String&quot;, # Optional. AlloyDb AI NL config id, i.e. the value that was used for calling `SELECT alloydb_ai_nl.g_create_configuration(...)`. Can be empty.
732 },
733 &quot;alloydbConnectionConfig&quot;: { # Configuration for connecting to AlloyDB. # Required. Configuration for connecting to AlloyDB.
734 &quot;authMode&quot;: &quot;A String&quot;, # Optional. Auth mode.
735 &quot;database&quot;: &quot;A String&quot;, # Required. The AlloyDB database to connect to.
736 &quot;enablePsvs&quot;: True or False, # Optional. If true, enable PSVS for AlloyDB.
737 &quot;instance&quot;: &quot;A String&quot;, # Required. The AlloyDB instance to connect to.
738 &quot;password&quot;: &quot;A String&quot;, # Required. Database password. If auth_mode = END_USER_ACCOUNT, it can be unset. In that case, the password will be inferred on the AlloyDB side, based on the authenticated user.
739 &quot;user&quot;: &quot;A String&quot;, # Required. Database user. If auth_mode = END_USER_ACCOUNT, it can be unset. In that case, the user will be inferred on the AlloyDB side, based on the authenticated user.
740 },
741 &quot;returnedFields&quot;: [ # Optional. Fields to be returned in the search results. If empty, all fields will be returned.
742 &quot;A String&quot;,
743 ],
744 },
745 &quot;notebooklmConfig&quot;: { # Config for connecting to NotebookLM Enterprise. # NotebookLM config. If set, this DataStore is connected to NotebookLM Enterprise.
746 &quot;searchConfig&quot;: &quot;A String&quot;, # Required. Search config name. Format: projects/*/locations/global/notebookLmSearchConfigs/*
747 },
748 &quot;thirdPartyOauthConfig&quot;: { # Stores information for third party applicationOAuth. # Third Party OAuth config. If set, this DataStore is connected to a third party application.
749 &quot;appName&quot;: &quot;A String&quot;, # Optional. The type of the application. E.g., &quot;jira&quot;, &quot;box&quot;, etc.
750 &quot;instanceName&quot;: &quot;A String&quot;, # Optional. The instance name identifying the 3P app, e.g., &quot;vaissptbots-my&quot;. This is different from the instance_uri which is the full URL of the 3P app e.g., &quot;https://vaissptbots-my.sharepoint.com&quot;.
751 },
752 },
753 &quot;healthcareFhirConfig&quot;: { # Config to data store for `HEALTHCARE_FHIR` vertical. # Optional. Configuration for `HEALTHCARE_FHIR` vertical.
754 &quot;enableConfigurableSchema&quot;: True or False, # Whether to enable configurable schema for `HEALTHCARE_FHIR` vertical. If set to `true`, the predefined healthcare fhir schema can be extended for more customized searching and filtering.
755 &quot;enableStaticIndexingForBatchIngestion&quot;: True or False, # Whether to enable static indexing for `HEALTHCARE_FHIR` batch ingestion. If set to `true`, the batch ingestion will be processed in a static indexing mode which is slower but more capable of handling larger volume.
756 &quot;initialFilterGroups&quot;: [ # Optional. Names of the Group resources to use as a basis for the initial patient filter, in format `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/fhir/Group/{group_id}`. The filter group must be a FHIR resource name of type Group, and the filter will be constructed from the direct members of the group which are Patient resources.
757 &quot;A String&quot;,
758 ],
759 },
760 &quot;identityMappingStore&quot;: &quot;A String&quot;, # Immutable. The fully qualified resource name of the associated IdentityMappingStore. This field can only be set for acl_enabled DataStores with `THIRD_PARTY` or `GSUITE` IdP. Format: `projects/{project}/locations/{location}/identityMappingStores/{identity_mapping_store}`.
761 &quot;idpConfig&quot;: { # Identity Provider Config. # Output only. Data store level identity provider config.
762 &quot;externalIdpConfig&quot;: { # Third party IDP Config. # External Identity provider config.
763 &quot;workforcePoolName&quot;: &quot;A String&quot;, # Workforce pool name. Example: &quot;locations/global/workforcePools/pool_id&quot;
764 },
765 &quot;idpType&quot;: &quot;A String&quot;, # Identity provider type configured.
766 },
767 &quot;industryVertical&quot;: &quot;A String&quot;, # Immutable. The industry vertical that the data store registers.
768 &quot;isInfobotFaqDataStore&quot;: True or False, # Optional. If set, this DataStore is an Infobot FAQ DataStore.
769 &quot;kmsKeyName&quot;: &quot;A String&quot;, # Input only. The KMS key to be used to protect this DataStore at creation time. Must be set for requests that need to comply with CMEK Org Policy protections. If this field is set and processed successfully, the DataStore will be protected by the KMS key, as indicated in the cmek_config field.
770 &quot;languageInfo&quot;: { # Language info for DataStore. # Language info for DataStore.
771 &quot;language&quot;: &quot;A String&quot;, # Output only. Language part of normalized_language_code. E.g.: `en-US` -&gt; `en`, `zh-Hans-HK` -&gt; `zh`, `en` -&gt; `en`.
772 &quot;languageCode&quot;: &quot;A String&quot;, # The language code for the DataStore.
773 &quot;normalizedLanguageCode&quot;: &quot;A String&quot;, # Output only. This is the normalized form of language_code. E.g.: language_code of `en-GB`, `en_GB`, `en-UK` or `en-gb` will have normalized_language_code of `en-GB`.
774 &quot;region&quot;: &quot;A String&quot;, # Output only. Region part of normalized_language_code, if present. E.g.: `en-US` -&gt; `US`, `zh-Hans-HK` -&gt; `HK`, `en` -&gt; ``.
775 },
776 &quot;name&quot;: &quot;A String&quot;, # Immutable. Identifier. 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.
777 &quot;naturalLanguageQueryUnderstandingConfig&quot;: { # Configuration for Natural Language Query Understanding. # Optional. Configuration for Natural Language Query Understanding.
778 &quot;mode&quot;: &quot;A String&quot;, # Mode of Natural Language Query Understanding. If this field is unset, the behavior defaults to NaturalLanguageQueryUnderstandingConfig.Mode.DISABLED.
779 },
780 &quot;servingConfigDataStore&quot;: { # Stores information regarding the serving configurations at DataStore level. # Optional. Stores serving config at DataStore level.
781 &quot;disabledForServing&quot;: True or False, # Optional. If set true, the DataStore will not be available for serving search requests.
782 },
783 &quot;solutionTypes&quot;: [ # 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.
784 &quot;A String&quot;,
785 ],
786 &quot;startingSchema&quot;: { # Defines the structure and layout of a type of document data. # 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).
787 &quot;fieldConfigs&quot;: [ # Output only. Configurations for fields of the schema.
788 { # Configurations for fields of a schema. For example, configuring a field is indexable, or searchable.
789 &quot;advancedSiteSearchDataSources&quot;: [ # If this field is set, only the corresponding source will be indexed for this field. Otherwise, the values from different sources are merged. Assuming a page with `` in meta tag, and `` in page map: if this enum is set to METATAGS, we will only index ``; if this enum is not set, we will merge them and index ``.
790 &quot;A String&quot;,
791 ],
792 &quot;completableOption&quot;: &quot;A String&quot;, # If completable_option is COMPLETABLE_ENABLED, field values are directly used and returned as suggestions for Autocomplete in CompletionService.CompleteQuery. If completable_option is unset, the server behavior defaults to COMPLETABLE_DISABLED for fields that support setting completable options, which are just `string` fields. For those fields that do not support setting completable options, the server will skip completable option setting, and setting completable_option for those fields will throw `INVALID_ARGUMENT` error.
793 &quot;dynamicFacetableOption&quot;: &quot;A String&quot;, # If dynamic_facetable_option is DYNAMIC_FACETABLE_ENABLED, field values are available for dynamic facet. Could only be DYNAMIC_FACETABLE_DISABLED if FieldConfig.indexable_option is INDEXABLE_DISABLED. Otherwise, an `INVALID_ARGUMENT` error will be returned. If dynamic_facetable_option is unset, the server behavior defaults to DYNAMIC_FACETABLE_DISABLED for fields that support setting dynamic facetable options. For those fields that do not support setting dynamic facetable options, such as `object` and `boolean`, the server will skip dynamic facetable option setting, and setting dynamic_facetable_option for those fields will throw `INVALID_ARGUMENT` error.
794 &quot;fieldPath&quot;: &quot;A String&quot;, # Required. Field path of the schema field. For example: `title`, `description`, `release_info.release_year`.
795 &quot;fieldType&quot;: &quot;A String&quot;, # Output only. Raw type of the field.
796 &quot;indexableOption&quot;: &quot;A String&quot;, # If indexable_option is INDEXABLE_ENABLED, field values are indexed so that it can be filtered or faceted in SearchService.Search. If indexable_option is unset, the server behavior defaults to INDEXABLE_DISABLED for fields that support setting indexable options. For those fields that do not support setting indexable options, such as `object` and `boolean` and key properties, the server will skip indexable_option setting, and setting indexable_option for those fields will throw `INVALID_ARGUMENT` error.
797 &quot;keyPropertyType&quot;: &quot;A String&quot;, # Output only. Type of the key property that this field is mapped to. Empty string if this is not annotated as mapped to a key property. Example types are `title`, `description`. Full list is defined by `keyPropertyMapping` in the schema field annotation. If the schema field has a `KeyPropertyMapping` annotation, `indexable_option` and `searchable_option` of this field cannot be modified.
798 &quot;metatagName&quot;: &quot;A String&quot;, # Optional. The metatag name found in the HTML page. If user defines this field, the value of this metatag name will be used to extract metatag. If the user does not define this field, the FieldConfig.field_path will be used to extract metatag.
799 &quot;recsFilterableOption&quot;: &quot;A String&quot;, # If recs_filterable_option is FILTERABLE_ENABLED, field values are filterable by filter expression in RecommendationService.Recommend. If FILTERABLE_ENABLED but the field type is numerical, field values are not filterable by text queries in RecommendationService.Recommend. Only textual fields are supported. If recs_filterable_option is unset, the default setting is FILTERABLE_DISABLED for fields that support setting filterable options. When a field set to [FILTERABLE_DISABLED] is filtered, a warning is generated and an empty result is returned.
800 &quot;retrievableOption&quot;: &quot;A String&quot;, # If retrievable_option is RETRIEVABLE_ENABLED, field values are included in the search results. If retrievable_option is unset, the server behavior defaults to RETRIEVABLE_DISABLED for fields that support setting retrievable options. For those fields that do not support setting retrievable options, such as `object` and `boolean`, the server will skip retrievable option setting, and setting retrievable_option for those fields will throw `INVALID_ARGUMENT` error.
801 &quot;schemaOrgPaths&quot;: [ # Field paths for indexing custom attribute from schema.org data. More details of schema.org and its defined types can be found at [schema.org](https://schema.org). It is only used on advanced site search schema. Currently only support full path from root. The full path to a field is constructed by concatenating field names, starting from `_root`, with a period `.` as the delimiter. Examples: * Publish date of the root: _root.datePublished * Publish date of the reviews: _root.review.datePublished
802 &quot;A String&quot;,
803 ],
804 &quot;searchableFieldImportance&quot;: &quot;A String&quot;, # Optional. Specifies the importance of the field when `searchable_option` is `SEARCHABLE_ENABLED`. If `searchable_option` is `SEARCHABLE_DISABLED`, this field is ignored. If `searchable_option` is `SEARCHABLE_ENABLED` and this is `SEARCHABLE_FIELD_IMPORTANCE_UNSPECIFIED`, it behaves as `DEFAULT_IMPORTANCE`. For more information, see [Weight searchable fields](https://cloud.google.com/generative-ai-app-builder/docs/configure-field-settings#weight-search).
805 &quot;searchableOption&quot;: &quot;A String&quot;, # If searchable_option is SEARCHABLE_ENABLED, field values are searchable by text queries in SearchService.Search. If SEARCHABLE_ENABLED but field type is numerical, field values will not be searchable by text queries in SearchService.Search, as there are no text values associated to numerical fields. If searchable_option is unset, the server behavior defaults to SEARCHABLE_DISABLED for fields that support setting searchable options. Only `string` fields that have no key property mapping support setting searchable_option. For those fields that do not support setting searchable options, the server will skip searchable option setting, and setting searchable_option for those fields will throw `INVALID_ARGUMENT` error.
806 },
807 ],
808 &quot;jsonSchema&quot;: &quot;A String&quot;, # The JSON representation of the schema.
809 &quot;name&quot;: &quot;A String&quot;, # Immutable. The full resource name of the schema, in the format of `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.
810 &quot;structSchema&quot;: { # The structured representation of the schema.
811 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
812 },
813 },
814 &quot;workspaceConfig&quot;: { # Config to store data store type configuration for workspace data # Config to store data store type configuration for workspace data. This must be set when DataStore.content_config is set as DataStore.ContentConfig.GOOGLE_WORKSPACE.
815 &quot;dasherCustomerId&quot;: &quot;A String&quot;, # Output only. Obfuscated Dasher customer ID. Derived by the server from the project&#x27;s GCP organization at data store creation time; any value supplied in the request payload is ignored.
816 &quot;superAdminEmailAddress&quot;: &quot;A String&quot;, # Optional. The super admin email address for the workspace that will be used for access token generation. For now we only use it for Native Google Drive connector data ingestion.
817 &quot;superAdminServiceAccount&quot;: &quot;A String&quot;, # Optional. The super admin service account for the workspace that will be used for access token generation. For now we only use it for Native Google Drive connector data ingestion.
818 &quot;type&quot;: &quot;A String&quot;, # The Google Workspace data source.
819 },
820 }</pre>
821 </div>
822
823 <div class="method">
824 <code class="details" id="getCompletionConfig">getCompletionConfig(name, x__xgafv=None)</code>
825 <pre>Gets a CompletionConfig
826
827 Args:
828 name: string, Required. Full CompletionConfig resource name. Format: `projects/*/locations/*/dataStores/*/completionConfig` `projects/*/locations/*/collections/*/dataStores/*/completionConfig` `projects/*/locations/*/collections/*/engines/*/completionConfig` (required)
829 x__xgafv: string, V1 error format.
830 Allowed values
831 1 - v1 error format
832 2 - v2 error format
833
834 Returns:
835 An object of the form:
836
837 { # Config to customize Autocomplete API response for both engines and data stores. Some fields are applicable to only one of them.
838 &quot;enableMode&quot;: &quot;A String&quot;, # The enable mode of autocomplete generation pipelines. If this field is unset, the server behavior defaults to CompletionConfig.EnableMode.AUTOMATIC. Applies to DataStore only. Ignored for Engine.
839 &quot;filterPiiSuggestionsUsingDlp&quot;: True or False, # If true, with best effort, try to detect and remove the suggestions containing certain types of PII information. This detection is performated by [DLP](https://cloud.google.com/security/products/dlp) under the hood.
840 &quot;matchingOrder&quot;: &quot;A String&quot;, # The matching order for autocomplete suggestions, e.g., a query consisting of `sh` with `out-of-order` specified would suggest `women&#x27;s shoes`, whereas a query of `red s` with `exact-prefix` specified would suggest `red shoes`. Currently supported values: * `out-of-order` * `exact-prefix` Default value: `exact-prefix`.
841 &quot;maxSuggestions&quot;: 42, # The maximum number of autocomplete suggestions returned per term. max_suggestions must lie within the range of [1, 20]. If not set or set to 0, it will be set to the default of 20 suggestions.
842 &quot;minPrefixLength&quot;: 42, # The minimum number of characters needed to be typed in order to get suggestions. min_prefix_length must lie within the range of [1, 20]. If not set or set to 0, it will be set to the default of 1 character.
843 &quot;name&quot;: &quot;A String&quot;, # Required. Immutable. Fully qualified name `projects/*/locations/*/dataStores/*/completionConfig` `projects/*/locations/*/collections/*/dataStores/*/completionConfig` `projects/*/locations/*/collections/*/engines/*/completionConfig`
844 &quot;numUniqueUsersThreshold&quot;: 42, # This field is only meaningful for suggestions generated from user events or search history, which may have user ids attached. If the number of unique users that have searched a query is less than this threshold, the query will not be generated as a suggestion. This is field can be helpful for preventing PII queries becoming suggestions, as those queries are usually uniquely searched. If not set, the default value is 3 used in the generation pipeline.
845 &quot;queryFrequencyThreshold&quot;: 42, # This field is only meaningful for suggestions generated from user events or search history. If a query shows up less than this threshold, it may indicate that the query is rarely searched and thus will not be generated as a suggestion. This is field can be helpful for preventing PII queries becoming suggestions, as those queries are usually uniquely searched. If not set, the default value is 8 used in the generation pipeline.
846 &quot;queryModel&quot;: &quot;A String&quot;, # The data model of query suggestions for serving. Currently supported values: * `automatic` - autocomplete backend automatic selects or mixes suggestions from different models. * `document` - Using suggestions generated from user-imported documents. * `search-history` - Using suggestions generated from the past history of SearchService.Search API calls. Do not use it when there is no traffic for Search API. * `user-event` - Using suggestions generated from user-imported search events. * `document-completable` - Using suggestions taken directly from user-imported document fields marked as completable. If query model is empty, the serving applies the &quot;automatic&quot; model by default.
847 &quot;shouldServeContentSuggestions&quot;: True or False, # Whether to generate and serve content suggestions. This allows for content suggestions to be served in addition to query suggestions.
848 }</pre>
849 </div>
850
851 <div class="method">
852 <code class="details" id="getDocumentProcessingConfig">getDocumentProcessingConfig(name, x__xgafv=None)</code>
853 <pre>Gets a DocumentProcessingConfig.
854
855 Args:
856 name: string, Required. Full DocumentProcessingConfig resource name. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/documentProcessingConfig` (required)
857 x__xgafv: string, V1 error format.
858 Allowed values
859 1 - v1 error format
860 2 - v2 error format
861
862 Returns:
863 An object of the form:
864
865 { # A singleton resource of DataStore. If it&#x27;s empty when DataStore is created and DataStore is set to DataStore.ContentConfig.CONTENT_REQUIRED, the default parser will default to digital parser.
866 &quot;chunkingConfig&quot;: { # Configuration for chunking config. # Whether chunking mode is enabled.
867 &quot;layoutBasedChunkingConfig&quot;: { # Configuration for the layout based chunking. # Configuration for the layout based chunking.
868 &quot;chunkSize&quot;: 42, # The token size limit for each chunk. Supported values: 100-500 (inclusive). Default value: 500.
869 &quot;includeAncestorHeadings&quot;: True or False, # Whether to include appending different levels of headings to chunks from the middle of the document to prevent context loss. Default value: False.
870 },
871 },
872 &quot;defaultParsingConfig&quot;: { # Related configurations applied to a specific type of document parser. # 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.
873 &quot;digitalParsingConfig&quot;: { # The digital parsing configurations for documents. # Configurations applied to digital parser.
874 },
875 &quot;layoutParsingConfig&quot;: { # The layout parsing configurations for documents. # Configurations applied to layout parser.
876 &quot;enableGetProcessedDocument&quot;: True or False, # Optional. If true, the processed document will be made available for the GetProcessedDocument API.
877 &quot;enableImageAnnotation&quot;: True or False, # Optional. If true, the LLM based annotation is added to the image during parsing.
878 &quot;enableLlmLayoutParsing&quot;: True or False, # Optional. If true, the pdf layout will be refined using an LLM.
879 &quot;enableTableAnnotation&quot;: True or False, # Optional. If true, the LLM based annotation is added to the table during parsing.
880 &quot;excludeHtmlClasses&quot;: [ # Optional. List of HTML classes to exclude from the parsed content.
881 &quot;A String&quot;,
882 ],
883 &quot;excludeHtmlElements&quot;: [ # Optional. List of HTML elements to exclude from the parsed content.
884 &quot;A String&quot;,
885 ],
886 &quot;excludeHtmlIds&quot;: [ # Optional. List of HTML ids to exclude from the parsed content.
887 &quot;A String&quot;,
888 ],
889 &quot;structuredContentTypes&quot;: [ # Optional. Contains the required structure types to extract from the document. Supported values: * `shareholder-structure`
890 &quot;A String&quot;,
891 ],
892 },
893 &quot;ocrParsingConfig&quot;: { # The OCR parsing configurations for documents. # Configurations applied to OCR parser. Currently it only applies to PDFs.
894 &quot;enhancedDocumentElements&quot;: [ # [DEPRECATED] This field is deprecated. To use the additional enhanced document elements processing, please switch to `layout_parsing_config`.
895 &quot;A String&quot;,
896 ],
897 &quot;useNativeText&quot;: True or False, # If true, will use native text instead of OCR text on pages containing native text.
898 },
899 },
900 &quot;name&quot;: &quot;A String&quot;, # The full resource name of the Document Processing Config. Format: `projects/*/locations/*/collections/*/dataStores/*/documentProcessingConfig`.
901 &quot;parsingConfigOverrides&quot;: { # 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 layout parsing are supported. * `docx`: Override parsing config for DOCX files, only digital parsing and layout parsing are supported. * `pptx`: Override parsing config for PPTX files, only digital parsing and layout parsing are supported. * `xlsm`: Override parsing config for XLSM files, only digital parsing and layout parsing are supported. * `xlsx`: Override parsing config for XLSX files, only digital parsing and layout parsing are supported.
902 &quot;a_key&quot;: { # Related configurations applied to a specific type of document parser.
903 &quot;digitalParsingConfig&quot;: { # The digital parsing configurations for documents. # Configurations applied to digital parser.
904 },
905 &quot;layoutParsingConfig&quot;: { # The layout parsing configurations for documents. # Configurations applied to layout parser.
906 &quot;enableGetProcessedDocument&quot;: True or False, # Optional. If true, the processed document will be made available for the GetProcessedDocument API.
907 &quot;enableImageAnnotation&quot;: True or False, # Optional. If true, the LLM based annotation is added to the image during parsing.
908 &quot;enableLlmLayoutParsing&quot;: True or False, # Optional. If true, the pdf layout will be refined using an LLM.
909 &quot;enableTableAnnotation&quot;: True or False, # Optional. If true, the LLM based annotation is added to the table during parsing.
910 &quot;excludeHtmlClasses&quot;: [ # Optional. List of HTML classes to exclude from the parsed content.
911 &quot;A String&quot;,
912 ],
913 &quot;excludeHtmlElements&quot;: [ # Optional. List of HTML elements to exclude from the parsed content.
914 &quot;A String&quot;,
915 ],
916 &quot;excludeHtmlIds&quot;: [ # Optional. List of HTML ids to exclude from the parsed content.
917 &quot;A String&quot;,
918 ],
919 &quot;structuredContentTypes&quot;: [ # Optional. Contains the required structure types to extract from the document. Supported values: * `shareholder-structure`
920 &quot;A String&quot;,
921 ],
922 },
923 &quot;ocrParsingConfig&quot;: { # The OCR parsing configurations for documents. # Configurations applied to OCR parser. Currently it only applies to PDFs.
924 &quot;enhancedDocumentElements&quot;: [ # [DEPRECATED] This field is deprecated. To use the additional enhanced document elements processing, please switch to `layout_parsing_config`.
925 &quot;A String&quot;,
926 ],
927 &quot;useNativeText&quot;: True or False, # If true, will use native text instead of OCR text on pages containing native text.
928 },
929 },
930 },
931 }</pre>
932 </div>
933
934 <div class="method">
935 <code class="details" id="getSiteSearchEngine">getSiteSearchEngine(name, x__xgafv=None)</code>
936 <pre>Gets the SiteSearchEngine.
937
938 Args:
939 name: string, Required. Resource name of SiteSearchEngine, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine`. If the caller does not have permission to access the [SiteSearchEngine], regardless of whether or not it exists, a PERMISSION_DENIED error is returned. (required)
940 x__xgafv: string, V1 error format.
941 Allowed values
942 1 - v1 error format
943 2 - v2 error format
944
945 Returns:
946 An object of the form:
947
948 { # SiteSearchEngine captures DataStore level site search persisting configurations. It is a singleton value per data store.
949 &quot;name&quot;: &quot;A String&quot;, # The fully qualified resource name of the site search engine. Format: `projects/*/locations/*/dataStores/*/siteSearchEngine`
950 }</pre>
951 </div>
952
953 <div class="method">
954 <code class="details" id="list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
955 <pre>Lists all the DataStores associated with the project.
956
957 Args:
958 parent: string, Required. The parent branch resource name, such as `projects/{project}/locations/{location}/collections/{collection_id}`. If the caller does not have permission to list DataStores under this location, regardless of whether or not this data store exists, a PERMISSION_DENIED error is returned. (required)
959 filter: string, Filter by solution type . For example: `filter = &#x27;solution_type:SOLUTION_TYPE_SEARCH&#x27;`
960 pageSize: integer, Maximum number of DataStores to return. If unspecified, defaults to 10. The maximum allowed value is 50. Values above 50 will be coerced to 50. If this field is negative, an INVALID_ARGUMENT is returned.
961 pageToken: string, A page token ListDataStoresResponse.next_page_token, received from a previous DataStoreService.ListDataStores call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to DataStoreService.ListDataStores must match the call that provided the page token. Otherwise, an INVALID_ARGUMENT error is returned.
962 x__xgafv: string, V1 error format.
963 Allowed values
964 1 - v1 error format
965 2 - v2 error format
966
967 Returns:
968 An object of the form:
969
970 { # Response message for DataStoreService.ListDataStores method.
971 &quot;dataStores&quot;: [ # All the customer&#x27;s DataStores.
972 { # DataStore captures global settings and configs at the DataStore level.
973 &quot;aclEnabled&quot;: True or False, # 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&#x27;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.
974 &quot;advancedSiteSearchConfig&quot;: { # Configuration data for advance site search. # Optional. Configuration for advanced site search.
975 &quot;disableAutomaticRefresh&quot;: True or False, # If set true, automatic refresh is disabled for the DataStore.
976 &quot;disableInitialIndex&quot;: True or False, # If set true, initial indexing is disabled for the DataStore.
977 },
978 &quot;billingEstimation&quot;: { # Estimation of data size per data store. # Output only. Data size estimation for billing.
979 &quot;structuredDataSize&quot;: &quot;A String&quot;, # Data size for structured data in terms of bytes.
980 &quot;structuredDataUpdateTime&quot;: &quot;A String&quot;, # Last updated timestamp for structured data.
981 &quot;unstructuredDataSize&quot;: &quot;A String&quot;, # Data size for unstructured data in terms of bytes.
982 &quot;unstructuredDataUpdateTime&quot;: &quot;A String&quot;, # Last updated timestamp for unstructured data.
983 &quot;websiteDataSize&quot;: &quot;A String&quot;, # Data size for websites in terms of bytes.
984 &quot;websiteDataUpdateTime&quot;: &quot;A String&quot;, # Last updated timestamp for websites.
985 },
986 &quot;cmekConfig&quot;: { # Configurations used to enable CMEK data encryption with Cloud KMS keys. # Output only. CMEK-related information for the DataStore.
987 &quot;isDefault&quot;: True or False, # Output only. The default CmekConfig for the Customer.
988 &quot;kmsKey&quot;: &quot;A String&quot;, # Required. KMS key resource name which will be used to encrypt resources `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`.
989 &quot;kmsKeyVersion&quot;: &quot;A String&quot;, # Output only. KMS key version resource name which will be used to encrypt resources `/cryptoKeyVersions/{keyVersion}`.
990 &quot;lastRotationTimestampMicros&quot;: &quot;A String&quot;, # Output only. The timestamp of the last key rotation.
991 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the CmekConfig of the form `projects/{project}/locations/{location}/cmekConfig` or `projects/{project}/locations/{location}/cmekConfigs/{cmek_config}`.
992 &quot;notebooklmState&quot;: &quot;A String&quot;, # Output only. Whether the NotebookLM Corpus is ready to be used.
993 &quot;singleRegionKeys&quot;: [ # Optional. Single-regional CMEKs that are required for some VAIS features.
994 { # Metadata for single-regional CMEKs.
995 &quot;kmsKey&quot;: &quot;A String&quot;, # Required. Single-regional kms key resource name which will be used to encrypt resources `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`.
996 },
997 ],
998 &quot;state&quot;: &quot;A String&quot;, # Output only. The states of the CmekConfig.
999 },
1000 &quot;configurableBillingApproach&quot;: &quot;A String&quot;, # Optional. Configuration for configurable billing approach. See
1001 &quot;configurableBillingApproachUpdateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when configurable_billing_approach was last updated.
1002 &quot;contentConfig&quot;: &quot;A String&quot;, # Immutable. The content config of the data store. If this field is unset, the server behavior defaults to ContentConfig.NO_CONTENT.
1003 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Timestamp the DataStore was created at.
1004 &quot;dataProtectionPolicy&quot;: { # Contains the data protection policy config for a DataStore or a connector. # Optional. Specifies the data protection policy for the data store.
1005 &quot;sensitiveDataProtectionPolicy&quot;: { # Specifies a Sensitive Data Protection (https://cloud.google.com/sensitive-data-protection/docs/sensitive-data-protection-overview) policy. # Optional. Specifies the sensitive data protection policy for the connector source.
1006 &quot;policy&quot;: &quot;A String&quot;, # Optional. Specifies the resource name of the Sensitive Data Protection content policy.
1007 },
1008 },
1009 &quot;defaultSchemaId&quot;: &quot;A String&quot;, # Output only. The id of the default Schema associated to this data store.
1010 &quot;displayName&quot;: &quot;A String&quot;, # 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.
1011 &quot;documentProcessingConfig&quot;: { # A singleton resource of DataStore. If it&#x27;s empty when DataStore is created and DataStore is set to DataStore.ContentConfig.CONTENT_REQUIRED, the default parser will default to digital parser. # Configuration for Document understanding and enrichment.
1012 &quot;chunkingConfig&quot;: { # Configuration for chunking config. # Whether chunking mode is enabled.
1013 &quot;layoutBasedChunkingConfig&quot;: { # Configuration for the layout based chunking. # Configuration for the layout based chunking.
1014 &quot;chunkSize&quot;: 42, # The token size limit for each chunk. Supported values: 100-500 (inclusive). Default value: 500.
1015 &quot;includeAncestorHeadings&quot;: True or False, # Whether to include appending different levels of headings to chunks from the middle of the document to prevent context loss. Default value: False.
1016 },
1017 },
1018 &quot;defaultParsingConfig&quot;: { # Related configurations applied to a specific type of document parser. # 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.
1019 &quot;digitalParsingConfig&quot;: { # The digital parsing configurations for documents. # Configurations applied to digital parser.
1020 },
1021 &quot;layoutParsingConfig&quot;: { # The layout parsing configurations for documents. # Configurations applied to layout parser.
1022 &quot;enableGetProcessedDocument&quot;: True or False, # Optional. If true, the processed document will be made available for the GetProcessedDocument API.
1023 &quot;enableImageAnnotation&quot;: True or False, # Optional. If true, the LLM based annotation is added to the image during parsing.
1024 &quot;enableLlmLayoutParsing&quot;: True or False, # Optional. If true, the pdf layout will be refined using an LLM.
1025 &quot;enableTableAnnotation&quot;: True or False, # Optional. If true, the LLM based annotation is added to the table during parsing.
1026 &quot;excludeHtmlClasses&quot;: [ # Optional. List of HTML classes to exclude from the parsed content.
1027 &quot;A String&quot;,
1028 ],
1029 &quot;excludeHtmlElements&quot;: [ # Optional. List of HTML elements to exclude from the parsed content.
1030 &quot;A String&quot;,
1031 ],
1032 &quot;excludeHtmlIds&quot;: [ # Optional. List of HTML ids to exclude from the parsed content.
1033 &quot;A String&quot;,
1034 ],
1035 &quot;structuredContentTypes&quot;: [ # Optional. Contains the required structure types to extract from the document. Supported values: * `shareholder-structure`
1036 &quot;A String&quot;,
1037 ],
1038 },
1039 &quot;ocrParsingConfig&quot;: { # The OCR parsing configurations for documents. # Configurations applied to OCR parser. Currently it only applies to PDFs.
1040 &quot;enhancedDocumentElements&quot;: [ # [DEPRECATED] This field is deprecated. To use the additional enhanced document elements processing, please switch to `layout_parsing_config`.
1041 &quot;A String&quot;,
1042 ],
1043 &quot;useNativeText&quot;: True or False, # If true, will use native text instead of OCR text on pages containing native text.
1044 },
1045 },
1046 &quot;name&quot;: &quot;A String&quot;, # The full resource name of the Document Processing Config. Format: `projects/*/locations/*/collections/*/dataStores/*/documentProcessingConfig`.
1047 &quot;parsingConfigOverrides&quot;: { # 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 layout parsing are supported. * `docx`: Override parsing config for DOCX files, only digital parsing and layout parsing are supported. * `pptx`: Override parsing config for PPTX files, only digital parsing and layout parsing are supported. * `xlsm`: Override parsing config for XLSM files, only digital parsing and layout parsing are supported. * `xlsx`: Override parsing config for XLSX files, only digital parsing and layout parsing are supported.
1048 &quot;a_key&quot;: { # Related configurations applied to a specific type of document parser.
1049 &quot;digitalParsingConfig&quot;: { # The digital parsing configurations for documents. # Configurations applied to digital parser.
1050 },
1051 &quot;layoutParsingConfig&quot;: { # The layout parsing configurations for documents. # Configurations applied to layout parser.
1052 &quot;enableGetProcessedDocument&quot;: True or False, # Optional. If true, the processed document will be made available for the GetProcessedDocument API.
1053 &quot;enableImageAnnotation&quot;: True or False, # Optional. If true, the LLM based annotation is added to the image during parsing.
1054 &quot;enableLlmLayoutParsing&quot;: True or False, # Optional. If true, the pdf layout will be refined using an LLM.
1055 &quot;enableTableAnnotation&quot;: True or False, # Optional. If true, the LLM based annotation is added to the table during parsing.
1056 &quot;excludeHtmlClasses&quot;: [ # Optional. List of HTML classes to exclude from the parsed content.
1057 &quot;A String&quot;,
1058 ],
1059 &quot;excludeHtmlElements&quot;: [ # Optional. List of HTML elements to exclude from the parsed content.
1060 &quot;A String&quot;,
1061 ],
1062 &quot;excludeHtmlIds&quot;: [ # Optional. List of HTML ids to exclude from the parsed content.
1063 &quot;A String&quot;,
1064 ],
1065 &quot;structuredContentTypes&quot;: [ # Optional. Contains the required structure types to extract from the document. Supported values: * `shareholder-structure`
1066 &quot;A String&quot;,
1067 ],
1068 },
1069 &quot;ocrParsingConfig&quot;: { # The OCR parsing configurations for documents. # Configurations applied to OCR parser. Currently it only applies to PDFs.
1070 &quot;enhancedDocumentElements&quot;: [ # [DEPRECATED] This field is deprecated. To use the additional enhanced document elements processing, please switch to `layout_parsing_config`.
1071 &quot;A String&quot;,
1072 ],
1073 &quot;useNativeText&quot;: True or False, # If true, will use native text instead of OCR text on pages containing native text.
1074 },
1075 },
1076 },
1077 },
1078 &quot;federatedSearchConfig&quot;: { # Stores information for federated search. # Optional. If set, this DataStore is a federated search DataStore.
1079 &quot;alloyDbConfig&quot;: { # Stores information for connecting to AlloyDB. # AlloyDB config. If set, this DataStore is connected to AlloyDB.
1080 &quot;alloydbAiNlConfig&quot;: { # Configuration for AlloyDB AI Natural Language. # Optional. Configuration for Magic.
1081 &quot;nlConfigId&quot;: &quot;A String&quot;, # Optional. AlloyDb AI NL config id, i.e. the value that was used for calling `SELECT alloydb_ai_nl.g_create_configuration(...)`. Can be empty.
1082 },
1083 &quot;alloydbConnectionConfig&quot;: { # Configuration for connecting to AlloyDB. # Required. Configuration for connecting to AlloyDB.
1084 &quot;authMode&quot;: &quot;A String&quot;, # Optional. Auth mode.
1085 &quot;database&quot;: &quot;A String&quot;, # Required. The AlloyDB database to connect to.
1086 &quot;enablePsvs&quot;: True or False, # Optional. If true, enable PSVS for AlloyDB.
1087 &quot;instance&quot;: &quot;A String&quot;, # Required. The AlloyDB instance to connect to.
1088 &quot;password&quot;: &quot;A String&quot;, # Required. Database password. If auth_mode = END_USER_ACCOUNT, it can be unset. In that case, the password will be inferred on the AlloyDB side, based on the authenticated user.
1089 &quot;user&quot;: &quot;A String&quot;, # Required. Database user. If auth_mode = END_USER_ACCOUNT, it can be unset. In that case, the user will be inferred on the AlloyDB side, based on the authenticated user.
1090 },
1091 &quot;returnedFields&quot;: [ # Optional. Fields to be returned in the search results. If empty, all fields will be returned.
1092 &quot;A String&quot;,
1093 ],
1094 },
1095 &quot;notebooklmConfig&quot;: { # Config for connecting to NotebookLM Enterprise. # NotebookLM config. If set, this DataStore is connected to NotebookLM Enterprise.
1096 &quot;searchConfig&quot;: &quot;A String&quot;, # Required. Search config name. Format: projects/*/locations/global/notebookLmSearchConfigs/*
1097 },
1098 &quot;thirdPartyOauthConfig&quot;: { # Stores information for third party applicationOAuth. # Third Party OAuth config. If set, this DataStore is connected to a third party application.
1099 &quot;appName&quot;: &quot;A String&quot;, # Optional. The type of the application. E.g., &quot;jira&quot;, &quot;box&quot;, etc.
1100 &quot;instanceName&quot;: &quot;A String&quot;, # Optional. The instance name identifying the 3P app, e.g., &quot;vaissptbots-my&quot;. This is different from the instance_uri which is the full URL of the 3P app e.g., &quot;https://vaissptbots-my.sharepoint.com&quot;.
1101 },
1102 },
1103 &quot;healthcareFhirConfig&quot;: { # Config to data store for `HEALTHCARE_FHIR` vertical. # Optional. Configuration for `HEALTHCARE_FHIR` vertical.
1104 &quot;enableConfigurableSchema&quot;: True or False, # Whether to enable configurable schema for `HEALTHCARE_FHIR` vertical. If set to `true`, the predefined healthcare fhir schema can be extended for more customized searching and filtering.
1105 &quot;enableStaticIndexingForBatchIngestion&quot;: True or False, # Whether to enable static indexing for `HEALTHCARE_FHIR` batch ingestion. If set to `true`, the batch ingestion will be processed in a static indexing mode which is slower but more capable of handling larger volume.
1106 &quot;initialFilterGroups&quot;: [ # Optional. Names of the Group resources to use as a basis for the initial patient filter, in format `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/fhir/Group/{group_id}`. The filter group must be a FHIR resource name of type Group, and the filter will be constructed from the direct members of the group which are Patient resources.
1107 &quot;A String&quot;,
1108 ],
1109 },
1110 &quot;identityMappingStore&quot;: &quot;A String&quot;, # Immutable. The fully qualified resource name of the associated IdentityMappingStore. This field can only be set for acl_enabled DataStores with `THIRD_PARTY` or `GSUITE` IdP. Format: `projects/{project}/locations/{location}/identityMappingStores/{identity_mapping_store}`.
1111 &quot;idpConfig&quot;: { # Identity Provider Config. # Output only. Data store level identity provider config.
1112 &quot;externalIdpConfig&quot;: { # Third party IDP Config. # External Identity provider config.
1113 &quot;workforcePoolName&quot;: &quot;A String&quot;, # Workforce pool name. Example: &quot;locations/global/workforcePools/pool_id&quot;
1114 },
1115 &quot;idpType&quot;: &quot;A String&quot;, # Identity provider type configured.
1116 },
1117 &quot;industryVertical&quot;: &quot;A String&quot;, # Immutable. The industry vertical that the data store registers.
1118 &quot;isInfobotFaqDataStore&quot;: True or False, # Optional. If set, this DataStore is an Infobot FAQ DataStore.
1119 &quot;kmsKeyName&quot;: &quot;A String&quot;, # Input only. The KMS key to be used to protect this DataStore at creation time. Must be set for requests that need to comply with CMEK Org Policy protections. If this field is set and processed successfully, the DataStore will be protected by the KMS key, as indicated in the cmek_config field.
1120 &quot;languageInfo&quot;: { # Language info for DataStore. # Language info for DataStore.
1121 &quot;language&quot;: &quot;A String&quot;, # Output only. Language part of normalized_language_code. E.g.: `en-US` -&gt; `en`, `zh-Hans-HK` -&gt; `zh`, `en` -&gt; `en`.
1122 &quot;languageCode&quot;: &quot;A String&quot;, # The language code for the DataStore.
1123 &quot;normalizedLanguageCode&quot;: &quot;A String&quot;, # Output only. This is the normalized form of language_code. E.g.: language_code of `en-GB`, `en_GB`, `en-UK` or `en-gb` will have normalized_language_code of `en-GB`.
1124 &quot;region&quot;: &quot;A String&quot;, # Output only. Region part of normalized_language_code, if present. E.g.: `en-US` -&gt; `US`, `zh-Hans-HK` -&gt; `HK`, `en` -&gt; ``.
1125 },
1126 &quot;name&quot;: &quot;A String&quot;, # Immutable. Identifier. 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.
1127 &quot;naturalLanguageQueryUnderstandingConfig&quot;: { # Configuration for Natural Language Query Understanding. # Optional. Configuration for Natural Language Query Understanding.
1128 &quot;mode&quot;: &quot;A String&quot;, # Mode of Natural Language Query Understanding. If this field is unset, the behavior defaults to NaturalLanguageQueryUnderstandingConfig.Mode.DISABLED.
1129 },
1130 &quot;servingConfigDataStore&quot;: { # Stores information regarding the serving configurations at DataStore level. # Optional. Stores serving config at DataStore level.
1131 &quot;disabledForServing&quot;: True or False, # Optional. If set true, the DataStore will not be available for serving search requests.
1132 },
1133 &quot;solutionTypes&quot;: [ # 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.
1134 &quot;A String&quot;,
1135 ],
1136 &quot;startingSchema&quot;: { # Defines the structure and layout of a type of document data. # 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).
1137 &quot;fieldConfigs&quot;: [ # Output only. Configurations for fields of the schema.
1138 { # Configurations for fields of a schema. For example, configuring a field is indexable, or searchable.
1139 &quot;advancedSiteSearchDataSources&quot;: [ # If this field is set, only the corresponding source will be indexed for this field. Otherwise, the values from different sources are merged. Assuming a page with `` in meta tag, and `` in page map: if this enum is set to METATAGS, we will only index ``; if this enum is not set, we will merge them and index ``.
1140 &quot;A String&quot;,
1141 ],
1142 &quot;completableOption&quot;: &quot;A String&quot;, # If completable_option is COMPLETABLE_ENABLED, field values are directly used and returned as suggestions for Autocomplete in CompletionService.CompleteQuery. If completable_option is unset, the server behavior defaults to COMPLETABLE_DISABLED for fields that support setting completable options, which are just `string` fields. For those fields that do not support setting completable options, the server will skip completable option setting, and setting completable_option for those fields will throw `INVALID_ARGUMENT` error.
1143 &quot;dynamicFacetableOption&quot;: &quot;A String&quot;, # If dynamic_facetable_option is DYNAMIC_FACETABLE_ENABLED, field values are available for dynamic facet. Could only be DYNAMIC_FACETABLE_DISABLED if FieldConfig.indexable_option is INDEXABLE_DISABLED. Otherwise, an `INVALID_ARGUMENT` error will be returned. If dynamic_facetable_option is unset, the server behavior defaults to DYNAMIC_FACETABLE_DISABLED for fields that support setting dynamic facetable options. For those fields that do not support setting dynamic facetable options, such as `object` and `boolean`, the server will skip dynamic facetable option setting, and setting dynamic_facetable_option for those fields will throw `INVALID_ARGUMENT` error.
1144 &quot;fieldPath&quot;: &quot;A String&quot;, # Required. Field path of the schema field. For example: `title`, `description`, `release_info.release_year`.
1145 &quot;fieldType&quot;: &quot;A String&quot;, # Output only. Raw type of the field.
1146 &quot;indexableOption&quot;: &quot;A String&quot;, # If indexable_option is INDEXABLE_ENABLED, field values are indexed so that it can be filtered or faceted in SearchService.Search. If indexable_option is unset, the server behavior defaults to INDEXABLE_DISABLED for fields that support setting indexable options. For those fields that do not support setting indexable options, such as `object` and `boolean` and key properties, the server will skip indexable_option setting, and setting indexable_option for those fields will throw `INVALID_ARGUMENT` error.
1147 &quot;keyPropertyType&quot;: &quot;A String&quot;, # Output only. Type of the key property that this field is mapped to. Empty string if this is not annotated as mapped to a key property. Example types are `title`, `description`. Full list is defined by `keyPropertyMapping` in the schema field annotation. If the schema field has a `KeyPropertyMapping` annotation, `indexable_option` and `searchable_option` of this field cannot be modified.
1148 &quot;metatagName&quot;: &quot;A String&quot;, # Optional. The metatag name found in the HTML page. If user defines this field, the value of this metatag name will be used to extract metatag. If the user does not define this field, the FieldConfig.field_path will be used to extract metatag.
1149 &quot;recsFilterableOption&quot;: &quot;A String&quot;, # If recs_filterable_option is FILTERABLE_ENABLED, field values are filterable by filter expression in RecommendationService.Recommend. If FILTERABLE_ENABLED but the field type is numerical, field values are not filterable by text queries in RecommendationService.Recommend. Only textual fields are supported. If recs_filterable_option is unset, the default setting is FILTERABLE_DISABLED for fields that support setting filterable options. When a field set to [FILTERABLE_DISABLED] is filtered, a warning is generated and an empty result is returned.
1150 &quot;retrievableOption&quot;: &quot;A String&quot;, # If retrievable_option is RETRIEVABLE_ENABLED, field values are included in the search results. If retrievable_option is unset, the server behavior defaults to RETRIEVABLE_DISABLED for fields that support setting retrievable options. For those fields that do not support setting retrievable options, such as `object` and `boolean`, the server will skip retrievable option setting, and setting retrievable_option for those fields will throw `INVALID_ARGUMENT` error.
1151 &quot;schemaOrgPaths&quot;: [ # Field paths for indexing custom attribute from schema.org data. More details of schema.org and its defined types can be found at [schema.org](https://schema.org). It is only used on advanced site search schema. Currently only support full path from root. The full path to a field is constructed by concatenating field names, starting from `_root`, with a period `.` as the delimiter. Examples: * Publish date of the root: _root.datePublished * Publish date of the reviews: _root.review.datePublished
1152 &quot;A String&quot;,
1153 ],
1154 &quot;searchableFieldImportance&quot;: &quot;A String&quot;, # Optional. Specifies the importance of the field when `searchable_option` is `SEARCHABLE_ENABLED`. If `searchable_option` is `SEARCHABLE_DISABLED`, this field is ignored. If `searchable_option` is `SEARCHABLE_ENABLED` and this is `SEARCHABLE_FIELD_IMPORTANCE_UNSPECIFIED`, it behaves as `DEFAULT_IMPORTANCE`. For more information, see [Weight searchable fields](https://cloud.google.com/generative-ai-app-builder/docs/configure-field-settings#weight-search).
1155 &quot;searchableOption&quot;: &quot;A String&quot;, # If searchable_option is SEARCHABLE_ENABLED, field values are searchable by text queries in SearchService.Search. If SEARCHABLE_ENABLED but field type is numerical, field values will not be searchable by text queries in SearchService.Search, as there are no text values associated to numerical fields. If searchable_option is unset, the server behavior defaults to SEARCHABLE_DISABLED for fields that support setting searchable options. Only `string` fields that have no key property mapping support setting searchable_option. For those fields that do not support setting searchable options, the server will skip searchable option setting, and setting searchable_option for those fields will throw `INVALID_ARGUMENT` error.
1156 },
1157 ],
1158 &quot;jsonSchema&quot;: &quot;A String&quot;, # The JSON representation of the schema.
1159 &quot;name&quot;: &quot;A String&quot;, # Immutable. The full resource name of the schema, in the format of `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.
1160 &quot;structSchema&quot;: { # The structured representation of the schema.
1161 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
1162 },
1163 },
1164 &quot;workspaceConfig&quot;: { # Config to store data store type configuration for workspace data # Config to store data store type configuration for workspace data. This must be set when DataStore.content_config is set as DataStore.ContentConfig.GOOGLE_WORKSPACE.
1165 &quot;dasherCustomerId&quot;: &quot;A String&quot;, # Output only. Obfuscated Dasher customer ID. Derived by the server from the project&#x27;s GCP organization at data store creation time; any value supplied in the request payload is ignored.
1166 &quot;superAdminEmailAddress&quot;: &quot;A String&quot;, # Optional. The super admin email address for the workspace that will be used for access token generation. For now we only use it for Native Google Drive connector data ingestion.
1167 &quot;superAdminServiceAccount&quot;: &quot;A String&quot;, # Optional. The super admin service account for the workspace that will be used for access token generation. For now we only use it for Native Google Drive connector data ingestion.
1168 &quot;type&quot;: &quot;A String&quot;, # The Google Workspace data source.
1169 },
1170 },
1171 ],
1172 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token that can be sent as ListDataStoresRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.
1173 }</pre>
1174 </div>
1175
1176 <div class="method">
1177 <code class="details" id="list_next">list_next()</code>
1178 <pre>Retrieves the next page of results.
1179
1180 Args:
1181 previous_request: The request for the previous page. (required)
1182 previous_response: The response from the request for the previous page. (required)
1183
1184 Returns:
1185 A request object that you can call &#x27;execute()&#x27; on to request the next
1186 page. Returns None if there are no more items in the collection.
1187 </pre>
1188 </div>
1189
1190 <div class="method">
1191 <code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
1192 <pre>Updates a DataStore
1193
1194 Args:
1195 name: string, Immutable. Identifier. 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. (required)
1196 body: object, The request body.
1197 The object takes the form of:
1198
1199 { # DataStore captures global settings and configs at the DataStore level.
1200 &quot;aclEnabled&quot;: True or False, # 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&#x27;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.
1201 &quot;advancedSiteSearchConfig&quot;: { # Configuration data for advance site search. # Optional. Configuration for advanced site search.
1202 &quot;disableAutomaticRefresh&quot;: True or False, # If set true, automatic refresh is disabled for the DataStore.
1203 &quot;disableInitialIndex&quot;: True or False, # If set true, initial indexing is disabled for the DataStore.
1204 },
1205 &quot;billingEstimation&quot;: { # Estimation of data size per data store. # Output only. Data size estimation for billing.
1206 &quot;structuredDataSize&quot;: &quot;A String&quot;, # Data size for structured data in terms of bytes.
1207 &quot;structuredDataUpdateTime&quot;: &quot;A String&quot;, # Last updated timestamp for structured data.
1208 &quot;unstructuredDataSize&quot;: &quot;A String&quot;, # Data size for unstructured data in terms of bytes.
1209 &quot;unstructuredDataUpdateTime&quot;: &quot;A String&quot;, # Last updated timestamp for unstructured data.
1210 &quot;websiteDataSize&quot;: &quot;A String&quot;, # Data size for websites in terms of bytes.
1211 &quot;websiteDataUpdateTime&quot;: &quot;A String&quot;, # Last updated timestamp for websites.
1212 },
1213 &quot;cmekConfig&quot;: { # Configurations used to enable CMEK data encryption with Cloud KMS keys. # Output only. CMEK-related information for the DataStore.
1214 &quot;isDefault&quot;: True or False, # Output only. The default CmekConfig for the Customer.
1215 &quot;kmsKey&quot;: &quot;A String&quot;, # Required. KMS key resource name which will be used to encrypt resources `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`.
1216 &quot;kmsKeyVersion&quot;: &quot;A String&quot;, # Output only. KMS key version resource name which will be used to encrypt resources `/cryptoKeyVersions/{keyVersion}`.
1217 &quot;lastRotationTimestampMicros&quot;: &quot;A String&quot;, # Output only. The timestamp of the last key rotation.
1218 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the CmekConfig of the form `projects/{project}/locations/{location}/cmekConfig` or `projects/{project}/locations/{location}/cmekConfigs/{cmek_config}`.
1219 &quot;notebooklmState&quot;: &quot;A String&quot;, # Output only. Whether the NotebookLM Corpus is ready to be used.
1220 &quot;singleRegionKeys&quot;: [ # Optional. Single-regional CMEKs that are required for some VAIS features.
1221 { # Metadata for single-regional CMEKs.
1222 &quot;kmsKey&quot;: &quot;A String&quot;, # Required. Single-regional kms key resource name which will be used to encrypt resources `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`.
1223 },
1224 ],
1225 &quot;state&quot;: &quot;A String&quot;, # Output only. The states of the CmekConfig.
1226 },
1227 &quot;configurableBillingApproach&quot;: &quot;A String&quot;, # Optional. Configuration for configurable billing approach. See
1228 &quot;configurableBillingApproachUpdateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when configurable_billing_approach was last updated.
1229 &quot;contentConfig&quot;: &quot;A String&quot;, # Immutable. The content config of the data store. If this field is unset, the server behavior defaults to ContentConfig.NO_CONTENT.
1230 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Timestamp the DataStore was created at.
1231 &quot;dataProtectionPolicy&quot;: { # Contains the data protection policy config for a DataStore or a connector. # Optional. Specifies the data protection policy for the data store.
1232 &quot;sensitiveDataProtectionPolicy&quot;: { # Specifies a Sensitive Data Protection (https://cloud.google.com/sensitive-data-protection/docs/sensitive-data-protection-overview) policy. # Optional. Specifies the sensitive data protection policy for the connector source.
1233 &quot;policy&quot;: &quot;A String&quot;, # Optional. Specifies the resource name of the Sensitive Data Protection content policy.
1234 },
1235 },
1236 &quot;defaultSchemaId&quot;: &quot;A String&quot;, # Output only. The id of the default Schema associated to this data store.
1237 &quot;displayName&quot;: &quot;A String&quot;, # 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.
1238 &quot;documentProcessingConfig&quot;: { # A singleton resource of DataStore. If it&#x27;s empty when DataStore is created and DataStore is set to DataStore.ContentConfig.CONTENT_REQUIRED, the default parser will default to digital parser. # Configuration for Document understanding and enrichment.
1239 &quot;chunkingConfig&quot;: { # Configuration for chunking config. # Whether chunking mode is enabled.
1240 &quot;layoutBasedChunkingConfig&quot;: { # Configuration for the layout based chunking. # Configuration for the layout based chunking.
1241 &quot;chunkSize&quot;: 42, # The token size limit for each chunk. Supported values: 100-500 (inclusive). Default value: 500.
1242 &quot;includeAncestorHeadings&quot;: True or False, # Whether to include appending different levels of headings to chunks from the middle of the document to prevent context loss. Default value: False.
1243 },
1244 },
1245 &quot;defaultParsingConfig&quot;: { # Related configurations applied to a specific type of document parser. # 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.
1246 &quot;digitalParsingConfig&quot;: { # The digital parsing configurations for documents. # Configurations applied to digital parser.
1247 },
1248 &quot;layoutParsingConfig&quot;: { # The layout parsing configurations for documents. # Configurations applied to layout parser.
1249 &quot;enableGetProcessedDocument&quot;: True or False, # Optional. If true, the processed document will be made available for the GetProcessedDocument API.
1250 &quot;enableImageAnnotation&quot;: True or False, # Optional. If true, the LLM based annotation is added to the image during parsing.
1251 &quot;enableLlmLayoutParsing&quot;: True or False, # Optional. If true, the pdf layout will be refined using an LLM.
1252 &quot;enableTableAnnotation&quot;: True or False, # Optional. If true, the LLM based annotation is added to the table during parsing.
1253 &quot;excludeHtmlClasses&quot;: [ # Optional. List of HTML classes to exclude from the parsed content.
1254 &quot;A String&quot;,
1255 ],
1256 &quot;excludeHtmlElements&quot;: [ # Optional. List of HTML elements to exclude from the parsed content.
1257 &quot;A String&quot;,
1258 ],
1259 &quot;excludeHtmlIds&quot;: [ # Optional. List of HTML ids to exclude from the parsed content.
1260 &quot;A String&quot;,
1261 ],
1262 &quot;structuredContentTypes&quot;: [ # Optional. Contains the required structure types to extract from the document. Supported values: * `shareholder-structure`
1263 &quot;A String&quot;,
1264 ],
1265 },
1266 &quot;ocrParsingConfig&quot;: { # The OCR parsing configurations for documents. # Configurations applied to OCR parser. Currently it only applies to PDFs.
1267 &quot;enhancedDocumentElements&quot;: [ # [DEPRECATED] This field is deprecated. To use the additional enhanced document elements processing, please switch to `layout_parsing_config`.
1268 &quot;A String&quot;,
1269 ],
1270 &quot;useNativeText&quot;: True or False, # If true, will use native text instead of OCR text on pages containing native text.
1271 },
1272 },
1273 &quot;name&quot;: &quot;A String&quot;, # The full resource name of the Document Processing Config. Format: `projects/*/locations/*/collections/*/dataStores/*/documentProcessingConfig`.
1274 &quot;parsingConfigOverrides&quot;: { # 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 layout parsing are supported. * `docx`: Override parsing config for DOCX files, only digital parsing and layout parsing are supported. * `pptx`: Override parsing config for PPTX files, only digital parsing and layout parsing are supported. * `xlsm`: Override parsing config for XLSM files, only digital parsing and layout parsing are supported. * `xlsx`: Override parsing config for XLSX files, only digital parsing and layout parsing are supported.
1275 &quot;a_key&quot;: { # Related configurations applied to a specific type of document parser.
1276 &quot;digitalParsingConfig&quot;: { # The digital parsing configurations for documents. # Configurations applied to digital parser.
1277 },
1278 &quot;layoutParsingConfig&quot;: { # The layout parsing configurations for documents. # Configurations applied to layout parser.
1279 &quot;enableGetProcessedDocument&quot;: True or False, # Optional. If true, the processed document will be made available for the GetProcessedDocument API.
1280 &quot;enableImageAnnotation&quot;: True or False, # Optional. If true, the LLM based annotation is added to the image during parsing.
1281 &quot;enableLlmLayoutParsing&quot;: True or False, # Optional. If true, the pdf layout will be refined using an LLM.
1282 &quot;enableTableAnnotation&quot;: True or False, # Optional. If true, the LLM based annotation is added to the table during parsing.
1283 &quot;excludeHtmlClasses&quot;: [ # Optional. List of HTML classes to exclude from the parsed content.
1284 &quot;A String&quot;,
1285 ],
1286 &quot;excludeHtmlElements&quot;: [ # Optional. List of HTML elements to exclude from the parsed content.
1287 &quot;A String&quot;,
1288 ],
1289 &quot;excludeHtmlIds&quot;: [ # Optional. List of HTML ids to exclude from the parsed content.
1290 &quot;A String&quot;,
1291 ],
1292 &quot;structuredContentTypes&quot;: [ # Optional. Contains the required structure types to extract from the document. Supported values: * `shareholder-structure`
1293 &quot;A String&quot;,
1294 ],
1295 },
1296 &quot;ocrParsingConfig&quot;: { # The OCR parsing configurations for documents. # Configurations applied to OCR parser. Currently it only applies to PDFs.
1297 &quot;enhancedDocumentElements&quot;: [ # [DEPRECATED] This field is deprecated. To use the additional enhanced document elements processing, please switch to `layout_parsing_config`.
1298 &quot;A String&quot;,
1299 ],
1300 &quot;useNativeText&quot;: True or False, # If true, will use native text instead of OCR text on pages containing native text.
1301 },
1302 },
1303 },
1304 },
1305 &quot;federatedSearchConfig&quot;: { # Stores information for federated search. # Optional. If set, this DataStore is a federated search DataStore.
1306 &quot;alloyDbConfig&quot;: { # Stores information for connecting to AlloyDB. # AlloyDB config. If set, this DataStore is connected to AlloyDB.
1307 &quot;alloydbAiNlConfig&quot;: { # Configuration for AlloyDB AI Natural Language. # Optional. Configuration for Magic.
1308 &quot;nlConfigId&quot;: &quot;A String&quot;, # Optional. AlloyDb AI NL config id, i.e. the value that was used for calling `SELECT alloydb_ai_nl.g_create_configuration(...)`. Can be empty.
1309 },
1310 &quot;alloydbConnectionConfig&quot;: { # Configuration for connecting to AlloyDB. # Required. Configuration for connecting to AlloyDB.
1311 &quot;authMode&quot;: &quot;A String&quot;, # Optional. Auth mode.
1312 &quot;database&quot;: &quot;A String&quot;, # Required. The AlloyDB database to connect to.
1313 &quot;enablePsvs&quot;: True or False, # Optional. If true, enable PSVS for AlloyDB.
1314 &quot;instance&quot;: &quot;A String&quot;, # Required. The AlloyDB instance to connect to.
1315 &quot;password&quot;: &quot;A String&quot;, # Required. Database password. If auth_mode = END_USER_ACCOUNT, it can be unset. In that case, the password will be inferred on the AlloyDB side, based on the authenticated user.
1316 &quot;user&quot;: &quot;A String&quot;, # Required. Database user. If auth_mode = END_USER_ACCOUNT, it can be unset. In that case, the user will be inferred on the AlloyDB side, based on the authenticated user.
1317 },
1318 &quot;returnedFields&quot;: [ # Optional. Fields to be returned in the search results. If empty, all fields will be returned.
1319 &quot;A String&quot;,
1320 ],
1321 },
1322 &quot;notebooklmConfig&quot;: { # Config for connecting to NotebookLM Enterprise. # NotebookLM config. If set, this DataStore is connected to NotebookLM Enterprise.
1323 &quot;searchConfig&quot;: &quot;A String&quot;, # Required. Search config name. Format: projects/*/locations/global/notebookLmSearchConfigs/*
1324 },
1325 &quot;thirdPartyOauthConfig&quot;: { # Stores information for third party applicationOAuth. # Third Party OAuth config. If set, this DataStore is connected to a third party application.
1326 &quot;appName&quot;: &quot;A String&quot;, # Optional. The type of the application. E.g., &quot;jira&quot;, &quot;box&quot;, etc.
1327 &quot;instanceName&quot;: &quot;A String&quot;, # Optional. The instance name identifying the 3P app, e.g., &quot;vaissptbots-my&quot;. This is different from the instance_uri which is the full URL of the 3P app e.g., &quot;https://vaissptbots-my.sharepoint.com&quot;.
1328 },
1329 },
1330 &quot;healthcareFhirConfig&quot;: { # Config to data store for `HEALTHCARE_FHIR` vertical. # Optional. Configuration for `HEALTHCARE_FHIR` vertical.
1331 &quot;enableConfigurableSchema&quot;: True or False, # Whether to enable configurable schema for `HEALTHCARE_FHIR` vertical. If set to `true`, the predefined healthcare fhir schema can be extended for more customized searching and filtering.
1332 &quot;enableStaticIndexingForBatchIngestion&quot;: True or False, # Whether to enable static indexing for `HEALTHCARE_FHIR` batch ingestion. If set to `true`, the batch ingestion will be processed in a static indexing mode which is slower but more capable of handling larger volume.
1333 &quot;initialFilterGroups&quot;: [ # Optional. Names of the Group resources to use as a basis for the initial patient filter, in format `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/fhir/Group/{group_id}`. The filter group must be a FHIR resource name of type Group, and the filter will be constructed from the direct members of the group which are Patient resources.
1334 &quot;A String&quot;,
1335 ],
1336 },
1337 &quot;identityMappingStore&quot;: &quot;A String&quot;, # Immutable. The fully qualified resource name of the associated IdentityMappingStore. This field can only be set for acl_enabled DataStores with `THIRD_PARTY` or `GSUITE` IdP. Format: `projects/{project}/locations/{location}/identityMappingStores/{identity_mapping_store}`.
1338 &quot;idpConfig&quot;: { # Identity Provider Config. # Output only. Data store level identity provider config.
1339 &quot;externalIdpConfig&quot;: { # Third party IDP Config. # External Identity provider config.
1340 &quot;workforcePoolName&quot;: &quot;A String&quot;, # Workforce pool name. Example: &quot;locations/global/workforcePools/pool_id&quot;
1341 },
1342 &quot;idpType&quot;: &quot;A String&quot;, # Identity provider type configured.
1343 },
1344 &quot;industryVertical&quot;: &quot;A String&quot;, # Immutable. The industry vertical that the data store registers.
1345 &quot;isInfobotFaqDataStore&quot;: True or False, # Optional. If set, this DataStore is an Infobot FAQ DataStore.
1346 &quot;kmsKeyName&quot;: &quot;A String&quot;, # Input only. The KMS key to be used to protect this DataStore at creation time. Must be set for requests that need to comply with CMEK Org Policy protections. If this field is set and processed successfully, the DataStore will be protected by the KMS key, as indicated in the cmek_config field.
1347 &quot;languageInfo&quot;: { # Language info for DataStore. # Language info for DataStore.
1348 &quot;language&quot;: &quot;A String&quot;, # Output only. Language part of normalized_language_code. E.g.: `en-US` -&gt; `en`, `zh-Hans-HK` -&gt; `zh`, `en` -&gt; `en`.
1349 &quot;languageCode&quot;: &quot;A String&quot;, # The language code for the DataStore.
1350 &quot;normalizedLanguageCode&quot;: &quot;A String&quot;, # Output only. This is the normalized form of language_code. E.g.: language_code of `en-GB`, `en_GB`, `en-UK` or `en-gb` will have normalized_language_code of `en-GB`.
1351 &quot;region&quot;: &quot;A String&quot;, # Output only. Region part of normalized_language_code, if present. E.g.: `en-US` -&gt; `US`, `zh-Hans-HK` -&gt; `HK`, `en` -&gt; ``.
1352 },
1353 &quot;name&quot;: &quot;A String&quot;, # Immutable. Identifier. 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.
1354 &quot;naturalLanguageQueryUnderstandingConfig&quot;: { # Configuration for Natural Language Query Understanding. # Optional. Configuration for Natural Language Query Understanding.
1355 &quot;mode&quot;: &quot;A String&quot;, # Mode of Natural Language Query Understanding. If this field is unset, the behavior defaults to NaturalLanguageQueryUnderstandingConfig.Mode.DISABLED.
1356 },
1357 &quot;servingConfigDataStore&quot;: { # Stores information regarding the serving configurations at DataStore level. # Optional. Stores serving config at DataStore level.
1358 &quot;disabledForServing&quot;: True or False, # Optional. If set true, the DataStore will not be available for serving search requests.
1359 },
1360 &quot;solutionTypes&quot;: [ # 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.
1361 &quot;A String&quot;,
1362 ],
1363 &quot;startingSchema&quot;: { # Defines the structure and layout of a type of document data. # 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).
1364 &quot;fieldConfigs&quot;: [ # Output only. Configurations for fields of the schema.
1365 { # Configurations for fields of a schema. For example, configuring a field is indexable, or searchable.
1366 &quot;advancedSiteSearchDataSources&quot;: [ # If this field is set, only the corresponding source will be indexed for this field. Otherwise, the values from different sources are merged. Assuming a page with `` in meta tag, and `` in page map: if this enum is set to METATAGS, we will only index ``; if this enum is not set, we will merge them and index ``.
1367 &quot;A String&quot;,
1368 ],
1369 &quot;completableOption&quot;: &quot;A String&quot;, # If completable_option is COMPLETABLE_ENABLED, field values are directly used and returned as suggestions for Autocomplete in CompletionService.CompleteQuery. If completable_option is unset, the server behavior defaults to COMPLETABLE_DISABLED for fields that support setting completable options, which are just `string` fields. For those fields that do not support setting completable options, the server will skip completable option setting, and setting completable_option for those fields will throw `INVALID_ARGUMENT` error.
1370 &quot;dynamicFacetableOption&quot;: &quot;A String&quot;, # If dynamic_facetable_option is DYNAMIC_FACETABLE_ENABLED, field values are available for dynamic facet. Could only be DYNAMIC_FACETABLE_DISABLED if FieldConfig.indexable_option is INDEXABLE_DISABLED. Otherwise, an `INVALID_ARGUMENT` error will be returned. If dynamic_facetable_option is unset, the server behavior defaults to DYNAMIC_FACETABLE_DISABLED for fields that support setting dynamic facetable options. For those fields that do not support setting dynamic facetable options, such as `object` and `boolean`, the server will skip dynamic facetable option setting, and setting dynamic_facetable_option for those fields will throw `INVALID_ARGUMENT` error.
1371 &quot;fieldPath&quot;: &quot;A String&quot;, # Required. Field path of the schema field. For example: `title`, `description`, `release_info.release_year`.
1372 &quot;fieldType&quot;: &quot;A String&quot;, # Output only. Raw type of the field.
1373 &quot;indexableOption&quot;: &quot;A String&quot;, # If indexable_option is INDEXABLE_ENABLED, field values are indexed so that it can be filtered or faceted in SearchService.Search. If indexable_option is unset, the server behavior defaults to INDEXABLE_DISABLED for fields that support setting indexable options. For those fields that do not support setting indexable options, such as `object` and `boolean` and key properties, the server will skip indexable_option setting, and setting indexable_option for those fields will throw `INVALID_ARGUMENT` error.
1374 &quot;keyPropertyType&quot;: &quot;A String&quot;, # Output only. Type of the key property that this field is mapped to. Empty string if this is not annotated as mapped to a key property. Example types are `title`, `description`. Full list is defined by `keyPropertyMapping` in the schema field annotation. If the schema field has a `KeyPropertyMapping` annotation, `indexable_option` and `searchable_option` of this field cannot be modified.
1375 &quot;metatagName&quot;: &quot;A String&quot;, # Optional. The metatag name found in the HTML page. If user defines this field, the value of this metatag name will be used to extract metatag. If the user does not define this field, the FieldConfig.field_path will be used to extract metatag.
1376 &quot;recsFilterableOption&quot;: &quot;A String&quot;, # If recs_filterable_option is FILTERABLE_ENABLED, field values are filterable by filter expression in RecommendationService.Recommend. If FILTERABLE_ENABLED but the field type is numerical, field values are not filterable by text queries in RecommendationService.Recommend. Only textual fields are supported. If recs_filterable_option is unset, the default setting is FILTERABLE_DISABLED for fields that support setting filterable options. When a field set to [FILTERABLE_DISABLED] is filtered, a warning is generated and an empty result is returned.
1377 &quot;retrievableOption&quot;: &quot;A String&quot;, # If retrievable_option is RETRIEVABLE_ENABLED, field values are included in the search results. If retrievable_option is unset, the server behavior defaults to RETRIEVABLE_DISABLED for fields that support setting retrievable options. For those fields that do not support setting retrievable options, such as `object` and `boolean`, the server will skip retrievable option setting, and setting retrievable_option for those fields will throw `INVALID_ARGUMENT` error.
1378 &quot;schemaOrgPaths&quot;: [ # Field paths for indexing custom attribute from schema.org data. More details of schema.org and its defined types can be found at [schema.org](https://schema.org). It is only used on advanced site search schema. Currently only support full path from root. The full path to a field is constructed by concatenating field names, starting from `_root`, with a period `.` as the delimiter. Examples: * Publish date of the root: _root.datePublished * Publish date of the reviews: _root.review.datePublished
1379 &quot;A String&quot;,
1380 ],
1381 &quot;searchableFieldImportance&quot;: &quot;A String&quot;, # Optional. Specifies the importance of the field when `searchable_option` is `SEARCHABLE_ENABLED`. If `searchable_option` is `SEARCHABLE_DISABLED`, this field is ignored. If `searchable_option` is `SEARCHABLE_ENABLED` and this is `SEARCHABLE_FIELD_IMPORTANCE_UNSPECIFIED`, it behaves as `DEFAULT_IMPORTANCE`. For more information, see [Weight searchable fields](https://cloud.google.com/generative-ai-app-builder/docs/configure-field-settings#weight-search).
1382 &quot;searchableOption&quot;: &quot;A String&quot;, # If searchable_option is SEARCHABLE_ENABLED, field values are searchable by text queries in SearchService.Search. If SEARCHABLE_ENABLED but field type is numerical, field values will not be searchable by text queries in SearchService.Search, as there are no text values associated to numerical fields. If searchable_option is unset, the server behavior defaults to SEARCHABLE_DISABLED for fields that support setting searchable options. Only `string` fields that have no key property mapping support setting searchable_option. For those fields that do not support setting searchable options, the server will skip searchable option setting, and setting searchable_option for those fields will throw `INVALID_ARGUMENT` error.
1383 },
1384 ],
1385 &quot;jsonSchema&quot;: &quot;A String&quot;, # The JSON representation of the schema.
1386 &quot;name&quot;: &quot;A String&quot;, # Immutable. The full resource name of the schema, in the format of `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.
1387 &quot;structSchema&quot;: { # The structured representation of the schema.
1388 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
1389 },
1390 },
1391 &quot;workspaceConfig&quot;: { # Config to store data store type configuration for workspace data # Config to store data store type configuration for workspace data. This must be set when DataStore.content_config is set as DataStore.ContentConfig.GOOGLE_WORKSPACE.
1392 &quot;dasherCustomerId&quot;: &quot;A String&quot;, # Output only. Obfuscated Dasher customer ID. Derived by the server from the project&#x27;s GCP organization at data store creation time; any value supplied in the request payload is ignored.
1393 &quot;superAdminEmailAddress&quot;: &quot;A String&quot;, # Optional. The super admin email address for the workspace that will be used for access token generation. For now we only use it for Native Google Drive connector data ingestion.
1394 &quot;superAdminServiceAccount&quot;: &quot;A String&quot;, # Optional. The super admin service account for the workspace that will be used for access token generation. For now we only use it for Native Google Drive connector data ingestion.
1395 &quot;type&quot;: &quot;A String&quot;, # The Google Workspace data source.
1396 },
1397 }
1398
1399 updateMask: string, Indicates which fields in the provided DataStore to update. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.
1400 x__xgafv: string, V1 error format.
1401 Allowed values
1402 1 - v1 error format
1403 2 - v2 error format
1404
1405 Returns:
1406 An object of the form:
1407
1408 { # DataStore captures global settings and configs at the DataStore level.
1409 &quot;aclEnabled&quot;: True or False, # 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&#x27;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.
1410 &quot;advancedSiteSearchConfig&quot;: { # Configuration data for advance site search. # Optional. Configuration for advanced site search.
1411 &quot;disableAutomaticRefresh&quot;: True or False, # If set true, automatic refresh is disabled for the DataStore.
1412 &quot;disableInitialIndex&quot;: True or False, # If set true, initial indexing is disabled for the DataStore.
1413 },
1414 &quot;billingEstimation&quot;: { # Estimation of data size per data store. # Output only. Data size estimation for billing.
1415 &quot;structuredDataSize&quot;: &quot;A String&quot;, # Data size for structured data in terms of bytes.
1416 &quot;structuredDataUpdateTime&quot;: &quot;A String&quot;, # Last updated timestamp for structured data.
1417 &quot;unstructuredDataSize&quot;: &quot;A String&quot;, # Data size for unstructured data in terms of bytes.
1418 &quot;unstructuredDataUpdateTime&quot;: &quot;A String&quot;, # Last updated timestamp for unstructured data.
1419 &quot;websiteDataSize&quot;: &quot;A String&quot;, # Data size for websites in terms of bytes.
1420 &quot;websiteDataUpdateTime&quot;: &quot;A String&quot;, # Last updated timestamp for websites.
1421 },
1422 &quot;cmekConfig&quot;: { # Configurations used to enable CMEK data encryption with Cloud KMS keys. # Output only. CMEK-related information for the DataStore.
1423 &quot;isDefault&quot;: True or False, # Output only. The default CmekConfig for the Customer.
1424 &quot;kmsKey&quot;: &quot;A String&quot;, # Required. KMS key resource name which will be used to encrypt resources `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`.
1425 &quot;kmsKeyVersion&quot;: &quot;A String&quot;, # Output only. KMS key version resource name which will be used to encrypt resources `/cryptoKeyVersions/{keyVersion}`.
1426 &quot;lastRotationTimestampMicros&quot;: &quot;A String&quot;, # Output only. The timestamp of the last key rotation.
1427 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the CmekConfig of the form `projects/{project}/locations/{location}/cmekConfig` or `projects/{project}/locations/{location}/cmekConfigs/{cmek_config}`.
1428 &quot;notebooklmState&quot;: &quot;A String&quot;, # Output only. Whether the NotebookLM Corpus is ready to be used.
1429 &quot;singleRegionKeys&quot;: [ # Optional. Single-regional CMEKs that are required for some VAIS features.
1430 { # Metadata for single-regional CMEKs.
1431 &quot;kmsKey&quot;: &quot;A String&quot;, # Required. Single-regional kms key resource name which will be used to encrypt resources `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`.
1432 },
1433 ],
1434 &quot;state&quot;: &quot;A String&quot;, # Output only. The states of the CmekConfig.
1435 },
1436 &quot;configurableBillingApproach&quot;: &quot;A String&quot;, # Optional. Configuration for configurable billing approach. See
1437 &quot;configurableBillingApproachUpdateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when configurable_billing_approach was last updated.
1438 &quot;contentConfig&quot;: &quot;A String&quot;, # Immutable. The content config of the data store. If this field is unset, the server behavior defaults to ContentConfig.NO_CONTENT.
1439 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Timestamp the DataStore was created at.
1440 &quot;dataProtectionPolicy&quot;: { # Contains the data protection policy config for a DataStore or a connector. # Optional. Specifies the data protection policy for the data store.
1441 &quot;sensitiveDataProtectionPolicy&quot;: { # Specifies a Sensitive Data Protection (https://cloud.google.com/sensitive-data-protection/docs/sensitive-data-protection-overview) policy. # Optional. Specifies the sensitive data protection policy for the connector source.
1442 &quot;policy&quot;: &quot;A String&quot;, # Optional. Specifies the resource name of the Sensitive Data Protection content policy.
1443 },
1444 },
1445 &quot;defaultSchemaId&quot;: &quot;A String&quot;, # Output only. The id of the default Schema associated to this data store.
1446 &quot;displayName&quot;: &quot;A String&quot;, # 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.
1447 &quot;documentProcessingConfig&quot;: { # A singleton resource of DataStore. If it&#x27;s empty when DataStore is created and DataStore is set to DataStore.ContentConfig.CONTENT_REQUIRED, the default parser will default to digital parser. # Configuration for Document understanding and enrichment.
1448 &quot;chunkingConfig&quot;: { # Configuration for chunking config. # Whether chunking mode is enabled.
1449 &quot;layoutBasedChunkingConfig&quot;: { # Configuration for the layout based chunking. # Configuration for the layout based chunking.
1450 &quot;chunkSize&quot;: 42, # The token size limit for each chunk. Supported values: 100-500 (inclusive). Default value: 500.
1451 &quot;includeAncestorHeadings&quot;: True or False, # Whether to include appending different levels of headings to chunks from the middle of the document to prevent context loss. Default value: False.
1452 },
1453 },
1454 &quot;defaultParsingConfig&quot;: { # Related configurations applied to a specific type of document parser. # 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.
1455 &quot;digitalParsingConfig&quot;: { # The digital parsing configurations for documents. # Configurations applied to digital parser.
1456 },
1457 &quot;layoutParsingConfig&quot;: { # The layout parsing configurations for documents. # Configurations applied to layout parser.
1458 &quot;enableGetProcessedDocument&quot;: True or False, # Optional. If true, the processed document will be made available for the GetProcessedDocument API.
1459 &quot;enableImageAnnotation&quot;: True or False, # Optional. If true, the LLM based annotation is added to the image during parsing.
1460 &quot;enableLlmLayoutParsing&quot;: True or False, # Optional. If true, the pdf layout will be refined using an LLM.
1461 &quot;enableTableAnnotation&quot;: True or False, # Optional. If true, the LLM based annotation is added to the table during parsing.
1462 &quot;excludeHtmlClasses&quot;: [ # Optional. List of HTML classes to exclude from the parsed content.
1463 &quot;A String&quot;,
1464 ],
1465 &quot;excludeHtmlElements&quot;: [ # Optional. List of HTML elements to exclude from the parsed content.
1466 &quot;A String&quot;,
1467 ],
1468 &quot;excludeHtmlIds&quot;: [ # Optional. List of HTML ids to exclude from the parsed content.
1469 &quot;A String&quot;,
1470 ],
1471 &quot;structuredContentTypes&quot;: [ # Optional. Contains the required structure types to extract from the document. Supported values: * `shareholder-structure`
1472 &quot;A String&quot;,
1473 ],
1474 },
1475 &quot;ocrParsingConfig&quot;: { # The OCR parsing configurations for documents. # Configurations applied to OCR parser. Currently it only applies to PDFs.
1476 &quot;enhancedDocumentElements&quot;: [ # [DEPRECATED] This field is deprecated. To use the additional enhanced document elements processing, please switch to `layout_parsing_config`.
1477 &quot;A String&quot;,
1478 ],
1479 &quot;useNativeText&quot;: True or False, # If true, will use native text instead of OCR text on pages containing native text.
1480 },
1481 },
1482 &quot;name&quot;: &quot;A String&quot;, # The full resource name of the Document Processing Config. Format: `projects/*/locations/*/collections/*/dataStores/*/documentProcessingConfig`.
1483 &quot;parsingConfigOverrides&quot;: { # 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 layout parsing are supported. * `docx`: Override parsing config for DOCX files, only digital parsing and layout parsing are supported. * `pptx`: Override parsing config for PPTX files, only digital parsing and layout parsing are supported. * `xlsm`: Override parsing config for XLSM files, only digital parsing and layout parsing are supported. * `xlsx`: Override parsing config for XLSX files, only digital parsing and layout parsing are supported.
1484 &quot;a_key&quot;: { # Related configurations applied to a specific type of document parser.
1485 &quot;digitalParsingConfig&quot;: { # The digital parsing configurations for documents. # Configurations applied to digital parser.
1486 },
1487 &quot;layoutParsingConfig&quot;: { # The layout parsing configurations for documents. # Configurations applied to layout parser.
1488 &quot;enableGetProcessedDocument&quot;: True or False, # Optional. If true, the processed document will be made available for the GetProcessedDocument API.
1489 &quot;enableImageAnnotation&quot;: True or False, # Optional. If true, the LLM based annotation is added to the image during parsing.
1490 &quot;enableLlmLayoutParsing&quot;: True or False, # Optional. If true, the pdf layout will be refined using an LLM.
1491 &quot;enableTableAnnotation&quot;: True or False, # Optional. If true, the LLM based annotation is added to the table during parsing.
1492 &quot;excludeHtmlClasses&quot;: [ # Optional. List of HTML classes to exclude from the parsed content.
1493 &quot;A String&quot;,
1494 ],
1495 &quot;excludeHtmlElements&quot;: [ # Optional. List of HTML elements to exclude from the parsed content.
1496 &quot;A String&quot;,
1497 ],
1498 &quot;excludeHtmlIds&quot;: [ # Optional. List of HTML ids to exclude from the parsed content.
1499 &quot;A String&quot;,
1500 ],
1501 &quot;structuredContentTypes&quot;: [ # Optional. Contains the required structure types to extract from the document. Supported values: * `shareholder-structure`
1502 &quot;A String&quot;,
1503 ],
1504 },
1505 &quot;ocrParsingConfig&quot;: { # The OCR parsing configurations for documents. # Configurations applied to OCR parser. Currently it only applies to PDFs.
1506 &quot;enhancedDocumentElements&quot;: [ # [DEPRECATED] This field is deprecated. To use the additional enhanced document elements processing, please switch to `layout_parsing_config`.
1507 &quot;A String&quot;,
1508 ],
1509 &quot;useNativeText&quot;: True or False, # If true, will use native text instead of OCR text on pages containing native text.
1510 },
1511 },
1512 },
1513 },
1514 &quot;federatedSearchConfig&quot;: { # Stores information for federated search. # Optional. If set, this DataStore is a federated search DataStore.
1515 &quot;alloyDbConfig&quot;: { # Stores information for connecting to AlloyDB. # AlloyDB config. If set, this DataStore is connected to AlloyDB.
1516 &quot;alloydbAiNlConfig&quot;: { # Configuration for AlloyDB AI Natural Language. # Optional. Configuration for Magic.
1517 &quot;nlConfigId&quot;: &quot;A String&quot;, # Optional. AlloyDb AI NL config id, i.e. the value that was used for calling `SELECT alloydb_ai_nl.g_create_configuration(...)`. Can be empty.
1518 },
1519 &quot;alloydbConnectionConfig&quot;: { # Configuration for connecting to AlloyDB. # Required. Configuration for connecting to AlloyDB.
1520 &quot;authMode&quot;: &quot;A String&quot;, # Optional. Auth mode.
1521 &quot;database&quot;: &quot;A String&quot;, # Required. The AlloyDB database to connect to.
1522 &quot;enablePsvs&quot;: True or False, # Optional. If true, enable PSVS for AlloyDB.
1523 &quot;instance&quot;: &quot;A String&quot;, # Required. The AlloyDB instance to connect to.
1524 &quot;password&quot;: &quot;A String&quot;, # Required. Database password. If auth_mode = END_USER_ACCOUNT, it can be unset. In that case, the password will be inferred on the AlloyDB side, based on the authenticated user.
1525 &quot;user&quot;: &quot;A String&quot;, # Required. Database user. If auth_mode = END_USER_ACCOUNT, it can be unset. In that case, the user will be inferred on the AlloyDB side, based on the authenticated user.
1526 },
1527 &quot;returnedFields&quot;: [ # Optional. Fields to be returned in the search results. If empty, all fields will be returned.
1528 &quot;A String&quot;,
1529 ],
1530 },
1531 &quot;notebooklmConfig&quot;: { # Config for connecting to NotebookLM Enterprise. # NotebookLM config. If set, this DataStore is connected to NotebookLM Enterprise.
1532 &quot;searchConfig&quot;: &quot;A String&quot;, # Required. Search config name. Format: projects/*/locations/global/notebookLmSearchConfigs/*
1533 },
1534 &quot;thirdPartyOauthConfig&quot;: { # Stores information for third party applicationOAuth. # Third Party OAuth config. If set, this DataStore is connected to a third party application.
1535 &quot;appName&quot;: &quot;A String&quot;, # Optional. The type of the application. E.g., &quot;jira&quot;, &quot;box&quot;, etc.
1536 &quot;instanceName&quot;: &quot;A String&quot;, # Optional. The instance name identifying the 3P app, e.g., &quot;vaissptbots-my&quot;. This is different from the instance_uri which is the full URL of the 3P app e.g., &quot;https://vaissptbots-my.sharepoint.com&quot;.
1537 },
1538 },
1539 &quot;healthcareFhirConfig&quot;: { # Config to data store for `HEALTHCARE_FHIR` vertical. # Optional. Configuration for `HEALTHCARE_FHIR` vertical.
1540 &quot;enableConfigurableSchema&quot;: True or False, # Whether to enable configurable schema for `HEALTHCARE_FHIR` vertical. If set to `true`, the predefined healthcare fhir schema can be extended for more customized searching and filtering.
1541 &quot;enableStaticIndexingForBatchIngestion&quot;: True or False, # Whether to enable static indexing for `HEALTHCARE_FHIR` batch ingestion. If set to `true`, the batch ingestion will be processed in a static indexing mode which is slower but more capable of handling larger volume.
1542 &quot;initialFilterGroups&quot;: [ # Optional. Names of the Group resources to use as a basis for the initial patient filter, in format `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/fhir/Group/{group_id}`. The filter group must be a FHIR resource name of type Group, and the filter will be constructed from the direct members of the group which are Patient resources.
1543 &quot;A String&quot;,
1544 ],
1545 },
1546 &quot;identityMappingStore&quot;: &quot;A String&quot;, # Immutable. The fully qualified resource name of the associated IdentityMappingStore. This field can only be set for acl_enabled DataStores with `THIRD_PARTY` or `GSUITE` IdP. Format: `projects/{project}/locations/{location}/identityMappingStores/{identity_mapping_store}`.
1547 &quot;idpConfig&quot;: { # Identity Provider Config. # Output only. Data store level identity provider config.
1548 &quot;externalIdpConfig&quot;: { # Third party IDP Config. # External Identity provider config.
1549 &quot;workforcePoolName&quot;: &quot;A String&quot;, # Workforce pool name. Example: &quot;locations/global/workforcePools/pool_id&quot;
1550 },
1551 &quot;idpType&quot;: &quot;A String&quot;, # Identity provider type configured.
1552 },
1553 &quot;industryVertical&quot;: &quot;A String&quot;, # Immutable. The industry vertical that the data store registers.
1554 &quot;isInfobotFaqDataStore&quot;: True or False, # Optional. If set, this DataStore is an Infobot FAQ DataStore.
1555 &quot;kmsKeyName&quot;: &quot;A String&quot;, # Input only. The KMS key to be used to protect this DataStore at creation time. Must be set for requests that need to comply with CMEK Org Policy protections. If this field is set and processed successfully, the DataStore will be protected by the KMS key, as indicated in the cmek_config field.
1556 &quot;languageInfo&quot;: { # Language info for DataStore. # Language info for DataStore.
1557 &quot;language&quot;: &quot;A String&quot;, # Output only. Language part of normalized_language_code. E.g.: `en-US` -&gt; `en`, `zh-Hans-HK` -&gt; `zh`, `en` -&gt; `en`.
1558 &quot;languageCode&quot;: &quot;A String&quot;, # The language code for the DataStore.
1559 &quot;normalizedLanguageCode&quot;: &quot;A String&quot;, # Output only. This is the normalized form of language_code. E.g.: language_code of `en-GB`, `en_GB`, `en-UK` or `en-gb` will have normalized_language_code of `en-GB`.
1560 &quot;region&quot;: &quot;A String&quot;, # Output only. Region part of normalized_language_code, if present. E.g.: `en-US` -&gt; `US`, `zh-Hans-HK` -&gt; `HK`, `en` -&gt; ``.
1561 },
1562 &quot;name&quot;: &quot;A String&quot;, # Immutable. Identifier. 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.
1563 &quot;naturalLanguageQueryUnderstandingConfig&quot;: { # Configuration for Natural Language Query Understanding. # Optional. Configuration for Natural Language Query Understanding.
1564 &quot;mode&quot;: &quot;A String&quot;, # Mode of Natural Language Query Understanding. If this field is unset, the behavior defaults to NaturalLanguageQueryUnderstandingConfig.Mode.DISABLED.
1565 },
1566 &quot;servingConfigDataStore&quot;: { # Stores information regarding the serving configurations at DataStore level. # Optional. Stores serving config at DataStore level.
1567 &quot;disabledForServing&quot;: True or False, # Optional. If set true, the DataStore will not be available for serving search requests.
1568 },
1569 &quot;solutionTypes&quot;: [ # 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.
1570 &quot;A String&quot;,
1571 ],
1572 &quot;startingSchema&quot;: { # Defines the structure and layout of a type of document data. # 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).
1573 &quot;fieldConfigs&quot;: [ # Output only. Configurations for fields of the schema.
1574 { # Configurations for fields of a schema. For example, configuring a field is indexable, or searchable.
1575 &quot;advancedSiteSearchDataSources&quot;: [ # If this field is set, only the corresponding source will be indexed for this field. Otherwise, the values from different sources are merged. Assuming a page with `` in meta tag, and `` in page map: if this enum is set to METATAGS, we will only index ``; if this enum is not set, we will merge them and index ``.
1576 &quot;A String&quot;,
1577 ],
1578 &quot;completableOption&quot;: &quot;A String&quot;, # If completable_option is COMPLETABLE_ENABLED, field values are directly used and returned as suggestions for Autocomplete in CompletionService.CompleteQuery. If completable_option is unset, the server behavior defaults to COMPLETABLE_DISABLED for fields that support setting completable options, which are just `string` fields. For those fields that do not support setting completable options, the server will skip completable option setting, and setting completable_option for those fields will throw `INVALID_ARGUMENT` error.
1579 &quot;dynamicFacetableOption&quot;: &quot;A String&quot;, # If dynamic_facetable_option is DYNAMIC_FACETABLE_ENABLED, field values are available for dynamic facet. Could only be DYNAMIC_FACETABLE_DISABLED if FieldConfig.indexable_option is INDEXABLE_DISABLED. Otherwise, an `INVALID_ARGUMENT` error will be returned. If dynamic_facetable_option is unset, the server behavior defaults to DYNAMIC_FACETABLE_DISABLED for fields that support setting dynamic facetable options. For those fields that do not support setting dynamic facetable options, such as `object` and `boolean`, the server will skip dynamic facetable option setting, and setting dynamic_facetable_option for those fields will throw `INVALID_ARGUMENT` error.
1580 &quot;fieldPath&quot;: &quot;A String&quot;, # Required. Field path of the schema field. For example: `title`, `description`, `release_info.release_year`.
1581 &quot;fieldType&quot;: &quot;A String&quot;, # Output only. Raw type of the field.
1582 &quot;indexableOption&quot;: &quot;A String&quot;, # If indexable_option is INDEXABLE_ENABLED, field values are indexed so that it can be filtered or faceted in SearchService.Search. If indexable_option is unset, the server behavior defaults to INDEXABLE_DISABLED for fields that support setting indexable options. For those fields that do not support setting indexable options, such as `object` and `boolean` and key properties, the server will skip indexable_option setting, and setting indexable_option for those fields will throw `INVALID_ARGUMENT` error.
1583 &quot;keyPropertyType&quot;: &quot;A String&quot;, # Output only. Type of the key property that this field is mapped to. Empty string if this is not annotated as mapped to a key property. Example types are `title`, `description`. Full list is defined by `keyPropertyMapping` in the schema field annotation. If the schema field has a `KeyPropertyMapping` annotation, `indexable_option` and `searchable_option` of this field cannot be modified.
1584 &quot;metatagName&quot;: &quot;A String&quot;, # Optional. The metatag name found in the HTML page. If user defines this field, the value of this metatag name will be used to extract metatag. If the user does not define this field, the FieldConfig.field_path will be used to extract metatag.
1585 &quot;recsFilterableOption&quot;: &quot;A String&quot;, # If recs_filterable_option is FILTERABLE_ENABLED, field values are filterable by filter expression in RecommendationService.Recommend. If FILTERABLE_ENABLED but the field type is numerical, field values are not filterable by text queries in RecommendationService.Recommend. Only textual fields are supported. If recs_filterable_option is unset, the default setting is FILTERABLE_DISABLED for fields that support setting filterable options. When a field set to [FILTERABLE_DISABLED] is filtered, a warning is generated and an empty result is returned.
1586 &quot;retrievableOption&quot;: &quot;A String&quot;, # If retrievable_option is RETRIEVABLE_ENABLED, field values are included in the search results. If retrievable_option is unset, the server behavior defaults to RETRIEVABLE_DISABLED for fields that support setting retrievable options. For those fields that do not support setting retrievable options, such as `object` and `boolean`, the server will skip retrievable option setting, and setting retrievable_option for those fields will throw `INVALID_ARGUMENT` error.
1587 &quot;schemaOrgPaths&quot;: [ # Field paths for indexing custom attribute from schema.org data. More details of schema.org and its defined types can be found at [schema.org](https://schema.org). It is only used on advanced site search schema. Currently only support full path from root. The full path to a field is constructed by concatenating field names, starting from `_root`, with a period `.` as the delimiter. Examples: * Publish date of the root: _root.datePublished * Publish date of the reviews: _root.review.datePublished
1588 &quot;A String&quot;,
1589 ],
1590 &quot;searchableFieldImportance&quot;: &quot;A String&quot;, # Optional. Specifies the importance of the field when `searchable_option` is `SEARCHABLE_ENABLED`. If `searchable_option` is `SEARCHABLE_DISABLED`, this field is ignored. If `searchable_option` is `SEARCHABLE_ENABLED` and this is `SEARCHABLE_FIELD_IMPORTANCE_UNSPECIFIED`, it behaves as `DEFAULT_IMPORTANCE`. For more information, see [Weight searchable fields](https://cloud.google.com/generative-ai-app-builder/docs/configure-field-settings#weight-search).
1591 &quot;searchableOption&quot;: &quot;A String&quot;, # If searchable_option is SEARCHABLE_ENABLED, field values are searchable by text queries in SearchService.Search. If SEARCHABLE_ENABLED but field type is numerical, field values will not be searchable by text queries in SearchService.Search, as there are no text values associated to numerical fields. If searchable_option is unset, the server behavior defaults to SEARCHABLE_DISABLED for fields that support setting searchable options. Only `string` fields that have no key property mapping support setting searchable_option. For those fields that do not support setting searchable options, the server will skip searchable option setting, and setting searchable_option for those fields will throw `INVALID_ARGUMENT` error.
1592 },
1593 ],
1594 &quot;jsonSchema&quot;: &quot;A String&quot;, # The JSON representation of the schema.
1595 &quot;name&quot;: &quot;A String&quot;, # Immutable. The full resource name of the schema, in the format of `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.
1596 &quot;structSchema&quot;: { # The structured representation of the schema.
1597 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
1598 },
1599 },
1600 &quot;workspaceConfig&quot;: { # Config to store data store type configuration for workspace data # Config to store data store type configuration for workspace data. This must be set when DataStore.content_config is set as DataStore.ContentConfig.GOOGLE_WORKSPACE.
1601 &quot;dasherCustomerId&quot;: &quot;A String&quot;, # Output only. Obfuscated Dasher customer ID. Derived by the server from the project&#x27;s GCP organization at data store creation time; any value supplied in the request payload is ignored.
1602 &quot;superAdminEmailAddress&quot;: &quot;A String&quot;, # Optional. The super admin email address for the workspace that will be used for access token generation. For now we only use it for Native Google Drive connector data ingestion.
1603 &quot;superAdminServiceAccount&quot;: &quot;A String&quot;, # Optional. The super admin service account for the workspace that will be used for access token generation. For now we only use it for Native Google Drive connector data ingestion.
1604 &quot;type&quot;: &quot;A String&quot;, # The Google Workspace data source.
1605 },
1606 }</pre>
1607 </div>
1608
1609 <div class="method">
1610 <code class="details" id="removePatientFilter">removePatientFilter(dataStore, body=None, x__xgafv=None)</code>
1611 <pre>Removes a group of patient IDs from the patient filter for the data store. Patient filters are empty by default when a data store is created, and are stored in a separate table. The data store must first be created, and must be a healthcare data store. This method will fail if the data store does not have a patient filter. The filter group must be a FHIR resource name of type Group, and the list of patient IDs to remove will be constructed from the direct members of the group which are Patient resources.
1612
1613 Args:
1614 dataStore: string, Required. Full resource name of DataStore, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. If the caller does not have permission to access the DataStore, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested DataStore does not exist, a NOT_FOUND error is returned. If the requested DataStore does not have a patient filter, a NOT_FOUND error will be returned (required)
1615 body: object, The request body.
1616 The object takes the form of:
1617
1618 { # Request for DataStoreService.RemovePatientFilter method.
1619 &quot;dataStore&quot;: &quot;A String&quot;, # Required. Full resource name of DataStore, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. If the caller does not have permission to access the DataStore, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested DataStore does not exist, a NOT_FOUND error is returned. If the requested DataStore does not have a patient filter, a NOT_FOUND error will be returned
1620 &quot;filterGroups&quot;: [ # Required. Names of the Group resources to use as a basis for the list of patients to remove from the patient filter, in format `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/fhir/Group/{group_id}`. if the caller does not have permission to access the FHIR store, regardless of whether it exists, PERMISSION_DENIED error is returned. If the discovery engine service account does not have permission to access the FHIR store, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the group is not found at the location, a RESOURCE_NOT_FOUND error will be returned. The filter group must be a FHIR resource name of type Group, and the list of IDs to remove will be constructed from the direct members of the group which are Patient resources.
1621 &quot;A String&quot;,
1622 ],
1623 }
1624
1625 x__xgafv: string, V1 error format.
1626 Allowed values
1627 1 - v1 error format
1628 2 - v2 error format
1629
1630 Returns:
1631 An object of the form:
1632
1633 { # This resource represents a long-running operation that is the result of a network API call.
1634 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
1635 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
1636 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
1637 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
1638 {
1639 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1640 },
1641 ],
1642 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
1643 },
1644 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
1645 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1646 },
1647 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
1648 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
1649 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1650 },
1651 }</pre>
1652 </div>
1653
1654 <div class="method">
1655 <code class="details" id="replacePatientFilter">replacePatientFilter(dataStore, body=None, x__xgafv=None)</code>
1656 <pre>Replaces the patient filter for the data store. This method is essentially a combination of DeletePatientFilters and AddPatientFilter. Patient filters are empty by default when a data store is created, and are stored in a separate table. The data store must first be created, and must be a healthcare data store. This method will fail if the data store does not have a patient filter. The filter group must be a FHIR resource name of type Group, and the new filter will be constructed from the direct members of the group which are Patient resources.
1657
1658 Args:
1659 dataStore: string, Required. Full resource name of DataStore, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. If the caller does not have permission to access the DataStore, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested DataStore does not exist, a NOT_FOUND error is returned. If the requested DataStore already has a patient filter, an ALREADY_EXISTS error will be returned. (required)
1660 body: object, The request body.
1661 The object takes the form of:
1662
1663 { # Request for DataStoreService.ReplacePatientFilter method.
1664 &quot;dataStore&quot;: &quot;A String&quot;, # Required. Full resource name of DataStore, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. If the caller does not have permission to access the DataStore, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested DataStore does not exist, a NOT_FOUND error is returned. If the requested DataStore already has a patient filter, an ALREADY_EXISTS error will be returned.
1665 &quot;filterGroups&quot;: [ # Required. Names of the Group resources to use as a basis for the list of patients for the new patient filter, in format `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/fhir/Group/{group_id}`. if the caller does not have permission to access the FHIR store, regardless of whether it exists, PERMISSION_DENIED error is returned. If the discovery engine service account does not have permission to access the FHIR store, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the group is not found at the location, a RESOURCE_NOT_FOUND error will be returned. The filter group must be a FHIR resource name of type Group, and the new filter will be constructed from the direct members of the group which are Patient resources.
1666 &quot;A String&quot;,
1667 ],
1668 }
1669
1670 x__xgafv: string, V1 error format.
1671 Allowed values
1672 1 - v1 error format
1673 2 - v2 error format
1674
1675 Returns:
1676 An object of the form:
1677
1678 { # This resource represents a long-running operation that is the result of a network API call.
1679 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
1680 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
1681 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
1682 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
1683 {
1684 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1685 },
1686 ],
1687 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
1688 },
1689 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
1690 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1691 },
1692 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
1693 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
1694 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1695 },
1696 }</pre>
1697 </div>
1698
1699 <div class="method">
1700 <code class="details" id="trainCustomModel">trainCustomModel(dataStore, body=None, x__xgafv=None)</code>
1701 <pre>Trains a custom model.
1702
1703 Args:
1704 dataStore: string, Required. The resource name of the Data Store, such as `projects/*/locations/global/collections/default_collection/dataStores/default_data_store`. This field is used to identify the data store where to train the models. (required)
1705 body: object, The request body.
1706 The object takes the form of:
1707
1708 { # Request message for SearchTuningService.TrainCustomModel method.
1709 &quot;errorConfig&quot;: { # Configuration of destination for Import related errors. # The desired location of errors incurred during the data ingestion and training.
1710 &quot;gcsPrefix&quot;: &quot;A String&quot;, # Cloud Storage prefix for import errors. This must be an empty, existing Cloud Storage directory. Import errors are written to sharded files in this directory, one per line, as a JSON-encoded `google.rpc.Status` message.
1711 },
1712 &quot;gcsTrainingInput&quot;: { # Cloud Storage training data input. # Cloud Storage training input.
1713 &quot;corpusDataPath&quot;: &quot;A String&quot;, # 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: `{&quot;_id&quot;: &quot;doc1&quot;, title: &quot;relevant doc&quot;, &quot;text&quot;: &quot;relevant text&quot;}`
1714 &quot;queryDataPath&quot;: &quot;A String&quot;, # 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: {&quot;_id&quot;: &quot;query1&quot;, &quot;text&quot;: &quot;example query&quot;}
1715 &quot;testDataPath&quot;: &quot;A String&quot;, # Cloud Storage test data. Same format as train_data_path. If not provided, a random 80/20 train/test split will be performed on train_data_path.
1716 &quot;trainDataPath&quot;: &quot;A String&quot;, # 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`
1717 },
1718 &quot;modelId&quot;: &quot;A String&quot;, # If not provided, a UUID will be generated.
1719 &quot;modelType&quot;: &quot;A String&quot;, # Model to be trained. Supported values are: * **search-tuning**: Fine tuning the search system based on data provided.
1720 }
1721
1722 x__xgafv: string, V1 error format.
1723 Allowed values
1724 1 - v1 error format
1725 2 - v2 error format
1726
1727 Returns:
1728 An object of the form:
1729
1730 { # This resource represents a long-running operation that is the result of a network API call.
1731 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
1732 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
1733 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
1734 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
1735 {
1736 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1737 },
1738 ],
1739 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
1740 },
1741 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
1742 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1743 },
1744 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
1745 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
1746 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1747 },
1748 }</pre>
1749 </div>
1750
1751 <div class="method">
1752 <code class="details" id="updateCompletionConfig">updateCompletionConfig(name, body=None, updateMask=None, x__xgafv=None)</code>
1753 <pre>Updates the CompletionConfigs.
1754
1755 Args:
1756 name: string, Required. Immutable. Fully qualified name `projects/*/locations/*/dataStores/*/completionConfig` `projects/*/locations/*/collections/*/dataStores/*/completionConfig` `projects/*/locations/*/collections/*/engines/*/completionConfig` (required)
1757 body: object, The request body.
1758 The object takes the form of:
1759
1760 { # Config to customize Autocomplete API response for both engines and data stores. Some fields are applicable to only one of them.
1761 &quot;enableMode&quot;: &quot;A String&quot;, # The enable mode of autocomplete generation pipelines. If this field is unset, the server behavior defaults to CompletionConfig.EnableMode.AUTOMATIC. Applies to DataStore only. Ignored for Engine.
1762 &quot;filterPiiSuggestionsUsingDlp&quot;: True or False, # If true, with best effort, try to detect and remove the suggestions containing certain types of PII information. This detection is performated by [DLP](https://cloud.google.com/security/products/dlp) under the hood.
1763 &quot;matchingOrder&quot;: &quot;A String&quot;, # The matching order for autocomplete suggestions, e.g., a query consisting of `sh` with `out-of-order` specified would suggest `women&#x27;s shoes`, whereas a query of `red s` with `exact-prefix` specified would suggest `red shoes`. Currently supported values: * `out-of-order` * `exact-prefix` Default value: `exact-prefix`.
1764 &quot;maxSuggestions&quot;: 42, # The maximum number of autocomplete suggestions returned per term. max_suggestions must lie within the range of [1, 20]. If not set or set to 0, it will be set to the default of 20 suggestions.
1765 &quot;minPrefixLength&quot;: 42, # The minimum number of characters needed to be typed in order to get suggestions. min_prefix_length must lie within the range of [1, 20]. If not set or set to 0, it will be set to the default of 1 character.
1766 &quot;name&quot;: &quot;A String&quot;, # Required. Immutable. Fully qualified name `projects/*/locations/*/dataStores/*/completionConfig` `projects/*/locations/*/collections/*/dataStores/*/completionConfig` `projects/*/locations/*/collections/*/engines/*/completionConfig`
1767 &quot;numUniqueUsersThreshold&quot;: 42, # This field is only meaningful for suggestions generated from user events or search history, which may have user ids attached. If the number of unique users that have searched a query is less than this threshold, the query will not be generated as a suggestion. This is field can be helpful for preventing PII queries becoming suggestions, as those queries are usually uniquely searched. If not set, the default value is 3 used in the generation pipeline.
1768 &quot;queryFrequencyThreshold&quot;: 42, # This field is only meaningful for suggestions generated from user events or search history. If a query shows up less than this threshold, it may indicate that the query is rarely searched and thus will not be generated as a suggestion. This is field can be helpful for preventing PII queries becoming suggestions, as those queries are usually uniquely searched. If not set, the default value is 8 used in the generation pipeline.
1769 &quot;queryModel&quot;: &quot;A String&quot;, # The data model of query suggestions for serving. Currently supported values: * `automatic` - autocomplete backend automatic selects or mixes suggestions from different models. * `document` - Using suggestions generated from user-imported documents. * `search-history` - Using suggestions generated from the past history of SearchService.Search API calls. Do not use it when there is no traffic for Search API. * `user-event` - Using suggestions generated from user-imported search events. * `document-completable` - Using suggestions taken directly from user-imported document fields marked as completable. If query model is empty, the serving applies the &quot;automatic&quot; model by default.
1770 &quot;shouldServeContentSuggestions&quot;: True or False, # Whether to generate and serve content suggestions. This allows for content suggestions to be served in addition to query suggestions.
1771 }
1772
1773 updateMask: string, Indicates which fields in the provided CompletionConfig to update. The following are the only supported fields: * CompletionConfig.matching_order * CompletionConfig.max_suggestions * CompletionConfig.min_prefix_length * CompletionConfig.query_model * CompletionConfig.enable_mode * CompletionConfig.query_frequency_threshold * CompletionConfig.num_unique_users_threshold * CompletionConfig.should_serve_content_suggestions * CompletionConfig.filter_pii_suggestions_using_dlp If not set, all supported fields are updated.
1774 x__xgafv: string, V1 error format.
1775 Allowed values
1776 1 - v1 error format
1777 2 - v2 error format
1778
1779 Returns:
1780 An object of the form:
1781
1782 { # Config to customize Autocomplete API response for both engines and data stores. Some fields are applicable to only one of them.
1783 &quot;enableMode&quot;: &quot;A String&quot;, # The enable mode of autocomplete generation pipelines. If this field is unset, the server behavior defaults to CompletionConfig.EnableMode.AUTOMATIC. Applies to DataStore only. Ignored for Engine.
1784 &quot;filterPiiSuggestionsUsingDlp&quot;: True or False, # If true, with best effort, try to detect and remove the suggestions containing certain types of PII information. This detection is performated by [DLP](https://cloud.google.com/security/products/dlp) under the hood.
1785 &quot;matchingOrder&quot;: &quot;A String&quot;, # The matching order for autocomplete suggestions, e.g., a query consisting of `sh` with `out-of-order` specified would suggest `women&#x27;s shoes`, whereas a query of `red s` with `exact-prefix` specified would suggest `red shoes`. Currently supported values: * `out-of-order` * `exact-prefix` Default value: `exact-prefix`.
1786 &quot;maxSuggestions&quot;: 42, # The maximum number of autocomplete suggestions returned per term. max_suggestions must lie within the range of [1, 20]. If not set or set to 0, it will be set to the default of 20 suggestions.
1787 &quot;minPrefixLength&quot;: 42, # The minimum number of characters needed to be typed in order to get suggestions. min_prefix_length must lie within the range of [1, 20]. If not set or set to 0, it will be set to the default of 1 character.
1788 &quot;name&quot;: &quot;A String&quot;, # Required. Immutable. Fully qualified name `projects/*/locations/*/dataStores/*/completionConfig` `projects/*/locations/*/collections/*/dataStores/*/completionConfig` `projects/*/locations/*/collections/*/engines/*/completionConfig`
1789 &quot;numUniqueUsersThreshold&quot;: 42, # This field is only meaningful for suggestions generated from user events or search history, which may have user ids attached. If the number of unique users that have searched a query is less than this threshold, the query will not be generated as a suggestion. This is field can be helpful for preventing PII queries becoming suggestions, as those queries are usually uniquely searched. If not set, the default value is 3 used in the generation pipeline.
1790 &quot;queryFrequencyThreshold&quot;: 42, # This field is only meaningful for suggestions generated from user events or search history. If a query shows up less than this threshold, it may indicate that the query is rarely searched and thus will not be generated as a suggestion. This is field can be helpful for preventing PII queries becoming suggestions, as those queries are usually uniquely searched. If not set, the default value is 8 used in the generation pipeline.
1791 &quot;queryModel&quot;: &quot;A String&quot;, # The data model of query suggestions for serving. Currently supported values: * `automatic` - autocomplete backend automatic selects or mixes suggestions from different models. * `document` - Using suggestions generated from user-imported documents. * `search-history` - Using suggestions generated from the past history of SearchService.Search API calls. Do not use it when there is no traffic for Search API. * `user-event` - Using suggestions generated from user-imported search events. * `document-completable` - Using suggestions taken directly from user-imported document fields marked as completable. If query model is empty, the serving applies the &quot;automatic&quot; model by default.
1792 &quot;shouldServeContentSuggestions&quot;: True or False, # Whether to generate and serve content suggestions. This allows for content suggestions to be served in addition to query suggestions.
1793 }</pre>
1794 </div>
1795
1796 <div class="method">
1797 <code class="details" id="updateDocumentProcessingConfig">updateDocumentProcessingConfig(name, body=None, updateMask=None, x__xgafv=None)</code>
1798 <pre>Updates the DocumentProcessingConfig. DocumentProcessingConfig is a singleon resource of DataStore. It&#x27;s empty when DataStore is created. The first call to this method will set up DocumentProcessingConfig.
1799
1800 Args:
1801 name: string, The full resource name of the Document Processing Config. Format: `projects/*/locations/*/collections/*/dataStores/*/documentProcessingConfig`. (required)
1802 body: object, The request body.
1803 The object takes the form of:
1804
1805 { # A singleton resource of DataStore. If it&#x27;s empty when DataStore is created and DataStore is set to DataStore.ContentConfig.CONTENT_REQUIRED, the default parser will default to digital parser.
1806 &quot;chunkingConfig&quot;: { # Configuration for chunking config. # Whether chunking mode is enabled.
1807 &quot;layoutBasedChunkingConfig&quot;: { # Configuration for the layout based chunking. # Configuration for the layout based chunking.
1808 &quot;chunkSize&quot;: 42, # The token size limit for each chunk. Supported values: 100-500 (inclusive). Default value: 500.
1809 &quot;includeAncestorHeadings&quot;: True or False, # Whether to include appending different levels of headings to chunks from the middle of the document to prevent context loss. Default value: False.
1810 },
1811 },
1812 &quot;defaultParsingConfig&quot;: { # Related configurations applied to a specific type of document parser. # 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.
1813 &quot;digitalParsingConfig&quot;: { # The digital parsing configurations for documents. # Configurations applied to digital parser.
1814 },
1815 &quot;layoutParsingConfig&quot;: { # The layout parsing configurations for documents. # Configurations applied to layout parser.
1816 &quot;enableGetProcessedDocument&quot;: True or False, # Optional. If true, the processed document will be made available for the GetProcessedDocument API.
1817 &quot;enableImageAnnotation&quot;: True or False, # Optional. If true, the LLM based annotation is added to the image during parsing.
1818 &quot;enableLlmLayoutParsing&quot;: True or False, # Optional. If true, the pdf layout will be refined using an LLM.
1819 &quot;enableTableAnnotation&quot;: True or False, # Optional. If true, the LLM based annotation is added to the table during parsing.
1820 &quot;excludeHtmlClasses&quot;: [ # Optional. List of HTML classes to exclude from the parsed content.
1821 &quot;A String&quot;,
1822 ],
1823 &quot;excludeHtmlElements&quot;: [ # Optional. List of HTML elements to exclude from the parsed content.
1824 &quot;A String&quot;,
1825 ],
1826 &quot;excludeHtmlIds&quot;: [ # Optional. List of HTML ids to exclude from the parsed content.
1827 &quot;A String&quot;,
1828 ],
1829 &quot;structuredContentTypes&quot;: [ # Optional. Contains the required structure types to extract from the document. Supported values: * `shareholder-structure`
1830 &quot;A String&quot;,
1831 ],
1832 },
1833 &quot;ocrParsingConfig&quot;: { # The OCR parsing configurations for documents. # Configurations applied to OCR parser. Currently it only applies to PDFs.
1834 &quot;enhancedDocumentElements&quot;: [ # [DEPRECATED] This field is deprecated. To use the additional enhanced document elements processing, please switch to `layout_parsing_config`.
1835 &quot;A String&quot;,
1836 ],
1837 &quot;useNativeText&quot;: True or False, # If true, will use native text instead of OCR text on pages containing native text.
1838 },
1839 },
1840 &quot;name&quot;: &quot;A String&quot;, # The full resource name of the Document Processing Config. Format: `projects/*/locations/*/collections/*/dataStores/*/documentProcessingConfig`.
1841 &quot;parsingConfigOverrides&quot;: { # 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 layout parsing are supported. * `docx`: Override parsing config for DOCX files, only digital parsing and layout parsing are supported. * `pptx`: Override parsing config for PPTX files, only digital parsing and layout parsing are supported. * `xlsm`: Override parsing config for XLSM files, only digital parsing and layout parsing are supported. * `xlsx`: Override parsing config for XLSX files, only digital parsing and layout parsing are supported.
1842 &quot;a_key&quot;: { # Related configurations applied to a specific type of document parser.
1843 &quot;digitalParsingConfig&quot;: { # The digital parsing configurations for documents. # Configurations applied to digital parser.
1844 },
1845 &quot;layoutParsingConfig&quot;: { # The layout parsing configurations for documents. # Configurations applied to layout parser.
1846 &quot;enableGetProcessedDocument&quot;: True or False, # Optional. If true, the processed document will be made available for the GetProcessedDocument API.
1847 &quot;enableImageAnnotation&quot;: True or False, # Optional. If true, the LLM based annotation is added to the image during parsing.
1848 &quot;enableLlmLayoutParsing&quot;: True or False, # Optional. If true, the pdf layout will be refined using an LLM.
1849 &quot;enableTableAnnotation&quot;: True or False, # Optional. If true, the LLM based annotation is added to the table during parsing.
1850 &quot;excludeHtmlClasses&quot;: [ # Optional. List of HTML classes to exclude from the parsed content.
1851 &quot;A String&quot;,
1852 ],
1853 &quot;excludeHtmlElements&quot;: [ # Optional. List of HTML elements to exclude from the parsed content.
1854 &quot;A String&quot;,
1855 ],
1856 &quot;excludeHtmlIds&quot;: [ # Optional. List of HTML ids to exclude from the parsed content.
1857 &quot;A String&quot;,
1858 ],
1859 &quot;structuredContentTypes&quot;: [ # Optional. Contains the required structure types to extract from the document. Supported values: * `shareholder-structure`
1860 &quot;A String&quot;,
1861 ],
1862 },
1863 &quot;ocrParsingConfig&quot;: { # The OCR parsing configurations for documents. # Configurations applied to OCR parser. Currently it only applies to PDFs.
1864 &quot;enhancedDocumentElements&quot;: [ # [DEPRECATED] This field is deprecated. To use the additional enhanced document elements processing, please switch to `layout_parsing_config`.
1865 &quot;A String&quot;,
1866 ],
1867 &quot;useNativeText&quot;: True or False, # If true, will use native text instead of OCR text on pages containing native text.
1868 },
1869 },
1870 },
1871 }
1872
1873 updateMask: string, Indicates which fields in the provided DocumentProcessingConfig to update. The following are the only supported fields: * DocumentProcessingConfig.ocr_config If not set, all supported fields are updated.
1874 x__xgafv: string, V1 error format.
1875 Allowed values
1876 1 - v1 error format
1877 2 - v2 error format
1878
1879 Returns:
1880 An object of the form:
1881
1882 { # A singleton resource of DataStore. If it&#x27;s empty when DataStore is created and DataStore is set to DataStore.ContentConfig.CONTENT_REQUIRED, the default parser will default to digital parser.
1883 &quot;chunkingConfig&quot;: { # Configuration for chunking config. # Whether chunking mode is enabled.
1884 &quot;layoutBasedChunkingConfig&quot;: { # Configuration for the layout based chunking. # Configuration for the layout based chunking.
1885 &quot;chunkSize&quot;: 42, # The token size limit for each chunk. Supported values: 100-500 (inclusive). Default value: 500.
1886 &quot;includeAncestorHeadings&quot;: True or False, # Whether to include appending different levels of headings to chunks from the middle of the document to prevent context loss. Default value: False.
1887 },
1888 },
1889 &quot;defaultParsingConfig&quot;: { # Related configurations applied to a specific type of document parser. # 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.
1890 &quot;digitalParsingConfig&quot;: { # The digital parsing configurations for documents. # Configurations applied to digital parser.
1891 },
1892 &quot;layoutParsingConfig&quot;: { # The layout parsing configurations for documents. # Configurations applied to layout parser.
1893 &quot;enableGetProcessedDocument&quot;: True or False, # Optional. If true, the processed document will be made available for the GetProcessedDocument API.
1894 &quot;enableImageAnnotation&quot;: True or False, # Optional. If true, the LLM based annotation is added to the image during parsing.
1895 &quot;enableLlmLayoutParsing&quot;: True or False, # Optional. If true, the pdf layout will be refined using an LLM.
1896 &quot;enableTableAnnotation&quot;: True or False, # Optional. If true, the LLM based annotation is added to the table during parsing.
1897 &quot;excludeHtmlClasses&quot;: [ # Optional. List of HTML classes to exclude from the parsed content.
1898 &quot;A String&quot;,
1899 ],
1900 &quot;excludeHtmlElements&quot;: [ # Optional. List of HTML elements to exclude from the parsed content.
1901 &quot;A String&quot;,
1902 ],
1903 &quot;excludeHtmlIds&quot;: [ # Optional. List of HTML ids to exclude from the parsed content.
1904 &quot;A String&quot;,
1905 ],
1906 &quot;structuredContentTypes&quot;: [ # Optional. Contains the required structure types to extract from the document. Supported values: * `shareholder-structure`
1907 &quot;A String&quot;,
1908 ],
1909 },
1910 &quot;ocrParsingConfig&quot;: { # The OCR parsing configurations for documents. # Configurations applied to OCR parser. Currently it only applies to PDFs.
1911 &quot;enhancedDocumentElements&quot;: [ # [DEPRECATED] This field is deprecated. To use the additional enhanced document elements processing, please switch to `layout_parsing_config`.
1912 &quot;A String&quot;,
1913 ],
1914 &quot;useNativeText&quot;: True or False, # If true, will use native text instead of OCR text on pages containing native text.
1915 },
1916 },
1917 &quot;name&quot;: &quot;A String&quot;, # The full resource name of the Document Processing Config. Format: `projects/*/locations/*/collections/*/dataStores/*/documentProcessingConfig`.
1918 &quot;parsingConfigOverrides&quot;: { # 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 layout parsing are supported. * `docx`: Override parsing config for DOCX files, only digital parsing and layout parsing are supported. * `pptx`: Override parsing config for PPTX files, only digital parsing and layout parsing are supported. * `xlsm`: Override parsing config for XLSM files, only digital parsing and layout parsing are supported. * `xlsx`: Override parsing config for XLSX files, only digital parsing and layout parsing are supported.
1919 &quot;a_key&quot;: { # Related configurations applied to a specific type of document parser.
1920 &quot;digitalParsingConfig&quot;: { # The digital parsing configurations for documents. # Configurations applied to digital parser.
1921 },
1922 &quot;layoutParsingConfig&quot;: { # The layout parsing configurations for documents. # Configurations applied to layout parser.
1923 &quot;enableGetProcessedDocument&quot;: True or False, # Optional. If true, the processed document will be made available for the GetProcessedDocument API.
1924 &quot;enableImageAnnotation&quot;: True or False, # Optional. If true, the LLM based annotation is added to the image during parsing.
1925 &quot;enableLlmLayoutParsing&quot;: True or False, # Optional. If true, the pdf layout will be refined using an LLM.
1926 &quot;enableTableAnnotation&quot;: True or False, # Optional. If true, the LLM based annotation is added to the table during parsing.
1927 &quot;excludeHtmlClasses&quot;: [ # Optional. List of HTML classes to exclude from the parsed content.
1928 &quot;A String&quot;,
1929 ],
1930 &quot;excludeHtmlElements&quot;: [ # Optional. List of HTML elements to exclude from the parsed content.
1931 &quot;A String&quot;,
1932 ],
1933 &quot;excludeHtmlIds&quot;: [ # Optional. List of HTML ids to exclude from the parsed content.
1934 &quot;A String&quot;,
1935 ],
1936 &quot;structuredContentTypes&quot;: [ # Optional. Contains the required structure types to extract from the document. Supported values: * `shareholder-structure`
1937 &quot;A String&quot;,
1938 ],
1939 },
1940 &quot;ocrParsingConfig&quot;: { # The OCR parsing configurations for documents. # Configurations applied to OCR parser. Currently it only applies to PDFs.
1941 &quot;enhancedDocumentElements&quot;: [ # [DEPRECATED] This field is deprecated. To use the additional enhanced document elements processing, please switch to `layout_parsing_config`.
1942 &quot;A String&quot;,
1943 ],
1944 &quot;useNativeText&quot;: True or False, # If true, will use native text instead of OCR text on pages containing native text.
1945 },
1946 },
1947 },
1948 }</pre>
1949 </div>
1950
1951 </body></html>