Skip to content

Commit

Permalink
chore: upgrade gapic-generator-python to 0.46.3 (#155)
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 22, 2021
1 parent c7f8ad0 commit c83e37e
Show file tree
Hide file tree
Showing 25 changed files with 1,129 additions and 1,011 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ DataTransferService
:members:
:inherited-members:


.. automodule:: google.cloud.bigquery_datatransfer_v1.services.data_transfer_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_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",
)
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 @@ -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",
)
Original file line number Diff line number Diff line change
@@ -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"
]
}
}
}
}
}
}
}
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 DataTransferServiceClient
from .async_client import DataTransferServiceAsyncClient

Expand Down
Loading

0 comments on commit c83e37e

Please sign in to comment.