Skip to content

Commit

Permalink
docs: Fix formatting of request arg in docstring (#174)
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>
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Mar 23, 2023
1 parent 86093c8 commit 6ef16ed
Showing 3 changed files with 12 additions and 19 deletions.
Original file line number Diff line number Diff line change
@@ -264,8 +264,8 @@ async def sample_create_contact():
Args:
request (Optional[Union[google.cloud.essential_contacts_v1.types.CreateContactRequest, dict]]):
The request object. Request message for the
CreateContact method.
The request object. Request message for the CreateContact
method.
parent (:class:`str`):
Required. The resource to save this contact for. Format:
organizations/{organization_id}, folders/{folder_id} or
@@ -378,8 +378,8 @@ async def sample_update_contact():
Args:
request (Optional[Union[google.cloud.essential_contacts_v1.types.UpdateContactRequest, dict]]):
The request object. Request message for the
UpdateContact method.
The request object. Request message for the UpdateContact
method.
contact (:class:`google.cloud.essential_contacts_v1.types.Contact`):
Required. The contact resource to
replace the existing saved contact.
@@ -729,8 +729,8 @@ async def sample_delete_contact():
Args:
request (Optional[Union[google.cloud.essential_contacts_v1.types.DeleteContactRequest, dict]]):
The request object. Request message for the
DeleteContact method.
The request object. Request message for the DeleteContact
method.
name (:class:`str`):
Required. The name of the contact to delete. Format:
organizations/{organization_id}/contacts/{contact_id},
Original file line number Diff line number Diff line change
@@ -483,8 +483,8 @@ def sample_create_contact():
Args:
request (Union[google.cloud.essential_contacts_v1.types.CreateContactRequest, dict]):
The request object. Request message for the
CreateContact method.
The request object. Request message for the CreateContact
method.
parent (str):
Required. The resource to save this contact for. Format:
organizations/{organization_id}, folders/{folder_id} or
@@ -597,8 +597,8 @@ def sample_update_contact():
Args:
request (Union[google.cloud.essential_contacts_v1.types.UpdateContactRequest, dict]):
The request object. Request message for the
UpdateContact method.
The request object. Request message for the UpdateContact
method.
contact (google.cloud.essential_contacts_v1.types.Contact):
Required. The contact resource to
replace the existing saved contact.
@@ -930,8 +930,8 @@ def sample_delete_contact():
Args:
request (Union[google.cloud.essential_contacts_v1.types.DeleteContactRequest, dict]):
The request object. Request message for the
DeleteContact method.
The request object. Request message for the DeleteContact
method.
name (str):
Required. The name of the contact to delete. Format:
organizations/{organization_id}/contacts/{contact_id},
Original file line number Diff line number Diff line change
@@ -367,7 +367,6 @@ def __call__(
request (~.service.ComputeContactsRequest):
The request object. Request message for the
ComputeContacts method.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
@@ -467,7 +466,6 @@ def __call__(
request (~.service.CreateContactRequest):
The request object. Request message for the CreateContact
method.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
@@ -576,7 +574,6 @@ def __call__(
request (~.service.DeleteContactRequest):
The request object. Request message for the DeleteContact
method.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
@@ -660,7 +657,6 @@ def __call__(
request (~.service.GetContactRequest):
The request object. Request message for the GetContact
method.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
@@ -758,7 +754,6 @@ def __call__(
request (~.service.ListContactsRequest):
The request object. Request message for the ListContacts
method.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
@@ -856,7 +851,6 @@ def __call__(
request (~.service.SendTestMessageRequest):
The request object. Request message for the
SendTestMessage method.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
@@ -953,7 +947,6 @@ def __call__(
request (~.service.UpdateContactRequest):
The request object. Request message for the UpdateContact
method.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.

0 comments on commit 6ef16ed

Please sign in to comment.