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

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] committed May 14, 2021
1 parent a207246 commit 2f1db84
Show file tree
Hide file tree
Showing 21 changed files with 861 additions and 647 deletions.
1 change: 0 additions & 1 deletion docs/bigquery_connection_v1/connection_service.rst
Expand Up @@ -5,7 +5,6 @@ ConnectionService
:members:
:inherited-members:


.. automodule:: google.cloud.bigquery_connection_v1.services.connection_service.pagers
:members:
:inherited-members:
12 changes: 6 additions & 6 deletions google/cloud/bigquery_connection/__init__.py
@@ -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
7 changes: 4 additions & 3 deletions google/cloud/bigquery_connection_v1/__init__.py
@@ -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",
)
103 changes: 103 additions & 0 deletions google/cloud/bigquery_connection_v1/gapic_metadata.json
@@ -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"
]
}
}
}
}
}
}
}
1 change: 0 additions & 1 deletion google/cloud/bigquery_connection_v1/services/__init__.py
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-

# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
@@ -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

0 comments on commit 2f1db84

Please sign in to comment.