Debian Codegraph @

docs/dyn/discoveryengine_v1alpha.projects.locations.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.dataStores.html">dataStores</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="discoveryengine_v1alpha.projects.locations.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.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.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.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.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.dataStores.models.html">models()</a></code>
104 </p>
105 <p class="firstline">Returns the models Resource.</p>
106
107 <p class="toc_element">
108 <code><a href="discoveryengine_v1alpha.projects.locations.dataStores.operations.html">operations()</a></code>
109 </p>
110 <p class="firstline">Returns the operations Resource.</p>
111
112 <p class="toc_element">
113 <code><a href="discoveryengine_v1alpha.projects.locations.dataStores.schemas.html">schemas()</a></code>
114 </p>
115 <p class="firstline">Returns the schemas Resource.</p>
116
117 <p class="toc_element">
118 <code><a href="discoveryengine_v1alpha.projects.locations.dataStores.servingConfigs.html">servingConfigs()</a></code>
119 </p>
120 <p class="firstline">Returns the servingConfigs Resource.</p>
121
122 <p class="toc_element">
123 <code><a href="discoveryengine_v1alpha.projects.locations.dataStores.sessions.html">sessions()</a></code>
124 </p>
125 <p class="firstline">Returns the sessions Resource.</p>
126
127 <p class="toc_element">
128 <code><a href="discoveryengine_v1alpha.projects.locations.dataStores.siteSearchEngine.html">siteSearchEngine()</a></code>
129 </p>
130 <p class="firstline">Returns the siteSearchEngine Resource.</p>
131
132 <p class="toc_element">
133 <code><a href="discoveryengine_v1alpha.projects.locations.dataStores.suggestionDenyListEntries.html">suggestionDenyListEntries()</a></code>
134 </p>
135 <p class="firstline">Returns the suggestionDenyListEntries Resource.</p>
136
137 <p class="toc_element">
138 <code><a href="discoveryengine_v1alpha.projects.locations.dataStores.userEvents.html">userEvents()</a></code>
139 </p>
140 <p class="firstline">Returns the userEvents Resource.</p>
141
142 <p class="toc_element">
143 <code><a href="discoveryengine_v1alpha.projects.locations.dataStores.widgetConfigs.html">widgetConfigs()</a></code>
144 </p>
145 <p class="firstline">Returns the widgetConfigs Resource.</p>
146
147 <p class="toc_element">
148 <code><a href="#addPatientFilter">addPatientFilter(dataStore, body=None, x__xgafv=None)</a></code></p>
149 <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>
150 <p class="toc_element">
151 <code><a href="#close">close()</a></code></p>
152 <p class="firstline">Close httplib2 connections.</p>
153 <p class="toc_element">
154 <code><a href="#completeQuery">completeQuery(dataStore, includeTailSuggestions=None, query=None, queryModel=None, userPseudoId=None, x__xgafv=None)</a></code></p>
155 <p class="firstline">Completes the specified user input with keyword suggestions.</p>
156 <p class="toc_element">
157 <code><a href="#create">create(parent, body=None, cmekConfigName=None, createAdvancedSiteSearch=None, dataStoreId=None, disableCmek=None, skipDefaultSchemaCreation=None, x__xgafv=None)</a></code></p>
158 <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>
159 <p class="toc_element">
160 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
161 <p class="firstline">Deletes a DataStore.</p>
162 <p class="toc_element">
163 <code><a href="#deletePatientFilter">deletePatientFilter(dataStore, body=None, x__xgafv=None)</a></code></p>
164 <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>
165 <p class="toc_element">
166 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
167 <p class="firstline">Gets a DataStore.</p>
168 <p class="toc_element">
169 <code><a href="#getCompletionConfig">getCompletionConfig(name, x__xgafv=None)</a></code></p>
170 <p class="firstline">Gets a CompletionConfig</p>
171 <p class="toc_element">
172 <code><a href="#getDocumentProcessingConfig">getDocumentProcessingConfig(name, x__xgafv=None)</a></code></p>
173 <p class="firstline">Gets a DocumentProcessingConfig.</p>
174 <p class="toc_element">
175 <code><a href="#getSiteSearchEngine">getSiteSearchEngine(name, x__xgafv=None)</a></code></p>
176 <p class="firstline">Gets the SiteSearchEngine.</p>
177 <p class="toc_element">
178 <code><a href="#list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
179 <p class="firstline">Lists all the DataStores associated with the project.</p>
180 <p class="toc_element">
181 <code><a href="#list_next">list_next()</a></code></p>
182 <p class="firstline">Retrieves the next page of results.</p>
183 <p class="toc_element">
184 <code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
185 <p class="firstline">Updates a DataStore</p>
186 <p class="toc_element">
187 <code><a href="#removePatientFilter">removePatientFilter(dataStore, body=None, x__xgafv=None)</a></code></p>
188 <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>
189 <p class="toc_element">
190 <code><a href="#replacePatientFilter">replacePatientFilter(dataStore, body=None, x__xgafv=None)</a></code></p>
191 <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>
192 <p class="toc_element">
193 <code><a href="#updateCompletionConfig">updateCompletionConfig(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
194 <p class="firstline">Updates the CompletionConfigs.</p>
195 <p class="toc_element">
196 <code><a href="#updateDocumentProcessingConfig">updateDocumentProcessingConfig(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
197 <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>
198 <h3>Method Details</h3>
199 <div class="method">
200 <code class="details" id="addPatientFilter">addPatientFilter(dataStore, body=None, x__xgafv=None)</code>
201 <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.
202
203 Args:
204 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)
205 body: object, The request body.
206 The object takes the form of:
207
208 { # Request for DataStoreService.AddPatientFilter method.
209 &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.
210 &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.
211 &quot;A String&quot;,
212 ],
213 }
214
215 x__xgafv: string, V1 error format.
216 Allowed values
217 1 - v1 error format
218 2 - v2 error format
219
220 Returns:
221 An object of the form:
222
223 { # This resource represents a long-running operation that is the result of a network API call.
224 &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.
225 &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.
226 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
227 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
228 {
229 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
230 },
231 ],
232 &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.
233 },
234 &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.
235 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
236 },
237 &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}`.
238 &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`.
239 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
240 },
241 }</pre>
242 </div>
243
244 <div class="method">
245 <code class="details" id="close">close()</code>
246 <pre>Close httplib2 connections.</pre>
247 </div>
248
249 <div class="method">
250 <code class="details" id="completeQuery">completeQuery(dataStore, includeTailSuggestions=None, query=None, queryModel=None, userPseudoId=None, x__xgafv=None)</code>
251 <pre>Completes the specified user input with keyword suggestions.
252
253 Args:
254 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)
255 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.
256 query: string, Required. The typeahead input used to fetch suggestions. Maximum length is 128 characters.
257 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.
258 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.
259 x__xgafv: string, V1 error format.
260 Allowed values
261 1 - v1 error format
262 2 - v2 error format
263
264 Returns:
265 An object of the form:
266
267 { # Response message for CompletionService.CompleteQuery method.
268 &quot;querySuggestions&quot;: [ # Results of the matched query suggestions. The result list is ordered and the first result is a top suggestion.
269 { # Suggestions as search queries.
270 &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.
271 &quot;A String&quot;,
272 ],
273 &quot;suggestion&quot;: &quot;A String&quot;, # The suggestion for the query.
274 },
275 ],
276 &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.
277 }</pre>
278 </div>
279
280 <div class="method">
281 <code class="details" id="create">create(parent, body=None, cmekConfigName=None, createAdvancedSiteSearch=None, dataStoreId=None, disableCmek=None, skipDefaultSchemaCreation=None, x__xgafv=None)</code>
282 <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.
283
284 Args:
285 parent: string, Required. The parent resource name, such as `projects/{project}/locations/{location}/collections/{collection}`. (required)
286 body: object, The request body.
287 The object takes the form of:
288
289 { # DataStore captures global settings and configs at the DataStore level.
290 &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.
291 &quot;advancedSiteSearchConfig&quot;: { # Configuration data for advance site search. # Optional. Configuration for advanced site search.
292 &quot;disableAutomaticRefresh&quot;: True or False, # If set true, automatic refresh is disabled for the DataStore.
293 &quot;disableInitialIndex&quot;: True or False, # If set true, initial indexing is disabled for the DataStore.
294 },
295 &quot;billingEstimation&quot;: { # Estimation of data size per data store. # Output only. Data size estimation for billing.
296 &quot;structuredDataSize&quot;: &quot;A String&quot;, # Data size for structured data in terms of bytes.
297 &quot;structuredDataUpdateTime&quot;: &quot;A String&quot;, # Last updated timestamp for structured data.
298 &quot;unstructuredDataSize&quot;: &quot;A String&quot;, # Data size for unstructured data in terms of bytes.
299 &quot;unstructuredDataUpdateTime&quot;: &quot;A String&quot;, # Last updated timestamp for unstructured data.
300 &quot;websiteDataSize&quot;: &quot;A String&quot;, # Data size for websites in terms of bytes.
301 &quot;websiteDataUpdateTime&quot;: &quot;A String&quot;, # Last updated timestamp for websites.
302 },
303 &quot;cmekConfig&quot;: { # Configurations used to enable CMEK data encryption with Cloud KMS keys. # Output only. CMEK-related information for the DataStore.
304 &quot;isDefault&quot;: True or False, # Output only. The default CmekConfig for the Customer.
305 &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}`.
306 &quot;kmsKeyVersion&quot;: &quot;A String&quot;, # Output only. KMS key version resource name which will be used to encrypt resources `/cryptoKeyVersions/{keyVersion}`.
307 &quot;lastRotationTimestampMicros&quot;: &quot;A String&quot;, # Output only. The timestamp of the last key rotation.
308 &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}`.
309 &quot;notebooklmState&quot;: &quot;A String&quot;, # Output only. Whether the NotebookLM Corpus is ready to be used.
310 &quot;singleRegionKeys&quot;: [ # Optional. Single-regional CMEKs that are required for some VAIS features.
311 { # Metadata for single-regional CMEKs.
312 &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}`.
313 },
314 ],
315 &quot;state&quot;: &quot;A String&quot;, # Output only. The states of the CmekConfig.
316 },
317 &quot;configurableBillingApproach&quot;: &quot;A String&quot;, # Optional. Configuration for configurable billing approach. See
318 &quot;configurableBillingApproachUpdateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when configurable_billing_approach was last updated.
319 &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.
320 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Timestamp the DataStore was created at.
321 &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.
322 &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.
323 &quot;policy&quot;: &quot;A String&quot;, # Optional. Specifies the resource name of the Sensitive Data Protection content policy.
324 },
325 },
326 &quot;defaultSchemaId&quot;: &quot;A String&quot;, # Output only. The id of the default Schema associated to this data store.
327 &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.
328 &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.
329 &quot;chunkingConfig&quot;: { # Configuration for chunking config. # Whether chunking mode is enabled.
330 &quot;layoutBasedChunkingConfig&quot;: { # Configuration for the layout based chunking. # Configuration for the layout based chunking.
331 &quot;chunkSize&quot;: 42, # The token size limit for each chunk. Supported values: 100-500 (inclusive). Default value: 500.
332 &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.
333 },
334 },
335 &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.
336 &quot;digitalParsingConfig&quot;: { # The digital parsing configurations for documents. # Configurations applied to digital parser.
337 },
338 &quot;layoutParsingConfig&quot;: { # The layout parsing configurations for documents. # Configurations applied to layout parser.
339 &quot;enableGetProcessedDocument&quot;: True or False, # Optional. If true, the processed document will be made available for the GetProcessedDocument API.
340 &quot;enableImageAnnotation&quot;: True or False, # Optional. If true, the LLM based annotation is added to the image during parsing.
341 &quot;enableLlmLayoutParsing&quot;: True or False, # Optional. If true, the pdf layout will be refined using an LLM.
342 &quot;enableTableAnnotation&quot;: True or False, # Optional. If true, the LLM based annotation is added to the table during parsing.
343 &quot;excludeHtmlClasses&quot;: [ # Optional. List of HTML classes to exclude from the parsed content.
344 &quot;A String&quot;,
345 ],
346 &quot;excludeHtmlElements&quot;: [ # Optional. List of HTML elements to exclude from the parsed content.
347 &quot;A String&quot;,
348 ],
349 &quot;excludeHtmlIds&quot;: [ # Optional. List of HTML ids to exclude from the parsed content.
350 &quot;A String&quot;,
351 ],
352 &quot;structuredContentTypes&quot;: [ # Optional. Contains the required structure types to extract from the document. Supported values: * `shareholder-structure`
353 &quot;A String&quot;,
354 ],
355 },
356 &quot;ocrParsingConfig&quot;: { # The OCR parsing configurations for documents. # Configurations applied to OCR parser. Currently it only applies to PDFs.
357 &quot;enhancedDocumentElements&quot;: [ # [DEPRECATED] This field is deprecated. To use the additional enhanced document elements processing, please switch to `layout_parsing_config`.
358 &quot;A String&quot;,
359 ],
360 &quot;useNativeText&quot;: True or False, # If true, will use native text instead of OCR text on pages containing native text.
361 },
362 },
363 &quot;name&quot;: &quot;A String&quot;, # The full resource name of the Document Processing Config. Format: `projects/*/locations/*/collections/*/dataStores/*/documentProcessingConfig`.
364 &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.
365 &quot;a_key&quot;: { # Related configurations applied to a specific type of document parser.
366 &quot;digitalParsingConfig&quot;: { # The digital parsing configurations for documents. # Configurations applied to digital parser.
367 },
368 &quot;layoutParsingConfig&quot;: { # The layout parsing configurations for documents. # Configurations applied to layout parser.
369 &quot;enableGetProcessedDocument&quot;: True or False, # Optional. If true, the processed document will be made available for the GetProcessedDocument API.
370 &quot;enableImageAnnotation&quot;: True or False, # Optional. If true, the LLM based annotation is added to the image during parsing.
371 &quot;enableLlmLayoutParsing&quot;: True or False, # Optional. If true, the pdf layout will be refined using an LLM.
372 &quot;enableTableAnnotation&quot;: True or False, # Optional. If true, the LLM based annotation is added to the table during parsing.
373 &quot;excludeHtmlClasses&quot;: [ # Optional. List of HTML classes to exclude from the parsed content.
374 &quot;A String&quot;,
375 ],
376 &quot;excludeHtmlElements&quot;: [ # Optional. List of HTML elements to exclude from the parsed content.
377 &quot;A String&quot;,
378 ],
379 &quot;excludeHtmlIds&quot;: [ # Optional. List of HTML ids to exclude from the parsed content.
380 &quot;A String&quot;,
381 ],
382 &quot;structuredContentTypes&quot;: [ # Optional. Contains the required structure types to extract from the document. Supported values: * `shareholder-structure`
383 &quot;A String&quot;,
384 ],
385 },
386 &quot;ocrParsingConfig&quot;: { # The OCR parsing configurations for documents. # Configurations applied to OCR parser. Currently it only applies to PDFs.
387 &quot;enhancedDocumentElements&quot;: [ # [DEPRECATED] This field is deprecated. To use the additional enhanced document elements processing, please switch to `layout_parsing_config`.
388 &quot;A String&quot;,
389 ],
390 &quot;useNativeText&quot;: True or False, # If true, will use native text instead of OCR text on pages containing native text.
391 },
392 },
393 },
394 },
395 &quot;federatedSearchConfig&quot;: { # Stores information for federated search. # Optional. If set, this DataStore is a federated search DataStore.
396 &quot;alloyDbConfig&quot;: { # Stores information for connecting to AlloyDB. # AlloyDB config. If set, this DataStore is connected to AlloyDB.
397 &quot;alloydbAiNlConfig&quot;: { # Configuration for AlloyDB AI Natural Language. # Optional. Configuration for Magic.
398 &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.
399 },
400 &quot;alloydbConnectionConfig&quot;: { # Configuration for connecting to AlloyDB. # Required. Configuration for connecting to AlloyDB.
401 &quot;authMode&quot;: &quot;A String&quot;, # Optional. Auth mode.
402 &quot;database&quot;: &quot;A String&quot;, # Required. The AlloyDB database to connect to.
403 &quot;enablePsvs&quot;: True or False, # Optional. If true, enable PSVS for AlloyDB.
404 &quot;instance&quot;: &quot;A String&quot;, # Required. The AlloyDB instance to connect to.
405 &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.
406 &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.
407 },
408 &quot;returnedFields&quot;: [ # Optional. Fields to be returned in the search results. If empty, all fields will be returned.
409 &quot;A String&quot;,
410 ],
411 },
412 &quot;notebooklmConfig&quot;: { # Config for connecting to NotebookLM Enterprise. # NotebookLM config. If set, this DataStore is connected to NotebookLM Enterprise.
413 &quot;searchConfig&quot;: &quot;A String&quot;, # Required. Search config name. Format: projects/*/locations/global/notebookLmSearchConfigs/*
414 },
415 &quot;thirdPartyOauthConfig&quot;: { # Stores information for third party applicationOAuth. # Third Party OAuth config. If set, this DataStore is connected to a third party application.
416 &quot;appName&quot;: &quot;A String&quot;, # Optional. The type of the application. E.g., &quot;jira&quot;, &quot;box&quot;, etc.
417 &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;.
418 },
419 },
420 &quot;healthcareFhirConfig&quot;: { # Config to data store for `HEALTHCARE_FHIR` vertical. # Optional. Configuration for `HEALTHCARE_FHIR` vertical.
421 &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.
422 &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.
423 &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.
424 &quot;A String&quot;,
425 ],
426 },
427 &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}`.
428 &quot;idpConfig&quot;: { # Identity Provider Config. # Output only. Data store level identity provider config.
429 &quot;externalIdpConfig&quot;: { # Third party IDP Config. # External Identity provider config.
430 &quot;workforcePoolName&quot;: &quot;A String&quot;, # Workforce pool name. Example: &quot;locations/global/workforcePools/pool_id&quot;
431 },
432 &quot;idpType&quot;: &quot;A String&quot;, # Identity provider type configured.
433 },
434 &quot;industryVertical&quot;: &quot;A String&quot;, # Immutable. The industry vertical that the data store registers.
435 &quot;isInfobotFaqDataStore&quot;: True or False, # Optional. If set, this DataStore is an Infobot FAQ DataStore.
436 &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.
437 &quot;languageInfo&quot;: { # Language info for DataStore. # Language info for DataStore.
438 &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`.
439 &quot;languageCode&quot;: &quot;A String&quot;, # The language code for the DataStore.
440 &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`.
441 &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; ``.
442 },
443 &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.
444 &quot;naturalLanguageQueryUnderstandingConfig&quot;: { # Configuration for Natural Language Query Understanding. # Optional. Configuration for Natural Language Query Understanding.
445 &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.
446 },
447 &quot;servingConfigDataStore&quot;: { # Stores information regarding the serving configurations at DataStore level. # Optional. Stores serving config at DataStore level.
448 &quot;disabledForServing&quot;: True or False, # Optional. If set true, the DataStore will not be available for serving search requests.
449 },
450 &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.
451 &quot;A String&quot;,
452 ],
453 &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).
454 &quot;fieldConfigs&quot;: [ # Output only. Configurations for fields of the schema.
455 { # Configurations for fields of a schema. For example, configuring a field is indexable, or searchable.
456 &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 ``.
457 &quot;A String&quot;,
458 ],
459 &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.
460 &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.
461 &quot;fieldPath&quot;: &quot;A String&quot;, # Required. Field path of the schema field. For example: `title`, `description`, `release_info.release_year`.
462 &quot;fieldType&quot;: &quot;A String&quot;, # Output only. Raw type of the field.
463 &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.
464 &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.
465 &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.
466 &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.
467 &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.
468 &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
469 &quot;A String&quot;,
470 ],
471 &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).
472 &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.
473 },
474 ],
475 &quot;jsonSchema&quot;: &quot;A String&quot;, # The JSON representation of the schema.
476 &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.
477 &quot;structSchema&quot;: { # The structured representation of the schema.
478 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
479 },
480 },
481 &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.
482 &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.
483 &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.
484 &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.
485 &quot;type&quot;: &quot;A String&quot;, # The Google Workspace data source.
486 },
487 }
488
489 cmekConfigName: string, Resource name of the CmekConfig to use for protecting this DataStore.
490 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.
491 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.
492 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.
493 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.
494 x__xgafv: string, V1 error format.
495 Allowed values
496 1 - v1 error format
497 2 - v2 error format
498
499 Returns:
500 An object of the form:
501
502 { # This resource represents a long-running operation that is the result of a network API call.
503 &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.
504 &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.
505 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
506 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
507 {
508 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
509 },
510 ],
511 &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.
512 },
513 &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.
514 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
515 },
516 &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}`.
517 &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`.
518 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
519 },
520 }</pre>
521 </div>
522
523 <div class="method">
524 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
525 <pre>Deletes a DataStore.
526
527 Args:
528 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)
529 x__xgafv: string, V1 error format.
530 Allowed values
531 1 - v1 error format
532 2 - v2 error format
533
534 Returns:
535 An object of the form:
536
537 { # This resource represents a long-running operation that is the result of a network API call.
538 &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.
539 &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.
540 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
541 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
542 {
543 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
544 },
545 ],
546 &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.
547 },
548 &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.
549 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
550 },
551 &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}`.
552 &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`.
553 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
554 },
555 }</pre>
556 </div>
557
558 <div class="method">
559 <code class="details" id="deletePatientFilter">deletePatientFilter(dataStore, body=None, x__xgafv=None)</code>
560 <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.
561
562 Args:
563 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)
564 body: object, The request body.
565 The object takes the form of:
566
567 { # Request for DataStoreService.DeletePatientFilters method.
568 &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.
569 }
570
571 x__xgafv: string, V1 error format.
572 Allowed values
573 1 - v1 error format
574 2 - v2 error format
575
576 Returns:
577 An object of the form:
578
579 { # This resource represents a long-running operation that is the result of a network API call.
580 &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.
581 &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.
582 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
583 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
584 {
585 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
586 },
587 ],
588 &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.
589 },
590 &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.
591 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
592 },
593 &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}`.
594 &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`.
595 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
596 },
597 }</pre>
598 </div>
599
600 <div class="method">
601 <code class="details" id="get">get(name, x__xgafv=None)</code>
602 <pre>Gets a DataStore.
603
604 Args:
605 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)
606 x__xgafv: string, V1 error format.
607 Allowed values
608 1 - v1 error format
609 2 - v2 error format
610
611 Returns:
612 An object of the form:
613
614 { # DataStore captures global settings and configs at the DataStore level.
615 &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.
616 &quot;advancedSiteSearchConfig&quot;: { # Configuration data for advance site search. # Optional. Configuration for advanced site search.
617 &quot;disableAutomaticRefresh&quot;: True or False, # If set true, automatic refresh is disabled for the DataStore.
618 &quot;disableInitialIndex&quot;: True or False, # If set true, initial indexing is disabled for the DataStore.
619 },
620 &quot;billingEstimation&quot;: { # Estimation of data size per data store. # Output only. Data size estimation for billing.
621 &quot;structuredDataSize&quot;: &quot;A String&quot;, # Data size for structured data in terms of bytes.
622 &quot;structuredDataUpdateTime&quot;: &quot;A String&quot;, # Last updated timestamp for structured data.
623 &quot;unstructuredDataSize&quot;: &quot;A String&quot;, # Data size for unstructured data in terms of bytes.
624 &quot;unstructuredDataUpdateTime&quot;: &quot;A String&quot;, # Last updated timestamp for unstructured data.
625 &quot;websiteDataSize&quot;: &quot;A String&quot;, # Data size for websites in terms of bytes.
626 &quot;websiteDataUpdateTime&quot;: &quot;A String&quot;, # Last updated timestamp for websites.
627 },
628 &quot;cmekConfig&quot;: { # Configurations used to enable CMEK data encryption with Cloud KMS keys. # Output only. CMEK-related information for the DataStore.
629 &quot;isDefault&quot;: True or False, # Output only. The default CmekConfig for the Customer.
630 &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}`.
631 &quot;kmsKeyVersion&quot;: &quot;A String&quot;, # Output only. KMS key version resource name which will be used to encrypt resources `/cryptoKeyVersions/{keyVersion}`.
632 &quot;lastRotationTimestampMicros&quot;: &quot;A String&quot;, # Output only. The timestamp of the last key rotation.
633 &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}`.
634 &quot;notebooklmState&quot;: &quot;A String&quot;, # Output only. Whether the NotebookLM Corpus is ready to be used.
635 &quot;singleRegionKeys&quot;: [ # Optional. Single-regional CMEKs that are required for some VAIS features.
636 { # Metadata for single-regional CMEKs.
637 &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}`.
638 },
639 ],
640 &quot;state&quot;: &quot;A String&quot;, # Output only. The states of the CmekConfig.
641 },
642 &quot;configurableBillingApproach&quot;: &quot;A String&quot;, # Optional. Configuration for configurable billing approach. See
643 &quot;configurableBillingApproachUpdateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when configurable_billing_approach was last updated.
644 &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.
645 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Timestamp the DataStore was created at.
646 &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.
647 &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.
648 &quot;policy&quot;: &quot;A String&quot;, # Optional. Specifies the resource name of the Sensitive Data Protection content policy.
649 },
650 },
651 &quot;defaultSchemaId&quot;: &quot;A String&quot;, # Output only. The id of the default Schema associated to this data store.
652 &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.
653 &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.
654 &quot;chunkingConfig&quot;: { # Configuration for chunking config. # Whether chunking mode is enabled.
655 &quot;layoutBasedChunkingConfig&quot;: { # Configuration for the layout based chunking. # Configuration for the layout based chunking.
656 &quot;chunkSize&quot;: 42, # The token size limit for each chunk. Supported values: 100-500 (inclusive). Default value: 500.
657 &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.
658 },
659 },
660 &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.
661 &quot;digitalParsingConfig&quot;: { # The digital parsing configurations for documents. # Configurations applied to digital parser.
662 },
663 &quot;layoutParsingConfig&quot;: { # The layout parsing configurations for documents. # Configurations applied to layout parser.
664 &quot;enableGetProcessedDocument&quot;: True or False, # Optional. If true, the processed document will be made available for the GetProcessedDocument API.
665 &quot;enableImageAnnotation&quot;: True or False, # Optional. If true, the LLM based annotation is added to the image during parsing.
666 &quot;enableLlmLayoutParsing&quot;: True or False, # Optional. If true, the pdf layout will be refined using an LLM.
667 &quot;enableTableAnnotation&quot;: True or False, # Optional. If true, the LLM based annotation is added to the table during parsing.
668 &quot;excludeHtmlClasses&quot;: [ # Optional. List of HTML classes to exclude from the parsed content.
669 &quot;A String&quot;,
670 ],
671 &quot;excludeHtmlElements&quot;: [ # Optional. List of HTML elements to exclude from the parsed content.
672 &quot;A String&quot;,
673 ],
674 &quot;excludeHtmlIds&quot;: [ # Optional. List of HTML ids to exclude from the parsed content.
675 &quot;A String&quot;,
676 ],
677 &quot;structuredContentTypes&quot;: [ # Optional. Contains the required structure types to extract from the document. Supported values: * `shareholder-structure`
678 &quot;A String&quot;,
679 ],
680 },
681 &quot;ocrParsingConfig&quot;: { # The OCR parsing configurations for documents. # Configurations applied to OCR parser. Currently it only applies to PDFs.
682 &quot;enhancedDocumentElements&quot;: [ # [DEPRECATED] This field is deprecated. To use the additional enhanced document elements processing, please switch to `layout_parsing_config`.
683 &quot;A String&quot;,
684 ],
685 &quot;useNativeText&quot;: True or False, # If true, will use native text instead of OCR text on pages containing native text.
686 },
687 },
688 &quot;name&quot;: &quot;A String&quot;, # The full resource name of the Document Processing Config. Format: `projects/*/locations/*/collections/*/dataStores/*/documentProcessingConfig`.
689 &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.
690 &quot;a_key&quot;: { # Related configurations applied to a specific type of document parser.
691 &quot;digitalParsingConfig&quot;: { # The digital parsing configurations for documents. # Configurations applied to digital parser.
692 },
693 &quot;layoutParsingConfig&quot;: { # The layout parsing configurations for documents. # Configurations applied to layout parser.
694 &quot;enableGetProcessedDocument&quot;: True or False, # Optional. If true, the processed document will be made available for the GetProcessedDocument API.
695 &quot;enableImageAnnotation&quot;: True or False, # Optional. If true, the LLM based annotation is added to the image during parsing.
696 &quot;enableLlmLayoutParsing&quot;: True or False, # Optional. If true, the pdf layout will be refined using an LLM.
697 &quot;enableTableAnnotation&quot;: True or False, # Optional. If true, the LLM based annotation is added to the table during parsing.
698 &quot;excludeHtmlClasses&quot;: [ # Optional. List of HTML classes to exclude from the parsed content.
699 &quot;A String&quot;,
700 ],
701 &quot;excludeHtmlElements&quot;: [ # Optional. List of HTML elements to exclude from the parsed content.
702 &quot;A String&quot;,
703 ],
704 &quot;excludeHtmlIds&quot;: [ # Optional. List of HTML ids to exclude from the parsed content.
705 &quot;A String&quot;,
706 ],
707 &quot;structuredContentTypes&quot;: [ # Optional. Contains the required structure types to extract from the document. Supported values: * `shareholder-structure`
708 &quot;A String&quot;,
709 ],
710 },
711 &quot;ocrParsingConfig&quot;: { # The OCR parsing configurations for documents. # Configurations applied to OCR parser. Currently it only applies to PDFs.
712 &quot;enhancedDocumentElements&quot;: [ # [DEPRECATED] This field is deprecated. To use the additional enhanced document elements processing, please switch to `layout_parsing_config`.
713 &quot;A String&quot;,
714 ],
715 &quot;useNativeText&quot;: True or False, # If true, will use native text instead of OCR text on pages containing native text.
716 },
717 },
718 },
719 },
720 &quot;federatedSearchConfig&quot;: { # Stores information for federated search. # Optional. If set, this DataStore is a federated search DataStore.
721 &quot;alloyDbConfig&quot;: { # Stores information for connecting to AlloyDB. # AlloyDB config. If set, this DataStore is connected to AlloyDB.
722 &quot;alloydbAiNlConfig&quot;: { # Configuration for AlloyDB AI Natural Language. # Optional. Configuration for Magic.
723 &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.
724 },
725 &quot;alloydbConnectionConfig&quot;: { # Configuration for connecting to AlloyDB. # Required. Configuration for connecting to AlloyDB.
726 &quot;authMode&quot;: &quot;A String&quot;, # Optional. Auth mode.
727 &quot;database&quot;: &quot;A String&quot;, # Required. The AlloyDB database to connect to.
728 &quot;enablePsvs&quot;: True or False, # Optional. If true, enable PSVS for AlloyDB.
729 &quot;instance&quot;: &quot;A String&quot;, # Required. The AlloyDB instance to connect to.
730 &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.
731 &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.
732 },
733 &quot;returnedFields&quot;: [ # Optional. Fields to be returned in the search results. If empty, all fields will be returned.
734 &quot;A String&quot;,
735 ],
736 },
737 &quot;notebooklmConfig&quot;: { # Config for connecting to NotebookLM Enterprise. # NotebookLM config. If set, this DataStore is connected to NotebookLM Enterprise.
738 &quot;searchConfig&quot;: &quot;A String&quot;, # Required. Search config name. Format: projects/*/locations/global/notebookLmSearchConfigs/*
739 },
740 &quot;thirdPartyOauthConfig&quot;: { # Stores information for third party applicationOAuth. # Third Party OAuth config. If set, this DataStore is connected to a third party application.
741 &quot;appName&quot;: &quot;A String&quot;, # Optional. The type of the application. E.g., &quot;jira&quot;, &quot;box&quot;, etc.
742 &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;.
743 },
744 },
745 &quot;healthcareFhirConfig&quot;: { # Config to data store for `HEALTHCARE_FHIR` vertical. # Optional. Configuration for `HEALTHCARE_FHIR` vertical.
746 &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.
747 &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.
748 &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.
749 &quot;A String&quot;,
750 ],
751 },
752 &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}`.
753 &quot;idpConfig&quot;: { # Identity Provider Config. # Output only. Data store level identity provider config.
754 &quot;externalIdpConfig&quot;: { # Third party IDP Config. # External Identity provider config.
755 &quot;workforcePoolName&quot;: &quot;A String&quot;, # Workforce pool name. Example: &quot;locations/global/workforcePools/pool_id&quot;
756 },
757 &quot;idpType&quot;: &quot;A String&quot;, # Identity provider type configured.
758 },
759 &quot;industryVertical&quot;: &quot;A String&quot;, # Immutable. The industry vertical that the data store registers.
760 &quot;isInfobotFaqDataStore&quot;: True or False, # Optional. If set, this DataStore is an Infobot FAQ DataStore.
761 &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.
762 &quot;languageInfo&quot;: { # Language info for DataStore. # Language info for DataStore.
763 &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`.
764 &quot;languageCode&quot;: &quot;A String&quot;, # The language code for the DataStore.
765 &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`.
766 &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; ``.
767 },
768 &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.
769 &quot;naturalLanguageQueryUnderstandingConfig&quot;: { # Configuration for Natural Language Query Understanding. # Optional. Configuration for Natural Language Query Understanding.
770 &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.
771 },
772 &quot;servingConfigDataStore&quot;: { # Stores information regarding the serving configurations at DataStore level. # Optional. Stores serving config at DataStore level.
773 &quot;disabledForServing&quot;: True or False, # Optional. If set true, the DataStore will not be available for serving search requests.
774 },
775 &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.
776 &quot;A String&quot;,
777 ],
778 &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).
779 &quot;fieldConfigs&quot;: [ # Output only. Configurations for fields of the schema.
780 { # Configurations for fields of a schema. For example, configuring a field is indexable, or searchable.
781 &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 ``.
782 &quot;A String&quot;,
783 ],
784 &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.
785 &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.
786 &quot;fieldPath&quot;: &quot;A String&quot;, # Required. Field path of the schema field. For example: `title`, `description`, `release_info.release_year`.
787 &quot;fieldType&quot;: &quot;A String&quot;, # Output only. Raw type of the field.
788 &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.
789 &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.
790 &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.
791 &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.
792 &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.
793 &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
794 &quot;A String&quot;,
795 ],
796 &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).
797 &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.
798 },
799 ],
800 &quot;jsonSchema&quot;: &quot;A String&quot;, # The JSON representation of the schema.
801 &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.
802 &quot;structSchema&quot;: { # The structured representation of the schema.
803 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
804 },
805 },
806 &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.
807 &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.
808 &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.
809 &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.
810 &quot;type&quot;: &quot;A String&quot;, # The Google Workspace data source.
811 },
812 }</pre>
813 </div>
814
815 <div class="method">
816 <code class="details" id="getCompletionConfig">getCompletionConfig(name, x__xgafv=None)</code>
817 <pre>Gets a CompletionConfig
818
819 Args:
820 name: string, Required. Full CompletionConfig resource name. Format: `projects/*/locations/*/dataStores/*/completionConfig` `projects/*/locations/*/collections/*/dataStores/*/completionConfig` `projects/*/locations/*/collections/*/engines/*/completionConfig` (required)
821 x__xgafv: string, V1 error format.
822 Allowed values
823 1 - v1 error format
824 2 - v2 error format
825
826 Returns:
827 An object of the form:
828
829 { # Config to customize Autocomplete API response for both engines and data stores. Some fields are applicable to only one of them.
830 &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.
831 &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.
832 &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`.
833 &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.
834 &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.
835 &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`
836 &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.
837 &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.
838 &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.
839 &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.
840 }</pre>
841 </div>
842
843 <div class="method">
844 <code class="details" id="getDocumentProcessingConfig">getDocumentProcessingConfig(name, x__xgafv=None)</code>
845 <pre>Gets a DocumentProcessingConfig.
846
847 Args:
848 name: string, Required. Full DocumentProcessingConfig resource name. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/documentProcessingConfig` (required)
849 x__xgafv: string, V1 error format.
850 Allowed values
851 1 - v1 error format
852 2 - v2 error format
853
854 Returns:
855 An object of the form:
856
857 { # 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.
858 &quot;chunkingConfig&quot;: { # Configuration for chunking config. # Whether chunking mode is enabled.
859 &quot;layoutBasedChunkingConfig&quot;: { # Configuration for the layout based chunking. # Configuration for the layout based chunking.
860 &quot;chunkSize&quot;: 42, # The token size limit for each chunk. Supported values: 100-500 (inclusive). Default value: 500.
861 &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.
862 },
863 },
864 &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.
865 &quot;digitalParsingConfig&quot;: { # The digital parsing configurations for documents. # Configurations applied to digital parser.
866 },
867 &quot;layoutParsingConfig&quot;: { # The layout parsing configurations for documents. # Configurations applied to layout parser.
868 &quot;enableGetProcessedDocument&quot;: True or False, # Optional. If true, the processed document will be made available for the GetProcessedDocument API.
869 &quot;enableImageAnnotation&quot;: True or False, # Optional. If true, the LLM based annotation is added to the image during parsing.
870 &quot;enableLlmLayoutParsing&quot;: True or False, # Optional. If true, the pdf layout will be refined using an LLM.
871 &quot;enableTableAnnotation&quot;: True or False, # Optional. If true, the LLM based annotation is added to the table during parsing.
872 &quot;excludeHtmlClasses&quot;: [ # Optional. List of HTML classes to exclude from the parsed content.
873 &quot;A String&quot;,
874 ],
875 &quot;excludeHtmlElements&quot;: [ # Optional. List of HTML elements to exclude from the parsed content.
876 &quot;A String&quot;,
877 ],
878 &quot;excludeHtmlIds&quot;: [ # Optional. List of HTML ids to exclude from the parsed content.
879 &quot;A String&quot;,
880 ],
881 &quot;structuredContentTypes&quot;: [ # Optional. Contains the required structure types to extract from the document. Supported values: * `shareholder-structure`
882 &quot;A String&quot;,
883 ],
884 },
885 &quot;ocrParsingConfig&quot;: { # The OCR parsing configurations for documents. # Configurations applied to OCR parser. Currently it only applies to PDFs.
886 &quot;enhancedDocumentElements&quot;: [ # [DEPRECATED] This field is deprecated. To use the additional enhanced document elements processing, please switch to `layout_parsing_config`.
887 &quot;A String&quot;,
888 ],
889 &quot;useNativeText&quot;: True or False, # If true, will use native text instead of OCR text on pages containing native text.
890 },
891 },
892 &quot;name&quot;: &quot;A String&quot;, # The full resource name of the Document Processing Config. Format: `projects/*/locations/*/collections/*/dataStores/*/documentProcessingConfig`.
893 &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.
894 &quot;a_key&quot;: { # Related configurations applied to a specific type of document parser.
895 &quot;digitalParsingConfig&quot;: { # The digital parsing configurations for documents. # Configurations applied to digital parser.
896 },
897 &quot;layoutParsingConfig&quot;: { # The layout parsing configurations for documents. # Configurations applied to layout parser.
898 &quot;enableGetProcessedDocument&quot;: True or False, # Optional. If true, the processed document will be made available for the GetProcessedDocument API.
899 &quot;enableImageAnnotation&quot;: True or False, # Optional. If true, the LLM based annotation is added to the image during parsing.
900 &quot;enableLlmLayoutParsing&quot;: True or False, # Optional. If true, the pdf layout will be refined using an LLM.
901 &quot;enableTableAnnotation&quot;: True or False, # Optional. If true, the LLM based annotation is added to the table during parsing.
902 &quot;excludeHtmlClasses&quot;: [ # Optional. List of HTML classes to exclude from the parsed content.
903 &quot;A String&quot;,
904 ],
905 &quot;excludeHtmlElements&quot;: [ # Optional. List of HTML elements to exclude from the parsed content.
906 &quot;A String&quot;,
907 ],
908 &quot;excludeHtmlIds&quot;: [ # Optional. List of HTML ids to exclude from the parsed content.
909 &quot;A String&quot;,
910 ],
911 &quot;structuredContentTypes&quot;: [ # Optional. Contains the required structure types to extract from the document. Supported values: * `shareholder-structure`
912 &quot;A String&quot;,
913 ],
914 },
915 &quot;ocrParsingConfig&quot;: { # The OCR parsing configurations for documents. # Configurations applied to OCR parser. Currently it only applies to PDFs.
916 &quot;enhancedDocumentElements&quot;: [ # [DEPRECATED] This field is deprecated. To use the additional enhanced document elements processing, please switch to `layout_parsing_config`.
917 &quot;A String&quot;,
918 ],
919 &quot;useNativeText&quot;: True or False, # If true, will use native text instead of OCR text on pages containing native text.
920 },
921 },
922 },
923 }</pre>
924 </div>
925
926 <div class="method">
927 <code class="details" id="getSiteSearchEngine">getSiteSearchEngine(name, x__xgafv=None)</code>
928 <pre>Gets the SiteSearchEngine.
929
930 Args:
931 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)
932 x__xgafv: string, V1 error format.
933 Allowed values
934 1 - v1 error format
935 2 - v2 error format
936
937 Returns:
938 An object of the form:
939
940 { # SiteSearchEngine captures DataStore level site search persisting configurations. It is a singleton value per data store.
941 &quot;name&quot;: &quot;A String&quot;, # The fully qualified resource name of the site search engine. Format: `projects/*/locations/*/dataStores/*/siteSearchEngine`
942 }</pre>
943 </div>
944
945 <div class="method">
946 <code class="details" id="list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
947 <pre>Lists all the DataStores associated with the project.
948
949 Args:
950 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)
951 filter: string, Filter by solution type . For example: `filter = &#x27;solution_type:SOLUTION_TYPE_SEARCH&#x27;`
952 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.
953 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.
954 x__xgafv: string, V1 error format.
955 Allowed values
956 1 - v1 error format
957 2 - v2 error format
958
959 Returns:
960 An object of the form:
961
962 { # Response message for DataStoreService.ListDataStores method.
963 &quot;dataStores&quot;: [ # All the customer&#x27;s DataStores.
964 { # DataStore captures global settings and configs at the DataStore level.
965 &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.
966 &quot;advancedSiteSearchConfig&quot;: { # Configuration data for advance site search. # Optional. Configuration for advanced site search.
967 &quot;disableAutomaticRefresh&quot;: True or False, # If set true, automatic refresh is disabled for the DataStore.
968 &quot;disableInitialIndex&quot;: True or False, # If set true, initial indexing is disabled for the DataStore.
969 },
970 &quot;billingEstimation&quot;: { # Estimation of data size per data store. # Output only. Data size estimation for billing.
971 &quot;structuredDataSize&quot;: &quot;A String&quot;, # Data size for structured data in terms of bytes.
972 &quot;structuredDataUpdateTime&quot;: &quot;A String&quot;, # Last updated timestamp for structured data.
973 &quot;unstructuredDataSize&quot;: &quot;A String&quot;, # Data size for unstructured data in terms of bytes.
974 &quot;unstructuredDataUpdateTime&quot;: &quot;A String&quot;, # Last updated timestamp for unstructured data.
975 &quot;websiteDataSize&quot;: &quot;A String&quot;, # Data size for websites in terms of bytes.
976 &quot;websiteDataUpdateTime&quot;: &quot;A String&quot;, # Last updated timestamp for websites.
977 },
978 &quot;cmekConfig&quot;: { # Configurations used to enable CMEK data encryption with Cloud KMS keys. # Output only. CMEK-related information for the DataStore.
979 &quot;isDefault&quot;: True or False, # Output only. The default CmekConfig for the Customer.
980 &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}`.
981 &quot;kmsKeyVersion&quot;: &quot;A String&quot;, # Output only. KMS key version resource name which will be used to encrypt resources `/cryptoKeyVersions/{keyVersion}`.
982 &quot;lastRotationTimestampMicros&quot;: &quot;A String&quot;, # Output only. The timestamp of the last key rotation.
983 &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}`.
984 &quot;notebooklmState&quot;: &quot;A String&quot;, # Output only. Whether the NotebookLM Corpus is ready to be used.
985 &quot;singleRegionKeys&quot;: [ # Optional. Single-regional CMEKs that are required for some VAIS features.
986 { # Metadata for single-regional CMEKs.
987 &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}`.
988 },
989 ],
990 &quot;state&quot;: &quot;A String&quot;, # Output only. The states of the CmekConfig.
991 },
992 &quot;configurableBillingApproach&quot;: &quot;A String&quot;, # Optional. Configuration for configurable billing approach. See
993 &quot;configurableBillingApproachUpdateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when configurable_billing_approach was last updated.
994 &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.
995 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Timestamp the DataStore was created at.
996 &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.
997 &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.
998 &quot;policy&quot;: &quot;A String&quot;, # Optional. Specifies the resource name of the Sensitive Data Protection content policy.
999 },
1000 },
1001 &quot;defaultSchemaId&quot;: &quot;A String&quot;, # Output only. The id of the default Schema associated to this data store.
1002 &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.
1003 &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.
1004 &quot;chunkingConfig&quot;: { # Configuration for chunking config. # Whether chunking mode is enabled.
1005 &quot;layoutBasedChunkingConfig&quot;: { # Configuration for the layout based chunking. # Configuration for the layout based chunking.
1006 &quot;chunkSize&quot;: 42, # The token size limit for each chunk. Supported values: 100-500 (inclusive). Default value: 500.
1007 &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.
1008 },
1009 },
1010 &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.
1011 &quot;digitalParsingConfig&quot;: { # The digital parsing configurations for documents. # Configurations applied to digital parser.
1012 },
1013 &quot;layoutParsingConfig&quot;: { # The layout parsing configurations for documents. # Configurations applied to layout parser.
1014 &quot;enableGetProcessedDocument&quot;: True or False, # Optional. If true, the processed document will be made available for the GetProcessedDocument API.
1015 &quot;enableImageAnnotation&quot;: True or False, # Optional. If true, the LLM based annotation is added to the image during parsing.
1016 &quot;enableLlmLayoutParsing&quot;: True or False, # Optional. If true, the pdf layout will be refined using an LLM.
1017 &quot;enableTableAnnotation&quot;: True or False, # Optional. If true, the LLM based annotation is added to the table during parsing.
1018 &quot;excludeHtmlClasses&quot;: [ # Optional. List of HTML classes to exclude from the parsed content.
1019 &quot;A String&quot;,
1020 ],
1021 &quot;excludeHtmlElements&quot;: [ # Optional. List of HTML elements to exclude from the parsed content.
1022 &quot;A String&quot;,
1023 ],
1024 &quot;excludeHtmlIds&quot;: [ # Optional. List of HTML ids to exclude from the parsed content.
1025 &quot;A String&quot;,
1026 ],
1027 &quot;structuredContentTypes&quot;: [ # Optional. Contains the required structure types to extract from the document. Supported values: * `shareholder-structure`
1028 &quot;A String&quot;,
1029 ],
1030 },
1031 &quot;ocrParsingConfig&quot;: { # The OCR parsing configurations for documents. # Configurations applied to OCR parser. Currently it only applies to PDFs.
1032 &quot;enhancedDocumentElements&quot;: [ # [DEPRECATED] This field is deprecated. To use the additional enhanced document elements processing, please switch to `layout_parsing_config`.
1033 &quot;A String&quot;,
1034 ],
1035 &quot;useNativeText&quot;: True or False, # If true, will use native text instead of OCR text on pages containing native text.
1036 },
1037 },
1038 &quot;name&quot;: &quot;A String&quot;, # The full resource name of the Document Processing Config. Format: `projects/*/locations/*/collections/*/dataStores/*/documentProcessingConfig`.
1039 &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.
1040 &quot;a_key&quot;: { # Related configurations applied to a specific type of document parser.
1041 &quot;digitalParsingConfig&quot;: { # The digital parsing configurations for documents. # Configurations applied to digital parser.
1042 },
1043 &quot;layoutParsingConfig&quot;: { # The layout parsing configurations for documents. # Configurations applied to layout parser.
1044 &quot;enableGetProcessedDocument&quot;: True or False, # Optional. If true, the processed document will be made available for the GetProcessedDocument API.
1045 &quot;enableImageAnnotation&quot;: True or False, # Optional. If true, the LLM based annotation is added to the image during parsing.
1046 &quot;enableLlmLayoutParsing&quot;: True or False, # Optional. If true, the pdf layout will be refined using an LLM.
1047 &quot;enableTableAnnotation&quot;: True or False, # Optional. If true, the LLM based annotation is added to the table during parsing.
1048 &quot;excludeHtmlClasses&quot;: [ # Optional. List of HTML classes to exclude from the parsed content.
1049 &quot;A String&quot;,
1050 ],
1051 &quot;excludeHtmlElements&quot;: [ # Optional. List of HTML elements to exclude from the parsed content.
1052 &quot;A String&quot;,
1053 ],
1054 &quot;excludeHtmlIds&quot;: [ # Optional. List of HTML ids to exclude from the parsed content.
1055 &quot;A String&quot;,
1056 ],
1057 &quot;structuredContentTypes&quot;: [ # Optional. Contains the required structure types to extract from the document. Supported values: * `shareholder-structure`
1058 &quot;A String&quot;,
1059 ],
1060 },
1061 &quot;ocrParsingConfig&quot;: { # The OCR parsing configurations for documents. # Configurations applied to OCR parser. Currently it only applies to PDFs.
1062 &quot;enhancedDocumentElements&quot;: [ # [DEPRECATED] This field is deprecated. To use the additional enhanced document elements processing, please switch to `layout_parsing_config`.
1063 &quot;A String&quot;,
1064 ],
1065 &quot;useNativeText&quot;: True or False, # If true, will use native text instead of OCR text on pages containing native text.
1066 },
1067 },
1068 },
1069 },
1070 &quot;federatedSearchConfig&quot;: { # Stores information for federated search. # Optional. If set, this DataStore is a federated search DataStore.
1071 &quot;alloyDbConfig&quot;: { # Stores information for connecting to AlloyDB. # AlloyDB config. If set, this DataStore is connected to AlloyDB.
1072 &quot;alloydbAiNlConfig&quot;: { # Configuration for AlloyDB AI Natural Language. # Optional. Configuration for Magic.
1073 &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.
1074 },
1075 &quot;alloydbConnectionConfig&quot;: { # Configuration for connecting to AlloyDB. # Required. Configuration for connecting to AlloyDB.
1076 &quot;authMode&quot;: &quot;A String&quot;, # Optional. Auth mode.
1077 &quot;database&quot;: &quot;A String&quot;, # Required. The AlloyDB database to connect to.
1078 &quot;enablePsvs&quot;: True or False, # Optional. If true, enable PSVS for AlloyDB.
1079 &quot;instance&quot;: &quot;A String&quot;, # Required. The AlloyDB instance to connect to.
1080 &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.
1081 &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.
1082 },
1083 &quot;returnedFields&quot;: [ # Optional. Fields to be returned in the search results. If empty, all fields will be returned.
1084 &quot;A String&quot;,
1085 ],
1086 },
1087 &quot;notebooklmConfig&quot;: { # Config for connecting to NotebookLM Enterprise. # NotebookLM config. If set, this DataStore is connected to NotebookLM Enterprise.
1088 &quot;searchConfig&quot;: &quot;A String&quot;, # Required. Search config name. Format: projects/*/locations/global/notebookLmSearchConfigs/*
1089 },
1090 &quot;thirdPartyOauthConfig&quot;: { # Stores information for third party applicationOAuth. # Third Party OAuth config. If set, this DataStore is connected to a third party application.
1091 &quot;appName&quot;: &quot;A String&quot;, # Optional. The type of the application. E.g., &quot;jira&quot;, &quot;box&quot;, etc.
1092 &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;.
1093 },
1094 },
1095 &quot;healthcareFhirConfig&quot;: { # Config to data store for `HEALTHCARE_FHIR` vertical. # Optional. Configuration for `HEALTHCARE_FHIR` vertical.
1096 &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.
1097 &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.
1098 &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.
1099 &quot;A String&quot;,
1100 ],
1101 },
1102 &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}`.
1103 &quot;idpConfig&quot;: { # Identity Provider Config. # Output only. Data store level identity provider config.
1104 &quot;externalIdpConfig&quot;: { # Third party IDP Config. # External Identity provider config.
1105 &quot;workforcePoolName&quot;: &quot;A String&quot;, # Workforce pool name. Example: &quot;locations/global/workforcePools/pool_id&quot;
1106 },
1107 &quot;idpType&quot;: &quot;A String&quot;, # Identity provider type configured.
1108 },
1109 &quot;industryVertical&quot;: &quot;A String&quot;, # Immutable. The industry vertical that the data store registers.
1110 &quot;isInfobotFaqDataStore&quot;: True or False, # Optional. If set, this DataStore is an Infobot FAQ DataStore.
1111 &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.
1112 &quot;languageInfo&quot;: { # Language info for DataStore. # Language info for DataStore.
1113 &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`.
1114 &quot;languageCode&quot;: &quot;A String&quot;, # The language code for the DataStore.
1115 &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`.
1116 &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; ``.
1117 },
1118 &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.
1119 &quot;naturalLanguageQueryUnderstandingConfig&quot;: { # Configuration for Natural Language Query Understanding. # Optional. Configuration for Natural Language Query Understanding.
1120 &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.
1121 },
1122 &quot;servingConfigDataStore&quot;: { # Stores information regarding the serving configurations at DataStore level. # Optional. Stores serving config at DataStore level.
1123 &quot;disabledForServing&quot;: True or False, # Optional. If set true, the DataStore will not be available for serving search requests.
1124 },
1125 &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.
1126 &quot;A String&quot;,
1127 ],
1128 &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).
1129 &quot;fieldConfigs&quot;: [ # Output only. Configurations for fields of the schema.
1130 { # Configurations for fields of a schema. For example, configuring a field is indexable, or searchable.
1131 &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 ``.
1132 &quot;A String&quot;,
1133 ],
1134 &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.
1135 &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.
1136 &quot;fieldPath&quot;: &quot;A String&quot;, # Required. Field path of the schema field. For example: `title`, `description`, `release_info.release_year`.
1137 &quot;fieldType&quot;: &quot;A String&quot;, # Output only. Raw type of the field.
1138 &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.
1139 &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.
1140 &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.
1141 &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.
1142 &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.
1143 &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
1144 &quot;A String&quot;,
1145 ],
1146 &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).
1147 &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.
1148 },
1149 ],
1150 &quot;jsonSchema&quot;: &quot;A String&quot;, # The JSON representation of the schema.
1151 &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.
1152 &quot;structSchema&quot;: { # The structured representation of the schema.
1153 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
1154 },
1155 },
1156 &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.
1157 &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.
1158 &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.
1159 &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.
1160 &quot;type&quot;: &quot;A String&quot;, # The Google Workspace data source.
1161 },
1162 },
1163 ],
1164 &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.
1165 }</pre>
1166 </div>
1167
1168 <div class="method">
1169 <code class="details" id="list_next">list_next()</code>
1170 <pre>Retrieves the next page of results.
1171
1172 Args:
1173 previous_request: The request for the previous page. (required)
1174 previous_response: The response from the request for the previous page. (required)
1175
1176 Returns:
1177 A request object that you can call &#x27;execute()&#x27; on to request the next
1178 page. Returns None if there are no more items in the collection.
1179 </pre>
1180 </div>
1181
1182 <div class="method">
1183 <code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
1184 <pre>Updates a DataStore
1185
1186 Args:
1187 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)
1188 body: object, The request body.
1189 The object takes the form of:
1190
1191 { # DataStore captures global settings and configs at the DataStore level.
1192 &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.
1193 &quot;advancedSiteSearchConfig&quot;: { # Configuration data for advance site search. # Optional. Configuration for advanced site search.
1194 &quot;disableAutomaticRefresh&quot;: True or False, # If set true, automatic refresh is disabled for the DataStore.
1195 &quot;disableInitialIndex&quot;: True or False, # If set true, initial indexing is disabled for the DataStore.
1196 },
1197 &quot;billingEstimation&quot;: { # Estimation of data size per data store. # Output only. Data size estimation for billing.
1198 &quot;structuredDataSize&quot;: &quot;A String&quot;, # Data size for structured data in terms of bytes.
1199 &quot;structuredDataUpdateTime&quot;: &quot;A String&quot;, # Last updated timestamp for structured data.
1200 &quot;unstructuredDataSize&quot;: &quot;A String&quot;, # Data size for unstructured data in terms of bytes.
1201 &quot;unstructuredDataUpdateTime&quot;: &quot;A String&quot;, # Last updated timestamp for unstructured data.
1202 &quot;websiteDataSize&quot;: &quot;A String&quot;, # Data size for websites in terms of bytes.
1203 &quot;websiteDataUpdateTime&quot;: &quot;A String&quot;, # Last updated timestamp for websites.
1204 },
1205 &quot;cmekConfig&quot;: { # Configurations used to enable CMEK data encryption with Cloud KMS keys. # Output only. CMEK-related information for the DataStore.
1206 &quot;isDefault&quot;: True or False, # Output only. The default CmekConfig for the Customer.
1207 &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}`.
1208 &quot;kmsKeyVersion&quot;: &quot;A String&quot;, # Output only. KMS key version resource name which will be used to encrypt resources `/cryptoKeyVersions/{keyVersion}`.
1209 &quot;lastRotationTimestampMicros&quot;: &quot;A String&quot;, # Output only. The timestamp of the last key rotation.
1210 &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}`.
1211 &quot;notebooklmState&quot;: &quot;A String&quot;, # Output only. Whether the NotebookLM Corpus is ready to be used.
1212 &quot;singleRegionKeys&quot;: [ # Optional. Single-regional CMEKs that are required for some VAIS features.
1213 { # Metadata for single-regional CMEKs.
1214 &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}`.
1215 },
1216 ],
1217 &quot;state&quot;: &quot;A String&quot;, # Output only. The states of the CmekConfig.
1218 },
1219 &quot;configurableBillingApproach&quot;: &quot;A String&quot;, # Optional. Configuration for configurable billing approach. See
1220 &quot;configurableBillingApproachUpdateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when configurable_billing_approach was last updated.
1221 &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.
1222 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Timestamp the DataStore was created at.
1223 &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.
1224 &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.
1225 &quot;policy&quot;: &quot;A String&quot;, # Optional. Specifies the resource name of the Sensitive Data Protection content policy.
1226 },
1227 },
1228 &quot;defaultSchemaId&quot;: &quot;A String&quot;, # Output only. The id of the default Schema associated to this data store.
1229 &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.
1230 &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.
1231 &quot;chunkingConfig&quot;: { # Configuration for chunking config. # Whether chunking mode is enabled.
1232 &quot;layoutBasedChunkingConfig&quot;: { # Configuration for the layout based chunking. # Configuration for the layout based chunking.
1233 &quot;chunkSize&quot;: 42, # The token size limit for each chunk. Supported values: 100-500 (inclusive). Default value: 500.
1234 &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.
1235 },
1236 },
1237 &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.
1238 &quot;digitalParsingConfig&quot;: { # The digital parsing configurations for documents. # Configurations applied to digital parser.
1239 },
1240 &quot;layoutParsingConfig&quot;: { # The layout parsing configurations for documents. # Configurations applied to layout parser.
1241 &quot;enableGetProcessedDocument&quot;: True or False, # Optional. If true, the processed document will be made available for the GetProcessedDocument API.
1242 &quot;enableImageAnnotation&quot;: True or False, # Optional. If true, the LLM based annotation is added to the image during parsing.
1243 &quot;enableLlmLayoutParsing&quot;: True or False, # Optional. If true, the pdf layout will be refined using an LLM.
1244 &quot;enableTableAnnotation&quot;: True or False, # Optional. If true, the LLM based annotation is added to the table during parsing.
1245 &quot;excludeHtmlClasses&quot;: [ # Optional. List of HTML classes to exclude from the parsed content.
1246 &quot;A String&quot;,
1247 ],
1248 &quot;excludeHtmlElements&quot;: [ # Optional. List of HTML elements to exclude from the parsed content.
1249 &quot;A String&quot;,
1250 ],
1251 &quot;excludeHtmlIds&quot;: [ # Optional. List of HTML ids to exclude from the parsed content.
1252 &quot;A String&quot;,
1253 ],
1254 &quot;structuredContentTypes&quot;: [ # Optional. Contains the required structure types to extract from the document. Supported values: * `shareholder-structure`
1255 &quot;A String&quot;,
1256 ],
1257 },
1258 &quot;ocrParsingConfig&quot;: { # The OCR parsing configurations for documents. # Configurations applied to OCR parser. Currently it only applies to PDFs.
1259 &quot;enhancedDocumentElements&quot;: [ # [DEPRECATED] This field is deprecated. To use the additional enhanced document elements processing, please switch to `layout_parsing_config`.
1260 &quot;A String&quot;,
1261 ],
1262 &quot;useNativeText&quot;: True or False, # If true, will use native text instead of OCR text on pages containing native text.
1263 },
1264 },
1265 &quot;name&quot;: &quot;A String&quot;, # The full resource name of the Document Processing Config. Format: `projects/*/locations/*/collections/*/dataStores/*/documentProcessingConfig`.
1266 &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.
1267 &quot;a_key&quot;: { # Related configurations applied to a specific type of document parser.
1268 &quot;digitalParsingConfig&quot;: { # The digital parsing configurations for documents. # Configurations applied to digital parser.
1269 },
1270 &quot;layoutParsingConfig&quot;: { # The layout parsing configurations for documents. # Configurations applied to layout parser.
1271 &quot;enableGetProcessedDocument&quot;: True or False, # Optional. If true, the processed document will be made available for the GetProcessedDocument API.
1272 &quot;enableImageAnnotation&quot;: True or False, # Optional. If true, the LLM based annotation is added to the image during parsing.
1273 &quot;enableLlmLayoutParsing&quot;: True or False, # Optional. If true, the pdf layout will be refined using an LLM.
1274 &quot;enableTableAnnotation&quot;: True or False, # Optional. If true, the LLM based annotation is added to the table during parsing.
1275 &quot;excludeHtmlClasses&quot;: [ # Optional. List of HTML classes to exclude from the parsed content.
1276 &quot;A String&quot;,
1277 ],
1278 &quot;excludeHtmlElements&quot;: [ # Optional. List of HTML elements to exclude from the parsed content.
1279 &quot;A String&quot;,
1280 ],
1281 &quot;excludeHtmlIds&quot;: [ # Optional. List of HTML ids to exclude from the parsed content.
1282 &quot;A String&quot;,
1283 ],
1284 &quot;structuredContentTypes&quot;: [ # Optional. Contains the required structure types to extract from the document. Supported values: * `shareholder-structure`
1285 &quot;A String&quot;,
1286 ],
1287 },
1288 &quot;ocrParsingConfig&quot;: { # The OCR parsing configurations for documents. # Configurations applied to OCR parser. Currently it only applies to PDFs.
1289 &quot;enhancedDocumentElements&quot;: [ # [DEPRECATED] This field is deprecated. To use the additional enhanced document elements processing, please switch to `layout_parsing_config`.
1290 &quot;A String&quot;,
1291 ],
1292 &quot;useNativeText&quot;: True or False, # If true, will use native text instead of OCR text on pages containing native text.
1293 },
1294 },
1295 },
1296 },
1297 &quot;federatedSearchConfig&quot;: { # Stores information for federated search. # Optional. If set, this DataStore is a federated search DataStore.
1298 &quot;alloyDbConfig&quot;: { # Stores information for connecting to AlloyDB. # AlloyDB config. If set, this DataStore is connected to AlloyDB.
1299 &quot;alloydbAiNlConfig&quot;: { # Configuration for AlloyDB AI Natural Language. # Optional. Configuration for Magic.
1300 &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.
1301 },
1302 &quot;alloydbConnectionConfig&quot;: { # Configuration for connecting to AlloyDB. # Required. Configuration for connecting to AlloyDB.
1303 &quot;authMode&quot;: &quot;A String&quot;, # Optional. Auth mode.
1304 &quot;database&quot;: &quot;A String&quot;, # Required. The AlloyDB database to connect to.
1305 &quot;enablePsvs&quot;: True or False, # Optional. If true, enable PSVS for AlloyDB.
1306 &quot;instance&quot;: &quot;A String&quot;, # Required. The AlloyDB instance to connect to.
1307 &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.
1308 &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.
1309 },
1310 &quot;returnedFields&quot;: [ # Optional. Fields to be returned in the search results. If empty, all fields will be returned.
1311 &quot;A String&quot;,
1312 ],
1313 },
1314 &quot;notebooklmConfig&quot;: { # Config for connecting to NotebookLM Enterprise. # NotebookLM config. If set, this DataStore is connected to NotebookLM Enterprise.
1315 &quot;searchConfig&quot;: &quot;A String&quot;, # Required. Search config name. Format: projects/*/locations/global/notebookLmSearchConfigs/*
1316 },
1317 &quot;thirdPartyOauthConfig&quot;: { # Stores information for third party applicationOAuth. # Third Party OAuth config. If set, this DataStore is connected to a third party application.
1318 &quot;appName&quot;: &quot;A String&quot;, # Optional. The type of the application. E.g., &quot;jira&quot;, &quot;box&quot;, etc.
1319 &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;.
1320 },
1321 },
1322 &quot;healthcareFhirConfig&quot;: { # Config to data store for `HEALTHCARE_FHIR` vertical. # Optional. Configuration for `HEALTHCARE_FHIR` vertical.
1323 &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.
1324 &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.
1325 &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.
1326 &quot;A String&quot;,
1327 ],
1328 },
1329 &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}`.
1330 &quot;idpConfig&quot;: { # Identity Provider Config. # Output only. Data store level identity provider config.
1331 &quot;externalIdpConfig&quot;: { # Third party IDP Config. # External Identity provider config.
1332 &quot;workforcePoolName&quot;: &quot;A String&quot;, # Workforce pool name. Example: &quot;locations/global/workforcePools/pool_id&quot;
1333 },
1334 &quot;idpType&quot;: &quot;A String&quot;, # Identity provider type configured.
1335 },
1336 &quot;industryVertical&quot;: &quot;A String&quot;, # Immutable. The industry vertical that the data store registers.
1337 &quot;isInfobotFaqDataStore&quot;: True or False, # Optional. If set, this DataStore is an Infobot FAQ DataStore.
1338 &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.
1339 &quot;languageInfo&quot;: { # Language info for DataStore. # Language info for DataStore.
1340 &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`.
1341 &quot;languageCode&quot;: &quot;A String&quot;, # The language code for the DataStore.
1342 &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`.
1343 &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; ``.
1344 },
1345 &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.
1346 &quot;naturalLanguageQueryUnderstandingConfig&quot;: { # Configuration for Natural Language Query Understanding. # Optional. Configuration for Natural Language Query Understanding.
1347 &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.
1348 },
1349 &quot;servingConfigDataStore&quot;: { # Stores information regarding the serving configurations at DataStore level. # Optional. Stores serving config at DataStore level.
1350 &quot;disabledForServing&quot;: True or False, # Optional. If set true, the DataStore will not be available for serving search requests.
1351 },
1352 &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.
1353 &quot;A String&quot;,
1354 ],
1355 &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).
1356 &quot;fieldConfigs&quot;: [ # Output only. Configurations for fields of the schema.
1357 { # Configurations for fields of a schema. For example, configuring a field is indexable, or searchable.
1358 &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 ``.
1359 &quot;A String&quot;,
1360 ],
1361 &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.
1362 &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.
1363 &quot;fieldPath&quot;: &quot;A String&quot;, # Required. Field path of the schema field. For example: `title`, `description`, `release_info.release_year`.
1364 &quot;fieldType&quot;: &quot;A String&quot;, # Output only. Raw type of the field.
1365 &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.
1366 &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.
1367 &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.
1368 &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.
1369 &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.
1370 &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
1371 &quot;A String&quot;,
1372 ],
1373 &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).
1374 &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.
1375 },
1376 ],
1377 &quot;jsonSchema&quot;: &quot;A String&quot;, # The JSON representation of the schema.
1378 &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.
1379 &quot;structSchema&quot;: { # The structured representation of the schema.
1380 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
1381 },
1382 },
1383 &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.
1384 &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.
1385 &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.
1386 &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.
1387 &quot;type&quot;: &quot;A String&quot;, # The Google Workspace data source.
1388 },
1389 }
1390
1391 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.
1392 x__xgafv: string, V1 error format.
1393 Allowed values
1394 1 - v1 error format
1395 2 - v2 error format
1396
1397 Returns:
1398 An object of the form:
1399
1400 { # DataStore captures global settings and configs at the DataStore level.
1401 &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.
1402 &quot;advancedSiteSearchConfig&quot;: { # Configuration data for advance site search. # Optional. Configuration for advanced site search.
1403 &quot;disableAutomaticRefresh&quot;: True or False, # If set true, automatic refresh is disabled for the DataStore.
1404 &quot;disableInitialIndex&quot;: True or False, # If set true, initial indexing is disabled for the DataStore.
1405 },
1406 &quot;billingEstimation&quot;: { # Estimation of data size per data store. # Output only. Data size estimation for billing.
1407 &quot;structuredDataSize&quot;: &quot;A String&quot;, # Data size for structured data in terms of bytes.
1408 &quot;structuredDataUpdateTime&quot;: &quot;A String&quot;, # Last updated timestamp for structured data.
1409 &quot;unstructuredDataSize&quot;: &quot;A String&quot;, # Data size for unstructured data in terms of bytes.
1410 &quot;unstructuredDataUpdateTime&quot;: &quot;A String&quot;, # Last updated timestamp for unstructured data.
1411 &quot;websiteDataSize&quot;: &quot;A String&quot;, # Data size for websites in terms of bytes.
1412 &quot;websiteDataUpdateTime&quot;: &quot;A String&quot;, # Last updated timestamp for websites.
1413 },
1414 &quot;cmekConfig&quot;: { # Configurations used to enable CMEK data encryption with Cloud KMS keys. # Output only. CMEK-related information for the DataStore.
1415 &quot;isDefault&quot;: True or False, # Output only. The default CmekConfig for the Customer.
1416 &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}`.
1417 &quot;kmsKeyVersion&quot;: &quot;A String&quot;, # Output only. KMS key version resource name which will be used to encrypt resources `/cryptoKeyVersions/{keyVersion}`.
1418 &quot;lastRotationTimestampMicros&quot;: &quot;A String&quot;, # Output only. The timestamp of the last key rotation.
1419 &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}`.
1420 &quot;notebooklmState&quot;: &quot;A String&quot;, # Output only. Whether the NotebookLM Corpus is ready to be used.
1421 &quot;singleRegionKeys&quot;: [ # Optional. Single-regional CMEKs that are required for some VAIS features.
1422 { # Metadata for single-regional CMEKs.
1423 &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}`.
1424 },
1425 ],
1426 &quot;state&quot;: &quot;A String&quot;, # Output only. The states of the CmekConfig.
1427 },
1428 &quot;configurableBillingApproach&quot;: &quot;A String&quot;, # Optional. Configuration for configurable billing approach. See
1429 &quot;configurableBillingApproachUpdateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when configurable_billing_approach was last updated.
1430 &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.
1431 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Timestamp the DataStore was created at.
1432 &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.
1433 &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.
1434 &quot;policy&quot;: &quot;A String&quot;, # Optional. Specifies the resource name of the Sensitive Data Protection content policy.
1435 },
1436 },
1437 &quot;defaultSchemaId&quot;: &quot;A String&quot;, # Output only. The id of the default Schema associated to this data store.
1438 &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.
1439 &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.
1440 &quot;chunkingConfig&quot;: { # Configuration for chunking config. # Whether chunking mode is enabled.
1441 &quot;layoutBasedChunkingConfig&quot;: { # Configuration for the layout based chunking. # Configuration for the layout based chunking.
1442 &quot;chunkSize&quot;: 42, # The token size limit for each chunk. Supported values: 100-500 (inclusive). Default value: 500.
1443 &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.
1444 },
1445 },
1446 &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.
1447 &quot;digitalParsingConfig&quot;: { # The digital parsing configurations for documents. # Configurations applied to digital parser.
1448 },
1449 &quot;layoutParsingConfig&quot;: { # The layout parsing configurations for documents. # Configurations applied to layout parser.
1450 &quot;enableGetProcessedDocument&quot;: True or False, # Optional. If true, the processed document will be made available for the GetProcessedDocument API.
1451 &quot;enableImageAnnotation&quot;: True or False, # Optional. If true, the LLM based annotation is added to the image during parsing.
1452 &quot;enableLlmLayoutParsing&quot;: True or False, # Optional. If true, the pdf layout will be refined using an LLM.
1453 &quot;enableTableAnnotation&quot;: True or False, # Optional. If true, the LLM based annotation is added to the table during parsing.
1454 &quot;excludeHtmlClasses&quot;: [ # Optional. List of HTML classes to exclude from the parsed content.
1455 &quot;A String&quot;,
1456 ],
1457 &quot;excludeHtmlElements&quot;: [ # Optional. List of HTML elements to exclude from the parsed content.
1458 &quot;A String&quot;,
1459 ],
1460 &quot;excludeHtmlIds&quot;: [ # Optional. List of HTML ids to exclude from the parsed content.
1461 &quot;A String&quot;,
1462 ],
1463 &quot;structuredContentTypes&quot;: [ # Optional. Contains the required structure types to extract from the document. Supported values: * `shareholder-structure`
1464 &quot;A String&quot;,
1465 ],
1466 },
1467 &quot;ocrParsingConfig&quot;: { # The OCR parsing configurations for documents. # Configurations applied to OCR parser. Currently it only applies to PDFs.
1468 &quot;enhancedDocumentElements&quot;: [ # [DEPRECATED] This field is deprecated. To use the additional enhanced document elements processing, please switch to `layout_parsing_config`.
1469 &quot;A String&quot;,
1470 ],
1471 &quot;useNativeText&quot;: True or False, # If true, will use native text instead of OCR text on pages containing native text.
1472 },
1473 },
1474 &quot;name&quot;: &quot;A String&quot;, # The full resource name of the Document Processing Config. Format: `projects/*/locations/*/collections/*/dataStores/*/documentProcessingConfig`.
1475 &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.
1476 &quot;a_key&quot;: { # Related configurations applied to a specific type of document parser.
1477 &quot;digitalParsingConfig&quot;: { # The digital parsing configurations for documents. # Configurations applied to digital parser.
1478 },
1479 &quot;layoutParsingConfig&quot;: { # The layout parsing configurations for documents. # Configurations applied to layout parser.
1480 &quot;enableGetProcessedDocument&quot;: True or False, # Optional. If true, the processed document will be made available for the GetProcessedDocument API.
1481 &quot;enableImageAnnotation&quot;: True or False, # Optional. If true, the LLM based annotation is added to the image during parsing.
1482 &quot;enableLlmLayoutParsing&quot;: True or False, # Optional. If true, the pdf layout will be refined using an LLM.
1483 &quot;enableTableAnnotation&quot;: True or False, # Optional. If true, the LLM based annotation is added to the table during parsing.
1484 &quot;excludeHtmlClasses&quot;: [ # Optional. List of HTML classes to exclude from the parsed content.
1485 &quot;A String&quot;,
1486 ],
1487 &quot;excludeHtmlElements&quot;: [ # Optional. List of HTML elements to exclude from the parsed content.
1488 &quot;A String&quot;,
1489 ],
1490 &quot;excludeHtmlIds&quot;: [ # Optional. List of HTML ids to exclude from the parsed content.
1491 &quot;A String&quot;,
1492 ],
1493 &quot;structuredContentTypes&quot;: [ # Optional. Contains the required structure types to extract from the document. Supported values: * `shareholder-structure`
1494 &quot;A String&quot;,
1495 ],
1496 },
1497 &quot;ocrParsingConfig&quot;: { # The OCR parsing configurations for documents. # Configurations applied to OCR parser. Currently it only applies to PDFs.
1498 &quot;enhancedDocumentElements&quot;: [ # [DEPRECATED] This field is deprecated. To use the additional enhanced document elements processing, please switch to `layout_parsing_config`.
1499 &quot;A String&quot;,
1500 ],
1501 &quot;useNativeText&quot;: True or False, # If true, will use native text instead of OCR text on pages containing native text.
1502 },
1503 },
1504 },
1505 },
1506 &quot;federatedSearchConfig&quot;: { # Stores information for federated search. # Optional. If set, this DataStore is a federated search DataStore.
1507 &quot;alloyDbConfig&quot;: { # Stores information for connecting to AlloyDB. # AlloyDB config. If set, this DataStore is connected to AlloyDB.
1508 &quot;alloydbAiNlConfig&quot;: { # Configuration for AlloyDB AI Natural Language. # Optional. Configuration for Magic.
1509 &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.
1510 },
1511 &quot;alloydbConnectionConfig&quot;: { # Configuration for connecting to AlloyDB. # Required. Configuration for connecting to AlloyDB.
1512 &quot;authMode&quot;: &quot;A String&quot;, # Optional. Auth mode.
1513 &quot;database&quot;: &quot;A String&quot;, # Required. The AlloyDB database to connect to.
1514 &quot;enablePsvs&quot;: True or False, # Optional. If true, enable PSVS for AlloyDB.
1515 &quot;instance&quot;: &quot;A String&quot;, # Required. The AlloyDB instance to connect to.
1516 &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.
1517 &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.
1518 },
1519 &quot;returnedFields&quot;: [ # Optional. Fields to be returned in the search results. If empty, all fields will be returned.
1520 &quot;A String&quot;,
1521 ],
1522 },
1523 &quot;notebooklmConfig&quot;: { # Config for connecting to NotebookLM Enterprise. # NotebookLM config. If set, this DataStore is connected to NotebookLM Enterprise.
1524 &quot;searchConfig&quot;: &quot;A String&quot;, # Required. Search config name. Format: projects/*/locations/global/notebookLmSearchConfigs/*
1525 },
1526 &quot;thirdPartyOauthConfig&quot;: { # Stores information for third party applicationOAuth. # Third Party OAuth config. If set, this DataStore is connected to a third party application.
1527 &quot;appName&quot;: &quot;A String&quot;, # Optional. The type of the application. E.g., &quot;jira&quot;, &quot;box&quot;, etc.
1528 &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;.
1529 },
1530 },
1531 &quot;healthcareFhirConfig&quot;: { # Config to data store for `HEALTHCARE_FHIR` vertical. # Optional. Configuration for `HEALTHCARE_FHIR` vertical.
1532 &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.
1533 &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.
1534 &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.
1535 &quot;A String&quot;,
1536 ],
1537 },
1538 &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}`.
1539 &quot;idpConfig&quot;: { # Identity Provider Config. # Output only. Data store level identity provider config.
1540 &quot;externalIdpConfig&quot;: { # Third party IDP Config. # External Identity provider config.
1541 &quot;workforcePoolName&quot;: &quot;A String&quot;, # Workforce pool name. Example: &quot;locations/global/workforcePools/pool_id&quot;
1542 },
1543 &quot;idpType&quot;: &quot;A String&quot;, # Identity provider type configured.
1544 },
1545 &quot;industryVertical&quot;: &quot;A String&quot;, # Immutable. The industry vertical that the data store registers.
1546 &quot;isInfobotFaqDataStore&quot;: True or False, # Optional. If set, this DataStore is an Infobot FAQ DataStore.
1547 &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.
1548 &quot;languageInfo&quot;: { # Language info for DataStore. # Language info for DataStore.
1549 &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`.
1550 &quot;languageCode&quot;: &quot;A String&quot;, # The language code for the DataStore.
1551 &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`.
1552 &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; ``.
1553 },
1554 &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.
1555 &quot;naturalLanguageQueryUnderstandingConfig&quot;: { # Configuration for Natural Language Query Understanding. # Optional. Configuration for Natural Language Query Understanding.
1556 &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.
1557 },
1558 &quot;servingConfigDataStore&quot;: { # Stores information regarding the serving configurations at DataStore level. # Optional. Stores serving config at DataStore level.
1559 &quot;disabledForServing&quot;: True or False, # Optional. If set true, the DataStore will not be available for serving search requests.
1560 },
1561 &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.
1562 &quot;A String&quot;,
1563 ],
1564 &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).
1565 &quot;fieldConfigs&quot;: [ # Output only. Configurations for fields of the schema.
1566 { # Configurations for fields of a schema. For example, configuring a field is indexable, or searchable.
1567 &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 ``.
1568 &quot;A String&quot;,
1569 ],
1570 &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.
1571 &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.
1572 &quot;fieldPath&quot;: &quot;A String&quot;, # Required. Field path of the schema field. For example: `title`, `description`, `release_info.release_year`.
1573 &quot;fieldType&quot;: &quot;A String&quot;, # Output only. Raw type of the field.
1574 &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.
1575 &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.
1576 &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.
1577 &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.
1578 &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.
1579 &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
1580 &quot;A String&quot;,
1581 ],
1582 &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).
1583 &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.
1584 },
1585 ],
1586 &quot;jsonSchema&quot;: &quot;A String&quot;, # The JSON representation of the schema.
1587 &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.
1588 &quot;structSchema&quot;: { # The structured representation of the schema.
1589 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
1590 },
1591 },
1592 &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.
1593 &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.
1594 &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.
1595 &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.
1596 &quot;type&quot;: &quot;A String&quot;, # The Google Workspace data source.
1597 },
1598 }</pre>
1599 </div>
1600
1601 <div class="method">
1602 <code class="details" id="removePatientFilter">removePatientFilter(dataStore, body=None, x__xgafv=None)</code>
1603 <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.
1604
1605 Args:
1606 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)
1607 body: object, The request body.
1608 The object takes the form of:
1609
1610 { # Request for DataStoreService.RemovePatientFilter method.
1611 &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
1612 &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.
1613 &quot;A String&quot;,
1614 ],
1615 }
1616
1617 x__xgafv: string, V1 error format.
1618 Allowed values
1619 1 - v1 error format
1620 2 - v2 error format
1621
1622 Returns:
1623 An object of the form:
1624
1625 { # This resource represents a long-running operation that is the result of a network API call.
1626 &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.
1627 &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.
1628 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
1629 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
1630 {
1631 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1632 },
1633 ],
1634 &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.
1635 },
1636 &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.
1637 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1638 },
1639 &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}`.
1640 &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`.
1641 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1642 },
1643 }</pre>
1644 </div>
1645
1646 <div class="method">
1647 <code class="details" id="replacePatientFilter">replacePatientFilter(dataStore, body=None, x__xgafv=None)</code>
1648 <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.
1649
1650 Args:
1651 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)
1652 body: object, The request body.
1653 The object takes the form of:
1654
1655 { # Request for DataStoreService.ReplacePatientFilter method.
1656 &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.
1657 &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.
1658 &quot;A String&quot;,
1659 ],
1660 }
1661
1662 x__xgafv: string, V1 error format.
1663 Allowed values
1664 1 - v1 error format
1665 2 - v2 error format
1666
1667 Returns:
1668 An object of the form:
1669
1670 { # This resource represents a long-running operation that is the result of a network API call.
1671 &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.
1672 &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.
1673 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
1674 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
1675 {
1676 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1677 },
1678 ],
1679 &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.
1680 },
1681 &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.
1682 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1683 },
1684 &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}`.
1685 &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`.
1686 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1687 },
1688 }</pre>
1689 </div>
1690
1691 <div class="method">
1692 <code class="details" id="updateCompletionConfig">updateCompletionConfig(name, body=None, updateMask=None, x__xgafv=None)</code>
1693 <pre>Updates the CompletionConfigs.
1694
1695 Args:
1696 name: string, Required. Immutable. Fully qualified name `projects/*/locations/*/dataStores/*/completionConfig` `projects/*/locations/*/collections/*/dataStores/*/completionConfig` `projects/*/locations/*/collections/*/engines/*/completionConfig` (required)
1697 body: object, The request body.
1698 The object takes the form of:
1699
1700 { # Config to customize Autocomplete API response for both engines and data stores. Some fields are applicable to only one of them.
1701 &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.
1702 &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.
1703 &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`.
1704 &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.
1705 &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.
1706 &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`
1707 &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.
1708 &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.
1709 &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.
1710 &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.
1711 }
1712
1713 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.
1714 x__xgafv: string, V1 error format.
1715 Allowed values
1716 1 - v1 error format
1717 2 - v2 error format
1718
1719 Returns:
1720 An object of the form:
1721
1722 { # Config to customize Autocomplete API response for both engines and data stores. Some fields are applicable to only one of them.
1723 &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.
1724 &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.
1725 &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`.
1726 &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.
1727 &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.
1728 &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`
1729 &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.
1730 &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.
1731 &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.
1732 &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.
1733 }</pre>
1734 </div>
1735
1736 <div class="method">
1737 <code class="details" id="updateDocumentProcessingConfig">updateDocumentProcessingConfig(name, body=None, updateMask=None, x__xgafv=None)</code>
1738 <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.
1739
1740 Args:
1741 name: string, The full resource name of the Document Processing Config. Format: `projects/*/locations/*/collections/*/dataStores/*/documentProcessingConfig`. (required)
1742 body: object, The request body.
1743 The object takes the form of:
1744
1745 { # 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.
1746 &quot;chunkingConfig&quot;: { # Configuration for chunking config. # Whether chunking mode is enabled.
1747 &quot;layoutBasedChunkingConfig&quot;: { # Configuration for the layout based chunking. # Configuration for the layout based chunking.
1748 &quot;chunkSize&quot;: 42, # The token size limit for each chunk. Supported values: 100-500 (inclusive). Default value: 500.
1749 &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.
1750 },
1751 },
1752 &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.
1753 &quot;digitalParsingConfig&quot;: { # The digital parsing configurations for documents. # Configurations applied to digital parser.
1754 },
1755 &quot;layoutParsingConfig&quot;: { # The layout parsing configurations for documents. # Configurations applied to layout parser.
1756 &quot;enableGetProcessedDocument&quot;: True or False, # Optional. If true, the processed document will be made available for the GetProcessedDocument API.
1757 &quot;enableImageAnnotation&quot;: True or False, # Optional. If true, the LLM based annotation is added to the image during parsing.
1758 &quot;enableLlmLayoutParsing&quot;: True or False, # Optional. If true, the pdf layout will be refined using an LLM.
1759 &quot;enableTableAnnotation&quot;: True or False, # Optional. If true, the LLM based annotation is added to the table during parsing.
1760 &quot;excludeHtmlClasses&quot;: [ # Optional. List of HTML classes to exclude from the parsed content.
1761 &quot;A String&quot;,
1762 ],
1763 &quot;excludeHtmlElements&quot;: [ # Optional. List of HTML elements to exclude from the parsed content.
1764 &quot;A String&quot;,
1765 ],
1766 &quot;excludeHtmlIds&quot;: [ # Optional. List of HTML ids to exclude from the parsed content.
1767 &quot;A String&quot;,
1768 ],
1769 &quot;structuredContentTypes&quot;: [ # Optional. Contains the required structure types to extract from the document. Supported values: * `shareholder-structure`
1770 &quot;A String&quot;,
1771 ],
1772 },
1773 &quot;ocrParsingConfig&quot;: { # The OCR parsing configurations for documents. # Configurations applied to OCR parser. Currently it only applies to PDFs.
1774 &quot;enhancedDocumentElements&quot;: [ # [DEPRECATED] This field is deprecated. To use the additional enhanced document elements processing, please switch to `layout_parsing_config`.
1775 &quot;A String&quot;,
1776 ],
1777 &quot;useNativeText&quot;: True or False, # If true, will use native text instead of OCR text on pages containing native text.
1778 },
1779 },
1780 &quot;name&quot;: &quot;A String&quot;, # The full resource name of the Document Processing Config. Format: `projects/*/locations/*/collections/*/dataStores/*/documentProcessingConfig`.
1781 &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.
1782 &quot;a_key&quot;: { # Related configurations applied to a specific type of document parser.
1783 &quot;digitalParsingConfig&quot;: { # The digital parsing configurations for documents. # Configurations applied to digital parser.
1784 },
1785 &quot;layoutParsingConfig&quot;: { # The layout parsing configurations for documents. # Configurations applied to layout parser.
1786 &quot;enableGetProcessedDocument&quot;: True or False, # Optional. If true, the processed document will be made available for the GetProcessedDocument API.
1787 &quot;enableImageAnnotation&quot;: True or False, # Optional. If true, the LLM based annotation is added to the image during parsing.
1788 &quot;enableLlmLayoutParsing&quot;: True or False, # Optional. If true, the pdf layout will be refined using an LLM.
1789 &quot;enableTableAnnotation&quot;: True or False, # Optional. If true, the LLM based annotation is added to the table during parsing.
1790 &quot;excludeHtmlClasses&quot;: [ # Optional. List of HTML classes to exclude from the parsed content.
1791 &quot;A String&quot;,
1792 ],
1793 &quot;excludeHtmlElements&quot;: [ # Optional. List of HTML elements to exclude from the parsed content.
1794 &quot;A String&quot;,
1795 ],
1796 &quot;excludeHtmlIds&quot;: [ # Optional. List of HTML ids to exclude from the parsed content.
1797 &quot;A String&quot;,
1798 ],
1799 &quot;structuredContentTypes&quot;: [ # Optional. Contains the required structure types to extract from the document. Supported values: * `shareholder-structure`
1800 &quot;A String&quot;,
1801 ],
1802 },
1803 &quot;ocrParsingConfig&quot;: { # The OCR parsing configurations for documents. # Configurations applied to OCR parser. Currently it only applies to PDFs.
1804 &quot;enhancedDocumentElements&quot;: [ # [DEPRECATED] This field is deprecated. To use the additional enhanced document elements processing, please switch to `layout_parsing_config`.
1805 &quot;A String&quot;,
1806 ],
1807 &quot;useNativeText&quot;: True or False, # If true, will use native text instead of OCR text on pages containing native text.
1808 },
1809 },
1810 },
1811 }
1812
1813 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.
1814 x__xgafv: string, V1 error format.
1815 Allowed values
1816 1 - v1 error format
1817 2 - v2 error format
1818
1819 Returns:
1820 An object of the form:
1821
1822 { # 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.
1823 &quot;chunkingConfig&quot;: { # Configuration for chunking config. # Whether chunking mode is enabled.
1824 &quot;layoutBasedChunkingConfig&quot;: { # Configuration for the layout based chunking. # Configuration for the layout based chunking.
1825 &quot;chunkSize&quot;: 42, # The token size limit for each chunk. Supported values: 100-500 (inclusive). Default value: 500.
1826 &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.
1827 },
1828 },
1829 &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.
1830 &quot;digitalParsingConfig&quot;: { # The digital parsing configurations for documents. # Configurations applied to digital parser.
1831 },
1832 &quot;layoutParsingConfig&quot;: { # The layout parsing configurations for documents. # Configurations applied to layout parser.
1833 &quot;enableGetProcessedDocument&quot;: True or False, # Optional. If true, the processed document will be made available for the GetProcessedDocument API.
1834 &quot;enableImageAnnotation&quot;: True or False, # Optional. If true, the LLM based annotation is added to the image during parsing.
1835 &quot;enableLlmLayoutParsing&quot;: True or False, # Optional. If true, the pdf layout will be refined using an LLM.
1836 &quot;enableTableAnnotation&quot;: True or False, # Optional. If true, the LLM based annotation is added to the table during parsing.
1837 &quot;excludeHtmlClasses&quot;: [ # Optional. List of HTML classes to exclude from the parsed content.
1838 &quot;A String&quot;,
1839 ],
1840 &quot;excludeHtmlElements&quot;: [ # Optional. List of HTML elements to exclude from the parsed content.
1841 &quot;A String&quot;,
1842 ],
1843 &quot;excludeHtmlIds&quot;: [ # Optional. List of HTML ids to exclude from the parsed content.
1844 &quot;A String&quot;,
1845 ],
1846 &quot;structuredContentTypes&quot;: [ # Optional. Contains the required structure types to extract from the document. Supported values: * `shareholder-structure`
1847 &quot;A String&quot;,
1848 ],
1849 },
1850 &quot;ocrParsingConfig&quot;: { # The OCR parsing configurations for documents. # Configurations applied to OCR parser. Currently it only applies to PDFs.
1851 &quot;enhancedDocumentElements&quot;: [ # [DEPRECATED] This field is deprecated. To use the additional enhanced document elements processing, please switch to `layout_parsing_config`.
1852 &quot;A String&quot;,
1853 ],
1854 &quot;useNativeText&quot;: True or False, # If true, will use native text instead of OCR text on pages containing native text.
1855 },
1856 },
1857 &quot;name&quot;: &quot;A String&quot;, # The full resource name of the Document Processing Config. Format: `projects/*/locations/*/collections/*/dataStores/*/documentProcessingConfig`.
1858 &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.
1859 &quot;a_key&quot;: { # Related configurations applied to a specific type of document parser.
1860 &quot;digitalParsingConfig&quot;: { # The digital parsing configurations for documents. # Configurations applied to digital parser.
1861 },
1862 &quot;layoutParsingConfig&quot;: { # The layout parsing configurations for documents. # Configurations applied to layout parser.
1863 &quot;enableGetProcessedDocument&quot;: True or False, # Optional. If true, the processed document will be made available for the GetProcessedDocument API.
1864 &quot;enableImageAnnotation&quot;: True or False, # Optional. If true, the LLM based annotation is added to the image during parsing.
1865 &quot;enableLlmLayoutParsing&quot;: True or False, # Optional. If true, the pdf layout will be refined using an LLM.
1866 &quot;enableTableAnnotation&quot;: True or False, # Optional. If true, the LLM based annotation is added to the table during parsing.
1867 &quot;excludeHtmlClasses&quot;: [ # Optional. List of HTML classes to exclude from the parsed content.
1868 &quot;A String&quot;,
1869 ],
1870 &quot;excludeHtmlElements&quot;: [ # Optional. List of HTML elements to exclude from the parsed content.
1871 &quot;A String&quot;,
1872 ],
1873 &quot;excludeHtmlIds&quot;: [ # Optional. List of HTML ids to exclude from the parsed content.
1874 &quot;A String&quot;,
1875 ],
1876 &quot;structuredContentTypes&quot;: [ # Optional. Contains the required structure types to extract from the document. Supported values: * `shareholder-structure`
1877 &quot;A String&quot;,
1878 ],
1879 },
1880 &quot;ocrParsingConfig&quot;: { # The OCR parsing configurations for documents. # Configurations applied to OCR parser. Currently it only applies to PDFs.
1881 &quot;enhancedDocumentElements&quot;: [ # [DEPRECATED] This field is deprecated. To use the additional enhanced document elements processing, please switch to `layout_parsing_config`.
1882 &quot;A String&quot;,
1883 ],
1884 &quot;useNativeText&quot;: True or False, # If true, will use native text instead of OCR text on pages containing native text.
1885 },
1886 },
1887 },
1888 }</pre>
1889 </div>
1890
1891 </body></html>