Skip to content
This repository was archived by the owner on Feb 23, 2026. It is now read-only.

Commit 9ff569c

Browse files
yoshi-automationtseaver
authored andcommitted
Remove send/recv msg size limit (via synth). (#8954)
1 parent 9865d28 commit 9ff569c

7 files changed

Lines changed: 41 additions & 20 deletions

google/cloud/errorreporting_v1beta1/gapic/error_group_service_client.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -220,8 +220,8 @@ def get_group(
220220
221221
Example: projects/my-project-123/groups/my-group
222222
retry (Optional[google.api_core.retry.Retry]): A retry object used
223-
to retry requests. If ``None`` is specified, requests will not
224-
be retried.
223+
to retry requests. If ``None`` is specified, requests will
224+
be retried using a default configuration.
225225
timeout (Optional[float]): The amount of time, in seconds, to wait
226226
for the request to complete. Note that if ``retry`` is
227227
specified, the timeout applies to each individual attempt.
@@ -294,8 +294,8 @@ def update_group(
294294
If a dict is provided, it must be of the same form as the protobuf
295295
message :class:`~google.cloud.errorreporting_v1beta1.types.ErrorGroup`
296296
retry (Optional[google.api_core.retry.Retry]): A retry object used
297-
to retry requests. If ``None`` is specified, requests will not
298-
be retried.
297+
to retry requests. If ``None`` is specified, requests will
298+
be retried using a default configuration.
299299
timeout (Optional[float]): The amount of time, in seconds, to wait
300300
for the request to complete. Note that if ``retry`` is
301301
specified, the timeout applies to each individual attempt.

google/cloud/errorreporting_v1beta1/gapic/error_stats_service_client.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -286,8 +286,8 @@ def list_group_stats(
286286
streaming is performed per-page, this determines the maximum number
287287
of resources in a page.
288288
retry (Optional[google.api_core.retry.Retry]): A retry object used
289-
to retry requests. If ``None`` is specified, requests will not
290-
be retried.
289+
to retry requests. If ``None`` is specified, requests will
290+
be retried using a default configuration.
291291
timeout (Optional[float]): The amount of time, in seconds, to wait
292292
for the request to complete. Note that if ``retry`` is
293293
specified, the timeout applies to each individual attempt.
@@ -419,8 +419,8 @@ def list_events(
419419
streaming is performed per-page, this determines the maximum number
420420
of resources in a page.
421421
retry (Optional[google.api_core.retry.Retry]): A retry object used
422-
to retry requests. If ``None`` is specified, requests will not
423-
be retried.
422+
to retry requests. If ``None`` is specified, requests will
423+
be retried using a default configuration.
424424
timeout (Optional[float]): The amount of time, in seconds, to wait
425425
for the request to complete. Note that if ``retry`` is
426426
specified, the timeout applies to each individual attempt.
@@ -511,8 +511,8 @@ def delete_events(
511511
ID <https://support.google.com/cloud/answer/6158840>`__. Example:
512512
``projects/my-project-123``.
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.

google/cloud/errorreporting_v1beta1/gapic/report_errors_service_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,8 +235,8 @@ def report_error_event(
235235
If a dict is provided, it must be of the same form as the protobuf
236236
message :class:`~google.cloud.errorreporting_v1beta1.types.ReportedErrorEvent`
237237
retry (Optional[google.api_core.retry.Retry]): A retry object used
238-
to retry requests. If ``None`` is specified, requests will not
239-
be retried.
238+
to retry requests. If ``None`` is specified, requests will
239+
be retried using a default configuration.
240240
timeout (Optional[float]): The amount of time, in seconds, to wait
241241
for the request to complete. Note that if ``retry`` is
242242
specified, the timeout applies to each individual attempt.

google/cloud/errorreporting_v1beta1/gapic/transports/error_group_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

google/cloud/errorreporting_v1beta1/gapic/transports/error_stats_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

google/cloud/errorreporting_v1beta1/gapic/transports/report_errors_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

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-03T12:25:57.493986Z",
2+
"updateTime": "2019-08-06T12:24:11.470016Z",
33
"sources": [
44
{
55
"generator": {
66
"name": "artman",
7-
"version": "0.29.3",
8-
"dockerImage": "googleapis/artman@sha256:8900f94a81adaab0238965aa8a7b3648791f4f3a95ee65adc6a56cfcc3753101"
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": "69916b6ffbb7717fa009033351777d0c9909fb79",
16-
"internalRef": "256241904"
15+
"sha": "e699b0cba64ffddfae39633417180f1f65875896",
16+
"internalRef": "261759677"
1717
}
1818
},
1919
{

0 commit comments

Comments
 (0)