Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Fix formatting of request arg in docstring #422

Merged
merged 2 commits into from
Mar 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,6 @@ def __call__(
request (~.error_group_service.GetGroupRequest):
The request object. A request to return an individual
group.

retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -349,7 +348,6 @@ def __call__(
request (~.error_group_service.UpdateGroupRequest):
The request object. A request to replace the existing
data for the given group.

retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -261,8 +261,7 @@ async def sample_list_group_stats():

Args:
request (Optional[Union[google.cloud.errorreporting_v1beta1.types.ListGroupStatsRequest, dict]]):
The request object. Specifies a set of `ErrorGroupStats`
to return.
The request object. Specifies a set of ``ErrorGroupStats`` to return.
project_name (:class:`str`):
Required. The resource name of the Google Cloud Platform
project. Written as ``projects/{projectID}`` or
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -483,8 +483,7 @@ def sample_list_group_stats():

Args:
request (Union[google.cloud.errorreporting_v1beta1.types.ListGroupStatsRequest, dict]):
The request object. Specifies a set of `ErrorGroupStats`
to return.
The request object. Specifies a set of ``ErrorGroupStats`` to return.
project_name (str):
Required. The resource name of the Google Cloud Platform
project. Written as ``projects/{projectID}`` or
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,6 @@ def __call__(
request (~.error_stats_service.ListEventsRequest):
The request object. Specifies a set of error events to
return.

retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -269,8 +269,8 @@ async def sample_report_error_event():

Args:
request (Optional[Union[google.cloud.errorreporting_v1beta1.types.ReportErrorEventRequest, dict]]):
The request object. A request for reporting an
individual error event.
The request object. A request for reporting an individual
error event.
project_name (:class:`str`):
Required. The resource name of the Google Cloud Platform
project. Written as ``projects/{projectId}``, where
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -477,8 +477,8 @@ def sample_report_error_event():

Args:
request (Union[google.cloud.errorreporting_v1beta1.types.ReportErrorEventRequest, dict]):
The request object. A request for reporting an
individual error event.
The request object. A request for reporting an individual
error event.
project_name (str):
Required. The resource name of the Google Cloud Platform
project. Written as ``projects/{projectId}``, where
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,6 @@ def __call__(
request (~.report_errors_service.ReportErrorEventRequest):
The request object. A request for reporting an individual
error event.

retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
],
"language": "PYTHON",
"name": "google-cloud-error-reporting",
"version": "1.9.0"
"version": "0.1.0"
},
"snippets": [
{
Expand Down