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

Commit

Permalink
Browse files Browse the repository at this point in the history
chore: upgrade gapic-generator-python to 0.46.3 (#155)
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 22, 2021
1 parent 7375f29 commit 046c368
Show file tree
Hide file tree
Showing 25 changed files with 1,129 additions and 1,011 deletions.
1 change: 0 additions & 1 deletion docs/bigquery_datatransfer_v1/data_transfer_service.rst
Expand Up @@ -5,7 +5,6 @@ DataTransferService
:members:
:inherited-members:


.. automodule:: google.cloud.bigquery_datatransfer_v1.services.data_transfer_service.pagers
:members:
:inherited-members:
18 changes: 9 additions & 9 deletions google/cloud/bigquery_datatransfer/__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_datatransfer_v1.services.data_transfer_service.async_client import (
DataTransferServiceAsyncClient,
)
from google.cloud.bigquery_datatransfer_v1.services.data_transfer_service.client import (
DataTransferServiceClient,
)
from google.cloud.bigquery_datatransfer_v1.services.data_transfer_service.async_client import (
DataTransferServiceAsyncClient,
)

from google.cloud.bigquery_datatransfer_v1.types.datatransfer import (
CheckValidCredsRequest,
)
Expand Down Expand Up @@ -95,16 +95,15 @@
from google.cloud.bigquery_datatransfer_v1.types.transfer import TransferType

__all__ = (
"DataTransferServiceClient",
"DataTransferServiceAsyncClient",
"CheckValidCredsRequest",
"CheckValidCredsResponse",
"CreateTransferConfigRequest",
"DataSource",
"DataSourceParameter",
"DataTransferServiceAsyncClient",
"DataTransferServiceClient",
"DeleteTransferConfigRequest",
"DeleteTransferRunRequest",
"EmailPreferences",
"GetDataSourceRequest",
"GetTransferConfigRequest",
"GetTransferRunRequest",
Expand All @@ -116,15 +115,16 @@
"ListTransferLogsResponse",
"ListTransferRunsRequest",
"ListTransferRunsResponse",
"ScheduleOptions",
"ScheduleTransferRunsRequest",
"ScheduleTransferRunsResponse",
"StartManualTransferRunsRequest",
"StartManualTransferRunsResponse",
"UpdateTransferConfigRequest",
"EmailPreferences",
"ScheduleOptions",
"TransferConfig",
"TransferMessage",
"TransferRun",
"TransferState",
"TransferType",
"UpdateTransferConfigRequest",
)
7 changes: 3 additions & 4 deletions google/cloud/bigquery_datatransfer_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 @@ -17,6 +16,7 @@

from .services.data_transfer_service import DataTransferServiceClient
from .services.data_transfer_service import DataTransferServiceAsyncClient

from .types.datatransfer import CheckValidCredsRequest
from .types.datatransfer import CheckValidCredsResponse
from .types.datatransfer import CreateTransferConfigRequest
Expand Down Expand Up @@ -48,13 +48,14 @@
from .types.transfer import TransferState
from .types.transfer import TransferType


__all__ = (
"DataTransferServiceAsyncClient",
"CheckValidCredsRequest",
"CheckValidCredsResponse",
"CreateTransferConfigRequest",
"DataSource",
"DataSourceParameter",
"DataTransferServiceClient",
"DeleteTransferConfigRequest",
"DeleteTransferRunRequest",
"EmailPreferences",
Expand All @@ -80,6 +81,4 @@
"TransferState",
"TransferType",
"UpdateTransferConfigRequest",
"DataTransferServiceClient",
"DataTransferServiceAsyncClient",
)
163 changes: 163 additions & 0 deletions google/cloud/bigquery_datatransfer_v1/gapic_metadata.json
@@ -0,0 +1,163 @@
{
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods",
"language": "python",
"libraryPackage": "google.cloud.bigquery_datatransfer_v1",
"protoPackage": "google.cloud.bigquery.datatransfer.v1",
"schema": "1.0",
"services": {
"DataTransferService": {
"clients": {
"grpc": {
"libraryClient": "DataTransferServiceClient",
"rpcs": {
"CheckValidCreds": {
"methods": [
"check_valid_creds"
]
},
"CreateTransferConfig": {
"methods": [
"create_transfer_config"
]
},
"DeleteTransferConfig": {
"methods": [
"delete_transfer_config"
]
},
"DeleteTransferRun": {
"methods": [
"delete_transfer_run"
]
},
"GetDataSource": {
"methods": [
"get_data_source"
]
},
"GetTransferConfig": {
"methods": [
"get_transfer_config"
]
},
"GetTransferRun": {
"methods": [
"get_transfer_run"
]
},
"ListDataSources": {
"methods": [
"list_data_sources"
]
},
"ListTransferConfigs": {
"methods": [
"list_transfer_configs"
]
},
"ListTransferLogs": {
"methods": [
"list_transfer_logs"
]
},
"ListTransferRuns": {
"methods": [
"list_transfer_runs"
]
},
"ScheduleTransferRuns": {
"methods": [
"schedule_transfer_runs"
]
},
"StartManualTransferRuns": {
"methods": [
"start_manual_transfer_runs"
]
},
"UpdateTransferConfig": {
"methods": [
"update_transfer_config"
]
}
}
},
"grpc-async": {
"libraryClient": "DataTransferServiceAsyncClient",
"rpcs": {
"CheckValidCreds": {
"methods": [
"check_valid_creds"
]
},
"CreateTransferConfig": {
"methods": [
"create_transfer_config"
]
},
"DeleteTransferConfig": {
"methods": [
"delete_transfer_config"
]
},
"DeleteTransferRun": {
"methods": [
"delete_transfer_run"
]
},
"GetDataSource": {
"methods": [
"get_data_source"
]
},
"GetTransferConfig": {
"methods": [
"get_transfer_config"
]
},
"GetTransferRun": {
"methods": [
"get_transfer_run"
]
},
"ListDataSources": {
"methods": [
"list_data_sources"
]
},
"ListTransferConfigs": {
"methods": [
"list_transfer_configs"
]
},
"ListTransferLogs": {
"methods": [
"list_transfer_logs"
]
},
"ListTransferRuns": {
"methods": [
"list_transfer_runs"
]
},
"ScheduleTransferRuns": {
"methods": [
"schedule_transfer_runs"
]
},
"StartManualTransferRuns": {
"methods": [
"start_manual_transfer_runs"
]
},
"UpdateTransferConfig": {
"methods": [
"update_transfer_config"
]
}
}
}
}
}
}
}
1 change: 0 additions & 1 deletion google/cloud/bigquery_datatransfer_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 DataTransferServiceClient
from .async_client import DataTransferServiceAsyncClient

Expand Down

0 comments on commit 046c368

Please sign in to comment.