Skip to content
This repository was archived by the owner on Jul 6, 2023. It is now read-only.

Commit f234644

Browse files
chore: Update gapic-generator-python to v1.6.1 (#225)
* chore: update to gapic-generator-python 1.5.0 feat: add support for `google.cloud.<api>.__version__` PiperOrigin-RevId: 484665853 Source-Link: googleapis/googleapis@8eb249a Source-Link: https://github.com/googleapis/googleapis-gen/commit/c8aa327b5f478865fc3fd91e3c2768e54e26ad44 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYzhhYTMyN2I1ZjQ3ODg2NWZjM2ZkOTFlM2MyNzY4ZTU0ZTI2YWQ0NCJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * update version in gapic_version.py * add .release-please-manifest.json with correct version * set manifest to true in .github/release-please.yml * add release-please-config.json * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * chore: Update to gapic-generator-python 1.6.0 feat(python): Add typing to proto.Message based class attributes feat(python): Snippetgen handling of repeated enum field PiperOrigin-RevId: 487326846 Source-Link: googleapis/googleapis@da380c7 Source-Link: https://github.com/googleapis/googleapis-gen/commit/61ef5762ee6731a0cbbfea22fd0eecee51ab1c8e Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNjFlZjU3NjJlZTY3MzFhMGNiYmZlYTIyZmQwZWVjZWU1MWFiMWM4ZSJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * feat: new APIs added to reflect updates to the filestore service - Add ENTERPRISE Tier - Add snapshot APIs: RevertInstance, ListSnapshots, CreateSnapshot, DeleteSnapshot, UpdateSnapshot - Add multi-share APIs: ListShares, GetShare, CreateShare, DeleteShare, UpdateShare - Add ConnectMode to NetworkConfig (for Private Service Access support) - New status codes (SUSPENDED/SUSPENDING, REVERTING/RESUMING) - Add SuspensionReason (for KMS related suspension) - Add new fields to Instance information: max_capacity_gb, capacity_step_size_gb, max_share_count, capacity_gb, multi_share_enabled PiperOrigin-RevId: 487492758 Source-Link: googleapis/googleapis@5be5981 Source-Link: https://github.com/googleapis/googleapis-gen/commit/ab0e217f560cc2c1afc11441c2eab6b6950efd2b Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYWIwZTIxN2Y1NjBjYzJjMWFmYzExNDQxYzJlYWI2YjY5NTBlZmQyYiJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * update path to snippet metadata json * chore: Update gapic-generator-python to v1.6.1 PiperOrigin-RevId: 488036204 Source-Link: googleapis/googleapis@08f275f Source-Link: https://github.com/googleapis/googleapis-gen/commit/555c0945e60649e38739ae64bc45719cdf72178f Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNTU1YzA5NDVlNjA2NDllMzg3MzlhZTY0YmM0NTcxOWNkZjcyMTc4ZiJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * use templated owlbot.py and setup.py * configure release-please to use manifest * run nox format session Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Anthonios Partheniou <partheniou@google.com>
1 parent 1b7a3b2 commit f234644

File tree

91 files changed

+1647
-2872
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

91 files changed

+1647
-2872
lines changed

.github/release-please.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
releaseType: python
22
handleGHRelease: true
3+
manifest: true
34
# NOTE: this section is generated by synthtool.languages.python
45
# See https://github.com/googleapis/synthtool/blob/master/synthtool/languages/python.py
56
branches:

.release-please-manifest.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
".": "1.7.4"
3+
}

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
# All configuration values have a default; values that are commented out
2525
# serve to show the default.
2626

27-
import sys
2827
import os
2928
import shlex
29+
import sys
3030

3131
# If extensions (or modules to document with autodoc) are in another directory,
3232
# add these directories to sys.path here. If the directory is relative to the

docs/executions_v1/types.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,4 @@ Types for Google Cloud Workflows Executions v1 API
33

44
.. automodule:: google.cloud.workflows.executions_v1.types
55
:members:
6-
:undoc-members:
76
:show-inheritance:

docs/executions_v1beta/types.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,4 @@ Types for Google Cloud Workflows Executions v1beta API
33

44
.. automodule:: google.cloud.workflows.executions_v1beta.types
55
:members:
6-
:undoc-members:
76
:show-inheritance:

docs/index.rst

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,12 @@
22

33
.. include:: multiprocessing.rst
44

5-
This package includes clients for multiple versions of the Workflows API By default, you will get ``v1``, the latest version.
5+
This package includes clients for multiple versions of Cloud Workflows.
6+
By default, you will get version ``workflows_v1``.
67

7-
v1
8-
---
8+
9+
API Reference
10+
-------------
911
.. toctree::
1012
:maxdepth: 2
1113

@@ -14,9 +16,7 @@ v1
1416
workflows_v1/types
1517
executions_v1/types
1618

17-
The previous beta release, spelled ``v1beta`` is provided to continue to support code previously written against it. In order to use it, you will want to import from it e.g., ``google.cloud.workflows_v1`` in lieu of ``google.cloud.workflows`` (or the equivalent ``google.cloud.workflows_v1``).
18-
19-
v1beta
19+
API Reference
2020
-------------
2121
.. toctree::
2222
:maxdepth: 2
@@ -26,12 +26,13 @@ v1beta
2626
workflows_v1beta/types
2727
executions_v1beta/types
2828

29+
2930
Changelog
3031
---------
3132

3233
For a list of all ``google-cloud-workflows`` releases:
3334

3435
.. toctree::
35-
:maxdepth: 2
36+
:maxdepth: 2
3637

37-
changelog
38+
changelog

docs/workflows_v1/types.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,4 @@ Types for Google Cloud Workflows v1 API
33

44
.. automodule:: google.cloud.workflows_v1.types
55
:members:
6-
:undoc-members:
76
:show-inheritance:

docs/workflows_v1beta/types.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,4 @@ Types for Google Cloud Workflows v1beta API
33

44
.. automodule:: google.cloud.workflows_v1beta.types
55
:members:
6-
:undoc-members:
76
:show-inheritance:

google/cloud/workflows/__init__.py

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,25 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16+
from google.cloud.workflows import gapic_version as package_version
17+
18+
__version__ = package_version.__version__
19+
1620

17-
from google.cloud.workflows_v1.services.workflows.client import WorkflowsClient
1821
from google.cloud.workflows_v1.services.workflows.async_client import (
1922
WorkflowsAsyncClient,
2023
)
21-
22-
from google.cloud.workflows_v1.types.workflows import CreateWorkflowRequest
23-
from google.cloud.workflows_v1.types.workflows import DeleteWorkflowRequest
24-
from google.cloud.workflows_v1.types.workflows import GetWorkflowRequest
25-
from google.cloud.workflows_v1.types.workflows import ListWorkflowsRequest
26-
from google.cloud.workflows_v1.types.workflows import ListWorkflowsResponse
27-
from google.cloud.workflows_v1.types.workflows import OperationMetadata
28-
from google.cloud.workflows_v1.types.workflows import UpdateWorkflowRequest
29-
from google.cloud.workflows_v1.types.workflows import Workflow
24+
from google.cloud.workflows_v1.services.workflows.client import WorkflowsClient
25+
from google.cloud.workflows_v1.types.workflows import (
26+
CreateWorkflowRequest,
27+
DeleteWorkflowRequest,
28+
GetWorkflowRequest,
29+
ListWorkflowsRequest,
30+
ListWorkflowsResponse,
31+
OperationMetadata,
32+
UpdateWorkflowRequest,
33+
Workflow,
34+
)
3035

3136
__all__ = (
3237
"WorkflowsClient",

google/cloud/workflows/executions/__init__.py

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,27 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16+
from google.cloud.workflows.executions import gapic_version as package_version
1617

18+
__version__ = package_version.__version__
19+
20+
21+
from google.cloud.workflows.executions_v1.services.executions.async_client import (
22+
ExecutionsAsyncClient,
23+
)
1724
from google.cloud.workflows.executions_v1.services.executions.client import (
1825
ExecutionsClient,
1926
)
20-
from google.cloud.workflows.executions_v1.services.executions.async_client import (
21-
ExecutionsAsyncClient,
27+
from google.cloud.workflows.executions_v1.types.executions import (
28+
CancelExecutionRequest,
29+
CreateExecutionRequest,
30+
Execution,
31+
ExecutionView,
32+
GetExecutionRequest,
33+
ListExecutionsRequest,
34+
ListExecutionsResponse,
2235
)
2336

24-
from google.cloud.workflows.executions_v1.types.executions import CancelExecutionRequest
25-
from google.cloud.workflows.executions_v1.types.executions import CreateExecutionRequest
26-
from google.cloud.workflows.executions_v1.types.executions import Execution
27-
from google.cloud.workflows.executions_v1.types.executions import GetExecutionRequest
28-
from google.cloud.workflows.executions_v1.types.executions import ListExecutionsRequest
29-
from google.cloud.workflows.executions_v1.types.executions import ListExecutionsResponse
30-
from google.cloud.workflows.executions_v1.types.executions import ExecutionView
31-
3237
__all__ = (
3338
"ExecutionsClient",
3439
"ExecutionsAsyncClient",

0 commit comments

Comments
 (0)