Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9dc3d9d

Browse files
yoshi-automationbusunkim96
authored andcommitted
Retry DEADLINE_EXCEEDED (via synth). (googleapis#7920)
1 parent ab7cf1c commit 9dc3d9d

File tree

2 files changed

+19
-19
lines changed

2 files changed

+19
-19
lines changed

bigquery_datatransfer/google/cloud/bigquery_datatransfer_v1/gapic/data_transfer_service_client.py

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -84,15 +84,6 @@ def from_service_account_file(cls, filename, *args, **kwargs):
8484

8585
from_service_account_json = from_service_account_file
8686

87-
@classmethod
88-
def project_data_source_path(cls, project, data_source):
89-
"""Return a fully-qualified project_data_source string."""
90-
return google.api_core.path_template.expand(
91-
"projects/{project}/dataSources/{data_source}",
92-
project=project,
93-
data_source=data_source,
94-
)
95-
9687
@classmethod
9788
def project_path(cls, project):
9889
"""Return a fully-qualified project string."""
@@ -101,12 +92,12 @@ def project_path(cls, project):
10192
)
10293

10394
@classmethod
104-
def project_transfer_config_path(cls, project, transfer_config):
105-
"""Return a fully-qualified project_transfer_config string."""
95+
def project_data_source_path(cls, project, data_source):
96+
"""Return a fully-qualified project_data_source string."""
10697
return google.api_core.path_template.expand(
107-
"projects/{project}/transferConfigs/{transfer_config}",
98+
"projects/{project}/dataSources/{data_source}",
10899
project=project,
109-
transfer_config=transfer_config,
100+
data_source=data_source,
110101
)
111102

112103
@classmethod
@@ -119,6 +110,15 @@ def project_run_path(cls, project, transfer_config, run):
119110
run=run,
120111
)
121112

113+
@classmethod
114+
def project_transfer_config_path(cls, project, transfer_config):
115+
"""Return a fully-qualified project_transfer_config string."""
116+
return google.api_core.path_template.expand(
117+
"projects/{project}/transferConfigs/{transfer_config}",
118+
project=project,
119+
transfer_config=transfer_config,
120+
)
121+
122122
def __init__(
123123
self,
124124
transport=None,

bigquery_datatransfer/synth.metadata

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
11
{
2-
"updateTime": "2019-04-23T12:11:35.129747Z",
2+
"updateTime": "2019-05-10T12:14:28.552109Z",
33
"sources": [
44
{
55
"generator": {
66
"name": "artman",
7-
"version": "0.17.0",
8-
"dockerImage": "googleapis/artman@sha256:c58f4ec3838eb4e0718eb1bccc6512bd6850feaa85a360a9e38f6f848ec73bc2"
7+
"version": "0.19.0",
8+
"dockerImage": "googleapis/artman@sha256:d3df563538225ac6caac45d8ad86499500211d1bcb2536955a6dbda15e1b368e"
99
}
1010
},
1111
{
1212
"git": {
1313
"name": "googleapis",
1414
"remote": "https://github.com/googleapis/googleapis.git",
15-
"sha": "547e19e7df398e9290e8e3674d7351efc500f9b0",
16-
"internalRef": "244712781"
15+
"sha": "07883be5bf3c3233095e99d8e92b8094f5d7084a",
16+
"internalRef": "247530843"
1717
}
1818
},
1919
{
2020
"template": {
2121
"name": "python_library",
2222
"origin": "synthtool.gcp",
23-
"version": "2019.4.10"
23+
"version": "2019.5.2"
2424
}
2525
}
2626
],

0 commit comments

Comments
 (0)