@@ -300,7 +300,12 @@ def sample_get_billing_account():
300300 )
301301
302302 # Send the request.
303- response = await rpc (request , retry = retry , timeout = timeout , metadata = metadata ,)
303+ response = await rpc (
304+ request ,
305+ retry = retry ,
306+ timeout = timeout ,
307+ metadata = metadata ,
308+ )
304309
305310 # Done; return the response.
306311 return response
@@ -377,12 +382,20 @@ def sample_list_billing_accounts():
377382 )
378383
379384 # Send the request.
380- response = await rpc (request , retry = retry , timeout = timeout , metadata = metadata ,)
385+ response = await rpc (
386+ request ,
387+ retry = retry ,
388+ timeout = timeout ,
389+ metadata = metadata ,
390+ )
381391
382392 # This method is paged; wrap the response in a pager, which provides
383393 # an `__aiter__` convenience method.
384394 response = pagers .ListBillingAccountsAsyncPager (
385- method = rpc , request = request , response = response , metadata = metadata ,
395+ method = rpc ,
396+ request = request ,
397+ response = response ,
398+ metadata = metadata ,
386399 )
387400
388401 # Done; return the response.
@@ -501,7 +514,12 @@ def sample_update_billing_account():
501514 )
502515
503516 # Send the request.
504- response = await rpc (request , retry = retry , timeout = timeout , metadata = metadata ,)
517+ response = await rpc (
518+ request ,
519+ retry = retry ,
520+ timeout = timeout ,
521+ metadata = metadata ,
522+ )
505523
506524 # Done; return the response.
507525 return response
@@ -599,7 +617,12 @@ def sample_create_billing_account():
599617 )
600618
601619 # Send the request.
602- response = await rpc (request , retry = retry , timeout = timeout , metadata = metadata ,)
620+ response = await rpc (
621+ request ,
622+ retry = retry ,
623+ timeout = timeout ,
624+ metadata = metadata ,
625+ )
603626
604627 # Done; return the response.
605628 return response
@@ -708,12 +731,20 @@ def sample_list_project_billing_info():
708731 )
709732
710733 # Send the request.
711- response = await rpc (request , retry = retry , timeout = timeout , metadata = metadata ,)
734+ response = await rpc (
735+ request ,
736+ retry = retry ,
737+ timeout = timeout ,
738+ metadata = metadata ,
739+ )
712740
713741 # This method is paged; wrap the response in a pager, which provides
714742 # an `__aiter__` convenience method.
715743 response = pagers .ListProjectBillingInfoAsyncPager (
716- method = rpc , request = request , response = response , metadata = metadata ,
744+ method = rpc ,
745+ request = request ,
746+ response = response ,
747+ metadata = metadata ,
717748 )
718749
719750 # Done; return the response.
@@ -821,7 +852,12 @@ def sample_get_project_billing_info():
821852 )
822853
823854 # Send the request.
824- response = await rpc (request , retry = retry , timeout = timeout , metadata = metadata ,)
855+ response = await rpc (
856+ request ,
857+ retry = retry ,
858+ timeout = timeout ,
859+ metadata = metadata ,
860+ )
825861
826862 # Done; return the response.
827863 return response
@@ -972,7 +1008,12 @@ def sample_update_project_billing_info():
9721008 )
9731009
9741010 # Send the request.
975- response = await rpc (request , retry = retry , timeout = timeout , metadata = metadata ,)
1011+ response = await rpc (
1012+ request ,
1013+ retry = retry ,
1014+ timeout = timeout ,
1015+ metadata = metadata ,
1016+ )
9761017
9771018 # Done; return the response.
9781019 return response
@@ -1104,7 +1145,9 @@ def sample_get_iam_policy():
11041145 if isinstance (request , dict ):
11051146 request = iam_policy_pb2 .GetIamPolicyRequest (** request )
11061147 elif not request :
1107- request = iam_policy_pb2 .GetIamPolicyRequest (resource = resource ,)
1148+ request = iam_policy_pb2 .GetIamPolicyRequest (
1149+ resource = resource ,
1150+ )
11081151
11091152 # Wrap the RPC method; this adds retry and timeout information,
11101153 # and friendly error handling.
@@ -1131,7 +1174,12 @@ def sample_get_iam_policy():
11311174 )
11321175
11331176 # Send the request.
1134- response = await rpc (request , retry = retry , timeout = timeout , metadata = metadata ,)
1177+ response = await rpc (
1178+ request ,
1179+ retry = retry ,
1180+ timeout = timeout ,
1181+ metadata = metadata ,
1182+ )
11351183
11361184 # Done; return the response.
11371185 return response
@@ -1264,7 +1312,9 @@ def sample_set_iam_policy():
12641312 if isinstance (request , dict ):
12651313 request = iam_policy_pb2 .SetIamPolicyRequest (** request )
12661314 elif not request :
1267- request = iam_policy_pb2 .SetIamPolicyRequest (resource = resource ,)
1315+ request = iam_policy_pb2 .SetIamPolicyRequest (
1316+ resource = resource ,
1317+ )
12681318
12691319 # Wrap the RPC method; this adds retry and timeout information,
12701320 # and friendly error handling.
@@ -1291,7 +1341,12 @@ def sample_set_iam_policy():
12911341 )
12921342
12931343 # Send the request.
1294- response = await rpc (request , retry = retry , timeout = timeout , metadata = metadata ,)
1344+ response = await rpc (
1345+ request ,
1346+ retry = retry ,
1347+ timeout = timeout ,
1348+ metadata = metadata ,
1349+ )
12951350
12961351 # Done; return the response.
12971352 return response
@@ -1381,7 +1436,8 @@ def sample_test_iam_permissions():
13811436 request = iam_policy_pb2 .TestIamPermissionsRequest (** request )
13821437 elif not request :
13831438 request = iam_policy_pb2 .TestIamPermissionsRequest (
1384- resource = resource , permissions = permissions ,
1439+ resource = resource ,
1440+ permissions = permissions ,
13851441 )
13861442
13871443 # Wrap the RPC method; this adds retry and timeout information,
@@ -1409,7 +1465,12 @@ def sample_test_iam_permissions():
14091465 )
14101466
14111467 # Send the request.
1412- response = await rpc (request , retry = retry , timeout = timeout , metadata = metadata ,)
1468+ response = await rpc (
1469+ request ,
1470+ retry = retry ,
1471+ timeout = timeout ,
1472+ metadata = metadata ,
1473+ )
14131474
14141475 # Done; return the response.
14151476 return response
@@ -1423,7 +1484,9 @@ async def __aexit__(self, exc_type, exc, tb):
14231484
14241485try :
14251486 DEFAULT_CLIENT_INFO = gapic_v1 .client_info .ClientInfo (
1426- gapic_version = pkg_resources .get_distribution ("google-cloud-billing" ,).version ,
1487+ gapic_version = pkg_resources .get_distribution (
1488+ "google-cloud-billing" ,
1489+ ).version ,
14271490 )
14281491except pkg_resources .DistributionNotFound :
14291492 DEFAULT_CLIENT_INFO = gapic_v1 .client_info .ClientInfo ()
0 commit comments