Skip to content

Commit

Permalink
chore: upgrade gapic-generator-python to 0.46.3 (#75)
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 373649163

Source-Link: googleapis/googleapis@7e1b14e

Source-Link: googleapis/googleapis-gen@0a3c7d2

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
  • Loading branch information
gcf-owl-bot[bot] authored May 14, 2021
1 parent d11a52e commit 841f84a
Show file tree
Hide file tree
Showing 21 changed files with 861 additions and 647 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ ConnectionService
:members:
:inherited-members:


.. automodule:: google.cloud.bigquery_connection_v1.services.connection_service.pagers
:members:
:inherited-members:
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-

# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -15,12 +14,13 @@
# limitations under the License.
#

from google.cloud.bigquery_connection_v1.services.connection_service.async_client import (
ConnectionServiceAsyncClient,
)
from google.cloud.bigquery_connection_v1.services.connection_service.client import (
ConnectionServiceClient,
)
from google.cloud.bigquery_connection_v1.services.connection_service.async_client import (
ConnectionServiceAsyncClient,
)

from google.cloud.bigquery_connection_v1.types.connection import AwsCrossAccountRole
from google.cloud.bigquery_connection_v1.types.connection import AwsProperties
from google.cloud.bigquery_connection_v1.types.connection import CloudSqlCredential
Expand All @@ -34,13 +34,13 @@
from google.cloud.bigquery_connection_v1.types.connection import UpdateConnectionRequest

__all__ = (
"ConnectionServiceClient",
"ConnectionServiceAsyncClient",
"AwsCrossAccountRole",
"AwsProperties",
"CloudSqlCredential",
"CloudSqlProperties",
"Connection",
"ConnectionServiceAsyncClient",
"ConnectionServiceClient",
"CreateConnectionRequest",
"DeleteConnectionRequest",
"GetConnectionRequest",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-

# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -16,6 +15,8 @@
#

from .services.connection_service import ConnectionServiceClient
from .services.connection_service import ConnectionServiceAsyncClient

from .types.connection import AwsCrossAccountRole
from .types.connection import AwsProperties
from .types.connection import CloudSqlCredential
Expand All @@ -28,18 +29,18 @@
from .types.connection import ListConnectionsResponse
from .types.connection import UpdateConnectionRequest


__all__ = (
"ConnectionServiceAsyncClient",
"AwsCrossAccountRole",
"AwsProperties",
"CloudSqlCredential",
"CloudSqlProperties",
"Connection",
"ConnectionServiceClient",
"CreateConnectionRequest",
"DeleteConnectionRequest",
"GetConnectionRequest",
"ListConnectionsRequest",
"ListConnectionsResponse",
"UpdateConnectionRequest",
"ConnectionServiceClient",
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
{
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods",
"language": "python",
"libraryPackage": "google.cloud.bigquery_connection_v1",
"protoPackage": "google.cloud.bigquery.connection.v1",
"schema": "1.0",
"services": {
"ConnectionService": {
"clients": {
"grpc": {
"libraryClient": "ConnectionServiceClient",
"rpcs": {
"CreateConnection": {
"methods": [
"create_connection"
]
},
"DeleteConnection": {
"methods": [
"delete_connection"
]
},
"GetConnection": {
"methods": [
"get_connection"
]
},
"GetIamPolicy": {
"methods": [
"get_iam_policy"
]
},
"ListConnections": {
"methods": [
"list_connections"
]
},
"SetIamPolicy": {
"methods": [
"set_iam_policy"
]
},
"TestIamPermissions": {
"methods": [
"test_iam_permissions"
]
},
"UpdateConnection": {
"methods": [
"update_connection"
]
}
}
},
"grpc-async": {
"libraryClient": "ConnectionServiceAsyncClient",
"rpcs": {
"CreateConnection": {
"methods": [
"create_connection"
]
},
"DeleteConnection": {
"methods": [
"delete_connection"
]
},
"GetConnection": {
"methods": [
"get_connection"
]
},
"GetIamPolicy": {
"methods": [
"get_iam_policy"
]
},
"ListConnections": {
"methods": [
"list_connections"
]
},
"SetIamPolicy": {
"methods": [
"set_iam_policy"
]
},
"TestIamPermissions": {
"methods": [
"test_iam_permissions"
]
},
"UpdateConnection": {
"methods": [
"update_connection"
]
}
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-

# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-

# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -14,7 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#

from .client import ConnectionServiceClient
from .async_client import ConnectionServiceAsyncClient

Expand Down
Loading

0 comments on commit 841f84a

Please sign in to comment.