8000 Remove send/recv msg size limit (via synth). (#8934) · googleapis/google-cloud-python@7f8266a · GitHub
[go: up one dir, main page]

Skip to content

Commit 7f8266a

Browse files
yoshi-automationtseaver
authored andcommitted
Remove send/recv msg size limit (via synth). (#8934)
1 parent b12e761 commit 7f8266a

File tree

3 files changed

+41
-34
lines changed

3 files changed

+41
-34
lines changed

packages/google-cloud-bigquery-datatransfer/google/cloud/bigquery_datatransfer_v1/gapic/data_transfer_service_client.py

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -300,8 +300,8 @@ def get_data_source(
300300
name (str): The field will contain name of the resource requested, for example:
301301
``projects/{project_id}/dataSources/{data_source_id}``
302302
retry (Optional[google.api_core.retry.Retry]): A retry object used
303-
to retry requests. If ``None`` is specified, requests will not
304-
be retried.
303+
to retry requests. If ``None`` is specified, requests will
304+
be retried using a default configuration.
305305
timeout (Optional[float]): The amount of time, in seconds, to wait
306306
for the request to complete. Note that if ``retry`` is
307307
specified, the timeout applies to each individual attempt.
@@ -389,8 +389,8 @@ def list_data_sources(
389389
streaming is performed per-page, this determines the maximum number
390390
of resources in a page.
391391
retry (Optional[google.api_core.retry.Retry]): A retry object used
392-
to retry requests. If ``None`` is specified, requests will not
393-
be retried.
392+
to retry requests. If ``None`` is specified, requests will
393+
be retried using a default configuration.
394394
timeout (Optional[float]): The amount of time, in seconds, to wait
395395
for the request to complete. Note that if ``retry`` is
396396
specified, the timeout applies to each individual attempt.
@@ -511,8 +511,8 @@ def create_transfer_config(
511511
version\_info back in the authorization response which be be put in a
512512
JWT claim in the token request.
513513
retry (Optional[google.api_core.retry.Retry]): A retry object used
514-
to retry requests. If ``None`` is specified, requests will not
515-
be retried.
514+
to retry requests. If ``None`` is specified, requests will
515+
be retried using a default configuration.
516516
timeout (Optional[float]): The amount of time, in seconds, to wait
517517
for the request to complete. Note that if ``retry`` is
518518
specified, the timeout applies to each individual attempt.
@@ -623,8 +623,8 @@ def update_transfer_config(
623623
version\_info back in the authorization response which be be put in a
624624
JWT claim in the token request.
625625
retry (Optional[google.api_core.retry.Retry]): A retry object used
626-
to retry requests. If ``None`` is specified, requests will not
627-
be retried.
626+
to retry requests. If ``None`` is specified, requests will
627+
10BC0 be retried using a default configuration.
628628
timeout (Optional[float]): The amount of time, in seconds, to wait
629629
for the request to complete. Note that if ``retry`` is
630630
specified, the timeout applies to each individual attempt.
@@ -699,8 +699,8 @@ def delete_transfer_config(
699699
name (str): The field will contain name of the resource requested, for example:
700700
``projects/{project_id}/transferConfigs/{config_id}``
701701
retry (Optional[google.api_core.retry.Retry]): A retry object used
702-
to retry requests. If ``None`` is specified, requests will not
703-
be retried.
702+
to retry requests. If ``None`` is specified, requests will
703+
be retried using a default configuration.
704704
timeout (Optional[float]): The amount of time, in seconds, to wait
705705
for the request to complete. Note that if ``retry`` is
706706
specified, the timeout applies to each individual attempt.
@@ -766,8 +766,8 @@ def get_transfer_config(
766766
name (str): The field will contain name of the resource requested, for example:
767767
``projects/{project_id}/transferConfigs/{config_id}``
768768
retry (Optional[google.api_core.retry.Retry]): A retry object used
769-
to retry requests. If ``None`` is specified, requests will not
770-
be retried.
769+
to retry requests. If ``None`` is specified, requests will
770+
be retried using a default configuration.
771771
timeout (Optional[float]): The amount of time, in seconds, to wait
772772
for the request to complete. Note that if ``retry`` is
773773
specified, the timeout applies to each individual attempt.
@@ -856,8 +856,8 @@ def list_transfer_configs(
856856
streaming is performed per-page, this determines the maximum number
857857
of resources in a page.
858858
retry (Optional[google.api_core.retry.Retry]): A retry object used
859-
to retry requests. If ``None`` is specified, requests will not
860-
be retried.
859+
to retry requests. If ``None`` is specified, requests will
860+
be retried using a default configuration.
861861
timeout (Optional[float]): The amount of time, in seconds, to wait
862862
for the request to complete. Note that if ``retry`` is
863863
specified, the timeout applies to each individual attempt.
@@ -963,8 +963,8 @@ def schedule_transfer_runs(
963963
If a dict is provided, it must be of the same form as the protobuf
964964
message :class:`~google.cloud.bigquery_datatransfer_v1.types.Timestamp`
965965
retry (Optional[google.api_core.retry.Retry]): A retry object used
966-
to retry requests. If ``None`` is specified, requests will not
967-
be retried.
966+
to retry requests. If ``None`` is specified, requests will
967+
be retried using a default configuration.
968968
timeout (Optional[float]): The amount of time, in seconds, to wait
969969
for the request to complete. Note that if ``retry`` is
970970
specified, the timeout applies to each individual attempt.
@@ -1035,8 +1035,8 @@ def get_transfer_run(
10351035
name (str): The field will contain name of the resource requested, for example:
10361036
``projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}``
10371037
retry (Optional[google.api_core.retry.Retry]): A retry object used
1038-
to retry requests. If ``None`` is specified, requests will not
1039-
be retried.
1038+
to retry requests. If ``None`` is specified, requests will
1039+
be retried using a default configuration.
10401040
timeout (Optional[float]): The amount of time, in seconds, to wait
10411041
for the request to complete. Note that if ``retry`` is
10421042
specified, the timeout applies to each individual attempt.
@@ -1105,8 +1105,8 @@ def delete_transfer_run(
11051105
name (str): The field will contain name of the resource requested, for example:
11061106
``projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}``
11071107
retry (Optional[google.api_core.retry.Retry]): A retry object used
1108-
to retry requests. If ``None`` is specified, requests will not
1109-
be retried.
1108+
to retry requests. If ``None`` is specified, requests will
1109+
be retried using a default configuration.
11101110
timeout (Optional[float]): The amount of time, in seconds, to wait
11111111
for the request to complete. Note that if ``retry`` is
11121112
specified, the timeout applies to each individual attempt.
@@ -1195,8 +1195,8 @@ def list_transfer_runs(
11951195
of resources in a page.
11961196
run_attempt (~google.cloud.bigquery_datatransfer_v1.types.RunAttempt): Indicates how run attempts are to be pulled.
11971197
retry (Optional[google.api_core.retry.Retry]): A retry object used
1198-
to retry requests. If ``None`` is specified, requests will not
1199-
be retried.
1198+
to retry requests. If ``None`` is specified, requests will
1199+
be retried using a default configuration.
12001200
timeout (Optional[float]): The amount of time, in seconds, to wait
12011201
for the request to complete. Note that if ``retry`` is
12021202
specified, the timeout applies to each individual attempt.
@@ -1302,8 +1302,8 @@ def list_transfer_logs(
13021302
message_types (list[~google.cloud.bigquery_datatransfer_v1.types.MessageSeverity]): Message types to return. If not populated - INFO, WARNING and ERROR
13031303
messages are returned.
13041304
retry (Optional[google.api_core.retry.Retry]): A retry object used
1305-
to retry requests. If ``None`` is specified, requests will not
1306-
be retried.
1305+
to retry requests. If ``None`` is specified, requests will
1306+
be retried using a default configuration.
13071307
timeout (Optional[float]): The amount of time, in seconds, to wait
13081308
for the request to complete. Note that if ``retry`` is
13091309
specified, the timeout applies to each individual attempt.
@@ -1393,8 +1393,8 @@ def check_valid_creds(
13931393
name (str): The data source in the form:
13941394
``projects/{project_id}/dataSources/{data_source_id}``
13951395
retry (Optional[google.api_core.retry.Retry]): A retry object used
1396-
to retry requests. If ``None`` is specified, requests will not
1397-
be retried.
1396+
to retry requests. If ``None`` is specified, requests will
1397+
be retried using a default configuration.
13981398
timeout (Optional[float]): The amount of time, in seconds, to wait
13991399
for the request to complete. Note that if ``retry`` is
14001400
specified, the timeout applies to each individual attempt.
@@ -1475,8 +1475,8 @@ def start_manual_transfer_runs(
14751475
If a dict is provided, it must be of the same form as the protobuf
14761476
message :class:`~google.cloud.bigquery_datatransfer_v1.types.Timestamp`
14771477
retry (Optional[google.api_core.retry.Retry]): A retry object used
1478-
to retry requests. If ``None`` is specified, requests will not
1479-
be retried.
1478+
to retry requests. If ``None`` is specified, requests will
1479+
be retried using a default configuration.
14801480
timeout (Optional[float]): The amount of time, in seconds, to wait
14811481
for the request to complete. Note that if ``retry`` is
14821482
specified, the timeout applies to each individual attempt.

packages/google-cloud-bigquery-datatransfer/google/cloud/bigquery_datatransfer_v1/gapic/transports/data_transfer_service_grpc_transport.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,14 @@ def __init__(
6161

6262
# Create the channel.
6363
if channel is None:
64-
channel = self.create_channel(address=address, credentials=credentials)
64+
channel = self.create_channel(
65+
address=address,
66+
credentials=credentials,
67+
options={
68+
"grpc.max_send_message_length": -1,
69+
"grpc.max_receive_message_length": -1,
70+
}.items(),
71+
)
6572

6673
self._channel = channel
6774

packages/google-cloud-bigquery-datatransfer/synth.metadata

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
{
2-
"updateTime": "2019-07-10T12:13:12.400451Z",
2+
"updateTime": "2019-08-03T12:11:16.935211Z",
33
"sources": [
44
{
55
"generator": {
66
"name": "artman",
7-
"version": "0.29.4",
8-
"dockerImage": "googleapis/artman@sha256:63f21e83cb92680b7001dc381069e962c9e6dee314fd8365ac554c07c89221fb"
7+
"version": "0.32.1",
8+
"dockerImage": "googleapis/artman@sha256:a684d40ba9a4e15946f5f2ca6b4bd9fe301192f522e9de4fff622118775f309b"
99
}
1010
},
1111
{
1212
"git": {
1313
"name": "googleapis",
1414
"remote": "https://github.com/googleapis/googleapis.git",
15-
"sha": "16c0ea3cde17a897ba04b7b94d9bf4dd57e3227e",
16-
"internalRef": "257239177"
15+
"sha": "7b212a8d2319cd81a7b6942c25dbf4550480a06c",
16+
"internalRef": "261339454"
1717
}
1818
},
1919
{

0 commit comments

Comments
 (0)
0