Skip to content

Commit 8c8e360

Browse files
busunkim96tseaver
authored andcommitted
Revert " Remove send/recv msg size limit (via synth). (#8908)" (#8932)
This reverts commit 725b4d8.
1 parent 725b4d8 commit 8c8e360

File tree

3 files changed

+14
-21
lines changed

3 files changed

+14
-21
lines changed

iam/google/cloud/iam_credentials_v1/gapic/iam_credentials_client.py

+8-8
Original file line numberDiff line numberDiff line change
@@ -253,8 +253,8 @@ def generate_access_token(
253253
If a dict is provided, it must be of the same form as the protobuf
254254
message :class:`~google.cloud.iam_credentials_v1.types.Duration`
255255
retry (Optional[google.api_core.retry.Retry]): A retry object used
256-
to retry requests. If ``None`` is specified, requests will
257-
be retried using a default configuration.
256+
to retry requests. If ``None`` is specified, requests will not
257+
be retried.
258258
timeout (Optional[float]): The amount of time, in seconds, to wait
259259
for the request to complete. Note that if ``retry`` is
260260
specified, the timeout applies to each individual attempt.
@@ -345,8 +345,8 @@ def generate_id_token(
345345
include_email (bool): Include the service account email in the token. If set to ``true``, the
346346
token will contain ``email`` and ``email_verified`` claims.
347347
retry (Optional[google.api_core.retry.Retry]): A retry object used
348-
to retry requests. If ``None`` is specified, requests will
349-
be retried using a default configuration.
348+
to retry requests. If ``None`` is specified, requests will not
349+
be retried.
350350
timeout (Optional[float]): The amount of time, in seconds, to wait
351351
for the request to complete. Note that if ``retry`` is
352352
specified, the timeout applies to each individual attempt.
@@ -436,8 +436,8 @@ def sign_blob(
436436
The delegates must have the following format:
437437
``projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}``
438438
retry (Optional[google.api_core.retry.Retry]): A retry object used
439-
to retry requests. If ``None`` is specified, requests will
440-
be retried using a default configuration.
439+
to retry requests. If ``None`` is specified, requests will not
440+
be retried.
441441
timeout (Optional[float]): The amount of time, in seconds, to wait
442442
for the request to complete. Note that if ``retry`` is
443443
specified, the timeout applies to each individual attempt.
@@ -524,8 +524,8 @@ def sign_jwt(
524524
The delegates must have the following format:
525525
``projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}``
526526
retry (Optional[google.api_core.retry.Retry]): A retry object used
527-
to retry requests. If ``None`` is specified, requests will
528-
be retried using a default configuration.
527+
to retry requests. If ``None`` is specified, requests will not
528+
be retried.
529529
timeout (Optional[float]): The amount of time, in seconds, to wait
530530
for the request to complete. Note that if ``retry`` is
531531
specified, the timeout applies to each individual attempt.

iam/google/cloud/iam_credentials_v1/gapic/transports/iam_credentials_grpc_transport.py

+1-8
Original file line numberDiff line numberDiff line change
@@ -61,14 +61,7 @@ def __init__(
6161

6262
# Create the channel.
6363
if channel is None:
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-
},
71-
)
64+
channel = self.create_channel(address=address, credentials=credentials)
7265

7366
self._channel = channel
7467

iam/synth.metadata

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
{
2-
"updateTime": "2019-08-02T12:27:30.720063Z",
2+
"updateTime": "2019-07-03T12:27:45.297957Z",
33
"sources": [
44
{
55
"generator": {
66
"name": "artman",
7-
"version": "0.32.0",
8-
"dockerImage": "googleapis/artman@sha256:6929f343c400122d85818195b18613330a12a014bffc1e08499550d40571479d"
7+
"version": "0.29.3",
8+
"dockerImage": "googleapis/artman@sha256:8900f94a81adaab0238965aa8a7b3648791f4f3a95ee65adc6a56cfcc3753101"
99
}
1010
},
1111
{
1212
"git": {
1313
"name": "googleapis",
1414
"remote": "https://github.com/googleapis/googleapis.git",
15-
"sha": "3a40d3a5f5e5a33fd49888a8a33ed021f65c0ccf",
16-
"internalRef": "261297518"
15+
"sha": "69916b6ffbb7717fa009033351777d0c9909fb79",
16+
"internalRef": "256241904"
1717
}
1818
},
1919
{

0 commit comments

Comments
 (0)