Skip to content

Commit

Permalink
docs: Fix formatting of request arg in docstring (#170)
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 719342c commit 354d39c
Show file tree
Hide file tree
Showing 10 changed files with 21 additions and 31 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1338,8 +1338,8 @@ async def sample_update_server_tls_policy():
Args:
request (Optional[Union[google.cloud.network_security_v1.types.UpdateServerTlsPolicyRequest, dict]]):
The request object. Request used by
UpdateServerTlsPolicy method.
The request object. Request used by UpdateServerTlsPolicy
method.
server_tls_policy (:class:`google.cloud.network_security_v1.types.ServerTlsPolicy`):
Required. Updated ServerTlsPolicy
resource.
Expand Down Expand Up @@ -1984,8 +1984,8 @@ async def sample_update_client_tls_policy():
Args:
request (Optional[Union[google.cloud.network_security_v1.types.UpdateClientTlsPolicyRequest, dict]]):
The request object. Request used by
UpdateClientTlsPolicy method.
The request object. Request used by UpdateClientTlsPolicy
method.
client_tls_policy (:class:`google.cloud.network_security_v1.types.ClientTlsPolicy`):
Required. Updated ClientTlsPolicy
resource.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1615,8 +1615,8 @@ def sample_update_server_tls_policy():
Args:
request (Union[google.cloud.network_security_v1.types.UpdateServerTlsPolicyRequest, dict]):
The request object. Request used by
UpdateServerTlsPolicy method.
The request object. Request used by UpdateServerTlsPolicy
method.
server_tls_policy (google.cloud.network_security_v1.types.ServerTlsPolicy):
Required. Updated ServerTlsPolicy
resource.
Expand Down Expand Up @@ -2261,8 +2261,8 @@ def sample_update_client_tls_policy():
Args:
request (Union[google.cloud.network_security_v1.types.UpdateClientTlsPolicyRequest, dict]):
The request object. Request used by
UpdateClientTlsPolicy method.
The request object. Request used by UpdateClientTlsPolicy
method.
client_tls_policy (google.cloud.network_security_v1.types.ClientTlsPolicy):
Required. Updated ClientTlsPolicy
resource.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -968,7 +968,6 @@ def __call__(
request (~.gcn_authorization_policy.CreateAuthorizationPolicyRequest):
The request object. Request used by the
CreateAuthorizationPolicy 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 @@ -1072,7 +1071,6 @@ def __call__(
request (~.gcn_client_tls_policy.CreateClientTlsPolicyRequest):
The request object. Request used by the
CreateClientTlsPolicy 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 @@ -1174,7 +1172,6 @@ def __call__(
request (~.gcn_server_tls_policy.CreateServerTlsPolicyRequest):
The request object. Request used by the
CreateServerTlsPolicy 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 @@ -1275,7 +1272,6 @@ def __call__(
request (~.authorization_policy.DeleteAuthorizationPolicyRequest):
The request object. Request used by the
DeleteAuthorizationPolicy 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 @@ -1368,7 +1364,6 @@ def __call__(
request (~.client_tls_policy.DeleteClientTlsPolicyRequest):
The request object. Request used by the
DeleteClientTlsPolicy 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 @@ -1459,7 +1454,6 @@ def __call__(
request (~.server_tls_policy.DeleteServerTlsPolicyRequest):
The request object. Request used by the
DeleteServerTlsPolicy 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 @@ -1550,7 +1544,6 @@ def __call__(
request (~.authorization_policy.GetAuthorizationPolicyRequest):
The request object. Request used by the
GetAuthorizationPolicy 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 @@ -1647,7 +1640,6 @@ def __call__(
request (~.client_tls_policy.GetClientTlsPolicyRequest):
The request object. Request used by the
GetClientTlsPolicy 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 @@ -1743,7 +1735,6 @@ def __call__(
request (~.server_tls_policy.GetServerTlsPolicyRequest):
The request object. Request used by the
GetServerTlsPolicy 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 @@ -1841,7 +1832,6 @@ def __call__(
request (~.authorization_policy.ListAuthorizationPoliciesRequest):
The request object. Request used with the
ListAuthorizationPolicies 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 @@ -1935,7 +1925,6 @@ def __call__(
request (~.client_tls_policy.ListClientTlsPoliciesRequest):
The request object. Request used by the
ListClientTlsPolicies 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 @@ -2027,7 +2016,6 @@ def __call__(
request (~.server_tls_policy.ListServerTlsPoliciesRequest):
The request object. Request used by the
ListServerTlsPolicies 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 @@ -2120,7 +2108,6 @@ def __call__(
request (~.gcn_authorization_policy.UpdateAuthorizationPolicyRequest):
The request object. Request used by the
UpdateAuthorizationPolicy 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 @@ -2222,7 +2209,6 @@ def __call__(
request (~.gcn_client_tls_policy.UpdateClientTlsPolicyRequest):
The request object. Request used by UpdateClientTlsPolicy
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 @@ -2322,7 +2308,6 @@ def __call__(
request (~.gcn_server_tls_policy.UpdateServerTlsPolicyRequest):
The request object. Request used by UpdateServerTlsPolicy
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
Original file line number Diff line number Diff line change
Expand Up @@ -1338,8 +1338,8 @@ async def sample_update_server_tls_policy():
Args:
request (Optional[Union[google.cloud.network_security_v1beta1.types.UpdateServerTlsPolicyRequest, dict]]):
The request object. Request used by
UpdateServerTlsPolicy method.
The request object. Request used by UpdateServerTlsPolicy
method.
server_tls_policy (:class:`google.cloud.network_security_v1beta1.types.ServerTlsPolicy`):
Required. Updated ServerTlsPolicy
resource.
Expand Down Expand Up @@ -1984,8 +1984,8 @@ async def sample_update_client_tls_policy():
Args:
request (Optional[Union[google.cloud.network_security_v1beta1.types.UpdateClientTlsPolicyRequest, dict]]):
The request object. Request used by
UpdateClientTlsPolicy method.
The request object. Request used by UpdateClientTlsPolicy
method.
client_tls_policy (:class:`google.cloud.network_security_v1beta1.types.ClientTlsPolicy`):
Required. Updated ClientTlsPolicy
resource.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1613,8 +1613,8 @@ def sample_update_server_tls_policy():
Args:
request (Union[google.cloud.network_security_v1beta1.types.UpdateServerTlsPolicyRequest, dict]):
The request object. Request used by
UpdateServerTlsPolicy method.
The request object. Request used by UpdateServerTlsPolicy
method.
server_tls_policy (google.cloud.network_security_v1beta1.types.ServerTlsPolicy):
Required. Updated ServerTlsPolicy
resource.
Expand Down Expand Up @@ -2259,8 +2259,8 @@ def sample_update_client_tls_policy():
Args:
request (Union[google.cloud.network_security_v1beta1.types.UpdateClientTlsPolicyRequest, dict]):
The request object. Request used by
UpdateClientTlsPolicy method.
The request object. Request used by UpdateClientTlsPolicy
method.
client_tls_policy (google.cloud.network_security_v1beta1.types.ClientTlsPolicy):
Required. Updated ClientTlsPolicy
resource.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
google-api-core
proto-plus
protobuf
grpc-google-iam-v1
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
google-api-core
proto-plus
protobuf
grpc-google-iam-v1
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
google-api-core
proto-plus
protobuf
grpc-google-iam-v1
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
google-api-core
proto-plus
protobuf
grpc-google-iam-v1
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
google-api-core
proto-plus
protobuf
grpc-google-iam-v1

0 comments on commit 354d39c

Please sign in to comment.