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

Commit 94695fe

Browse files
chore: upgrade gapic-generator-python to 0.46.3 (#20)
PiperOrigin-RevId: 373649163 Source-Link: googleapis/googleapis@7e1b14e Source-Link: https://github.com/googleapis/googleapis-gen/commit/0a3c7d272d697796db75857bac73905c68e498c3 fix: add async client to %name_%version/init.py chore: add autogenerated snippets chore: remove auth, policy, and options from the reserved names list feat: support self-signed JWT flow for service accounts chore: enable GAPIC metadata generation chore: sort subpackages in %namespace/%name/init.py
1 parent 7cb318b commit 94695fe

File tree

22 files changed

+1043
-916
lines changed

22 files changed

+1043
-916
lines changed

docs/apigateway_v1/api_gateway_service.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ ApiGatewayService
55
:members:
66
:inherited-members:
77

8-
98
.. automodule:: google.cloud.apigateway_v1.services.api_gateway_service.pagers
109
:members:
1110
:inherited-members:

google/cloud/apigateway/__init__.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
32
# Copyright 2020 Google LLC
43
#
54
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -15,12 +14,13 @@
1514
# limitations under the License.
1615
#
1716

18-
from google.cloud.apigateway_v1.services.api_gateway_service.async_client import (
19-
ApiGatewayServiceAsyncClient,
20-
)
2117
from google.cloud.apigateway_v1.services.api_gateway_service.client import (
2218
ApiGatewayServiceClient,
2319
)
20+
from google.cloud.apigateway_v1.services.api_gateway_service.async_client import (
21+
ApiGatewayServiceAsyncClient,
22+
)
23+
2424
from google.cloud.apigateway_v1.types.apigateway import Api
2525
from google.cloud.apigateway_v1.types.apigateway import ApiConfig
2626
from google.cloud.apigateway_v1.types.apigateway import CreateApiConfigRequest
@@ -45,10 +45,10 @@
4545
from google.cloud.apigateway_v1.types.apigateway import UpdateGatewayRequest
4646

4747
__all__ = (
48+
"ApiGatewayServiceClient",
49+
"ApiGatewayServiceAsyncClient",
4850
"Api",
4951
"ApiConfig",
50-
"ApiGatewayServiceAsyncClient",
51-
"ApiGatewayServiceClient",
5252
"CreateApiConfigRequest",
5353
"CreateApiRequest",
5454
"CreateGatewayRequest",

google/cloud/apigateway_v1/__init__.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
32
# Copyright 2020 Google LLC
43
#
54
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -16,6 +15,8 @@
1615
#
1716

1817
from .services.api_gateway_service import ApiGatewayServiceClient
18+
from .services.api_gateway_service import ApiGatewayServiceAsyncClient
19+
1920
from .types.apigateway import Api
2021
from .types.apigateway import ApiConfig
2122
from .types.apigateway import CreateApiConfigRequest
@@ -39,10 +40,11 @@
3940
from .types.apigateway import UpdateApiRequest
4041
from .types.apigateway import UpdateGatewayRequest
4142

42-
4343
__all__ = (
44+
"ApiGatewayServiceAsyncClient",
4445
"Api",
4546
"ApiConfig",
47+
"ApiGatewayServiceClient",
4648
"CreateApiConfigRequest",
4749
"CreateApiRequest",
4850
"CreateGatewayRequest",
@@ -63,5 +65,4 @@
6365
"UpdateApiConfigRequest",
6466
"UpdateApiRequest",
6567
"UpdateGatewayRequest",
66-
"ApiGatewayServiceClient",
6768
)
Lines changed: 173 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,173 @@
1+
{
2+
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods",
3+
"language": "python",
4+
"libraryPackage": "google.cloud.apigateway_v1",
5+
"protoPackage": "google.cloud.apigateway.v1",
6+
"schema": "1.0",
7+
"services": {
8+
"ApiGatewayService": {
9+
"clients": {
10+
"grpc": {
11+
"libraryClient": "ApiGatewayServiceClient",
12+
"rpcs": {
13+
"CreateApi": {
14+
"methods": [
15+
"create_api"
16+
]
17+
},
18+
"CreateApiConfig": {
19+
"methods": [
20+
"create_api_config"
21+
]
22+
},
23+
"CreateGateway": {
24+
"methods": [
25+
"create_gateway"
26+
]
27+
},
28+
"DeleteApi": {
29+
"methods": [
30+
"delete_api"
31+
]
32+
},
33+
"DeleteApiConfig": {
34+
"methods": [
35+
"delete_api_config"
36+
]
37+
},
38+
"DeleteGateway": {
39+
"methods": [
40+
"delete_gateway"
41+
]
42+
},
43+
"GetApi": {
44+
"methods": [
45+
"get_api"
46+
]
47+
},
48+
"GetApiConfig": {
49+
"methods": [
50+
"get_api_config"
51+
]
52+
},
53+
"GetGateway": {
54+
"methods": [
55+
"get_gateway"
56+
]
57+
},
58+
"ListApiConfigs": {
59+
"methods": [
60+
"list_api_configs"
61+
]
62+
},
63+
"ListApis": {
64+
"methods": [
65+
"list_apis"
66+
]
67+
},
68+
"ListGateways": {
69+
"methods": [
70+
"list_gateways"
71+
]
72+
},
73+
"UpdateApi": {
74+
"methods": [
75+
"update_api"
76+
]
77+
},
78+
"UpdateApiConfig": {
79+
"methods": [
80+
"update_api_config"
81+
]
82+
},
83+
"UpdateGateway": {
84+
"methods": [
85+
"update_gateway"
86+
]
87+
}
88+
}
89+
},
90+
"grpc-async": {
91+
"libraryClient": "ApiGatewayServiceAsyncClient",
92+
"rpcs": {
93+
"CreateApi": {
94+
"methods": [
95+
"create_api"
96+
]
97+
},
98+
"CreateApiConfig": {
99+
"methods": [
100+
"create_api_config"
101+
]
102+
},
103+
"CreateGateway": {
104+
"methods": [
105+
"create_gateway"
106+
]
107+
},
108+
"DeleteApi": {
109+
"methods": [
110+
"delete_api"
111+
]
112+
},
113+
"DeleteApiConfig": {
114+
"methods": [
115+
"delete_api_config"
116+
]
117+
},
118+
"DeleteGateway": {
119+
"methods": [
120+
"delete_gateway"
121+
]
122+
},
123+
"GetApi": {
124+
"methods": [
125+
"get_api"
126+
]
127+
},
128+
"GetApiConfig": {
129+
"methods": [
130+
"get_api_config"
131+
]
132+
},
133+
"GetGateway": {
134+
"methods": [
135+
"get_gateway"
136+
]
137+
},
138+
"ListApiConfigs": {
139+
"methods": [
140+
"list_api_configs"
141+
]
142+
},
143+
"ListApis": {
144+
"methods": [
145+
"list_apis"
146+
]
147+
},
148+
"ListGateways": {
149+
"methods": [
150+
"list_gateways"
151+
]
152+
},
153+
"UpdateApi": {
154+
"methods": [
155+
"update_api"
156+
]
157+
},
158+
"UpdateApiConfig": {
159+
"methods": [
160+
"update_api_config"
161+
]
162+
},
163+
"UpdateGateway": {
164+
"methods": [
165+
"update_gateway"
166+
]
167+
}
168+
}
169+
}
170+
}
171+
}
172+
}
173+
}

google/cloud/apigateway_v1/services/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
32
# Copyright 2020 Google LLC
43
#
54
# Licensed under the Apache License, Version 2.0 (the "License");

google/cloud/apigateway_v1/services/api_gateway_service/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
32
# Copyright 2020 Google LLC
43
#
54
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,7 +13,6 @@
1413
# See the License for the specific language governing permissions and
1514
# limitations under the License.
1615
#
17-
1816
from .client import ApiGatewayServiceClient
1917
from .async_client import ApiGatewayServiceAsyncClient
2018

0 commit comments

Comments
 (0)