Skip to content

Commit

Permalink
docs: Fix formatting of request arg in docstring (#299)
Browse files Browse the repository at this point in the history
* docs: Fix formatting of request arg in docstring

chore: Update gapic-generator-python to v1.9.1
PiperOrigin-RevId: 518604533

Source-Link: googleapis/googleapis@8a085ae

Source-Link: googleapis/googleapis-gen@b2ab4b0
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYjJhYjRiMGEwYWUyOTA3ZTgxMmMyMDkxOThhNzRlMDg5OGFmY2IwNCJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Mar 23, 2023
1 parent 1dddf45 commit e172817
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 38 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -422,8 +422,7 @@ async def sample_update_conversation():
Args:
request (Optional[Union[google.cloud.contact_center_insights_v1.types.UpdateConversationRequest, dict]]):
The request object. The request to update a
conversation.
The request object. The request to update a conversation.
conversation (:class:`google.cloud.contact_center_insights_v1.types.Conversation`):
Required. The new values for the
conversation.
Expand Down Expand Up @@ -747,8 +746,7 @@ async def sample_delete_conversation():
Args:
request (Optional[Union[google.cloud.contact_center_insights_v1.types.DeleteConversationRequest, dict]]):
The request object. The request to delete a
conversation.
The request object. The request to delete a conversation.
name (:class:`str`):
Required. The name of the
conversation to delete.
Expand Down Expand Up @@ -1672,8 +1670,7 @@ async def sample_create_issue_model():
Args:
request (Optional[Union[google.cloud.contact_center_insights_v1.types.CreateIssueModelRequest, dict]]):
The request object. The request to create an issue
model.
The request object. The request to create an issue model.
parent (:class:`str`):
Required. The parent resource of the
issue model.
Expand Down Expand Up @@ -1794,8 +1791,7 @@ async def sample_update_issue_model():
Args:
request (Optional[Union[google.cloud.contact_center_insights_v1.types.UpdateIssueModelRequest, dict]]):
The request object. The request to update an issue
model.
The request object. The request to update an issue model.
issue_model (:class:`google.cloud.contact_center_insights_v1.types.IssueModel`):
Required. The new values for the
issue model.
Expand Down Expand Up @@ -2111,8 +2107,7 @@ async def sample_delete_issue_model():
Args:
request (Optional[Union[google.cloud.contact_center_insights_v1.types.DeleteIssueModelRequest, dict]]):
The request object. The request to delete an issue
model.
The request object. The request to delete an issue model.
name (:class:`str`):
Required. The name of the issue model
to delete.
Expand Down Expand Up @@ -2239,8 +2234,7 @@ async def sample_deploy_issue_model():
Args:
request (Optional[Union[google.cloud.contact_center_insights_v1.types.DeployIssueModelRequest, dict]]):
The request object. The request to deploy an issue
model.
The request object. The request to deploy an issue model.
name (:class:`str`):
Required. The issue model to deploy.
This corresponds to the ``name`` field
Expand Down Expand Up @@ -2874,8 +2868,8 @@ async def sample_calculate_issue_model_stats():
Args:
request (Optional[Union[google.cloud.contact_center_insights_v1.types.CalculateIssueModelStatsRequest, dict]]):
The request object. Request to get statistics of an
issue model.
The request object. Request to get statistics of an issue
model.
issue_model (:class:`str`):
Required. The resource name of the
issue model to query against.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -783,8 +783,7 @@ def sample_update_conversation():
Args:
request (Union[google.cloud.contact_center_insights_v1.types.UpdateConversationRequest, dict]):
The request object. The request to update a
conversation.
The request object. The request to update a conversation.
conversation (google.cloud.contact_center_insights_v1.types.Conversation):
Required. The new values for the
conversation.
Expand Down Expand Up @@ -1108,8 +1107,7 @@ def sample_delete_conversation():
Args:
request (Union[google.cloud.contact_center_insights_v1.types.DeleteConversationRequest, dict]):
The request object. The request to delete a
conversation.
The request object. The request to delete a conversation.
name (str):
Required. The name of the
conversation to delete.
Expand Down Expand Up @@ -2037,8 +2035,7 @@ def sample_create_issue_model():
Args:
request (Union[google.cloud.contact_center_insights_v1.types.CreateIssueModelRequest, dict]):
The request object. The request to create an issue
model.
The request object. The request to create an issue model.
parent (str):
Required. The parent resource of the
issue model.
Expand Down Expand Up @@ -2159,8 +2156,7 @@ def sample_update_issue_model():
Args:
request (Union[google.cloud.contact_center_insights_v1.types.UpdateIssueModelRequest, dict]):
The request object. The request to update an issue
model.
The request object. The request to update an issue model.
issue_model (google.cloud.contact_center_insights_v1.types.IssueModel):
Required. The new values for the
issue model.
Expand Down Expand Up @@ -2476,8 +2472,7 @@ def sample_delete_issue_model():
Args:
request (Union[google.cloud.contact_center_insights_v1.types.DeleteIssueModelRequest, dict]):
The request object. The request to delete an issue
model.
The request object. The request to delete an issue model.
name (str):
Required. The name of the issue model
to delete.
Expand Down Expand Up @@ -2604,8 +2599,7 @@ def sample_deploy_issue_model():
Args:
request (Union[google.cloud.contact_center_insights_v1.types.DeployIssueModelRequest, dict]):
The request object. The request to deploy an issue
model.
The request object. The request to deploy an issue model.
name (str):
Required. The issue model to deploy.
This corresponds to the ``name`` field
Expand Down Expand Up @@ -3239,8 +3233,8 @@ def sample_calculate_issue_model_stats():
Args:
request (Union[google.cloud.contact_center_insights_v1.types.CalculateIssueModelStatsRequest, dict]):
The request object. Request to get statistics of an
issue model.
The request object. Request to get statistics of an issue
model.
issue_model (str):
Required. The resource name of the
issue model to query against.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1429,7 +1429,6 @@ def __call__(
request (~.contact_center_insights.BulkAnalyzeConversationsRequest):
The request object. The request to analyze conversations
in bulk.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -1532,7 +1531,6 @@ def __call__(
request (~.contact_center_insights.CalculateIssueModelStatsRequest):
The request object. Request to get statistics of an issue
model.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -1626,7 +1624,6 @@ def __call__(
request (~.contact_center_insights.CalculateStatsRequest):
The request object. The request for calculating
conversation statistics.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -2512,7 +2509,6 @@ def __call__(
request (~.contact_center_insights.DeletePhraseMatcherRequest):
The request object. The request to delete a phrase
matcher.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -3206,7 +3202,6 @@ def __call__(
request (~.contact_center_insights.GetPhraseMatcherRequest):
The request object. The request to get a a phrase
matcher.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -3296,7 +3291,6 @@ def __call__(
request (~.contact_center_insights.GetSettingsRequest):
The request object. The request to get project-level
settings.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -4094,7 +4088,6 @@ def __call__(
request (~.contact_center_insights.UndeployIssueModelRequest):
The request object. The request to undeploy an issue
model.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -4483,7 +4476,6 @@ def __call__(
request (~.contact_center_insights.UpdatePhraseMatcherRequest):
The request object. The request to update a phrase
matcher.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -4584,7 +4576,6 @@ def __call__(
request (~.contact_center_insights.UpdateSettingsRequest):
The request object. The request to update project-level
settings.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
],
"language": "PYTHON",
"name": "google-cloud-contact-center-insights",
"version": "1.9.0"
"version": "0.1.0"
},
"snippets": [
{
Expand Down

0 comments on commit e172817

Please sign in to comment.