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

Commit

Permalink
docs: Fix formatting of request arg in docstring (#125)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] committed Mar 23, 2023
1 parent f94402a commit 5c9463e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -265,8 +265,7 @@ async def sample_get_metrics_scope():
Args:
request (Optional[Union[google.cloud.monitoring_metrics_scope_v1.types.GetMetricsScopeRequest, dict]]):
The request object. Request for the `GetMetricsScope`
method.
The request object. Request for the ``GetMetricsScope`` method.
name (:class:`str`):
Required. The resource name of the ``Metrics Scope``.
Example:
Expand Down Expand Up @@ -375,8 +374,8 @@ async def sample_list_metrics_scopes_by_monitored_project():
Args:
request (Optional[Union[google.cloud.monitoring_metrics_scope_v1.types.ListMetricsScopesByMonitoredProjectRequest, dict]]):
The request object. Request for the
`ListMetricsScopesByMonitoredProject` method.
The request object. Request for the ``ListMetricsScopesByMonitoredProject``
method.
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 @@ -458,8 +457,7 @@ async def sample_create_monitored_project():
Args:
request (Optional[Union[google.cloud.monitoring_metrics_scope_v1.types.CreateMonitoredProjectRequest, dict]]):
The request object. Request for the
`CreateMonitoredProject` method.
The request object. Request for the ``CreateMonitoredProject`` method.
parent (:class:`str`):
Required. The resource name of the existing
``Metrics Scope`` that will monitor this project.
Expand Down Expand Up @@ -593,8 +591,7 @@ async def sample_delete_monitored_project():
Args:
request (Optional[Union[google.cloud.monitoring_metrics_scope_v1.types.DeleteMonitoredProjectRequest, dict]]):
The request object. Request for the
`DeleteMonitoredProject` method.
The request object. Request for the ``DeleteMonitoredProject`` method.
name (:class:`str`):
Required. The resource name of the ``MonitoredProject``.
Example:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -499,8 +499,7 @@ def sample_get_metrics_scope():
Args:
request (Union[google.cloud.monitoring_metrics_scope_v1.types.GetMetricsScopeRequest, dict]):
The request object. Request for the `GetMetricsScope`
method.
The request object. Request for the ``GetMetricsScope`` method.
name (str):
Required. The resource name of the ``Metrics Scope``.
Example:
Expand Down Expand Up @@ -609,8 +608,8 @@ def sample_list_metrics_scopes_by_monitored_project():
Args:
request (Union[google.cloud.monitoring_metrics_scope_v1.types.ListMetricsScopesByMonitoredProjectRequest, dict]):
The request object. Request for the
`ListMetricsScopesByMonitoredProject` method.
The request object. Request for the ``ListMetricsScopesByMonitoredProject``
method.
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 @@ -697,8 +696,7 @@ def sample_create_monitored_project():
Args:
request (Union[google.cloud.monitoring_metrics_scope_v1.types.CreateMonitoredProjectRequest, dict]):
The request object. Request for the
`CreateMonitoredProject` method.
The request object. Request for the ``CreateMonitoredProject`` method.
parent (str):
Required. The resource name of the existing
``Metrics Scope`` that will monitor this project.
Expand Down Expand Up @@ -832,8 +830,7 @@ def sample_delete_monitored_project():
Args:
request (Union[google.cloud.monitoring_metrics_scope_v1.types.DeleteMonitoredProjectRequest, dict]):
The request object. Request for the
`DeleteMonitoredProject` method.
The request object. Request for the ``DeleteMonitoredProject`` method.
name (str):
Required. The resource name of the ``MonitoredProject``.
Example:
Expand Down

0 comments on commit 5c9463e

Please sign in to comment.