chore: regens API reference docs (#889)
diff --git a/docs/dyn/dialogflow_v2beta1.projects.agent.knowledgeBases.html b/docs/dyn/dialogflow_v2beta1.projects.agent.knowledgeBases.html
index 1ef0626..98716b3 100644
--- a/docs/dyn/dialogflow_v2beta1.projects.agent.knowledgeBases.html
+++ b/docs/dyn/dialogflow_v2beta1.projects.agent.knowledgeBases.html
@@ -80,7 +80,7 @@
<p class="firstline">Returns the documents Resource.</p>
<p class="toc_element">
- <code><a href="#create">create(parent, body, x__xgafv=None)</a></code></p>
+ <code><a href="#create">create(parent, body=None, x__xgafv=None)</a></code></p>
<p class="firstline">Creates a knowledge base.</p>
<p class="toc_element">
<code><a href="#delete">delete(name, force=None, x__xgafv=None)</a></code></p>
@@ -95,11 +95,11 @@
<code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
<p class="firstline">Retrieves the next page of results.</p>
<p class="toc_element">
- <code><a href="#patch">patch(name, body, updateMask=None, x__xgafv=None)</a></code></p>
+ <code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
<p class="firstline">Updates the specified knowledge base.</p>
<h3>Method Details</h3>
<div class="method">
- <code class="details" id="create">create(parent, body, x__xgafv=None)</code>
+ <code class="details" id="create">create(parent, body=None, x__xgafv=None)</code>
<pre>Creates a knowledge base.
Note: The `projects.agent.knowledgeBases` resource is deprecated;
@@ -107,19 +107,22 @@
Args:
parent: string, Required. The project to create a knowledge base for.
-Format: `projects/<Project ID>`. (required)
- body: object, The request body. (required)
+Format: `projects/<Project ID>`. (required)
+ body: object, The request body.
The object takes the form of:
{ # Represents knowledge base resource.
#
# Note: The `projects.agent.knowledgeBases` resource is deprecated;
# only use `projects.knowledgeBases`.
+ "languageCode": "A String", # Language which represents the KnowledgeBase. When the KnowledgeBase is
+ # created/updated, this is populated for all non en-us languages. If not
+ # populated, the default language en-us applies.
"displayName": "A String", # Required. The display name of the knowledge base. The name must be 1024
# bytes or less; otherwise, the creation request fails.
"name": "A String", # The knowledge base resource name.
# The name must be empty when creating a knowledge base.
- # Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`.
+ # Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`.
}
x__xgafv: string, V1 error format.
@@ -134,11 +137,14 @@
#
# Note: The `projects.agent.knowledgeBases` resource is deprecated;
# only use `projects.knowledgeBases`.
+ "languageCode": "A String", # Language which represents the KnowledgeBase. When the KnowledgeBase is
+ # created/updated, this is populated for all non en-us languages. If not
+ # populated, the default language en-us applies.
"displayName": "A String", # Required. The display name of the knowledge base. The name must be 1024
# bytes or less; otherwise, the creation request fails.
"name": "A String", # The knowledge base resource name.
# The name must be empty when creating a knowledge base.
- # Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`.
+ # Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`.
}</pre>
</div>
@@ -151,7 +157,7 @@
Args:
name: string, Required. The name of the knowledge base to delete.
-Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`. (required)
+Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`. (required)
force: boolean, Optional. Force deletes the knowledge base. When set to true, any documents
in the knowledge base are also deleted.
x__xgafv: string, V1 error format.
@@ -183,7 +189,7 @@
Args:
name: string, Required. The name of the knowledge base to retrieve.
-Format `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`. (required)
+Format `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`. (required)
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
@@ -196,11 +202,14 @@
#
# Note: The `projects.agent.knowledgeBases` resource is deprecated;
# only use `projects.knowledgeBases`.
+ "languageCode": "A String", # Language which represents the KnowledgeBase. When the KnowledgeBase is
+ # created/updated, this is populated for all non en-us languages. If not
+ # populated, the default language en-us applies.
"displayName": "A String", # Required. The display name of the knowledge base. The name must be 1024
# bytes or less; otherwise, the creation request fails.
"name": "A String", # The knowledge base resource name.
# The name must be empty when creating a knowledge base.
- # Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`.
+ # Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`.
}</pre>
</div>
@@ -213,7 +222,7 @@
Args:
parent: string, Required. The project to list of knowledge bases for.
-Format: `projects/<Project ID>`. (required)
+Format: `projects/<Project ID>`. (required)
pageSize: integer, Optional. The maximum number of items to return in a single page. By
default 10 and at most 100.
pageToken: string, Optional. The next_page_token value returned from a previous list request.
@@ -233,11 +242,14 @@
#
# Note: The `projects.agent.knowledgeBases` resource is deprecated;
# only use `projects.knowledgeBases`.
+ "languageCode": "A String", # Language which represents the KnowledgeBase. When the KnowledgeBase is
+ # created/updated, this is populated for all non en-us languages. If not
+ # populated, the default language en-us applies.
"displayName": "A String", # Required. The display name of the knowledge base. The name must be 1024
# bytes or less; otherwise, the creation request fails.
"name": "A String", # The knowledge base resource name.
# The name must be empty when creating a knowledge base.
- # Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`.
+ # Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`.
},
],
}</pre>
@@ -258,7 +270,7 @@
</div>
<div class="method">
- <code class="details" id="patch">patch(name, body, updateMask=None, x__xgafv=None)</code>
+ <code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
<pre>Updates the specified knowledge base.
Note: The `projects.agent.knowledgeBases` resource is deprecated;
@@ -267,19 +279,22 @@
Args:
name: string, The knowledge base resource name.
The name must be empty when creating a knowledge base.
-Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`. (required)
- body: object, The request body. (required)
+Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`. (required)
+ body: object, The request body.
The object takes the form of:
{ # Represents knowledge base resource.
#
# Note: The `projects.agent.knowledgeBases` resource is deprecated;
# only use `projects.knowledgeBases`.
+ "languageCode": "A String", # Language which represents the KnowledgeBase. When the KnowledgeBase is
+ # created/updated, this is populated for all non en-us languages. If not
+ # populated, the default language en-us applies.
"displayName": "A String", # Required. The display name of the knowledge base. The name must be 1024
# bytes or less; otherwise, the creation request fails.
"name": "A String", # The knowledge base resource name.
# The name must be empty when creating a knowledge base.
- # Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`.
+ # Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`.
}
updateMask: string, Optional. Not specified means `update all`.
@@ -297,11 +312,14 @@
#
# Note: The `projects.agent.knowledgeBases` resource is deprecated;
# only use `projects.knowledgeBases`.
+ "languageCode": "A String", # Language which represents the KnowledgeBase. When the KnowledgeBase is
+ # created/updated, this is populated for all non en-us languages. If not
+ # populated, the default language en-us applies.
"displayName": "A String", # Required. The display name of the knowledge base. The name must be 1024
# bytes or less; otherwise, the creation request fails.
"name": "A String", # The knowledge base resource name.
# The name must be empty when creating a knowledge base.
- # Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`.
+ # Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`.
}</pre>
</div>