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

Commit fe5836e

Browse files
chore: upgrade gapic-generator-python to 0.46.3 (#46)
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 6222fff commit fe5836e

File tree

20 files changed

+875
-607
lines changed

20 files changed

+875
-607
lines changed

docs/tables_v1alpha1/tables_service.rst

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

8-
98
.. automodule:: google.area120.tables_v1alpha1.services.tables_service.pagers
109
:members:
1110
:inherited-members:

google/area120/tables/__init__.py

Lines changed: 8 additions & 8 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.area120.tables_v1alpha1.services.tables_service.async_client import (
19-
TablesServiceAsyncClient,
20-
)
2117
from google.area120.tables_v1alpha1.services.tables_service.client import (
2218
TablesServiceClient,
2319
)
20+
from google.area120.tables_v1alpha1.services.tables_service.async_client import (
21+
TablesServiceAsyncClient,
22+
)
23+
2424
from google.area120.tables_v1alpha1.types.tables import BatchCreateRowsRequest
2525
from google.area120.tables_v1alpha1.types.tables import BatchCreateRowsResponse
2626
from google.area120.tables_v1alpha1.types.tables import BatchDeleteRowsRequest
@@ -44,10 +44,12 @@
4444
from google.area120.tables_v1alpha1.types.tables import Row
4545
from google.area120.tables_v1alpha1.types.tables import Table
4646
from google.area120.tables_v1alpha1.types.tables import UpdateRowRequest
47-
from google.area120.tables_v1alpha1.types.tables import View
4847
from google.area120.tables_v1alpha1.types.tables import Workspace
48+
from google.area120.tables_v1alpha1.types.tables import View
4949

5050
__all__ = (
51+
"TablesServiceClient",
52+
"TablesServiceAsyncClient",
5153
"BatchCreateRowsRequest",
5254
"BatchCreateRowsResponse",
5355
"BatchDeleteRowsRequest",
@@ -70,9 +72,7 @@
7072
"RelationshipDetails",
7173
"Row",
7274
"Table",
73-
"TablesServiceAsyncClient",
74-
"TablesServiceClient",
7575
"UpdateRowRequest",
76-
"View",
7776
"Workspace",
77+
"View",
7878
)

google/area120/tables_v1alpha1/__init__.py

Lines changed: 5 additions & 4 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.tables_service import TablesServiceClient
18+
from .services.tables_service import TablesServiceAsyncClient
19+
1920
from .types.tables import BatchCreateRowsRequest
2021
from .types.tables import BatchCreateRowsResponse
2122
from .types.tables import BatchDeleteRowsRequest
@@ -39,11 +40,11 @@
3940
from .types.tables import Row
4041
from .types.tables import Table
4142
from .types.tables import UpdateRowRequest
42-
from .types.tables import View
4343
from .types.tables import Workspace
44-
44+
from .types.tables import View
4545

4646
__all__ = (
47+
"TablesServiceAsyncClient",
4748
"BatchCreateRowsRequest",
4849
"BatchCreateRowsResponse",
4950
"BatchDeleteRowsRequest",
@@ -66,8 +67,8 @@
6667
"RelationshipDetails",
6768
"Row",
6869
"Table",
70+
"TablesServiceClient",
6971
"UpdateRowRequest",
7072
"View",
7173
"Workspace",
72-
"TablesServiceClient",
7374
)
Lines changed: 143 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,143 @@
1+
{
2+
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods",
3+
"language": "python",
4+
"libraryPackage": "google.area120.tables_v1alpha1",
5+
"protoPackage": "google.area120.tables.v1alpha1",
6+
"schema": "1.0",
7+
"services": {
8+
"TablesService": {
9+
"clients": {
10+
"grpc": {
11+
"libraryClient": "TablesServiceClient",
12+
"rpcs": {
13+
"BatchCreateRows": {
14+
"methods": [
15+
"batch_create_rows"
16+
]
17+
},
18+
"BatchDeleteRows": {
19+
"methods": [
20+
"batch_delete_rows"
21+
]
22+
},
23+
"BatchUpdateRows": {
24+
"methods": [
25+
"batch_update_rows"
26+
]
27+
},
28+
"CreateRow": {
29+
"methods": [
30+
"create_row"
31+
]
32+
},
33+
"DeleteRow": {
34+
"methods": [
35+
"delete_row"
36+
]
37+
},
38+
"GetRow": {
39+
"methods": [
40+
"get_row"
41+
]
42+
},
43+
"GetTable": {
44+
"methods": [
45+
"get_table"
46+
]
47+
},
48+
"GetWorkspace": {
49+
"methods": [
50+
"get_workspace"
51+
]
52+
},
53+
"ListRows": {
54+
"methods": [
55+
"list_rows"
56+
]
57+
},
58+
"ListTables": {
59+
"methods": [
60+
"list_tables"
61+
]
62+
},
63+
"ListWorkspaces": {
64+
"methods": [
65+
"list_workspaces"
66+
]
67+
},
68+
"UpdateRow": {
69+
"methods": [
70+
"update_row"
71+
]
72+
}
73+
}
74+
},
75+
"grpc-async": {
76+
"libraryClient": "TablesServiceAsyncClient",
77+
"rpcs": {
78+
"BatchCreateRows": {
79+
"methods": [
80+
"batch_create_rows"
81+
]
82+
},
83+
"BatchDeleteRows": {
84+
"methods": [
85+
"batch_delete_rows"
86+
]
87+
},
88+
"BatchUpdateRows": {
89+
"methods": [
90+
"batch_update_rows"
91+
]
92+
},
93+
"CreateRow": {
94+
"methods": [
95+
"create_row"
96+
]
97+
},
98+
"DeleteRow": {
99+
"methods": [
100+
"delete_row"
101+
]
102+
},
103+
"GetRow": {
104+
"methods": [
105+
"get_row"
106+
]
107+
},
108+
"GetTable": {
109+
"methods": [
110+
"get_table"
111+
]
112+
},
113+
"GetWorkspace": {
114+
"methods": [
115+
"get_workspace"
116+
]
117+
},
118+
"ListRows": {
119+
"methods": [
120+
"list_rows"
121+
]
122+
},
123+
"ListTables": {
124+
"methods": [
125+
"list_tables"
126+
]
127+
},
128+
"ListWorkspaces": {
129+
"methods": [
130+
"list_workspaces"
131+
]
132+
},
133+
"UpdateRow": {
134+
"methods": [
135+
"update_row"
136+
]
137+
}
138+
}
139+
}
140+
}
141+
}
142+
}
143+
}

google/area120/tables_v1alpha1/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/area120/tables_v1alpha1/services/tables_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 TablesServiceClient
1917
from .async_client import TablesServiceAsyncClient
2018

0 commit comments

Comments
 (0)