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

Commit 2f1db84

Browse files
chore: upgrade gapic-generator-python to 0.46.3 (#75)
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 a207246 commit 2f1db84

File tree

21 files changed

+861
-647
lines changed

21 files changed

+861
-647
lines changed

docs/bigquery_connection_v1/connection_service.rst

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

8-
98
.. automodule:: google.cloud.bigquery_connection_v1.services.connection_service.pagers
109
:members:
1110
:inherited-members:

google/cloud/bigquery_connection/__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.bigquery_connection_v1.services.connection_service.async_client import (
19-
ConnectionServiceAsyncClient,
20-
)
2117
from google.cloud.bigquery_connection_v1.services.connection_service.client import (
2218
ConnectionServiceClient,
2319
)
20+
from google.cloud.bigquery_connection_v1.services.connection_service.async_client import (
21+
ConnectionServiceAsyncClient,
22+
)
23+
2424
from google.cloud.bigquery_connection_v1.types.connection import AwsCrossAccountRole
2525
from google.cloud.bigquery_connection_v1.types.connection import AwsProperties
2626
from google.cloud.bigquery_connection_v1.types.connection import CloudSqlCredential
@@ -34,13 +34,13 @@
3434
from google.cloud.bigquery_connection_v1.types.connection import UpdateConnectionRequest
3535

3636
__all__ = (
37+
"ConnectionServiceClient",
38+
"ConnectionServiceAsyncClient",
3739
"AwsCrossAccountRole",
3840
"AwsProperties",
3941
"CloudSqlCredential",
4042
"CloudSqlProperties",
4143
"Connection",
42-
"ConnectionServiceAsyncClient",
43-
"ConnectionServiceClient",
4444
"CreateConnectionRequest",
4545
"DeleteConnectionRequest",
4646
"GetConnectionRequest",

google/cloud/bigquery_connection_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.connection_service import ConnectionServiceClient
18+
from .services.connection_service import ConnectionServiceAsyncClient
19+
1920
from .types.connection import AwsCrossAccountRole
2021
from .types.connection import AwsProperties
2122
from .types.connection import CloudSqlCredential
@@ -28,18 +29,18 @@
2829
from .types.connection import ListConnectionsResponse
2930
from .types.connection import UpdateConnectionRequest
3031

31-
3232
__all__ = (
33+
"ConnectionServiceAsyncClient",
3334
"AwsCrossAccountRole",
3435
"AwsProperties",
3536
"CloudSqlCredential",
3637
"CloudSqlProperties",
3738
"Connection",
39+
"ConnectionServiceClient",
3840
"CreateConnectionRequest",
3941
"DeleteConnectionRequest",
4042
"GetConnectionRequest",
4143
"ListConnectionsRequest",
4244
"ListConnectionsResponse",
4345
"UpdateConnectionRequest",
44-
"ConnectionServiceClient",
4546
)
Lines changed: 103 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
1+
{
2+
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods",
3+
"language": "python",
4+
"libraryPackage": "google.cloud.bigquery_connection_v1",
5+
"protoPackage": "google.cloud.bigquery.connection.v1",
6+
"schema": "1.0",
7+
"services": {
8+
"ConnectionService": {
9+
"clients": {
10+
"grpc": {
11+
"libraryClient": "ConnectionServiceClient",
12+
"rpcs": {
13+
"CreateConnection": {
14+
"methods": [
15+
"create_connection"
16+
]
17+
},
18+
"DeleteConnection": {
19+
"methods": [
20+
"delete_connection"
21+
]
22+
},
23+
"GetConnection": {
24+
"methods": [
25+
"get_connection"
26+
]
27+
},
28+
"GetIamPolicy": {
29+
"methods": [
30+
"get_iam_policy"
31+
]
32+
},
33+
"ListConnections": {
34+
"methods": [
35+
"list_connections"
36+
]
37+
},
38+
"SetIamPolicy": {
39+
"methods": [
40+
"set_iam_policy"
41+
]
42+
},
43+
"TestIamPermissions": {
44+
"methods": [
45+
"test_iam_permissions"
46+
]
47+
},
48+
"UpdateConnection": {
49+
"methods": [
50+
"update_connection"
51+
]
52+
}
53+
}
54+
},
55+
"grpc-async": {
56+
"libraryClient": "ConnectionServiceAsyncClient",
57+
"rpcs": {
58+
"CreateConnection": {
59+
"methods": [
60+
"create_connection"
61+
]
62+
},
63+
"DeleteConnection": {
64+
"methods": [
65+
"delete_connection"
66+
]
67+
},
68+
"GetConnection": {
69+
"methods": [
70+
"get_connection"
71+
]
72+
},
73+
"GetIamPolicy": {
74+
"methods": [
75+
"get_iam_policy"
76+
]
77+
},
78+
"ListConnections": {
79+
"methods": [
80+
"list_connections"
81+
]
82+
},
83+
"SetIamPolicy": {
84+
"methods": [
85+
"set_iam_policy"
86+
]
87+
},
88+
"TestIamPermissions": {
89+
"methods": [
90+
"test_iam_permissions"
91+
]
92+
},
93+
"UpdateConnection": {
94+
"methods": [
95+
"update_connection"
96+
]
97+
}
98+
}
99+
}
100+
}
101+
}
102+
}
103+
}

google/cloud/bigquery_connection_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/bigquery_connection_v1/services/connection_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 ConnectionServiceClient
1917
from .async_client import ConnectionServiceAsyncClient
2018

0 commit comments

Comments
 (0)