You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<pre>Returns the list of all documents of the knowledge base.
252
252
253
253
Args:
254
254
parent: string, Required. The knowledge base to list all documents for. Format: `projects//locations//knowledgeBases/`. (required)
255
+
filter: string, The filter expression used to filter documents returned by the list method. The expression has the following syntax: [AND ] ... The following fields and operators are supported: * knowledge_types with has(:) operator * display_name with has(:) operator * state with equals(=) operator Examples: * "knowledge_types:FAQ" matches documents with FAQ knowledge type. * "display_name:customer" matches documents whose display name contains "customer". * "state=ACTIVE" matches documents with ACTIVE state. * "knowledge_types:FAQ AND state=ACTIVE" matches all active FAQ documents. For more information about filtering, see [API Filtering](https://aip.dev/160).
255
256
pageSize: integer, The maximum number of items to return in a single page. By default 10 and at most 100.
256
257
pageToken: string, The next_page_token value returned from a previous list request.
257
258
x__xgafv: string, V1 error format.
@@ -386,6 +387,8 @@ <h3>Method Details</h3>
386
387
387
388
{ # Request message for Documents.ReloadDocument.
388
389
"contentUri": "A String", # Optional. The path of gcs source file for reloading document content. For now, only gcs uri is supported. For documents stored in Google Cloud Storage, these URIs must have the form `gs:///`.
390
+
"importGcsCustomMetadata": True or False, # Optional. Whether to import custom metadata from Google Cloud Storage. Only valid when the document source is Google Cloud Storage URI.
391
+
"smartMessagingPartialUpdate": True or False, # Optional. When enabled, the reload request is to apply partial update to the smart messaging allowlist.
<pre>Returns the list of all knowledge bases of the specified agent.
182
182
183
183
Args:
184
184
parent: string, Required. The project to list of knowledge bases for. Format: `projects//locations/`. (required)
185
+
filter: string, The filter expression used to filter knowledge bases returned by the list method. The expression has the following syntax: [AND ] ... The following fields and operators are supported: * display_name with has(:) operator * language_code with equals(=) operator Examples: * 'language_code=en-us' matches knowledge bases with en-us language code. * 'display_name:articles' matches knowledge bases whose display name contains "articles". * 'display_name:"Best Articles"' matches knowledge bases whose display name contains "Best Articles". * 'language_code=en-gb AND display_name=articles' matches all knowledge bases whose display name contains "articles" and whose language code is "en-gb". Note: An empty filter string (i.e. "") is a no-op and will result in no filtering. For more information about filtering, see [API Filtering](https://aip.dev/160).
185
186
pageSize: integer, The maximum number of items to return in a single page. By default 10 and at most 100.
186
187
pageToken: string, The next_page_token value returned from a previous list request.
0 commit comments