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

Commit f389e2d

Browse files
chore: Update gapic-generator-python to v1.6.1 (#7)
* 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 * add .release-please-manifest.json with correct version * 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 * 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 Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Anthonios Partheniou <[email protected]>
1 parent d5f9c57 commit f389e2d

File tree

23 files changed

+570
-332
lines changed

23 files changed

+570
-332
lines changed

.github/release-please.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
releaseType: python
22
handleGHRelease: true
3+
manifest: true

.release-please-manifest.json

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

docs/edgecontainer_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 Edgecontainer v1 API
33

44
.. automodule:: google.cloud.edgecontainer_v1.types
55
:members:
6-
:undoc-members:
76
:show-inheritance:
Lines changed: 113 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,113 @@
1+
# -*- coding: utf-8 -*-
2+
# Copyright 2022 Google LLC
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
#
16+
from google.cloud.edgecontainer import gapic_version as package_version
17+
18+
__version__ = package_version.__version__
19+
20+
21+
from google.cloud.edgecontainer_v1.services.edge_container.async_client import (
22+
EdgeContainerAsyncClient,
23+
)
24+
from google.cloud.edgecontainer_v1.services.edge_container.client import (
25+
EdgeContainerClient,
26+
)
27+
from google.cloud.edgecontainer_v1.types.resources import (
28+
Authorization,
29+
Cluster,
30+
ClusterNetworking,
31+
ClusterUser,
32+
Fleet,
33+
KmsKeyState,
34+
LocationMetadata,
35+
Machine,
36+
MaintenancePolicy,
37+
MaintenanceWindow,
38+
NodePool,
39+
Quota,
40+
RecurringTimeWindow,
41+
TimeWindow,
42+
VpnConnection,
43+
ZoneMetadata,
44+
)
45+
from google.cloud.edgecontainer_v1.types.service import (
46+
CreateClusterRequest,
47+
CreateNodePoolRequest,
48+
CreateVpnConnectionRequest,
49+
DeleteClusterRequest,
50+
DeleteNodePoolRequest,
51+
DeleteVpnConnectionRequest,
52+
GenerateAccessTokenRequest,
53+
GenerateAccessTokenResponse,
54+
GetClusterRequest,
55+
GetMachineRequest,
56+
GetNodePoolRequest,
57+
GetVpnConnectionRequest,
58+
ListClustersRequest,
59+
ListClustersResponse,
60+
ListMachinesRequest,
61+
ListMachinesResponse,
62+
ListNodePoolsRequest,
63+
ListNodePoolsResponse,
64+
ListVpnConnectionsRequest,
65+
ListVpnConnectionsResponse,
66+
OperationMetadata,
67+
UpdateClusterRequest,
68+
UpdateNodePoolRequest,
69+
)
70+
71+
__all__ = (
72+
"EdgeContainerClient",
73+
"EdgeContainerAsyncClient",
74+
"Authorization",
75+
"Cluster",
76+
"ClusterNetworking",
77+
"ClusterUser",
78+
"Fleet",
79+
"LocationMetadata",
80+
"Machine",
81+
"MaintenancePolicy",
82+
"MaintenanceWindow",
83+
"NodePool",
84+
"Quota",
85+
"RecurringTimeWindow",
86+
"TimeWindow",
87+
"VpnConnection",
88+
"ZoneMetadata",
89+
"KmsKeyState",
90+
"CreateClusterRequest",
91+
"CreateNodePoolRequest",
92+
"CreateVpnConnectionRequest",
93+
"DeleteClusterRequest",
94+
"DeleteNodePoolRequest",
95+
"DeleteVpnConnectionRequest",
96+
"GenerateAccessTokenRequest",
97+
"GenerateAccessTokenResponse",
98+
"GetClusterRequest",
99+
"GetMachineRequest",
100+
"GetNodePoolRequest",
101+
"GetVpnConnectionRequest",
102+
"ListClustersRequest",
103+
"ListClustersResponse",
104+
"ListMachinesRequest",
105+
"ListMachinesResponse",
106+
"ListNodePoolsRequest",
107+
"ListNodePoolsResponse",
108+
"ListVpnConnectionsRequest",
109+
"ListVpnConnectionsResponse",
110+
"OperationMetadata",
111+
"UpdateClusterRequest",
112+
"UpdateNodePoolRequest",
113+
)
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# -*- coding: utf-8 -*-
2+
# Copyright 2022 Google LLC
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
#
16+
__version__ = "0.2.1" # {x-release-please-version}

google/cloud/edgecontainer/py.typed

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Marker file for PEP 561.
2+
# The google-cloud-edgecontainer package uses inline types.

google/cloud/edgecontainer_v1/__init__.py

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

1721
from .services.edge_container import EdgeContainerAsyncClient, EdgeContainerClient
1822
from .types.resources import (

0 commit comments

Comments
 (0)