docs: docs update (#911)
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
- [ ] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/google-api-python-client/issues/new/choose) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea
- [ ] Ensure the tests and linter pass
- [ ] Code coverage does not decrease (if any source code was changed)
- [ ] Appropriate docs were updated (if necessary)
Fixes #<issue_number_goes_here> 🦕
diff --git a/docs/dyn/dialogflow_v2beta1.projects.agent.knowledgeBases.html b/docs/dyn/dialogflow_v2beta1.projects.agent.knowledgeBases.html
index 98716b3..9377b9b 100644
--- a/docs/dyn/dialogflow_v2beta1.projects.agent.knowledgeBases.html
+++ b/docs/dyn/dialogflow_v2beta1.projects.agent.knowledgeBases.html
@@ -89,7 +89,7 @@
<code><a href="#get">get(name, x__xgafv=None)</a></code></p>
<p class="firstline">Retrieves the specified knowledge base.</p>
<p class="toc_element">
- <code><a href="#list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
+ <code><a href="#list">list(parent, pageToken=None, pageSize=None, x__xgafv=None)</a></code></p>
<p class="firstline">Returns the list of all knowledge bases of the specified agent.</p>
<p class="toc_element">
<code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
@@ -112,18 +112,18 @@
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>`.
- }
+ #
+ # Note: The `projects.agent.knowledgeBases` resource is deprecated;
+ # only use `projects.knowledgeBases`.
+ "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>`.
+ "displayName": "A String", # Required. The display name of the knowledge base. The name must be 1024
+ # bytes or less; otherwise, the creation request fails.
+ "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.
+}
x__xgafv: string, V1 error format.
Allowed values
@@ -134,18 +134,18 @@
An object of the form:
{ # 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>`.
- }</pre>
+ #
+ # Note: The `projects.agent.knowledgeBases` resource is deprecated;
+ # only use `projects.knowledgeBases`.
+ "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>`.
+ "displayName": "A String", # Required. The display name of the knowledge base. The name must be 1024
+ # bytes or less; otherwise, the creation request fails.
+ "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.
+ }</pre>
</div>
<div class="method">
@@ -199,22 +199,22 @@
An object of the form:
{ # 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>`.
- }</pre>
+ #
+ # Note: The `projects.agent.knowledgeBases` resource is deprecated;
+ # only use `projects.knowledgeBases`.
+ "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>`.
+ "displayName": "A String", # Required. The display name of the knowledge base. The name must be 1024
+ # bytes or less; otherwise, the creation request fails.
+ "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.
+ }</pre>
</div>
<div class="method">
- <code class="details" id="list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</code>
+ <code class="details" id="list">list(parent, pageToken=None, pageSize=None, x__xgafv=None)</code>
<pre>Returns the list of all knowledge bases of the specified agent.
Note: The `projects.agent.knowledgeBases` resource is deprecated;
@@ -223,9 +223,9 @@
Args:
parent: string, Required. The project to list of knowledge bases for.
Format: `projects/<Project ID>`. (required)
+ pageToken: string, Optional. The next_page_token value returned from a previous list request.
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.
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
@@ -235,22 +235,22 @@
An object of the form:
{ # Response message for KnowledgeBases.ListKnowledgeBases.
- "nextPageToken": "A String", # Token to retrieve the next page of results, or empty if there are no
+ "nextPageToken": "A String", # Token to retrieve the next page of results, or empty if there are no
# more results in the list.
- "knowledgeBases": [ # The list of knowledge bases.
+ "knowledgeBases": [ # The list of knowledge bases.
{ # 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>`.
- },
+ #
+ # Note: The `projects.agent.knowledgeBases` resource is deprecated;
+ # only use `projects.knowledgeBases`.
+ "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>`.
+ "displayName": "A String", # Required. The display name of the knowledge base. The name must be 1024
+ # bytes or less; otherwise, the creation request fails.
+ "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.
+ },
],
}</pre>
</div>
@@ -264,7 +264,7 @@
previous_response: The response from the request for the previous page. (required)
Returns:
- A request object that you can call 'execute()' on to request the next
+ A request object that you can call 'execute()' on to request the next
page. Returns None if there are no more items in the collection.
</pre>
</div>
@@ -284,18 +284,18 @@
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>`.
- }
+ #
+ # Note: The `projects.agent.knowledgeBases` resource is deprecated;
+ # only use `projects.knowledgeBases`.
+ "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>`.
+ "displayName": "A String", # Required. The display name of the knowledge base. The name must be 1024
+ # bytes or less; otherwise, the creation request fails.
+ "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.
+}
updateMask: string, Optional. Not specified means `update all`.
Currently, only `display_name` can be updated, an InvalidArgument will be
@@ -309,18 +309,18 @@
An object of the form:
{ # 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>`.
- }</pre>
+ #
+ # Note: The `projects.agent.knowledgeBases` resource is deprecated;
+ # only use `projects.knowledgeBases`.
+ "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>`.
+ "displayName": "A String", # Required. The display name of the knowledge base. The name must be 1024
+ # bytes or less; otherwise, the creation request fails.
+ "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.
+ }</pre>
</div>
</body></html>
\ No newline at end of file