Skip to content

Commit 7fcf1e7

Browse files
chore: upgrade gapic-generator-python to 0.39.1 (#96)
This PR was generated using Autosynth. 🌈 Synth log will be available here: https://source.cloud.google.com/results/invocations/5e826317-fa5c-433f-b9a3-f421ae6c6cee/targets - [ ] To automatically regenerate this PR, check this box. PiperOrigin-RevId: 350246057 Source-Link: googleapis/googleapis@5206824
1 parent dd82660 commit 7fcf1e7

11 files changed

Lines changed: 303 additions & 233 deletions

File tree

Lines changed: 7 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,18 @@
1-
# -*- coding: utf-8 -*-
2-
#
3-
# Copyright 2020 Google LLC
4-
#
5-
# Licensed under the Apache License, Version 2.0 (the "License");
6-
# you may not use this file except in compliance with the License.
7-
# You may obtain a copy of the License at
8-
#
9-
# https://www.apache.org/licenses/LICENSE-2.0
10-
#
11-
# Unless required by applicable law or agreed to in writing, software
12-
# distributed under the License is distributed on an "AS IS" BASIS,
13-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14-
# See the License for the specific language governing permissions and
15-
# limitations under the License.
16-
17-
# Generated by synthtool. DO NOT EDIT!
181
[run]
192
branch = True
203

214
[report]
225
fail_under = 100
236
show_missing = True
7+
omit =
8+
google/cloud/bigquery_datatransfer/__init__.py
249
exclude_lines =
2510
# Re-enable the standard pragma
2611
pragma: NO COVER
2712
# Ignore debug-only repr
2813
def __repr__
29-
# Ignore abstract methods
30-
raise NotImplementedError
31-
omit =
32-
*/gapic/*.py
33-
*/proto/*.py
34-
*/core/*.py
35-
*/site-packages/*.py
14+
# Ignore pkg_resources exceptions.
15+
# This is added at the module level as a safeguard for if someone
16+
# generates the code and tries to run it without pip installing. This
17+
# makes it virtually impossible to test properly.
18+
except pkg_resources.DistributionNotFound
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
DataTransferService
2+
-------------------------------------
3+
4+
.. automodule:: google.cloud.bigquery_datatransfer_v1.services.data_transfer_service
5+
:members:
6+
:inherited-members:
7+
8+
9+
.. automodule:: google.cloud.bigquery_datatransfer_v1.services.data_transfer_service.pagers
10+
:members:
11+
:inherited-members:
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Services for Google Cloud Bigquery Datatransfer v1 API
22
======================================================
3+
.. toctree::
4+
:maxdepth: 2
35

4-
.. automodule:: google.cloud.bigquery_datatransfer_v1.services.data_transfer_service
5-
:members:
6-
:inherited-members:
6+
data_transfer_service

packages/google-cloud-bigquery-datatransfer/docs/bigquery_datatransfer_v1/types.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ Types for Google Cloud Bigquery Datatransfer v1 API
33

44
.. automodule:: google.cloud.bigquery_datatransfer_v1.types
55
:members:
6+
:undoc-members:
67
:show-inheritance:

packages/google-cloud-bigquery-datatransfer/google/cloud/bigquery_datatransfer_v1/services/data_transfer_service/async_client.py

Lines changed: 73 additions & 52 deletions
Large diffs are not rendered by default.

packages/google-cloud-bigquery-datatransfer/google/cloud/bigquery_datatransfer_v1/services/data_transfer_service/client.py

Lines changed: 103 additions & 67 deletions
Large diffs are not rendered by default.

packages/google-cloud-bigquery-datatransfer/google/cloud/bigquery_datatransfer_v1/services/data_transfer_service/pagers.py

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class ListDataSourcesPager:
2525
"""A pager for iterating through ``list_data_sources`` requests.
2626
2727
This class thinly wraps an initial
28-
:class:`~.datatransfer.ListDataSourcesResponse` object, and
28+
:class:`google.cloud.bigquery_datatransfer_v1.types.ListDataSourcesResponse` object, and
2929
provides an ``__iter__`` method to iterate through its
3030
``data_sources`` field.
3131
@@ -34,7 +34,7 @@ class ListDataSourcesPager:
3434
through the ``data_sources`` field on the
3535
corresponding responses.
3636
37-
All the usual :class:`~.datatransfer.ListDataSourcesResponse`
37+
All the usual :class:`google.cloud.bigquery_datatransfer_v1.types.ListDataSourcesResponse`
3838
attributes are available on the pager. If multiple requests are made, only
3939
the most recent response is retained, and thus used for attribute lookup.
4040
"""
@@ -52,9 +52,9 @@ def __init__(
5252
Args:
5353
method (Callable): The method that was originally called, and
5454
which instantiated this pager.
55-
request (:class:`~.datatransfer.ListDataSourcesRequest`):
55+
request (google.cloud.bigquery_datatransfer_v1.types.ListDataSourcesRequest):
5656
The initial request object.
57-
response (:class:`~.datatransfer.ListDataSourcesResponse`):
57+
response (google.cloud.bigquery_datatransfer_v1.types.ListDataSourcesResponse):
5858
The initial response object.
5959
metadata (Sequence[Tuple[str, str]]): Strings which should be
6060
sent along with the request as metadata.
@@ -87,7 +87,7 @@ class ListDataSourcesAsyncPager:
8787
"""A pager for iterating through ``list_data_sources`` requests.
8888
8989
This class thinly wraps an initial
90-
:class:`~.datatransfer.ListDataSourcesResponse` object, and
90+
:class:`google.cloud.bigquery_datatransfer_v1.types.ListDataSourcesResponse` object, and
9191
provides an ``__aiter__`` method to iterate through its
9292
``data_sources`` field.
9393
@@ -96,7 +96,7 @@ class ListDataSourcesAsyncPager:
9696
through the ``data_sources`` field on the
9797
corresponding responses.
9898
99-
All the usual :class:`~.datatransfer.ListDataSourcesResponse`
99+
All the usual :class:`google.cloud.bigquery_datatransfer_v1.types.ListDataSourcesResponse`
100100
attributes are available on the pager. If multiple requests are made, only
101101
the most recent response is retained, and thus used for attribute lookup.
102102
"""
@@ -114,9 +114,9 @@ def __init__(
114114
Args:
115115
method (Callable): The method that was originally called, and
116116
which instantiated this pager.
117-
request (:class:`~.datatransfer.ListDataSourcesRequest`):
117+
request (google.cloud.bigquery_datatransfer_v1.types.ListDataSourcesRequest):
118118
The initial request object.
119-
response (:class:`~.datatransfer.ListDataSourcesResponse`):
119+
response (google.cloud.bigquery_datatransfer_v1.types.ListDataSourcesResponse):
120120
The initial response object.
121121
metadata (Sequence[Tuple[str, str]]): Strings which should be
122122
sent along with the request as metadata.
@@ -153,7 +153,7 @@ class ListTransferConfigsPager:
153153
"""A pager for iterating through ``list_transfer_configs`` requests.
154154
155155
This class thinly wraps an initial
156-
:class:`~.datatransfer.ListTransferConfigsResponse` object, and
156+
:class:`google.cloud.bigquery_datatransfer_v1.types.ListTransferConfigsResponse` object, and
157157
provides an ``__iter__`` method to iterate through its
158158
``transfer_configs`` field.
159159
@@ -162,7 +162,7 @@ class ListTransferConfigsPager:
162162
through the ``transfer_configs`` field on the
163163
corresponding responses.
164164
165-
All the usual :class:`~.datatransfer.ListTransferConfigsResponse`
165+
All the usual :class:`google.cloud.bigquery_datatransfer_v1.types.ListTransferConfigsResponse`
166166
attributes are available on the pager. If multiple requests are made, only
167167
the most recent response is retained, and thus used for attribute lookup.
168168
"""
@@ -180,9 +180,9 @@ def __init__(
180180
Args:
181181
method (Callable): The method that was originally called, and
182182
which instantiated this pager.
183-
request (:class:`~.datatransfer.ListTransferConfigsRequest`):
183+
request (google.cloud.bigquery_datatransfer_v1.types.ListTransferConfigsRequest):
184184
The initial request object.
185-
response (:class:`~.datatransfer.ListTransferConfigsResponse`):
185+
response (google.cloud.bigquery_datatransfer_v1.types.ListTransferConfigsResponse):
186186
The initial response object.
187187
metadata (Sequence[Tuple[str, str]]): Strings which should be
188188
sent along with the request as metadata.
@@ -215,7 +215,7 @@ class ListTransferConfigsAsyncPager:
215215
"""A pager for iterating through ``list_transfer_configs`` requests.
216216
217217
This class thinly wraps an initial
218-
:class:`~.datatransfer.ListTransferConfigsResponse` object, and
218+
:class:`google.cloud.bigquery_datatransfer_v1.types.ListTransferConfigsResponse` object, and
219219
provides an ``__aiter__`` method to iterate through its
220220
``transfer_configs`` field.
221221
@@ -224,7 +224,7 @@ class ListTransferConfigsAsyncPager:
224224
through the ``transfer_configs`` field on the
225225
corresponding responses.
226226
227-
All the usual :class:`~.datatransfer.ListTransferConfigsResponse`
227+
All the usual :class:`google.cloud.bigquery_datatransfer_v1.types.ListTransferConfigsResponse`
228228
attributes are available on the pager. If multiple requests are made, only
229229
the most recent response is retained, and thus used for attribute lookup.
230230
"""
@@ -242,9 +242,9 @@ def __init__(
242242
Args:
243243
method (Callable): The method that was originally called, and
244244
which instantiated this pager.
245-
request (:class:`~.datatransfer.ListTransferConfigsRequest`):
245+
request (google.cloud.bigquery_datatransfer_v1.types.ListTransferConfigsRequest):
246246
The initial request object.
247-
response (:class:`~.datatransfer.ListTransferConfigsResponse`):
247+
response (google.cloud.bigquery_datatransfer_v1.types.ListTransferConfigsResponse):
248248
The initial response object.
249249
metadata (Sequence[Tuple[str, str]]): Strings which should be
250250
sent along with the request as metadata.
@@ -281,7 +281,7 @@ class ListTransferRunsPager:
281281
"""A pager for iterating through ``list_transfer_runs`` requests.
282282
283283
This class thinly wraps an initial
284-
:class:`~.datatransfer.ListTransferRunsResponse` object, and
284+
:class:`google.cloud.bigquery_datatransfer_v1.types.ListTransferRunsResponse` object, and
285285
provides an ``__iter__`` method to iterate through its
286286
``transfer_runs`` field.
287287
@@ -290,7 +290,7 @@ class ListTransferRunsPager:
290290
through the ``transfer_runs`` field on the
291291
corresponding responses.
292292
293-
All the usual :class:`~.datatransfer.ListTransferRunsResponse`
293+
All the usual :class:`google.cloud.bigquery_datatransfer_v1.types.ListTransferRunsResponse`
294294
attributes are available on the pager. If multiple requests are made, only
295295
the most recent response is retained, and thus used for attribute lookup.
296296
"""
@@ -308,9 +308,9 @@ def __init__(
308308
Args:
309309
method (Callable): The method that was originally called, and
310310
which instantiated this pager.
311-
request (:class:`~.datatransfer.ListTransferRunsRequest`):
311+
request (google.cloud.bigquery_datatransfer_v1.types.ListTransferRunsRequest):
312312
The initial request object.
313-
response (:class:`~.datatransfer.ListTransferRunsResponse`):
313+
response (google.cloud.bigquery_datatransfer_v1.types.ListTransferRunsResponse):
314314
The initial response object.
315315
metadata (Sequence[Tuple[str, str]]): Strings which should be
316316
sent along with the request as metadata.
@@ -343,7 +343,7 @@ class ListTransferRunsAsyncPager:
343343
"""A pager for iterating through ``list_transfer_runs`` requests.
344344
345345
This class thinly wraps an initial
346-
:class:`~.datatransfer.ListTransferRunsResponse` object, and
346+
:class:`google.cloud.bigquery_datatransfer_v1.types.ListTransferRunsResponse` object, and
347347
provides an ``__aiter__`` method to iterate through its
348348
``transfer_runs`` field.
349349
@@ -352,7 +352,7 @@ class ListTransferRunsAsyncPager:
352352
through the ``transfer_runs`` field on the
353353
corresponding responses.
354354
355-
All the usual :class:`~.datatransfer.ListTransferRunsResponse`
355+
All the usual :class:`google.cloud.bigquery_datatransfer_v1.types.ListTransferRunsResponse`
356356
attributes are available on the pager. If multiple requests are made, only
357357
the most recent response is retained, and thus used for attribute lookup.
358358
"""
@@ -370,9 +370,9 @@ def __init__(
370370
Args:
371371
method (Callable): The method that was originally called, and
372372
which instantiated this pager.
373-
request (:class:`~.datatransfer.ListTransferRunsRequest`):
373+
request (google.cloud.bigquery_datatransfer_v1.types.ListTransferRunsRequest):
374374
The initial request object.
375-
response (:class:`~.datatransfer.ListTransferRunsResponse`):
375+
response (google.cloud.bigquery_datatransfer_v1.types.ListTransferRunsResponse):
376376
The initial response object.
377377
metadata (Sequence[Tuple[str, str]]): Strings which should be
378378
sent along with the request as metadata.
@@ -409,7 +409,7 @@ class ListTransferLogsPager:
409409
"""A pager for iterating through ``list_transfer_logs`` requests.
410410
411411
This class thinly wraps an initial
412-
:class:`~.datatransfer.ListTransferLogsResponse` object, and
412+
:class:`google.cloud.bigquery_datatransfer_v1.types.ListTransferLogsResponse` object, and
413413
provides an ``__iter__`` method to iterate through its
414414
``transfer_messages`` field.
415415
@@ -418,7 +418,7 @@ class ListTransferLogsPager:
418418
through the ``transfer_messages`` field on the
419419
corresponding responses.
420420
421-
All the usual :class:`~.datatransfer.ListTransferLogsResponse`
421+
All the usual :class:`google.cloud.bigquery_datatransfer_v1.types.ListTransferLogsResponse`
422422
attributes are available on the pager. If multiple requests are made, only
423423
the most recent response is retained, and thus used for attribute lookup.
424424
"""
@@ -436,9 +436,9 @@ def __init__(
436436
Args:
437437
method (Callable): The method that was originally called, and
438438
which instantiated this pager.
439-
request (:class:`~.datatransfer.ListTransferLogsRequest`):
439+
request (google.cloud.bigquery_datatransfer_v1.types.ListTransferLogsRequest):
440440
The initial request object.
441-
response (:class:`~.datatransfer.ListTransferLogsResponse`):
441+
response (google.cloud.bigquery_datatransfer_v1.types.ListTransferLogsResponse):
442442
The initial response object.
443443
metadata (Sequence[Tuple[str, str]]): Strings which should be
444444
sent along with the request as metadata.
@@ -471,7 +471,7 @@ class ListTransferLogsAsyncPager:
471471
"""A pager for iterating through ``list_transfer_logs`` requests.
472472
473473
This class thinly wraps an initial
474-
:class:`~.datatransfer.ListTransferLogsResponse` object, and
474+
:class:`google.cloud.bigquery_datatransfer_v1.types.ListTransferLogsResponse` object, and
475475
provides an ``__aiter__`` method to iterate through its
476476
``transfer_messages`` field.
477477
@@ -480,7 +480,7 @@ class ListTransferLogsAsyncPager:
480480
through the ``transfer_messages`` field on the
481481
corresponding responses.
482482
483-
All the usual :class:`~.datatransfer.ListTransferLogsResponse`
483+
All the usual :class:`google.cloud.bigquery_datatransfer_v1.types.ListTransferLogsResponse`
484484
attributes are available on the pager. If multiple requests are made, only
485485
the most recent response is retained, and thus used for attribute lookup.
486486
"""
@@ -498,9 +498,9 @@ def __init__(
498498
Args:
499499
method (Callable): The method that was originally called, and
500500
which instantiated this pager.
501-
request (:class:`~.datatransfer.ListTransferLogsRequest`):
501+
request (google.cloud.bigquery_datatransfer_v1.types.ListTransferLogsRequest):
502502
The initial request object.
503-
response (:class:`~.datatransfer.ListTransferLogsResponse`):
503+
response (google.cloud.bigquery_datatransfer_v1.types.ListTransferLogsResponse):
504504
The initial response object.
505505
metadata (Sequence[Tuple[str, str]]): Strings which should be
506506
sent along with the request as metadata.

0 commit comments

Comments
 (0)