From 354d39c0abbfc6b07a56cdf3d1d0df1b9536ef05 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Thu, 23 Mar 2023 09:32:39 -0400 Subject: [PATCH] docs: Fix formatting of request arg in docstring (#170) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * docs: Fix formatting of request arg in docstring chore: Update gapic-generator-python to v1.9.1 PiperOrigin-RevId: 518604533 Source-Link: https://github.com/googleapis/googleapis/commit/8a085aeddfa010af5bcef090827aac5255383d7e Source-Link: https://github.com/googleapis/googleapis-gen/commit/b2ab4b0a0ae2907e812c209198a74e0898afcb04 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 --- .../services/network_security/async_client.py | 8 ++++---- .../services/network_security/client.py | 8 ++++---- .../services/network_security/transports/rest.py | 15 --------------- .../services/network_security/async_client.py | 8 ++++---- .../services/network_security/client.py | 8 ++++---- .../testing/constraints-3.10.txt | 1 + .../testing/constraints-3.11.txt | 1 + .../testing/constraints-3.12.txt | 1 + .../testing/constraints-3.8.txt | 1 + .../testing/constraints-3.9.txt | 1 + 10 files changed, 21 insertions(+), 31 deletions(-) diff --git a/packages/google-cloud-network-security/google/cloud/network_security_v1/services/network_security/async_client.py b/packages/google-cloud-network-security/google/cloud/network_security_v1/services/network_security/async_client.py index 788275b5bdba..5008713b15c8 100644 --- a/packages/google-cloud-network-security/google/cloud/network_security_v1/services/network_security/async_client.py +++ b/packages/google-cloud-network-security/google/cloud/network_security_v1/services/network_security/async_client.py @@ -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. @@ -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. diff --git a/packages/google-cloud-network-security/google/cloud/network_security_v1/services/network_security/client.py b/packages/google-cloud-network-security/google/cloud/network_security_v1/services/network_security/client.py index f4a8addafe06..7fa00a281920 100644 --- a/packages/google-cloud-network-security/google/cloud/network_security_v1/services/network_security/client.py +++ b/packages/google-cloud-network-security/google/cloud/network_security_v1/services/network_security/client.py @@ -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. @@ -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. diff --git a/packages/google-cloud-network-security/google/cloud/network_security_v1/services/network_security/transports/rest.py b/packages/google-cloud-network-security/google/cloud/network_security_v1/services/network_security/transports/rest.py index ed3e554fa046..1648af264032 100644 --- a/packages/google-cloud-network-security/google/cloud/network_security_v1/services/network_security/transports/rest.py +++ b/packages/google-cloud-network-security/google/cloud/network_security_v1/services/network_security/transports/rest.py @@ -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. @@ -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. @@ -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. @@ -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. @@ -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. @@ -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. @@ -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. @@ -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. @@ -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. @@ -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. @@ -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. @@ -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. @@ -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. @@ -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. @@ -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. diff --git a/packages/google-cloud-network-security/google/cloud/network_security_v1beta1/services/network_security/async_client.py b/packages/google-cloud-network-security/google/cloud/network_security_v1beta1/services/network_security/async_client.py index ab9236c075a5..38ece705567f 100644 --- a/packages/google-cloud-network-security/google/cloud/network_security_v1beta1/services/network_security/async_client.py +++ b/packages/google-cloud-network-security/google/cloud/network_security_v1beta1/services/network_security/async_client.py @@ -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. @@ -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. diff --git a/packages/google-cloud-network-security/google/cloud/network_security_v1beta1/services/network_security/client.py b/packages/google-cloud-network-security/google/cloud/network_security_v1beta1/services/network_security/client.py index 47f2deade7d2..45ef0beef5d0 100644 --- a/packages/google-cloud-network-security/google/cloud/network_security_v1beta1/services/network_security/client.py +++ b/packages/google-cloud-network-security/google/cloud/network_security_v1beta1/services/network_security/client.py @@ -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. @@ -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. diff --git a/packages/google-cloud-network-security/testing/constraints-3.10.txt b/packages/google-cloud-network-security/testing/constraints-3.10.txt index ed7f9aed2559..ad3f0fa58e2d 100644 --- a/packages/google-cloud-network-security/testing/constraints-3.10.txt +++ b/packages/google-cloud-network-security/testing/constraints-3.10.txt @@ -4,3 +4,4 @@ google-api-core proto-plus protobuf +grpc-google-iam-v1 diff --git a/packages/google-cloud-network-security/testing/constraints-3.11.txt b/packages/google-cloud-network-security/testing/constraints-3.11.txt index ed7f9aed2559..ad3f0fa58e2d 100644 --- a/packages/google-cloud-network-security/testing/constraints-3.11.txt +++ b/packages/google-cloud-network-security/testing/constraints-3.11.txt @@ -4,3 +4,4 @@ google-api-core proto-plus protobuf +grpc-google-iam-v1 diff --git a/packages/google-cloud-network-security/testing/constraints-3.12.txt b/packages/google-cloud-network-security/testing/constraints-3.12.txt index ed7f9aed2559..ad3f0fa58e2d 100644 --- a/packages/google-cloud-network-security/testing/constraints-3.12.txt +++ b/packages/google-cloud-network-security/testing/constraints-3.12.txt @@ -4,3 +4,4 @@ google-api-core proto-plus protobuf +grpc-google-iam-v1 diff --git a/packages/google-cloud-network-security/testing/constraints-3.8.txt b/packages/google-cloud-network-security/testing/constraints-3.8.txt index ed7f9aed2559..ad3f0fa58e2d 100644 --- a/packages/google-cloud-network-security/testing/constraints-3.8.txt +++ b/packages/google-cloud-network-security/testing/constraints-3.8.txt @@ -4,3 +4,4 @@ google-api-core proto-plus protobuf +grpc-google-iam-v1 diff --git a/packages/google-cloud-network-security/testing/constraints-3.9.txt b/packages/google-cloud-network-security/testing/constraints-3.9.txt index ed7f9aed2559..ad3f0fa58e2d 100644 --- a/packages/google-cloud-network-security/testing/constraints-3.9.txt +++ b/packages/google-cloud-network-security/testing/constraints-3.9.txt @@ -4,3 +4,4 @@ google-api-core proto-plus protobuf +grpc-google-iam-v1