Skip to content

Commit

Permalink
docs: Fix formatting of request arg in docstring (#167)
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] authored Mar 23, 2023
1 parent 0363d1e commit 800a4bc
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 30 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -280,8 +280,7 @@ async def sample_set_iam_policy():
Args:
request (Optional[Union[google.iam.v1.iam_policy_pb2.SetIamPolicyRequest, dict]]):
The request object. Request message for `SetIamPolicy`
method.
The request object. Request message for ``SetIamPolicy`` 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 @@ -426,8 +425,7 @@ async def sample_get_iam_policy():
Args:
request (Optional[Union[google.iam.v1.iam_policy_pb2.GetIamPolicyRequest, dict]]):
The request object. Request message for `GetIamPolicy`
method.
The request object. Request message for ``GetIamPolicy`` 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 @@ -573,8 +571,7 @@ async def sample_test_iam_permissions():
Args:
request (Optional[Union[google.iam.v1.iam_policy_pb2.TestIamPermissionsRequest, dict]]):
The request object. Request message for
`TestIamPermissions` method.
The request object. Request message for ``TestIamPermissions`` 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 @@ -943,8 +940,7 @@ async def sample_create_tunnel_dest_group():
Args:
request (Optional[Union[google.cloud.iap_v1.types.CreateTunnelDestGroupRequest, dict]]):
The request object. The request to
CreateTunnelDestGroup.
The request object. The request to CreateTunnelDestGroup.
parent (:class:`str`):
Required. Google Cloud Project ID and location. In the
following format:
Expand Down Expand Up @@ -1162,8 +1158,7 @@ async def sample_delete_tunnel_dest_group():
Args:
request (Optional[Union[google.cloud.iap_v1.types.DeleteTunnelDestGroupRequest, dict]]):
The request object. The request to
DeleteTunnelDestGroup.
The request object. The request to DeleteTunnelDestGroup.
name (:class:`str`):
Required. Name of the TunnelDestGroup to delete. In the
following format:
Expand Down Expand Up @@ -1260,8 +1255,7 @@ async def sample_update_tunnel_dest_group():
Args:
request (Optional[Union[google.cloud.iap_v1.types.UpdateTunnelDestGroupRequest, dict]]):
The request object. The request to
UpdateTunnelDestGroup.
The request object. The request to UpdateTunnelDestGroup.
tunnel_dest_group (:class:`google.cloud.iap_v1.types.TunnelDestGroup`):
Required. The new values for the
TunnelDestGroup.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -515,8 +515,7 @@ def sample_set_iam_policy():
Args:
request (Union[google.iam.v1.iam_policy_pb2.SetIamPolicyRequest, dict]):
The request object. Request message for `SetIamPolicy`
method.
The request object. Request message for ``SetIamPolicy`` 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 @@ -660,8 +659,7 @@ def sample_get_iam_policy():
Args:
request (Union[google.iam.v1.iam_policy_pb2.GetIamPolicyRequest, dict]):
The request object. Request message for `GetIamPolicy`
method.
The request object. Request message for ``GetIamPolicy`` 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 @@ -806,8 +804,7 @@ def sample_test_iam_permissions():
Args:
request (Union[google.iam.v1.iam_policy_pb2.TestIamPermissionsRequest, dict]):
The request object. Request message for
`TestIamPermissions` method.
The request object. Request message for ``TestIamPermissions`` 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 @@ -1177,8 +1174,7 @@ def sample_create_tunnel_dest_group():
Args:
request (Union[google.cloud.iap_v1.types.CreateTunnelDestGroupRequest, dict]):
The request object. The request to
CreateTunnelDestGroup.
The request object. The request to CreateTunnelDestGroup.
parent (str):
Required. Google Cloud Project ID and location. In the
following format:
Expand Down Expand Up @@ -1396,8 +1392,7 @@ def sample_delete_tunnel_dest_group():
Args:
request (Union[google.cloud.iap_v1.types.DeleteTunnelDestGroupRequest, dict]):
The request object. The request to
DeleteTunnelDestGroup.
The request object. The request to DeleteTunnelDestGroup.
name (str):
Required. Name of the TunnelDestGroup to delete. In the
following format:
Expand Down Expand Up @@ -1494,8 +1489,7 @@ def sample_update_tunnel_dest_group():
Args:
request (Union[google.cloud.iap_v1.types.UpdateTunnelDestGroupRequest, dict]):
The request object. The request to
UpdateTunnelDestGroup.
The request object. The request to UpdateTunnelDestGroup.
tunnel_dest_group (google.cloud.iap_v1.types.TunnelDestGroup):
Required. The new values for the
TunnelDestGroup.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1371,7 +1371,6 @@ def __call__(
request (~.service.UpdateIapSettingsRequest):
The request object. The request sent to
UpdateIapSettings.
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 @@ -530,7 +530,6 @@ def __call__(
request (~.service.CreateIdentityAwareProxyClientRequest):
The request object. The request sent to
CreateIdentityAwareProxyClient.
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 @@ -635,7 +634,6 @@ def __call__(
request (~.service.DeleteIdentityAwareProxyClientRequest):
The request object. The request sent to
DeleteIdentityAwareProxyClient.
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 @@ -806,7 +804,6 @@ def __call__(
request (~.service.GetIdentityAwareProxyClientRequest):
The request object. The request sent to
GetIdentityAwareProxyClient.
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 @@ -985,7 +982,6 @@ def __call__(
request (~.service.ListIdentityAwareProxyClientsRequest):
The request object. The request sent to
ListIdentityAwareProxyClients.
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 @@ -1078,7 +1074,6 @@ def __call__(
request (~.service.ResetIdentityAwareProxyClientSecretRequest):
The request object. The request sent to
ResetIdentityAwareProxyClientSecret.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down

0 comments on commit 800a4bc

Please sign in to comment.