Skip to content
This repository was archived by the owner on Jul 6, 2023. It is now read-only.

Commit 3054d9f

Browse files
docs: Fix formatting of request arg in docstring (#201)
* 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 ddc0cd0 commit 3054d9f

File tree

4 files changed

+60
-120
lines changed

4 files changed

+60
-120
lines changed

google/cloud/domains_v1/services/domains/async_client.py

Lines changed: 15 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -261,8 +261,7 @@ async def sample_search_domains():
261261
262262
Args:
263263
request (Optional[Union[google.cloud.domains_v1.types.SearchDomainsRequest, dict]]):
264-
The request object. Request for the `SearchDomains`
265-
method.
264+
The request object. Request for the ``SearchDomains`` method.
266265
location (:class:`str`):
267266
Required. The location. Must be in the format
268267
``projects/*/locations/*``.
@@ -376,8 +375,7 @@ async def sample_retrieve_register_parameters():
376375
377376
Args:
378377
request (Optional[Union[google.cloud.domains_v1.types.RetrieveRegisterParametersRequest, dict]]):
379-
The request object. Request for the
380-
`RetrieveRegisterParameters` method.
378+
The request object. Request for the ``RetrieveRegisterParameters`` method.
381379
location (:class:`str`):
382380
Required. The location. Must be in the format
383381
``projects/*/locations/*``.
@@ -516,8 +514,7 @@ async def sample_register_domain():
516514
517515
Args:
518516
request (Optional[Union[google.cloud.domains_v1.types.RegisterDomainRequest, dict]]):
519-
The request object. Request for the `RegisterDomain`
520-
method.
517+
The request object. Request for the ``RegisterDomain`` method.
521518
parent (:class:`str`):
522519
Required. The parent resource of the ``Registration``.
523520
Must be in the format ``projects/*/locations/*``.
@@ -677,8 +674,7 @@ async def sample_retrieve_transfer_parameters():
677674
678675
Args:
679676
request (Optional[Union[google.cloud.domains_v1.types.RetrieveTransferParametersRequest, dict]]):
680-
The request object. Request for the
681-
`RetrieveTransferParameters` method.
677+
The request object. Request for the ``RetrieveTransferParameters`` method.
682678
location (:class:`str`):
683679
Required. The location. Must be in the format
684680
``projects/*/locations/*``.
@@ -828,8 +824,7 @@ async def sample_transfer_domain():
828824
829825
Args:
830826
request (Optional[Union[google.cloud.domains_v1.types.TransferDomainRequest, dict]]):
831-
The request object. Request for the `TransferDomain`
832-
method.
827+
The request object. Request for the ``TransferDomain`` method.
833828
parent (:class:`str`):
834829
Required. The parent resource of the ``Registration``.
835830
Must be in the format ``projects/*/locations/*``.
@@ -1000,8 +995,7 @@ async def sample_list_registrations():
1000995
1001996
Args:
1002997
request (Optional[Union[google.cloud.domains_v1.types.ListRegistrationsRequest, dict]]):
1003-
The request object. Request for the `ListRegistrations`
1004-
method.
998+
The request object. Request for the ``ListRegistrations`` method.
1005999
parent (:class:`str`):
10061000
Required. The project and location from which to list
10071001
``Registration``\ s, specified in the format
@@ -1114,8 +1108,7 @@ async def sample_get_registration():
11141108
11151109
Args:
11161110
request (Optional[Union[google.cloud.domains_v1.types.GetRegistrationRequest, dict]]):
1117-
The request object. Request for the `GetRegistration`
1118-
method.
1111+
The request object. Request for the ``GetRegistration`` method.
11191112
name (:class:`str`):
11201113
Required. The name of the ``Registration`` to get, in
11211114
the format ``projects/*/locations/*/registrations/*``.
@@ -1248,8 +1241,7 @@ async def sample_update_registration():
12481241
12491242
Args:
12501243
request (Optional[Union[google.cloud.domains_v1.types.UpdateRegistrationRequest, dict]]):
1251-
The request object. Request for the `UpdateRegistration`
1252-
method.
1244+
The request object. Request for the ``UpdateRegistration`` method.
12531245
registration (:class:`google.cloud.domains_v1.types.Registration`):
12541246
Fields of the ``Registration`` to update.
12551247
This corresponds to the ``registration`` field
@@ -1399,8 +1391,7 @@ async def sample_configure_management_settings():
13991391
14001392
Args:
14011393
request (Optional[Union[google.cloud.domains_v1.types.ConfigureManagementSettingsRequest, dict]]):
1402-
The request object. Request for the
1403-
`ConfigureManagementSettings` method.
1394+
The request object. Request for the ``ConfigureManagementSettings`` method.
14041395
registration (:class:`str`):
14051396
Required. The name of the ``Registration`` whose
14061397
management settings are being updated, in the format
@@ -1558,8 +1549,7 @@ async def sample_configure_dns_settings():
15581549
15591550
Args:
15601551
request (Optional[Union[google.cloud.domains_v1.types.ConfigureDnsSettingsRequest, dict]]):
1561-
The request object. Request for the
1562-
`ConfigureDnsSettings` method.
1552+
The request object. Request for the ``ConfigureDnsSettings`` method.
15631553
registration (:class:`str`):
15641554
Required. The name of the ``Registration`` whose DNS
15651555
settings are being updated, in the format
@@ -1725,8 +1715,7 @@ async def sample_configure_contact_settings():
17251715
17261716
Args:
17271717
request (Optional[Union[google.cloud.domains_v1.types.ConfigureContactSettingsRequest, dict]]):
1728-
The request object. Request for the
1729-
`ConfigureContactSettings` method.
1718+
The request object. Request for the ``ConfigureContactSettings`` method.
17301719
registration (:class:`str`):
17311720
Required. The name of the ``Registration`` whose contact
17321721
settings are being updated, in the format
@@ -1891,8 +1880,7 @@ async def sample_export_registration():
18911880
18921881
Args:
18931882
request (Optional[Union[google.cloud.domains_v1.types.ExportRegistrationRequest, dict]]):
1894-
The request object. Request for the `ExportRegistration`
1895-
method.
1883+
The request object. Request for the ``ExportRegistration`` method.
18961884
name (:class:`str`):
18971885
Required. The name of the ``Registration`` to export, in
18981886
the format ``projects/*/locations/*/registrations/*``.
@@ -2048,8 +2036,7 @@ async def sample_delete_registration():
20482036
20492037
Args:
20502038
request (Optional[Union[google.cloud.domains_v1.types.DeleteRegistrationRequest, dict]]):
2051-
The request object. Request for the `DeleteRegistration`
2052-
method.
2039+
The request object. Request for the ``DeleteRegistration`` method.
20532040
name (:class:`str`):
20542041
Required. The name of the ``Registration`` to delete, in
20552042
the format ``projects/*/locations/*/registrations/*``.
@@ -2172,8 +2159,7 @@ async def sample_retrieve_authorization_code():
21722159
21732160
Args:
21742161
request (Optional[Union[google.cloud.domains_v1.types.RetrieveAuthorizationCodeRequest, dict]]):
2175-
The request object. Request for the
2176-
`RetrieveAuthorizationCode` method.
2162+
The request object. Request for the ``RetrieveAuthorizationCode`` method.
21772163
registration (:class:`str`):
21782164
Required. The name of the ``Registration`` whose
21792165
authorization code is being retrieved, in the format
@@ -2279,8 +2265,7 @@ async def sample_reset_authorization_code():
22792265
22802266
Args:
22812267
request (Optional[Union[google.cloud.domains_v1.types.ResetAuthorizationCodeRequest, dict]]):
2282-
The request object. Request for the
2283-
`ResetAuthorizationCode` method.
2268+
The request object. Request for the ``ResetAuthorizationCode`` method.
22842269
registration (:class:`str`):
22852270
Required. The name of the ``Registration`` whose
22862271
authorization code is being reset, in the format

google/cloud/domains_v1/services/domains/client.py

Lines changed: 15 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -496,8 +496,7 @@ def sample_search_domains():
496496
497497
Args:
498498
request (Union[google.cloud.domains_v1.types.SearchDomainsRequest, dict]):
499-
The request object. Request for the `SearchDomains`
500-
method.
499+
The request object. Request for the ``SearchDomains`` method.
501500
location (str):
502501
Required. The location. Must be in the format
503502
``projects/*/locations/*``.
@@ -611,8 +610,7 @@ def sample_retrieve_register_parameters():
611610
612611
Args:
613612
request (Union[google.cloud.domains_v1.types.RetrieveRegisterParametersRequest, dict]):
614-
The request object. Request for the
615-
`RetrieveRegisterParameters` method.
613+
The request object. Request for the ``RetrieveRegisterParameters`` method.
616614
location (str):
617615
Required. The location. Must be in the format
618616
``projects/*/locations/*``.
@@ -753,8 +751,7 @@ def sample_register_domain():
753751
754752
Args:
755753
request (Union[google.cloud.domains_v1.types.RegisterDomainRequest, dict]):
756-
The request object. Request for the `RegisterDomain`
757-
method.
754+
The request object. Request for the ``RegisterDomain`` method.
758755
parent (str):
759756
Required. The parent resource of the ``Registration``.
760757
Must be in the format ``projects/*/locations/*``.
@@ -914,8 +911,7 @@ def sample_retrieve_transfer_parameters():
914911
915912
Args:
916913
request (Union[google.cloud.domains_v1.types.RetrieveTransferParametersRequest, dict]):
917-
The request object. Request for the
918-
`RetrieveTransferParameters` method.
914+
The request object. Request for the ``RetrieveTransferParameters`` method.
919915
location (str):
920916
Required. The location. Must be in the format
921917
``projects/*/locations/*``.
@@ -1067,8 +1063,7 @@ def sample_transfer_domain():
10671063
10681064
Args:
10691065
request (Union[google.cloud.domains_v1.types.TransferDomainRequest, dict]):
1070-
The request object. Request for the `TransferDomain`
1071-
method.
1066+
The request object. Request for the ``TransferDomain`` method.
10721067
parent (str):
10731068
Required. The parent resource of the ``Registration``.
10741069
Must be in the format ``projects/*/locations/*``.
@@ -1239,8 +1234,7 @@ def sample_list_registrations():
12391234
12401235
Args:
12411236
request (Union[google.cloud.domains_v1.types.ListRegistrationsRequest, dict]):
1242-
The request object. Request for the `ListRegistrations`
1243-
method.
1237+
The request object. Request for the ``ListRegistrations`` method.
12441238
parent (str):
12451239
Required. The project and location from which to list
12461240
``Registration``\ s, specified in the format
@@ -1353,8 +1347,7 @@ def sample_get_registration():
13531347
13541348
Args:
13551349
request (Union[google.cloud.domains_v1.types.GetRegistrationRequest, dict]):
1356-
The request object. Request for the `GetRegistration`
1357-
method.
1350+
The request object. Request for the ``GetRegistration`` method.
13581351
name (str):
13591352
Required. The name of the ``Registration`` to get, in
13601353
the format ``projects/*/locations/*/registrations/*``.
@@ -1487,8 +1480,7 @@ def sample_update_registration():
14871480
14881481
Args:
14891482
request (Union[google.cloud.domains_v1.types.UpdateRegistrationRequest, dict]):
1490-
The request object. Request for the `UpdateRegistration`
1491-
method.
1483+
The request object. Request for the ``UpdateRegistration`` method.
14921484
registration (google.cloud.domains_v1.types.Registration):
14931485
Fields of the ``Registration`` to update.
14941486
This corresponds to the ``registration`` field
@@ -1638,8 +1630,7 @@ def sample_configure_management_settings():
16381630
16391631
Args:
16401632
request (Union[google.cloud.domains_v1.types.ConfigureManagementSettingsRequest, dict]):
1641-
The request object. Request for the
1642-
`ConfigureManagementSettings` method.
1633+
The request object. Request for the ``ConfigureManagementSettings`` method.
16431634
registration (str):
16441635
Required. The name of the ``Registration`` whose
16451636
management settings are being updated, in the format
@@ -1799,8 +1790,7 @@ def sample_configure_dns_settings():
17991790
18001791
Args:
18011792
request (Union[google.cloud.domains_v1.types.ConfigureDnsSettingsRequest, dict]):
1802-
The request object. Request for the
1803-
`ConfigureDnsSettings` method.
1793+
The request object. Request for the ``ConfigureDnsSettings`` method.
18041794
registration (str):
18051795
Required. The name of the ``Registration`` whose DNS
18061796
settings are being updated, in the format
@@ -1966,8 +1956,7 @@ def sample_configure_contact_settings():
19661956
19671957
Args:
19681958
request (Union[google.cloud.domains_v1.types.ConfigureContactSettingsRequest, dict]):
1969-
The request object. Request for the
1970-
`ConfigureContactSettings` method.
1959+
The request object. Request for the ``ConfigureContactSettings`` method.
19711960
registration (str):
19721961
Required. The name of the ``Registration`` whose contact
19731962
settings are being updated, in the format
@@ -2134,8 +2123,7 @@ def sample_export_registration():
21342123
21352124
Args:
21362125
request (Union[google.cloud.domains_v1.types.ExportRegistrationRequest, dict]):
2137-
The request object. Request for the `ExportRegistration`
2138-
method.
2126+
The request object. Request for the ``ExportRegistration`` method.
21392127
name (str):
21402128
Required. The name of the ``Registration`` to export, in
21412129
the format ``projects/*/locations/*/registrations/*``.
@@ -2291,8 +2279,7 @@ def sample_delete_registration():
22912279
22922280
Args:
22932281
request (Union[google.cloud.domains_v1.types.DeleteRegistrationRequest, dict]):
2294-
The request object. Request for the `DeleteRegistration`
2295-
method.
2282+
The request object. Request for the ``DeleteRegistration`` method.
22962283
name (str):
22972284
Required. The name of the ``Registration`` to delete, in
22982285
the format ``projects/*/locations/*/registrations/*``.
@@ -2415,8 +2402,7 @@ def sample_retrieve_authorization_code():
24152402
24162403
Args:
24172404
request (Union[google.cloud.domains_v1.types.RetrieveAuthorizationCodeRequest, dict]):
2418-
The request object. Request for the
2419-
`RetrieveAuthorizationCode` method.
2405+
The request object. Request for the ``RetrieveAuthorizationCode`` method.
24202406
registration (str):
24212407
Required. The name of the ``Registration`` whose
24222408
authorization code is being retrieved, in the format
@@ -2524,8 +2510,7 @@ def sample_reset_authorization_code():
25242510
25252511
Args:
25262512
request (Union[google.cloud.domains_v1.types.ResetAuthorizationCodeRequest, dict]):
2527-
The request object. Request for the
2528-
`ResetAuthorizationCode` method.
2513+
The request object. Request for the ``ResetAuthorizationCode`` method.
25292514
registration (str):
25302515
Required. The name of the ``Registration`` whose
25312516
authorization code is being reset, in the format

0 commit comments

Comments
 (0)