Skip to content
This repository has been archived by the owner on Sep 5, 2023. It is now read-only.

Commit

Permalink
docs: Fix formatting of request arg in docstring (#221)
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 1602995 commit e65988f
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 31 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -271,8 +271,8 @@ async def sample_create_catalog_item():
Args:
request (Optional[Union[google.cloud.recommendationengine_v1beta1.types.CreateCatalogItemRequest, dict]]):
The request object. Request message for
CreateCatalogItem method.
The request object. Request message for CreateCatalogItem
method.
parent (:class:`str`):
Required. The parent catalog resource name, such as
``projects/*/locations/global/catalogs/default_catalog``.
Expand Down Expand Up @@ -646,8 +646,8 @@ async def sample_update_catalog_item():
Args:
request (Optional[Union[google.cloud.recommendationengine_v1beta1.types.UpdateCatalogItemRequest, dict]]):
The request object. Request message for
UpdateCatalogItem method.
The request object. Request message for UpdateCatalogItem
method.
name (:class:`str`):
Required. Full resource name of catalog item, such as
``projects/*/locations/global/catalogs/default_catalog/catalogItems/some_catalog_item_id``.
Expand Down Expand Up @@ -774,8 +774,8 @@ async def sample_delete_catalog_item():
Args:
request (Optional[Union[google.cloud.recommendationengine_v1beta1.types.DeleteCatalogItemRequest, dict]]):
The request object. Request message for
DeleteCatalogItem method.
The request object. Request message for DeleteCatalogItem
method.
name (:class:`str`):
Required. Full resource name of catalog item, such as
``projects/*/locations/global/catalogs/default_catalog/catalogItems/some_catalog_item_id``.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -520,8 +520,8 @@ def sample_create_catalog_item():
Args:
request (Union[google.cloud.recommendationengine_v1beta1.types.CreateCatalogItemRequest, dict]):
The request object. Request message for
CreateCatalogItem method.
The request object. Request message for CreateCatalogItem
method.
parent (str):
Required. The parent catalog resource name, such as
``projects/*/locations/global/catalogs/default_catalog``.
Expand Down Expand Up @@ -865,8 +865,8 @@ def sample_update_catalog_item():
Args:
request (Union[google.cloud.recommendationengine_v1beta1.types.UpdateCatalogItemRequest, dict]):
The request object. Request message for
UpdateCatalogItem method.
The request object. Request message for UpdateCatalogItem
method.
name (str):
Required. Full resource name of catalog item, such as
``projects/*/locations/global/catalogs/default_catalog/catalogItems/some_catalog_item_id``.
Expand Down Expand Up @@ -983,8 +983,8 @@ def sample_delete_catalog_item():
Args:
request (Union[google.cloud.recommendationengine_v1beta1.types.DeleteCatalogItemRequest, dict]):
The request object. Request message for
DeleteCatalogItem method.
The request object. Request message for DeleteCatalogItem
method.
name (str):
Required. Full resource name of catalog item, such as
``projects/*/locations/global/catalogs/default_catalog/catalogItems/some_catalog_item_id``.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,6 @@ def __call__(
request (~.catalog_service.CreateCatalogItemRequest):
The request object. Request message for CreateCatalogItem
method.
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 @@ -527,7 +526,6 @@ def __call__(
request (~.catalog_service.DeleteCatalogItemRequest):
The request object. Request message for DeleteCatalogItem
method.
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 @@ -605,7 +603,6 @@ def __call__(
request (~.catalog_service.GetCatalogItemRequest):
The request object. Request message for GetCatalogItem
method.
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 @@ -795,7 +792,6 @@ def __call__(
request (~.catalog_service.ListCatalogItemsRequest):
The request object. Request message for ListCatalogItems
method.
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 @@ -887,7 +883,6 @@ def __call__(
request (~.catalog_service.UpdateCatalogItemRequest):
The request object. Request message for UpdateCatalogItem
method.
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 @@ -284,7 +284,7 @@ async def sample_create_prediction_api_key_registration():
Args:
request (Optional[Union[google.cloud.recommendationengine_v1beta1.types.CreatePredictionApiKeyRegistrationRequest, dict]]):
The request object. Request message for the
`CreatePredictionApiKeyRegistration` method.
``CreatePredictionApiKeyRegistration`` method.
parent (:class:`str`):
Required. The parent resource path.
``projects/*/locations/global/catalogs/default_catalog/eventStores/default_event_store``.
Expand Down Expand Up @@ -412,7 +412,7 @@ async def sample_list_prediction_api_key_registrations():
Args:
request (Optional[Union[google.cloud.recommendationengine_v1beta1.types.ListPredictionApiKeyRegistrationsRequest, dict]]):
The request object. Request message for the
`ListPredictionApiKeyRegistrations`.
``ListPredictionApiKeyRegistrations``.
parent (:class:`str`):
Required. The parent placement resource name such as
``projects/1234/locations/global/catalogs/default_catalog/eventStores/default_event_store``
Expand Down Expand Up @@ -542,7 +542,7 @@ async def sample_delete_prediction_api_key_registration():
Args:
request (Optional[Union[google.cloud.recommendationengine_v1beta1.types.DeletePredictionApiKeyRegistrationRequest, dict]]):
The request object. Request message for
`DeletePredictionApiKeyRegistration` method.
``DeletePredictionApiKeyRegistration`` method.
name (:class:`str`):
Required. The API key to unregister including full
resource path.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ def sample_create_prediction_api_key_registration():
Args:
request (Union[google.cloud.recommendationengine_v1beta1.types.CreatePredictionApiKeyRegistrationRequest, dict]):
The request object. Request message for the
`CreatePredictionApiKeyRegistration` method.
``CreatePredictionApiKeyRegistration`` method.
parent (str):
Required. The parent resource path.
``projects/*/locations/global/catalogs/default_catalog/eventStores/default_event_store``.
Expand Down Expand Up @@ -653,7 +653,7 @@ def sample_list_prediction_api_key_registrations():
Args:
request (Union[google.cloud.recommendationengine_v1beta1.types.ListPredictionApiKeyRegistrationsRequest, dict]):
The request object. Request message for the
`ListPredictionApiKeyRegistrations`.
``ListPredictionApiKeyRegistrations``.
parent (str):
Required. The parent placement resource name such as
``projects/1234/locations/global/catalogs/default_catalog/eventStores/default_event_store``
Expand Down Expand Up @@ -776,7 +776,7 @@ def sample_delete_prediction_api_key_registration():
Args:
request (Union[google.cloud.recommendationengine_v1beta1.types.DeletePredictionApiKeyRegistrationRequest, dict]):
The request object. Request message for
`DeletePredictionApiKeyRegistration` method.
``DeletePredictionApiKeyRegistration`` method.
name (str):
Required. The API key to unregister including full
resource path.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,6 @@ def __call__(
request (~.prediction_apikey_registry_service.CreatePredictionApiKeyRegistrationRequest):
The request object. Request message for the
``CreatePredictionApiKeyRegistration`` method.
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 @@ -404,7 +403,6 @@ def __call__(
request (~.prediction_apikey_registry_service.DeletePredictionApiKeyRegistrationRequest):
The request object. Request message for
``DeletePredictionApiKeyRegistration`` method.
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 @@ -488,7 +486,6 @@ def __call__(
request (~.prediction_apikey_registry_service.ListPredictionApiKeyRegistrationsRequest):
The request object. Request message for the
``ListPredictionApiKeyRegistrations``.
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 @@ -412,7 +412,6 @@ def __call__(
request (~.user_event_service.CollectUserEventRequest):
The request object. Request message for CollectUserEvent
method.
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 @@ -551,7 +550,6 @@ def __call__(
request (~.import_.ImportUserEventsRequest):
The request object. Request message for the
ImportUserEvents request.
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 @@ -651,7 +649,6 @@ def __call__(
request (~.user_event_service.ListUserEventsRequest):
The request object. Request message for ListUserEvents
method.
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 @@ -743,7 +740,6 @@ def __call__(
request (~.user_event_service.PurgeUserEventsRequest):
The request object. Request message for PurgeUserEvents
method.
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 @@ -843,7 +839,6 @@ def __call__(
request (~.user_event_service.WriteUserEventRequest):
The request object. Request message for WriteUserEvent
method.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down

0 comments on commit e65988f

Please sign in to comment.