Skip to content

Commit 88fe21e

Browse files
yoshi-automationtseaver
authored andcommitted
Remove send/recv msg size limit (via synth). (#8949)
1 parent d6c3b6b commit 88fe21e

3 files changed

Lines changed: 51 additions & 44 deletions

File tree

packages/google-cloud-datacatalog/google/cloud/datacatalog_v1beta1/gapic/data_catalog_client.py

Lines changed: 38 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -340,8 +340,8 @@ def search_catalog(
340340
specified. </li>
341341
</ul>
342342
retry (Optional[google.api_core.retry.Retry]): A retry object used
343-
to retry requests. If ``None`` is specified, requests will not
344-
be retried.
343+
to retry requests. If ``None`` is specified, requests will
344+
be retried using a default configuration.
345345
timeout (Optional[float]): The amount of time, in seconds, to wait
346346
for the request to complete. Note that if ``retry`` is
347347
specified, the timeout applies to each individual attempt.
@@ -432,8 +432,8 @@ def update_entry(
432432
If a dict is provided, it must be of the same form as the protobuf
433433
message :class:`~google.cloud.datacatalog_v1beta1.types.FieldMask`
434434
retry (Optional[google.api_core.retry.Retry]): A retry object used
435-
to retry requests. If ``None`` is specified, requests will not
436-
be retried.
435+
to retry requests. If ``None`` is specified, requests will
436+
be retried using a default configuration.
437437
timeout (Optional[float]): The amount of time, in seconds, to wait
438438
for the request to complete. Note that if ``retry`` is
439439
specified, the timeout applies to each individual attempt.
@@ -504,8 +504,8 @@ def get_entry(
504504
name (str): Required. The name of the entry. For example,
505505
"projects/{project\_id}/locations/{location}/entryGroups/{entry\_group\_id}/entries/{entry\_id}".
506506
retry (Optional[google.api_core.retry.Retry]): A retry object used
507-
to retry requests. If ``None`` is specified, requests will not
508-
be retried.
507+
to retry requests. If ``None`` is specified, requests will
508+
be retried using a default configuration.
509509
timeout (Optional[float]): The amount of time, in seconds, to wait
510510
for the request to complete. Note that if ``retry`` is
511511
specified, the timeout applies to each individual attempt.
@@ -595,8 +595,8 @@ def lookup_entry(
595595
*_ids shoud satisfy the standard SQL rules for identifiers.
596596
https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical
597597
retry (Optional[google.api_core.retry.Retry]): A retry object used
598-
to retry requests. If ``None`` is specified, requests will not
599-
be retried.
598+
to retry requests. If ``None`` is specified, requests will
599+
be retried using a default configuration.
600600
timeout (Optional[float]): The amount of time, in seconds, to wait
601601
for the request to complete. Note that if ``retry`` is
602602
specified, the timeout applies to each individual attempt.
@@ -675,8 +675,8 @@ def create_tag_template(
675675
If a dict is provided, it must be of the same form as the protobuf
676676
message :class:`~google.cloud.datacatalog_v1beta1.types.TagTemplate`
677677
retry (Optional[google.api_core.retry.Retry]): A retry object used
678-
to retry requests. If ``None`` is specified, requests will not
679-
be retried.
678+
to retry requests. If ``None`` is specified, requests will
679+
be retried using a default configuration.
680680
timeout (Optional[float]): The amount of time, in seconds, to wait
681681
for the request to complete. Note that if ``retry`` is
682682
specified, the timeout applies to each individual attempt.
@@ -747,8 +747,8 @@ def get_tag_template(
747747
name (str): Required. The name of the tag template. For example,
748748
"projects/{project\_id}/locations/{location}/tagTemplates/{tag\_template\_id}".
749749
retry (Optional[google.api_core.retry.Retry]): A retry object used
750-
to retry requests. If ``None`` is specified, requests will not
751-
be retried.
750+
to retry requests. If ``None`` is specified, requests will
751+
be retried using a default configuration.
752752
timeout (Optional[float]): The amount of time, in seconds, to wait
753753
for the request to complete. Note that if ``retry`` is
754754
specified, the timeout applies to each individual attempt.
@@ -835,8 +835,8 @@ def update_tag_template(
835835
If a dict is provided, it must be of the same form as the protobuf
836836
message :class:`~google.cloud.datacatalog_v1beta1.types.FieldMask`
837837
retry (Optional[google.api_core.retry.Retry]): A retry object used
838-
to retry requests. If ``None`` is specified, requests will not
839-
be retried.
838+
to retry requests. If ``None`` is specified, requests will
839+
be retried using a default configuration.
840840
timeout (Optional[float]): The amount of time, in seconds, to wait
841841
for the request to complete. Note that if ``retry`` is
842842
specified, the timeout applies to each individual attempt.
@@ -914,8 +914,8 @@ def delete_tag_template(
914914
This confirms the deletion of any possible tags using this template.
915915
<code>force = false</code> will be supported in the future.
916916
retry (Optional[google.api_core.retry.Retry]): A retry object used
917-
to retry requests. If ``None`` is specified, requests will not
918-
be retried.
917+
to retry requests. If ``None`` is specified, requests will
918+
be retried using a default configuration.
919919
timeout (Optional[float]): The amount of time, in seconds, to wait
920920
for the request to complete. Note that if ``retry`` is
921921
specified, the timeout applies to each individual attempt.
@@ -1000,8 +1000,8 @@ def create_tag_template_field(
10001000
If a dict is provided, it must be of the same form as the protobuf
10011001
message :class:`~google.cloud.datacatalog_v1beta1.types.TagTemplateField`
10021002
retry (Optional[google.api_core.retry.Retry]): A retry object used
1003-
to retry requests. If ``None`` is specified, requests will not
1004-
be retried.
1003+
to retry requests. If ``None`` is specified, requests will
1004+
be retried using a default configuration.
10051005
timeout (Optional[float]): The amount of time, in seconds, to wait
10061006
for the request to complete. Note that if ``retry`` is
10071007
specified, the timeout applies to each individual attempt.
@@ -1099,8 +1099,8 @@ def update_tag_template_field(
10991099
If a dict is provided, it must be of the same form as the protobuf
11001100
message :class:`~google.cloud.datacatalog_v1beta1.types.FieldMask`
11011101
retry (Optional[google.api_core.retry.Retry]): A retry object used
1102-
to retry requests. If ``None`` is specified, requests will not
1103-
be retried.
1102+
to retry requests. If ``None`` is specified, requests will
1103+
be retried using a default configuration.
11041104
timeout (Optional[float]): The amount of time, in seconds, to wait
11051105
for the request to complete. Note that if ``retry`` is
11061106
specified, the timeout applies to each individual attempt.
@@ -1177,8 +1177,8 @@ def rename_tag_template_field(
11771177
new_tag_template_field_id (str): Required. The new ID of this tag template field. For example,
11781178
"my\_new\_field".
11791179
retry (Optional[google.api_core.retry.Retry]): A retry object used
1180-
to retry requests. If ``None`` is specified, requests will not
1181-
be retried.
1180+
to retry requests. If ``None`` is specified, requests will
1181+
be retried using a default configuration.
11821182
timeout (Optional[float]): The amount of time, in seconds, to wait
11831183
for the request to complete. Note that if ``retry`` is
11841184
specified, the timeout applies to each individual attempt.
@@ -1256,8 +1256,8 @@ def delete_tag_template_field(
12561256
This confirms the deletion of this field from any tags using this field.
12571257
<code>force = false</code> will be supported in the future.
12581258
retry (Optional[google.api_core.retry.Retry]): A retry object used
1259-
to retry requests. If ``None`` is specified, requests will not
1260-
be retried.
1259+
to retry requests. If ``None`` is specified, requests will
1260+
be retried using a default configuration.
12611261
timeout (Optional[float]): The amount of time, in seconds, to wait
12621262
for the request to complete. Note that if ``retry`` is
12631263
specified, the timeout applies to each individual attempt.
@@ -1334,8 +1334,8 @@ def create_tag(
13341334
If a dict is provided, it must be of the same form as the protobuf
13351335
message :class:`~google.cloud.datacatalog_v1beta1.types.Tag`
13361336
retry (Optional[google.api_core.retry.Retry]): A retry object used
1337-
to retry requests. If ``None`` is specified, requests will not
1338-
be retried.
1337+
to retry requests. If ``None`` is specified, requests will
1338+
be retried using a default configuration.
13391339
timeout (Optional[float]): The amount of time, in seconds, to wait
13401340
for the request to complete. Note that if ``retry`` is
13411341
specified, the timeout applies to each individual attempt.
@@ -1414,8 +1414,8 @@ def update_tag(
14141414
If a dict is provided, it must be of the same form as the protobuf
14151415
message :class:`~google.cloud.datacatalog_v1beta1.types.FieldMask`
14161416
retry (Optional[google.api_core.retry.Retry]): A retry object used
1417-
to retry requests. If ``None`` is specified, requests will not
1418-
be retried.
1417+
to retry requests. If ``None`` is specified, requests will
1418+
be retried using a default configuration.
14191419
timeout (Optional[float]): The amount of time, in seconds, to wait
14201420
for the request to complete. Note that if ``retry`` is
14211421
specified, the timeout applies to each individual attempt.
@@ -1484,8 +1484,8 @@ def delete_tag(
14841484
name (str): Required. The name of the tag to delete. For example,
14851485
"projects/{project\_id}/locations/{location}/entryGroups/{entry\_group\_id}/entries/{entry\_id}/tags/{tag\_id}".
14861486
retry (Optional[google.api_core.retry.Retry]): A retry object used
1487-
to retry requests. If ``None`` is specified, requests will not
1488-
be retried.
1487+
to retry requests. If ``None`` is specified, requests will
1488+
be retried using a default configuration.
14891489
timeout (Optional[float]): The amount of time, in seconds, to wait
14901490
for the request to complete. Note that if ``retry`` is
14911491
specified, the timeout applies to each individual attempt.
@@ -1569,8 +1569,8 @@ def list_tags(
15691569
streaming is performed per-page, this determines the maximum number
15701570
of resources in a page.
15711571
retry (Optional[google.api_core.retry.Retry]): A retry object used
1572-
to retry requests. If ``None`` is specified, requests will not
1573-
be retried.
1572+
to retry requests. If ``None`` is specified, requests will
1573+
be retried using a default configuration.
15741574
timeout (Optional[float]): The amount of time, in seconds, to wait
15751575
for the request to complete. Note that if ``retry`` is
15761576
specified, the timeout applies to each individual attempt.
@@ -1673,8 +1673,8 @@ def set_iam_policy(
16731673
If a dict is provided, it must be of the same form as the protobuf
16741674
message :class:`~google.cloud.datacatalog_v1beta1.types.Policy`
16751675
retry (Optional[google.api_core.retry.Retry]): A retry object used
1676-
to retry requests. If ``None`` is specified, requests will not
1677-
be retried.
1676+
to retry requests. If ``None`` is specified, requests will
1677+
be retried using a default configuration.
16781678
timeout (Optional[float]): The amount of time, in seconds, to wait
16791679
for the request to complete. Note that if ``retry`` is
16801680
specified, the timeout applies to each individual attempt.
@@ -1761,8 +1761,8 @@ def get_iam_policy(
17611761
If a dict is provided, it must be of the same form as the protobuf
17621762
message :class:`~google.cloud.datacatalog_v1beta1.types.GetPolicyOptions`
17631763
retry (Optional[google.api_core.retry.Retry]): A retry object used
1764-
to retry requests. If ``None`` is specified, requests will not
1765-
be retried.
1764+
to retry requests. If ``None`` is specified, requests will
1765+
be retried using a default configuration.
17661766
timeout (Optional[float]): The amount of time, in seconds, to wait
17671767
for the request to complete. Note that if ``retry`` is
17681768
specified, the timeout applies to each individual attempt.
@@ -1852,8 +1852,8 @@ def test_iam_permissions(
18521852
information see `IAM
18531853
Overview <https://cloud.google.com/iam/docs/overview#permissions>`__.
18541854
retry (Optional[google.api_core.retry.Retry]): A retry object used
1855-
to retry requests. If ``None`` is specified, requests will not
1856-
be retried.
1855+
to retry requests. If ``None`` is specified, requests will
1856+
be retried using a default configuration.
18571857
timeout (Optional[float]): The amount of time, in seconds, to wait
18581858
for the request to complete. Note that if ``retry`` is
18591859
specified, the timeout applies to each individual attempt.

packages/google-cloud-datacatalog/google/cloud/datacatalog_v1beta1/gapic/transports/data_catalog_grpc_transport.py

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

5959
# Create the channel.
6060
if channel is None:
61-
channel = self.create_channel(address=address, credentials=credentials)
61+
channel = self.create_channel(
62+
address=address,
63+
credentials=credentials,
64+
options={
65+
"grpc.max_send_message_length": -1,
66+
"grpc.max_receive_message_length": -1,
67+
}.items(),
68+
)
6269

6370
self._channel = channel
6471

packages/google-cloud-datacatalog/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-26T12:17:03.436639Z",
2+
"updateTime": "2019-08-06T12:18:48.994701Z",
33
"sources": [
44
{
55
"generator": {
66
"name": "artman",
7-
"version": "0.31.0",
8-
"dockerImage": "googleapis/artman@sha256:9aed6bbde54e26d2fcde7aa86d9f64c0278f741e58808c46573e488cbf6098f0"
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": "0906a9e74f4db789aee7fc5016ab828d3dd24f03",
16-
"internalRef": "260061471"
15+
"sha": "e699b0cba64ffddfae39633417180f1f65875896",
16+
"internalRef": "261759677"
1717
}
1818
},
1919
{

0 commit comments

Comments
 (0)