Skip to content

Commit f4a3a0f

Browse files
feat(dialogflow): update the api
#### dialogflow:v2 The following keys were added: - resources.projects.resources.agent.resources.knowledgeBases.methods.list.parameters.filter (Total Keys: 2) - resources.projects.resources.agent.resources.knowledgeBases.resources.documents.methods.list.parameters.filter (Total Keys: 2) - resources.projects.resources.conversations.resources.participants.resources.suggestions.methods.suggestSmartReplies (Total Keys: 12) - resources.projects.resources.knowledgeBases.methods.list.parameters.filter (Total Keys: 2) - resources.projects.resources.knowledgeBases.resources.documents.methods.export (Total Keys: 12) - resources.projects.resources.knowledgeBases.resources.documents.methods.list.parameters.filter (Total Keys: 2) - resources.projects.resources.locations.resources.conversations.resources.participants.resources.suggestions.methods.suggestSmartReplies (Total Keys: 12) - resources.projects.resources.locations.resources.knowledgeBases.methods.list.parameters.filter (Total Keys: 2) - resources.projects.resources.locations.resources.knowledgeBases.resources.documents.methods.export (Total Keys: 12) - resources.projects.resources.locations.resources.knowledgeBases.resources.documents.methods.list.parameters.filter (Total Keys: 2) - schemas.GoogleCloudDialogflowCxV3PageInfo.properties.displayName.type (Total Keys: 1) - schemas.GoogleCloudDialogflowCxV3beta1PageInfo.properties.displayName.type (Total Keys: 1) - schemas.GoogleCloudDialogflowV2ExportDocumentRequest (Total Keys: 5) - schemas.GoogleCloudDialogflowV2GcsDestination (Total Keys: 3) - schemas.GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationProcessConfig (Total Keys: 4) - schemas.GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfig.properties.conversationProcessConfig.$ref (Total Keys: 1) - schemas.GoogleCloudDialogflowV2Message.properties.sendTime (Total Keys: 2) - schemas.GoogleCloudDialogflowV2Message.properties.sentimentAnalysis (Total Keys: 2) - schemas.GoogleCloudDialogflowV2ReloadDocumentRequest.properties.importGcsCustomMetadata.type (Total Keys: 1) - schemas.GoogleCloudDialogflowV2ReloadDocumentRequest.properties.smartMessagingPartialUpdate.type (Total Keys: 1) - schemas.GoogleCloudDialogflowV2SmartReplyAnswer (Total Keys: 6) - schemas.GoogleCloudDialogflowV2SuggestSmartRepliesRequest (Total Keys: 6) - schemas.GoogleCloudDialogflowV2SuggestSmartRepliesResponse (Total Keys: 8) - schemas.GoogleCloudDialogflowV2SuggestionResult.properties.suggestSmartRepliesResponse.$ref (Total Keys: 1) #### dialogflow:v2beta1 The following keys were added: - schemas.GoogleCloudDialogflowCxV3PageInfo.properties.displayName.type (Total Keys: 1) - schemas.GoogleCloudDialogflowCxV3beta1PageInfo.properties.displayName.type (Total Keys: 1) - schemas.GoogleCloudDialogflowV2Message.properties.sendTime (Total Keys: 2) - schemas.GoogleCloudDialogflowV2Message.properties.sentimentAnalysis (Total Keys: 2) - schemas.GoogleCloudDialogflowV2SmartReplyAnswer (Total Keys: 6) - schemas.GoogleCloudDialogflowV2SuggestSmartRepliesResponse (Total Keys: 8) - schemas.GoogleCloudDialogflowV2SuggestionResult.properties.suggestSmartRepliesResponse.$ref (Total Keys: 1) - schemas.GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationProcessConfig (Total Keys: 4) - schemas.GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfig.properties.conversationProcessConfig.$ref (Total Keys: 1) #### dialogflow:v3 The following keys were added: - schemas.GoogleCloudDialogflowCxV3PageInfo.properties.displayName.type (Total Keys: 1) - schemas.GoogleCloudDialogflowCxV3beta1PageInfo.properties.displayName.type (Total Keys: 1) - schemas.GoogleCloudDialogflowV2Message.properties.sendTime (Total Keys: 2) - schemas.GoogleCloudDialogflowV2Message.properties.sentimentAnalysis (Total Keys: 2) - schemas.GoogleCloudDialogflowV2SmartReplyAnswer (Total Keys: 6) - schemas.GoogleCloudDialogflowV2SuggestSmartRepliesResponse (Total Keys: 8) - schemas.GoogleCloudDialogflowV2SuggestionResult.properties.suggestSmartRepliesResponse.$ref (Total Keys: 1) #### dialogflow:v3beta1 The following keys were added: - schemas.GoogleCloudDialogflowCxV3PageInfo.properties.displayName.type (Total Keys: 1) - schemas.GoogleCloudDialogflowCxV3beta1PageInfo.properties.displayName.type (Total Keys: 1) - schemas.GoogleCloudDialogflowV2Message.properties.sendTime (Total Keys: 2) - schemas.GoogleCloudDialogflowV2Message.properties.sentimentAnalysis (Total Keys: 2) - schemas.GoogleCloudDialogflowV2SmartReplyAnswer (Total Keys: 6) - schemas.GoogleCloudDialogflowV2SuggestSmartRepliesResponse (Total Keys: 8) - schemas.GoogleCloudDialogflowV2SuggestionResult.properties.suggestSmartRepliesResponse.$ref (Total Keys: 1)
1 parent e81db51 commit f4a3a0f

20 files changed

+954
-44
lines changed

docs/dyn/dialogflow_v2.projects.agent.knowledgeBases.documents.html

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ <h2>Instance Methods</h2>
8787
<code><a href="#get">get(name, x__xgafv=None)</a></code></p>
8888
<p class="firstline">Retrieves the specified document.</p>
8989
<p class="toc_element">
90-
<code><a href="#list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
90+
<code><a href="#list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
9191
<p class="firstline">Returns the list of all documents of the knowledge base.</p>
9292
<p class="toc_element">
9393
<code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
@@ -247,11 +247,12 @@ <h3>Method Details</h3>
247247
</div>
248248

249249
<div class="method">
250-
<code class="details" id="list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</code>
250+
<code class="details" id="list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
251251
<pre>Returns the list of all documents of the knowledge base.
252252

253253
Args:
254254
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: * &quot;knowledge_types:FAQ&quot; matches documents with FAQ knowledge type. * &quot;display_name:customer&quot; matches documents whose display name contains &quot;customer&quot;. * &quot;state=ACTIVE&quot; matches documents with ACTIVE state. * &quot;knowledge_types:FAQ AND state=ACTIVE&quot; matches all active FAQ documents. For more information about filtering, see [API Filtering](https://aip.dev/160).
255256
pageSize: integer, The maximum number of items to return in a single page. By default 10 and at most 100.
256257
pageToken: string, The next_page_token value returned from a previous list request.
257258
x__xgafv: string, V1 error format.
@@ -386,6 +387,8 @@ <h3>Method Details</h3>
386387

387388
{ # Request message for Documents.ReloadDocument.
388389
&quot;contentUri&quot;: &quot;A String&quot;, # 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+
&quot;importGcsCustomMetadata&quot;: 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+
&quot;smartMessagingPartialUpdate&quot;: True or False, # Optional. When enabled, the reload request is to apply partial update to the smart messaging allowlist.
389392
}
390393

391394
x__xgafv: string, V1 error format.

docs/dyn/dialogflow_v2.projects.agent.knowledgeBases.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ <h2>Instance Methods</h2>
9292
<code><a href="#get">get(name, x__xgafv=None)</a></code></p>
9393
<p class="firstline">Retrieves the specified knowledge base.</p>
9494
<p class="toc_element">
95-
<code><a href="#list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
95+
<code><a href="#list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
9696
<p class="firstline">Returns the list of all knowledge bases of the specified agent.</p>
9797
<p class="toc_element">
9898
<code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
@@ -177,11 +177,12 @@ <h3>Method Details</h3>
177177
</div>
178178

179179
<div class="method">
180-
<code class="details" id="list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</code>
180+
<code class="details" id="list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
181181
<pre>Returns the list of all knowledge bases of the specified agent.
182182

183183
Args:
184184
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: * &#x27;language_code=en-us&#x27; matches knowledge bases with en-us language code. * &#x27;display_name:articles&#x27; matches knowledge bases whose display name contains &quot;articles&quot;. * &#x27;display_name:&quot;Best Articles&quot;&#x27; matches knowledge bases whose display name contains &quot;Best Articles&quot;. * &#x27;language_code=en-gb AND display_name=articles&#x27; matches all knowledge bases whose display name contains &quot;articles&quot; and whose language code is &quot;en-gb&quot;. Note: An empty filter string (i.e. &quot;&quot;) is a no-op and will result in no filtering. For more information about filtering, see [API Filtering](https://aip.dev/160).
185186
pageSize: integer, The maximum number of items to return in a single page. By default 10 and at most 100.
186187
pageToken: string, The next_page_token value returned from a previous list request.
187188
x__xgafv: string, V1 error format.

0 commit comments

Comments
 (0)