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

Commit

Permalink
feat: generate v2alpha/v2beta (#226)
Browse files Browse the repository at this point in the history
* feat: generate v2alpha/v2beta

* chore: fix docstring formatting
  • Loading branch information
parthea authored May 19, 2022
1 parent 4a1ed55 commit 78953f8
Show file tree
Hide file tree
Showing 386 changed files with 136,536 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .github/.OwlBot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@ docker:
deep-remove-regex:
- /owl-bot-staging

deep-preserve-regex:
- /owl-bot-staging/v2alpha
- /owl-bot-staging/v2beta

deep-copy-regex:
- source: /google/cloud/retail/(v.*)/.*-py/(.*)
dest: /owl-bot-staging/$1/$2
Expand Down
19 changes: 19 additions & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

.. include:: multiprocessing.rst

This package includes clients for multiple versions of Retail API.
By default, you will get version ``retail_v2``.


API Reference
-------------
Expand All @@ -11,6 +14,22 @@ API Reference
retail_v2/services
retail_v2/types

API Reference
-------------
.. toctree::
:maxdepth: 2

retail_v2alpha/services
retail_v2alpha/types

API Reference
-------------
.. toctree::
:maxdepth: 2

retail_v2beta/services
retail_v2beta/types


Changelog
---------
Expand Down
10 changes: 10 additions & 0 deletions docs/retail_v2alpha/catalog_service.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
CatalogService
--------------------------------

.. automodule:: google.cloud.retail_v2alpha.services.catalog_service
:members:
:inherited-members:

.. automodule:: google.cloud.retail_v2alpha.services.catalog_service.pagers
:members:
:inherited-members:
6 changes: 6 additions & 0 deletions docs/retail_v2alpha/completion_service.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
CompletionService
-----------------------------------

.. automodule:: google.cloud.retail_v2alpha.services.completion_service
:members:
:inherited-members:
10 changes: 10 additions & 0 deletions docs/retail_v2alpha/control_service.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
ControlService
--------------------------------

.. automodule:: google.cloud.retail_v2alpha.services.control_service
:members:
:inherited-members:

.. automodule:: google.cloud.retail_v2alpha.services.control_service.pagers
:members:
:inherited-members:
6 changes: 6 additions & 0 deletions docs/retail_v2alpha/prediction_service.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
PredictionService
-----------------------------------

.. automodule:: google.cloud.retail_v2alpha.services.prediction_service
:members:
:inherited-members:
10 changes: 10 additions & 0 deletions docs/retail_v2alpha/product_service.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
ProductService
--------------------------------

.. automodule:: google.cloud.retail_v2alpha.services.product_service
:members:
:inherited-members:

.. automodule:: google.cloud.retail_v2alpha.services.product_service.pagers
:members:
:inherited-members:
10 changes: 10 additions & 0 deletions docs/retail_v2alpha/search_service.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
SearchService
-------------------------------

.. automodule:: google.cloud.retail_v2alpha.services.search_service
:members:
:inherited-members:

.. automodule:: google.cloud.retail_v2alpha.services.search_service.pagers
:members:
:inherited-members:
13 changes: 13 additions & 0 deletions docs/retail_v2alpha/services.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Services for Google Cloud Retail v2alpha API
============================================
.. toctree::
:maxdepth: 2

catalog_service
completion_service
control_service
prediction_service
product_service
search_service
serving_config_service
user_event_service
10 changes: 10 additions & 0 deletions docs/retail_v2alpha/serving_config_service.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
ServingConfigService
--------------------------------------

.. automodule:: google.cloud.retail_v2alpha.services.serving_config_service
:members:
:inherited-members:

.. automodule:: google.cloud.retail_v2alpha.services.serving_config_service.pagers
:members:
:inherited-members:
7 changes: 7 additions & 0 deletions docs/retail_v2alpha/types.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Types for Google Cloud Retail v2alpha API
=========================================

.. automodule:: google.cloud.retail_v2alpha.types
:members:
:undoc-members:
:show-inheritance:
6 changes: 6 additions & 0 deletions docs/retail_v2alpha/user_event_service.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
UserEventService
----------------------------------

.. automodule:: google.cloud.retail_v2alpha.services.user_event_service
:members:
:inherited-members:
10 changes: 10 additions & 0 deletions docs/retail_v2beta/catalog_service.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
CatalogService
--------------------------------

.. automodule:: google.cloud.retail_v2beta.services.catalog_service
:members:
:inherited-members:

.. automodule:: google.cloud.retail_v2beta.services.catalog_service.pagers
:members:
:inherited-members:
6 changes: 6 additions & 0 deletions docs/retail_v2beta/completion_service.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
CompletionService
-----------------------------------

.. automodule:: google.cloud.retail_v2beta.services.completion_service
:members:
:inherited-members:
10 changes: 10 additions & 0 deletions docs/retail_v2beta/control_service.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
ControlService
--------------------------------

.. automodule:: google.cloud.retail_v2beta.services.control_service
:members:
:inherited-members:

.. automodule:: google.cloud.retail_v2beta.services.control_service.pagers
:members:
:inherited-members:
6 changes: 6 additions & 0 deletions docs/retail_v2beta/prediction_service.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
PredictionService
-----------------------------------

.. automodule:: google.cloud.retail_v2beta.services.prediction_service
:members:
:inherited-members:
10 changes: 10 additions & 0 deletions docs/retail_v2beta/product_service.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
ProductService
--------------------------------

.. automodule:: google.cloud.retail_v2beta.services.product_service
:members:
:inherited-members:

.. automodule:: google.cloud.retail_v2beta.services.product_service.pagers
:members:
:inherited-members:
10 changes: 10 additions & 0 deletions docs/retail_v2beta/search_service.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
SearchService
-------------------------------

.. automodule:: google.cloud.retail_v2beta.services.search_service
:members:
:inherited-members:

.. automodule:: google.cloud.retail_v2beta.services.search_service.pagers
:members:
:inherited-members:
13 changes: 13 additions & 0 deletions docs/retail_v2beta/services.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Services for Google Cloud Retail v2beta API
===========================================
.. toctree::
:maxdepth: 2

catalog_service
completion_service
control_service
prediction_service
product_service
search_service
serving_config_service
user_event_service
10 changes: 10 additions & 0 deletions docs/retail_v2beta/serving_config_service.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
ServingConfigService
--------------------------------------

.. automodule:: google.cloud.retail_v2beta.services.serving_config_service
:members:
:inherited-members:

.. automodule:: google.cloud.retail_v2beta.services.serving_config_service.pagers
:members:
:inherited-members:
7 changes: 7 additions & 0 deletions docs/retail_v2beta/types.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Types for Google Cloud Retail v2beta API
========================================

.. automodule:: google.cloud.retail_v2beta.types
:members:
:undoc-members:
:show-inheritance:
6 changes: 6 additions & 0 deletions docs/retail_v2beta/user_event_service.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
UserEventService
----------------------------------

.. automodule:: google.cloud.retail_v2beta.services.user_event_service
:members:
:inherited-members:
Loading

0 comments on commit 78953f8

Please sign in to comment.