Content-Length: 537501 | pFad | http://github.com/googleapis/python-service-usage/commit/f730be62e82de2374216e72d8a54fc8110e0a868

80 docs: Fix formatting of request arg in docstring (#170) · googleapis/python-service-usage@f730be6 · GitHub
Skip to content
This repository was archived by the owner on Jul 6, 2023. It is now read-only.

Commit f730be6

Browse files
docs: Fix formatting of request arg in docstring (#170)
* docs: Fix formatting of request arg in docstring chore: Update gapic-generator-python to v1.9.1 PiperOrigin-RevId: 518604533 Source-Link: googleapis/googleapis@8a085ae Source-Link: https://github.com/googleapis/googleapis-gen/commit/b2ab4b0a0ae2907e812c209198a74e0898afcb04 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYjJhYjRiMGEwYWUyOTA3ZTgxMmMyMDkxOThhNzRlMDg5OGFmY2IwNCJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 532aa3e commit f730be6

File tree

3 files changed

+13
-25
lines changed

3 files changed

+13
-25
lines changed

google/cloud/service_usage_v1/services/service_usage/async_client.py

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -259,8 +259,7 @@ async def sample_enable_service():
259259
260260
Args:
261261
request (Optional[Union[google.cloud.service_usage_v1.types.EnableServiceRequest, dict]]):
262-
The request object. Request message for the
263-
`EnableService` method.
262+
The request object. Request message for the ``EnableService`` method.
264263
retry (google.api_core.retry.Retry): Designation of what errors, if any,
265264
should be retried.
266265
timeout (float): The timeout for this request.
@@ -361,8 +360,7 @@ async def sample_disable_service():
361360
362361
Args:
363362
request (Optional[Union[google.cloud.service_usage_v1.types.DisableServiceRequest, dict]]):
364-
The request object. Request message for the
365-
`DisableService` method.
363+
The request object. Request message for the ``DisableService`` method.
366364
retry (google.api_core.retry.Retry): Designation of what errors, if any,
367365
should be retried.
368366
timeout (float): The timeout for this request.
@@ -453,8 +451,7 @@ async def sample_get_service():
453451
454452
Args:
455453
request (Optional[Union[google.cloud.service_usage_v1.types.GetServiceRequest, dict]]):
456-
The request object. Request message for the `GetService`
457-
method.
454+
The request object. Request message for the ``GetService`` method.
458455
retry (google.api_core.retry.Retry): Designation of what errors, if any,
459456
should be retried.
460457
timeout (float): The timeout for this request.
@@ -546,8 +543,7 @@ async def sample_list_services():
546543
547544
Args:
548545
request (Optional[Union[google.cloud.service_usage_v1.types.ListServicesRequest, dict]]):
549-
The request object. Request message for the
550-
`ListServices` method.
546+
The request object. Request message for the ``ListServices`` method.
551547
retry (google.api_core.retry.Retry): Designation of what errors, if any,
552548
should be retried.
553549
timeout (float): The timeout for this request.
@@ -643,8 +639,7 @@ async def sample_batch_enable_services():
643639
644640
Args:
645641
request (Optional[Union[google.cloud.service_usage_v1.types.BatchEnableServicesRequest, dict]]):
646-
The request object. Request message for the
647-
`BatchEnableServices` method.
642+
The request object. Request message for the ``BatchEnableServices`` method.
648643
retry (google.api_core.retry.Retry): Designation of what errors, if any,
649644
should be retried.
650645
timeout (float): The timeout for this request.
@@ -735,8 +730,7 @@ async def sample_batch_get_services():
735730
736731
Args:
737732
request (Optional[Union[google.cloud.service_usage_v1.types.BatchGetServicesRequest, dict]]):
738-
The request object. Request message for the
739-
`BatchGetServices` method.
733+
The request object. Request message for the ``BatchGetServices`` method.
740734
retry (google.api_core.retry.Retry): Designation of what errors, if any,
741735
should be retried.
742736
timeout (float): The timeout for this request.

google/cloud/service_usage_v1/services/service_usage/client.py

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -470,8 +470,7 @@ def sample_enable_service():
470470
471471
Args:
472472
request (Union[google.cloud.service_usage_v1.types.EnableServiceRequest, dict]):
473-
The request object. Request message for the
474-
`EnableService` method.
473+
The request object. Request message for the ``EnableService`` method.
475474
retry (google.api_core.retry.Retry): Designation of what errors, if any,
476475
should be retried.
477476
timeout (float): The timeout for this request.
@@ -573,8 +572,7 @@ def sample_disable_service():
573572
574573
Args:
575574
request (Union[google.cloud.service_usage_v1.types.DisableServiceRequest, dict]):
576-
The request object. Request message for the
577-
`DisableService` method.
575+
The request object. Request message for the ``DisableService`` method.
578576
retry (google.api_core.retry.Retry): Designation of what errors, if any,
579577
should be retried.
580578
timeout (float): The timeout for this request.
@@ -666,8 +664,7 @@ def sample_get_service():
666664
667665
Args:
668666
request (Union[google.cloud.service_usage_v1.types.GetServiceRequest, dict]):
669-
The request object. Request message for the `GetService`
670-
method.
667+
The request object. Request message for the ``GetService`` method.
671668
retry (google.api_core.retry.Retry): Designation of what errors, if any,
672669
should be retried.
673670
timeout (float): The timeout for this request.
@@ -760,8 +757,7 @@ def sample_list_services():
760757
761758
Args:
762759
request (Union[google.cloud.service_usage_v1.types.ListServicesRequest, dict]):
763-
The request object. Request message for the
764-
`ListServices` method.
760+
The request object. Request message for the ``ListServices`` method.
765761
retry (google.api_core.retry.Retry): Designation of what errors, if any,
766762
should be retried.
767763
timeout (float): The timeout for this request.
@@ -858,8 +854,7 @@ def sample_batch_enable_services():
858854
859855
Args:
860856
request (Union[google.cloud.service_usage_v1.types.BatchEnableServicesRequest, dict]):
861-
The request object. Request message for the
862-
`BatchEnableServices` method.
857+
The request object. Request message for the ``BatchEnableServices`` method.
863858
retry (google.api_core.retry.Retry): Designation of what errors, if any,
864859
should be retried.
865860
timeout (float): The timeout for this request.
@@ -951,8 +946,7 @@ def sample_batch_get_services():
951946
952947
Args:
953948
request (Union[google.cloud.service_usage_v1.types.BatchGetServicesRequest, dict]):
954-
The request object. Request message for the
955-
`BatchGetServices` method.
949+
The request object. Request message for the ``BatchGetServices`` method.
956950
retry (google.api_core.retry.Retry): Designation of what errors, if any,
957951
should be retried.
958952
timeout (float): The timeout for this request.

samples/generated_samples/snippet_metadata_google.api.serviceusage.v1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
],
99
"language": "PYTHON",
1010
"name": "google-cloud-service-usage",
11-
"version": "1.7.0"
11+
"version": "0.1.0"
1212
},
1313
"snippets": [
1414
{

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/googleapis/python-service-usage/commit/f730be62e82de2374216e72d8a54fc8110e0a868

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy