8000 Re-generate library using pubsub/synth.py (#5978) · googleapis/google-cloud-python@b264a53 · GitHub
[go: up one dir, main page]

Skip to content

Commit b264a53

Browse files
dpebottseaver
authored andcommitted
Re-generate library using pubsub/synth.py (#5978)
1 parent f8305fe commit b264a53

File tree

2 files changed

+66
-66
lines changed

2 files changed

+66
-66
lines changed

pubsub/google/cloud/pubsub_v1/gapic/publisher_client.py

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -248,8 +248,8 @@ def create_topic(self,
248248
'create_topic'] = google.api_core.gapic_v1.method.wrap_method(
249249
self.transport.create_topic,
250250
default_retry=self._method_configs['CreateTopic'].retry,
251-
default_timeout=self._method_configs['CreateTopic']
252-
.timeout,
251+
default_timeout=self._method_configs['CreateTopic'].
252+
timeout,
253253
client_info=self._client_info,
254254
)
255255

@@ -320,8 +320,8 @@ def update_topic(self,
320320
'update_topic'] = google.api_core.gapic_v1.method.wrap_method(
321321
self.transport.update_topic,
322322
default_retry=self._method_configs['UpdateTopic'].retry,
323-
default_timeout=self._method_configs['UpdateTopic']
324-
.timeout,
323+
default_timeout=self._method_configs['UpdateTopic'].
324+
timeout,
325325
client_info=self._client_info,
326326
)
327327

@@ -604,10 +604,10 @@ def list_topic_subscriptions(
604604
self._inner_api_calls[
605605
'list_topic_subscriptions'] = google.api_core.gapic_v1.method.wrap_method(
606606
self.transport.list_topic_subscriptions,
607-
default_retry=self._method_configs[
608-
'ListTopicSubscriptions'].retry,
609-
default_timeout=self._method_configs[
610-
'ListTopicSubscriptions'].timeout,
607+
default_retry=self.
608+
_method_configs['ListTopicSubscriptions'].retry,
609+
default_timeout=self.
610+
_method_configs['ListTopicSubscriptions'].timeout,
611611
client_info=self._client_info,
612612
)
613613

@@ -675,8 +675,8 @@ def delete_topic(self,
675675
'delete_topic'] = google.api_core.gapic_v1.method.wrap_method(
676676
self.transport.delete_topic,
677677
default_retry=self._method_configs['DeleteTopic'].retry,
678-
default_timeout=self._method_configs['DeleteTopic']
679-
.timeout,
678+
default_timeout=self._method_configs['DeleteTopic'].
679+
timeout,
680680
client_info=self._client_info,
681681
)
682682

@@ -741,8 +741,8 @@ def set_iam_policy(self,
741741
'set_iam_policy'] = google.api_core.gapic_v1.method.wrap_method(
742742
self.transport.set_iam_policy,
743743
default_retry=self._method_configs['SetIamPolicy'].retry,
744-
default_timeout=self._method_configs['SetIamPolicy']
745-
.timeout,
744+
default_timeout=self._method_configs['SetIamPolicy'].
745+
timeout,
746746
client_info=self._client_info,
747747
)
748748

@@ -801,8 +801,8 @@ def get_iam_policy(self,
801801
'get_iam_policy'] = google.api_core.gapic_v1.method.wrap_method(
802802
self.transport.get_iam_policy,
803803
default_retry=self._method_configs['GetIamPolicy'].retry,
804-
default_timeout=self._method_configs['GetIamPolicy']
805-
.timeout,
804+
default_timeout=self._method_configs['GetIamPolicy'].
805+
timeout,
806806
client_info=self._client_info,
807807
)
808808

@@ -865,10 +865,10 @@ def test_iam_permissions(self,
865865
self._inner_api_calls[
866866
'test_iam_permissions'] = google.api_core.gapic_v1.method.wrap_method(
867867
self.transport.test_iam_permissions,
868-
default_retry=self._method_configs[
869-
'TestIamPermissions'].retry,
870-
default_timeout=self._method_configs['TestIamPermissions']
871-
.timeout,
868+
default_retry=self._method_configs['TestIamPermissions'].
869+
retry,
870+
default_timeout=self._method_configs['TestIamPermissions'].
871+
timeout,
872872
client_info=self._client_info,
873873
)
874874

pubsub/google/cloud/pubsub_v1/gapic/subscriber_client.py

Lines changed: 48 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -321,10 +321,10 @@ def create_subscription(self,
321321
self._inner_api_calls[
322322
'create_subscription'] = google.api_core.gapic_v1.method.wrap_method(
323323
self.transport.create_subscription,
324-
default_retry=self._method_configs[
325-
'CreateSubscription'].retry,
326-
default_timeout=self._method_configs['CreateSubscription']
327-
.timeout,
324+
default_retry=self._method_configs['CreateSubscription'].
325+
retry,
326+
default_timeout=self._method_configs['CreateSubscription'].
327+
timeout,
328328
client_info=self._client_info,
329329
)
330330

@@ -384,10 +384,10 @@ def get_subscription(self,
384384
self._inner_api_calls[
385385
'get_subscription'] = google.api_core.gapic_v1.method.wrap_method(
386386
self.transport.get_subscription,
387-
default_retry=self._method_configs[
388-
'GetSubscription'].retry,
389-
default_timeout=self._method_configs['GetSubscription']
390-
.timeout,
387+
default_retry=self._method_configs['GetSubscription'].
388+
retry,
389+
default_timeout=self._method_configs['GetSubscription'].
390+
timeout,
391391
client_info=self._client_info,
392392
)
393393

@@ -451,10 +451,10 @@ def update_subscription(self,
451451
self._inner_api_calls[
452452
'update_subscription'] = google.api_core.gapic_v1.method.wrap_method(
453453
self.transport.update_subscription,
454-
default_retry=self._method_configs[
455-
'UpdateSubscription'].retry,
456-
default_timeout=self._method_configs['UpdateSubscription']
457-
.timeout,
454+
default_retry=self._method_configs['UpdateSubscription'].
455+
retry,
456+
default_timeout=self._method_configs['UpdateSubscription'].
457+
timeout,
458458
client_info=self._client_info,
459459
)
460460

@@ -530,10 +530,10 @@ def list_subscriptions(self,
530530
self._inner_api_calls[
531531
'list_subscriptions'] = google.api_core.gapic_v1.method.wrap_method(
532532
self.transport.list_subscriptions,
533-
default_retry=self._method_configs[
534-
'ListSubscriptions'].retry,
535-
default_timeout=self._method_configs['ListSubscriptions']
536-
.timeout,
533+
default_retry=self._method_configs['ListSubscriptions'].
534+
retry,
535+
default_timeout=self._method_configs['ListSubscriptions'].
536+
timeout,
537537
client_info=self._client_info,
538538
)
539539

@@ -600,10 +600,10 @@ def delete_subscription(self,
600600
self._inner_api_calls[
601601
'delete_subscription'] = google.api_core.gapic_v1.method.wrap_method(
602602
self.transport.delete_subscription,
603-
default_retry=self._method_configs[
604-
'DeleteSubscription'].retry,
605-
default_timeout=self._method_configs['DeleteSubscription']
606-
.timeout,
603+
default_retry=self._method_configs['DeleteSubscription'].
604+
retry,
605+
default_timeout=self._method_configs['DeleteSubscription'].
606+
timeout,
607607
client_info=self._client_info,
608608
)
609609

@@ -673,10 +673,10 @@ def modify_ack_deadline(self,
673673
self._inner_api_calls[
674674
'modify_ack_deadline'] = google.api_core.gapic_v1.method.wrap_method(
675675
self.transport.modify_ack_deadline,
676-
default_retry=self._method_configs[
677-
'ModifyAckDeadline'].retry,
678-
default_timeout=self._method_configs['ModifyAckDeadline']
679-
.timeout,
676+
default_retry=self._method_configs['ModifyAckDeadline'].
677+
retry,
678+
default_timeout=self._method_configs['ModifyAckDeadline'].
679+
timeout,
680680
client_info=self._client_info,
681681
)
682682

@@ -742,8 +742,8 @@ def acknowledge(self,
742742
'acknowledge'] = google.api_core.gapic_v1.method.wrap_method(
743743
self.transport.acknowledge,
744744
default_retry=self._method_configs['Acknowledge'].retry,
745-
default_timeout=self._method_configs['Acknowledge']
746-
.timeout,
745+
default_timeout=self._method_configs['Acknowledge'].
746+
timeout,
747747
client_info=self._client_info,
748748
)
749749

@@ -887,8 +887,8 @@ def streaming_pull(self,
887887
'streaming_pull'] = google.api_core.gapic_v1.method.wrap_method(
888888
self.transport.streaming_pull,
889889
default_retry=self._method_configs['StreamingPull'].retry,
890-
default_timeout=self._method_configs['StreamingPull']
891-
.timeout,
890+
default_timeout=self._method_configs['StreamingPull'].
891+
timeout,
892892
client_info=self._client_info,
893893
)
894894

@@ -953,10 +953,10 @@ def modify_push_config(self,
953953
self._inner_api_calls[
954954
'modify_push_config'] = google.api_core.gapic_v1.method.wrap_method(
955955
self.transport.modify_push_config,
956-
default_retry=self._method_configs[
957-
'ModifyPushConfig'].retry,
958-
default_timeout=self._method_configs['ModifyPushConfig']
959-
.timeout,
956+
default_retry=self._method_configs['ModifyPushConfig'].
957+
retry,
958+
default_timeout=self._method_configs['ModifyPushConfig'].
959+
timeout,
960960
client_info=self._client_info,
961961
)
962962

@@ -1036,8 +1036,8 @@ def list_snapshots(self,
10361036
'list_snapshots'] = google.api_core.gapic_v1.method.wrap_method(
10371037
self.transport.list_snapshots,
10381038
default_retry=self._method_configs['ListSnapshots'].retry,
1039-
default_timeout=self._method_configs['ListSnapshots']
1040-
.timeout,
1039+
default_timeout=self._method_configs['ListSnapshots'].
1040+
timeout,
10411041
client_info=self._client_info,
10421042
)
10431043

@@ -1135,8 +1135,8 @@ def create_snapshot(self,
11351135
'create_snapshot'] = google.api_core.gapic_v1.method.wrap_method(
11361136
self.transport.create_snapshot,
11371137
default_retry=self._method_configs['CreateSnapshot'].retry,
1138-
default_timeout=self._method_configs['CreateSnapshot']
1139-
.timeout,
1138+
default_timeout=self._method_configs['CreateSnapshot'].
1139+
timeout,
11401140
client_info=self._client_info,
11411141
)
11421142

@@ -1208,8 +1208,8 @@ def update_snapshot(self,
12081208
'update_snapshot'] = google.api_core.gapic_v1.method.wrap_method(
12091209
self.transport.update_snapshot,
12101210
default_retry=self._method_configs['UpdateSnapshot'].retry,
1211-
default_timeout=self._method_configs['UpdateSnapshot']
1212-
.timeout,
1211+
default_timeout=self._method_configs['UpdateSnapshot'].
1212+
timeout,
12131213
client_info=self._client_info,
12141214
)
12151215

@@ -1269,8 +1269,8 @@ def delete_snapshot(self,
12691269
'delete_snapshot'] = google.api_core.gapic_v1.method.wrap_method(
12701270
self.transport.delete_snapshot,
12711271
default_retry=self._method_configs['DeleteSnapshot'].retry,
1272-
default_timeout=self._method_configs['DeleteSnapshot']
1273-
.timeout,
1272+
default_timeout=self._method_configs['DeleteSnapshot'].
1273+
timeout,
12741274
client_info=self._client_info,
12751275
)
12761276

@@ -1420,8 +1420,8 @@ def set_iam_policy(self,
14201420
'set_iam_policy'] = google.api_core.gapic_v1.method.wrap_method(
14211421
self.transport.set_iam_policy,
14221422
default_retry=self._method_configs['SetIamPolicy'].retry,
1423-
default_timeout=self._method_configs['SetIamPolicy']
1424-
.timeout,
1423+
default_timeout=self._method_configs['SetIamPolicy'].
1424+
timeout,
14251425
client_info=self._client_info,
14261426
)
14271427

@@ -1480,8 +1480,8 @@ def get_iam_policy(self,
14801480
'get_iam_policy'] = google.api_core.gapic_v1.method.wrap_method(
14811481
self.transport.get_iam_policy,
14821482
default_retry=self._method_configs['GetIamPolicy'].retry,
1483-
default_timeout=self._method_configs['GetIamPolicy']
1484-
.timeout,
1483+
default_timeout=self._method_configs['GetIamPolicy'].
1484+
timeout,
14851485
client_info=self._client_info,
14861486
)
14871487

@@ -1544,10 +1544,10 @@ def test_iam_permissions(self,
15441544
self._inner_api_calls[
15451545
'test_iam_permissions'] = google.api_core.gapic_v1.method.wrap_method(
15461546
self.transport.test_iam_permissions,
1547-
default_retry=self._method_configs[
1548-
'TestIamPermissions'].retry,
1549-
default_timeout=self._method_configs['TestIamPermissions']
1550-
.timeout,
1547+
default_retry=self._method_configs['TestIamPermissions'].
1548+
retry,
1549+
default_timeout=self._method_configs['TestIamPermissions'].
1550+
timeout,
15511551
client_info=self._client_info,
15521552
)
15531553

0 commit comments

Comments
 (0)
0