Skip to content

Commit 561dc39

Browse files
docs: Fix formatting of request arg in docstring (#422)
* 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 3ad04a0 commit 561dc39

File tree

8 files changed

+7
-13
lines changed

8 files changed

+7
-13
lines changed

google/cloud/errorreporting_v1beta1/services/error_group_service/transports/rest.py

-2
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,6 @@ def __call__(
259259
request (~.error_group_service.GetGroupRequest):
260260
The request object. A request to return an individual
261261
group.
262-
263262
retry (google.api_core.retry.Retry): Designation of what errors, if any,
264263
should be retried.
265264
timeout (float): The timeout for this request.
@@ -349,7 +348,6 @@ def __call__(
349348
request (~.error_group_service.UpdateGroupRequest):
350349
The request object. A request to replace the existing
351350
data for the given group.
352-
353351
retry (google.api_core.retry.Retry): Designation of what errors, if any,
354352
should be retried.
355353
timeout (float): The timeout for this request.

google/cloud/errorreporting_v1beta1/services/error_stats_service/async_client.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -261,8 +261,7 @@ async def sample_list_group_stats():
261261
262262
Args:
263263
request (Optional[Union[google.cloud.errorreporting_v1beta1.types.ListGroupStatsRequest, dict]]):
264-
The request object. Specifies a set of `ErrorGroupStats`
265-
to return.
264+
The request object. Specifies a set of ``ErrorGroupStats`` to return.
266265
project_name (:class:`str`):
267266
Required. The resource name of the Google Cloud Platform
268267
project. Written as ``projects/{projectID}`` or

google/cloud/errorreporting_v1beta1/services/error_stats_service/client.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -483,8 +483,7 @@ def sample_list_group_stats():
483483
484484
Args:
485485
request (Union[google.cloud.errorreporting_v1beta1.types.ListGroupStatsRequest, dict]):
486-
The request object. Specifies a set of `ErrorGroupStats`
487-
to return.
486+
The request object. Specifies a set of ``ErrorGroupStats`` to return.
488487
project_name (str):
489488
Required. The resource name of the Google Cloud Platform
490489
project. Written as ``projects/{projectID}`` or

google/cloud/errorreporting_v1beta1/services/error_stats_service/transports/rest.py

-1
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,6 @@ def __call__(
384384
request (~.error_stats_service.ListEventsRequest):
385385
The request object. Specifies a set of error events to
386386
return.
387-
388387
retry (google.api_core.retry.Retry): Designation of what errors, if any,
389388
should be retried.
390389
timeout (float): The timeout for this request.

google/cloud/errorreporting_v1beta1/services/report_errors_service/async_client.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -269,8 +269,8 @@ async def sample_report_error_event():
269269
270270
Args:
271271
request (Optional[Union[google.cloud.errorreporting_v1beta1.types.ReportErrorEventRequest, dict]]):
272-
The request object. A request for reporting an
273-
individual error event.
272+
The request object. A request for reporting an individual
273+
error event.
274274
project_name (:class:`str`):
275275
Required. The resource name of the Google Cloud Platform
276276
project. Written as ``projects/{projectId}``, where

google/cloud/errorreporting_v1beta1/services/report_errors_service/client.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -477,8 +477,8 @@ def sample_report_error_event():
477477
478478
Args:
479479
request (Union[google.cloud.errorreporting_v1beta1.types.ReportErrorEventRequest, dict]):
480-
The request object. A request for reporting an
481-
individual error event.
480+
The request object. A request for reporting an individual
481+
error event.
482482
project_name (str):
483483
Required. The resource name of the Google Cloud Platform
484484
project. Written as ``projects/{projectId}``, where

google/cloud/errorreporting_v1beta1/services/report_errors_service/transports/rest.py

-1
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,6 @@ def __call__(
233233
request (~.report_errors_service.ReportErrorEventRequest):
234234
The request object. A request for reporting an individual
235235
error event.
236-
237236
retry (google.api_core.retry.Retry): Designation of what errors, if any,
238237
should be retried.
239238
timeout (float): The timeout for this request.

samples/generated_samples/snippet_metadata_google.devtools.clouderrorreporting.v1beta1.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
],
99
"language": "PYTHON",
1010
"name": "google-cloud-error-reporting",
11-
"version": "1.9.0"
11+
"version": "0.1.0"
1212
},
1313
"snippets": [
1414
{

0 commit comments

Comments
 (0)