Skip to content

Commit dbb1794

Browse files
docs: Fix formatting of request arg in docstring (#734)
* 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: googleapis/googleapis-gen@b2ab4b0 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 b9f74fa commit dbb1794

File tree

4 files changed

+70
-62
lines changed

4 files changed

+70
-62
lines changed

google/cloud/logging_v2/services/config_service_v2/async_client.py

Lines changed: 33 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ async def sample_list_buckets():
271271
272272
Args:
273273
request (Optional[Union[google.cloud.logging_v2.types.ListBucketsRequest, dict]]):
274-
The request object. The parameters to `ListBuckets`.
274+
The request object. The parameters to ``ListBuckets``.
275275
parent (:class:`str`):
276276
Required. The parent resource whose buckets are to be
277277
listed:
@@ -393,7 +393,7 @@ async def sample_get_bucket():
393393
394394
Args:
395395
request (Optional[Union[google.cloud.logging_v2.types.GetBucketRequest, dict]]):
396-
The request object. The parameters to `GetBucket`.
396+
The request object. The parameters to ``GetBucket``.
397397
retry (google.api_core.retry.Retry): Designation of what errors, if any,
398398
should be retried.
399399
timeout (float): The timeout for this request.
@@ -475,7 +475,7 @@ async def sample_create_bucket():
475475
476476
Args:
477477
request (Optional[Union[google.cloud.logging_v2.types.CreateBucketRequest, dict]]):
478-
The request object. The parameters to `CreateBucket`.
478+
The request object. The parameters to ``CreateBucket``.
479479
retry (google.api_core.retry.Retry): Designation of what errors, if any,
480480
should be retried.
481481
timeout (float): The timeout for this request.
@@ -565,7 +565,7 @@ async def sample_update_bucket():
565565
566566
Args:
567567
request (Optional[Union[google.cloud.logging_v2.types.UpdateBucketRequest, dict]]):
568-
The request object. The parameters to `UpdateBucket`.
568+
The request object. The parameters to ``UpdateBucket``.
569569
retry (google.api_core.retry.Retry): Designation of what errors, if any,
570570
should be retried.
571571
timeout (float): The timeout for this request.
@@ -646,7 +646,7 @@ async def sample_delete_bucket():
646646
647647
Args:
648648
request (Optional[Union[google.cloud.logging_v2.types.DeleteBucketRequest, dict]]):
649-
The request object. The parameters to `DeleteBucket`.
649+
The request object. The parameters to ``DeleteBucket``.
650650
retry (google.api_core.retry.Retry): Designation of what errors, if any,
651651
should be retried.
652652
timeout (float): The timeout for this request.
@@ -715,7 +715,7 @@ async def sample_undelete_bucket():
715715
716716
Args:
717717
request (Optional[Union[google.cloud.logging_v2.types.UndeleteBucketRequest, dict]]):
718-
The request object. The parameters to `UndeleteBucket`.
718+
The request object. The parameters to ``UndeleteBucket``.
719719
retry (google.api_core.retry.Retry): Designation of what errors, if any,
720720
should be retried.
721721
timeout (float): The timeout for this request.
@@ -787,7 +787,7 @@ async def sample_list_views():
787787
788788
Args:
789789
request (Optional[Union[google.cloud.logging_v2.types.ListViewsRequest, dict]]):
790-
The request object. The parameters to `ListViews`.
790+
The request object. The parameters to ``ListViews``.
791791
parent (:class:`str`):
792792
Required. The bucket whose views are to be listed:
793793
@@ -901,7 +901,7 @@ async def sample_get_view():
901901
902902
Args:
903903
request (Optional[Union[google.cloud.logging_v2.types.GetViewRequest, dict]]):
904-
The request object. The parameters to `GetView`.
904+
The request object. The parameters to ``GetView``.
905905
retry (google.api_core.retry.Retry): Designation of what errors, if any,
906906
should be retried.
907907
timeout (float): The timeout for this request.
@@ -982,7 +982,7 @@ async def sample_create_view():
982982
983983
Args:
984984
request (Optional[Union[google.cloud.logging_v2.types.CreateViewRequest, dict]]):
985-
The request object. The parameters to `CreateView`.
985+
The request object. The parameters to ``CreateView``.
986986
retry (google.api_core.retry.Retry): Designation of what errors, if any,
987987
should be retried.
988988
timeout (float): The timeout for this request.
@@ -1065,7 +1065,7 @@ async def sample_update_view():
10651065
10661066
Args:
10671067
request (Optional[Union[google.cloud.logging_v2.types.UpdateViewRequest, dict]]):
1068-
The request object. The parameters to `UpdateView`.
1068+
The request object. The parameters to ``UpdateView``.
10691069
retry (google.api_core.retry.Retry): Designation of what errors, if any,
10701070
should be retried.
10711071
timeout (float): The timeout for this request.
@@ -1144,7 +1144,7 @@ async def sample_delete_view():
11441144
11451145
Args:
11461146
request (Optional[Union[google.cloud.logging_v2.types.DeleteViewRequest, dict]]):
1147-
The request object. The parameters to `DeleteView`.
1147+
The request object. The parameters to ``DeleteView``.
11481148
retry (google.api_core.retry.Retry): Designation of what errors, if any,
11491149
should be retried.
11501150
timeout (float): The timeout for this request.
@@ -1216,7 +1216,7 @@ async def sample_list_sinks():
12161216
12171217
Args:
12181218
request (Optional[Union[google.cloud.logging_v2.types.ListSinksRequest, dict]]):
1219-
The request object. The parameters to `ListSinks`.
1219+
The request object. The parameters to ``ListSinks``.
12201220
parent (:class:`str`):
12211221
Required. The parent resource whose sinks are to be
12221222
listed:
@@ -1346,7 +1346,7 @@ async def sample_get_sink():
13461346
13471347
Args:
13481348
request (Optional[Union[google.cloud.logging_v2.types.GetSinkRequest, dict]]):
1349-
The request object. The parameters to `GetSink`.
1349+
The request object. The parameters to ``GetSink``.
13501350
sink_name (:class:`str`):
13511351
Required. The resource name of the sink:
13521352
@@ -1487,7 +1487,7 @@ async def sample_create_sink():
14871487
14881488
Args:
14891489
request (Optional[Union[google.cloud.logging_v2.types.CreateSinkRequest, dict]]):
1490-
The request object. The parameters to `CreateSink`.
1490+
The request object. The parameters to ``CreateSink``.
14911491
parent (:class:`str`):
14921492
Required. The resource in which to create the sink:
14931493
@@ -1626,7 +1626,7 @@ async def sample_update_sink():
16261626
16271627
Args:
16281628
request (Optional[Union[google.cloud.logging_v2.types.UpdateSinkRequest, dict]]):
1629-
The request object. The parameters to `UpdateSink`.
1629+
The request object. The parameters to ``UpdateSink``.
16301630
sink_name (:class:`str`):
16311631
Required. The full resource name of the sink to update,
16321632
including the parent resource and the sink identifier:
@@ -1789,7 +1789,7 @@ async def sample_delete_sink():
17891789
17901790
Args:
17911791
request (Optional[Union[google.cloud.logging_v2.types.DeleteSinkRequest, dict]]):
1792-
The request object. The parameters to `DeleteSink`.
1792+
The request object. The parameters to ``DeleteSink``.
17931793
sink_name (:class:`str`):
17941794
Required. The full resource name of the sink to delete,
17951795
including the parent resource and the sink identifier:
@@ -1907,7 +1907,7 @@ async def sample_list_exclusions():
19071907
19081908
Args:
19091909
request (Optional[Union[google.cloud.logging_v2.types.ListExclusionsRequest, dict]]):
1910-
The request object. The parameters to `ListExclusions`.
1910+
The request object. The parameters to ``ListExclusions``.
19111911
parent (:class:`str`):
19121912
Required. The parent resource whose exclusions are to be
19131913
listed.
@@ -2037,7 +2037,7 @@ async def sample_get_exclusion():
20372037
20382038
Args:
20392039
request (Optional[Union[google.cloud.logging_v2.types.GetExclusionRequest, dict]]):
2040-
The request object. The parameters to `GetExclusion`.
2040+
The request object. The parameters to ``GetExclusion``.
20412041
name (:class:`str`):
20422042
Required. The resource name of an existing exclusion:
20432043
@@ -2172,7 +2172,7 @@ async def sample_create_exclusion():
21722172
21732173
Args:
21742174
request (Optional[Union[google.cloud.logging_v2.types.CreateExclusionRequest, dict]]):
2175-
The request object. The parameters to `CreateExclusion`.
2175+
The request object. The parameters to ``CreateExclusion``.
21762176
parent (:class:`str`):
21772177
Required. The parent resource in which to create the
21782178
exclusion:
@@ -2308,7 +2308,7 @@ async def sample_update_exclusion():
23082308
23092309
Args:
23102310
request (Optional[Union[google.cloud.logging_v2.types.UpdateExclusionRequest, dict]]):
2311-
The request object. The parameters to `UpdateExclusion`.
2311+
The request object. The parameters to ``UpdateExclusion``.
23122312
name (:class:`str`):
23132313
Required. The resource name of the exclusion to update:
23142314
@@ -2447,7 +2447,7 @@ async def sample_delete_exclusion():
24472447
24482448
Args:
24492449
request (Optional[Union[google.cloud.logging_v2.types.DeleteExclusionRequest, dict]]):
2450-
The request object. The parameters to `DeleteExclusion`.
2450+
The request object. The parameters to ``DeleteExclusion``.
24512451
name (:class:`str`):
24522452
Required. The resource name of an existing exclusion to
24532453
delete:
@@ -2571,8 +2571,9 @@ async def sample_get_cmek_settings():
25712571
request (Optional[Union[google.cloud.logging_v2.types.GetCmekSettingsRequest, dict]]):
25722572
The request object. The parameters to
25732573
[GetCmekSettings][google.logging.v2.ConfigServiceV2.GetCmekSettings].
2574-
See [Enabling CMEK for Log
2575-
Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
2574+
2575+
See `Enabling CMEK for Log
2576+
Router <https://cloud.google.com/logging/docs/routing/managed-encryption>`__
25762577
for more information.
25772578
retry (google.api_core.retry.Retry): Designation of what errors, if any,
25782579
should be retried.
@@ -2678,8 +2679,9 @@ async def sample_update_cmek_settings():
26782679
request (Optional[Union[google.cloud.logging_v2.types.UpdateCmekSettingsRequest, dict]]):
26792680
The request object. The parameters to
26802681
[UpdateCmekSettings][google.logging.v2.ConfigServiceV2.UpdateCmekSettings].
2681-
See [Enabling CMEK for Log
2682-
Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
2682+
2683+
See `Enabling CMEK for Log
2684+
Router <https://cloud.google.com/logging/docs/routing/managed-encryption>`__
26832685
for more information.
26842686
retry (google.api_core.retry.Retry): Designation of what errors, if any,
26852687
should be retried.
@@ -2782,8 +2784,9 @@ async def sample_get_settings():
27822784
request (Optional[Union[google.cloud.logging_v2.types.GetSettingsRequest, dict]]):
27832785
The request object. The parameters to
27842786
[GetSettings][google.logging.v2.ConfigServiceV2.GetSettings].
2785-
See [Enabling CMEK for Log
2786-
Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
2787+
2788+
See `Enabling CMEK for Log
2789+
Router <https://cloud.google.com/logging/docs/routing/managed-encryption>`__
27872790
for more information.
27882791
name (:class:`str`):
27892792
Required. The resource for which to retrieve settings.
@@ -2923,8 +2926,9 @@ async def sample_update_settings():
29232926
request (Optional[Union[google.cloud.logging_v2.types.UpdateSettingsRequest, dict]]):
29242927
The request object. The parameters to
29252928
[UpdateSettings][google.logging.v2.ConfigServiceV2.UpdateSettings].
2926-
See [Enabling CMEK for Log
2927-
Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
2929+
2930+
See `Enabling CMEK for Log
2931+
Router <https://cloud.google.com/logging/docs/routing/managed-encryption>`__
29282932
for more information.
29292933
settings (:class:`google.cloud.logging_v2.types.Settings`):
29302934
Required. The settings to update.

0 commit comments

Comments
 (0)