From b8e46b76a34e9a19e0778521b7ecffef4ebe24af 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:36:36 -0400 Subject: [PATCH] docs: Fix formatting of request arg in docstring (#445) 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/security_center/async_client.py | 37 ++++++++----------- .../services/security_center/client.py | 37 ++++++++----------- .../security_center/transports/rest.py | 29 --------------- .../services/security_center/async_client.py | 15 +++----- .../services/security_center/client.py | 15 +++----- .../security_center/transports/rest.py | 11 ------ .../services/security_center/async_client.py | 15 +++----- .../services/security_center/client.py | 15 +++----- .../security_center/transports/rest.py | 16 -------- 9 files changed, 52 insertions(+), 138 deletions(-) diff --git a/google/cloud/securitycenter_v1/services/security_center/async_client.py b/google/cloud/securitycenter_v1/services/security_center/async_client.py index cf0772e8..b7d50223 100644 --- a/google/cloud/securitycenter_v1/services/security_center/async_client.py +++ b/google/cloud/securitycenter_v1/services/security_center/async_client.py @@ -342,11 +342,11 @@ async def sample_bulk_mute_findings(): The request object. Request message for bulk findings update. Note: - 1. If multiple bulk update requests match the same - resource, the order in which they get executed is not - defined. - 2. Once a bulk operation is started, there is no way to - stop it. + 1. If multiple bulk update requests + match the same resource, the order in + which they get executed is not defined. + 2. Once a bulk operation is started, + there is no way to stop it. parent (:class:`str`): Required. The parent, at which bulk action needs to be applied. Its format is @@ -1290,8 +1290,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. resource (:class:`str`): REQUIRED: The resource for which the policy is being requested. See the @@ -1467,8 +1466,8 @@ async def sample_get_mute_config(): Args: request (Optional[Union[google.cloud.securitycenter_v1.types.GetMuteConfigRequest, dict]]): - The request object. Request message for retrieving a - mute config. + The request object. Request message for retrieving a mute + config. name (:class:`str`): Required. Name of the mute config to retrieve. Its format is @@ -1811,8 +1810,7 @@ async def sample_get_source(): Args: request (Optional[Union[google.cloud.securitycenter_v1.types.GetSourceRequest, dict]]): - The request object. Request message for getting a - source. + The request object. Request message for getting a source. name (:class:`str`): Required. Relative resource name of the source. Its format is @@ -2306,8 +2304,7 @@ async def sample_list_findings(): Args: request (Optional[Union[google.cloud.securitycenter_v1.types.ListFindingsRequest, dict]]): - The request object. Request message for listing - findings. + The request object. Request message for listing findings. retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -2413,8 +2410,8 @@ async def sample_list_mute_configs(): Args: request (Optional[Union[google.cloud.securitycenter_v1.types.ListMuteConfigsRequest, dict]]): The request object. Request message for listing mute - configs at a given scope e.g. organization, folder or - project. + configs at a given scope e.g. + organization, folder or project. parent (:class:`str`): Required. The parent, which owns the collection of mute configs. Its format is @@ -3172,8 +3169,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. resource (:class:`str`): REQUIRED: The resource for which the policy is being specified. See the @@ -3341,8 +3337,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. resource (:class:`str`): REQUIRED: The resource for which the policy detail is being requested. See @@ -4624,8 +4619,8 @@ async def sample_list_big_query_exports(): Args: request (Optional[Union[google.cloud.securitycenter_v1.types.ListBigQueryExportsRequest, dict]]): The request object. Request message for listing BigQuery - exports at a given scope e.g. organization, folder or - project. + exports at a given scope e.g. + organization, folder or project. parent (:class:`str`): Required. The parent, which owns the collection of BigQuery exports. Its format is diff --git a/google/cloud/securitycenter_v1/services/security_center/client.py b/google/cloud/securitycenter_v1/services/security_center/client.py index cbab8a8f..9175c80c 100644 --- a/google/cloud/securitycenter_v1/services/security_center/client.py +++ b/google/cloud/securitycenter_v1/services/security_center/client.py @@ -717,11 +717,11 @@ def sample_bulk_mute_findings(): The request object. Request message for bulk findings update. Note: - 1. If multiple bulk update requests match the same - resource, the order in which they get executed is not - defined. - 2. Once a bulk operation is started, there is no way to - stop it. + 1. If multiple bulk update requests + match the same resource, the order in + which they get executed is not defined. + 2. Once a bulk operation is started, + there is no way to stop it. parent (str): Required. The parent, at which bulk action needs to be applied. Its format is @@ -1673,8 +1673,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. resource (str): REQUIRED: The resource for which the policy is being requested. See the @@ -1837,8 +1836,8 @@ def sample_get_mute_config(): Args: request (Union[google.cloud.securitycenter_v1.types.GetMuteConfigRequest, dict]): - The request object. Request message for retrieving a - mute config. + The request object. Request message for retrieving a mute + config. name (str): Required. Name of the mute config to retrieve. Its format is @@ -2165,8 +2164,7 @@ def sample_get_source(): Args: request (Union[google.cloud.securitycenter_v1.types.GetSourceRequest, dict]): - The request object. Request message for getting a - source. + The request object. Request message for getting a source. name (str): Required. Relative resource name of the source. Its format is @@ -2622,8 +2620,7 @@ def sample_list_findings(): Args: request (Union[google.cloud.securitycenter_v1.types.ListFindingsRequest, dict]): - The request object. Request message for listing - findings. + The request object. Request message for listing findings. retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -2720,8 +2717,8 @@ def sample_list_mute_configs(): Args: request (Union[google.cloud.securitycenter_v1.types.ListMuteConfigsRequest, dict]): The request object. Request message for listing mute - configs at a given scope e.g. organization, folder or - project. + configs at a given scope e.g. + organization, folder or project. parent (str): Required. The parent, which owns the collection of mute configs. Its format is @@ -3463,8 +3460,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. resource (str): REQUIRED: The resource for which the policy is being specified. See the @@ -3629,8 +3625,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. resource (str): REQUIRED: The resource for which the policy detail is being requested. See @@ -4908,8 +4903,8 @@ def sample_list_big_query_exports(): Args: request (Union[google.cloud.securitycenter_v1.types.ListBigQueryExportsRequest, dict]): The request object. Request message for listing BigQuery - exports at a given scope e.g. organization, folder or - project. + exports at a given scope e.g. + organization, folder or project. parent (str): Required. The parent, which owns the collection of BigQuery exports. Its format is diff --git a/google/cloud/securitycenter_v1/services/security_center/transports/rest.py b/google/cloud/securitycenter_v1/services/security_center/transports/rest.py index 43c546a1..cb199735 100644 --- a/google/cloud/securitycenter_v1/services/security_center/transports/rest.py +++ b/google/cloud/securitycenter_v1/services/security_center/transports/rest.py @@ -1469,7 +1469,6 @@ def __call__( which they get executed is not defined. 2. Once a bulk operation is started, there is no way to stop it. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1581,7 +1580,6 @@ def __call__( request (~.securitycenter_service.CreateBigQueryExportRequest): The request object. Request message for creating a BigQuery export. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1694,7 +1692,6 @@ def __call__( request (~.securitycenter_service.CreateFindingRequest): The request object. Request message for creating a finding. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1802,7 +1799,6 @@ def __call__( request (~.securitycenter_service.CreateMuteConfigRequest): The request object. Request message for creating a mute config. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1917,7 +1913,6 @@ def __call__( request (~.securitycenter_service.CreateNotificationConfigRequest): The request object. Request message for creating a notification config. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -2034,7 +2029,6 @@ def __call__( request (~.securitycenter_service.CreateSourceRequest): The request object. Request message for creating a source. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -2137,7 +2131,6 @@ def __call__( request (~.securitycenter_service.DeleteBigQueryExportRequest): The request object. Request message for deleting a BigQuery export. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -2223,7 +2216,6 @@ def __call__( request (~.securitycenter_service.DeleteMuteConfigRequest): The request object. Request message for deleting a mute config. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -2310,7 +2302,6 @@ def __call__( request (~.securitycenter_service.DeleteNotificationConfigRequest): The request object. Request message for deleting a notification config. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -2398,7 +2389,6 @@ def __call__( request (~.securitycenter_service.GetBigQueryExportRequest): The request object. Request message for retrieving a BigQuery export. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -2668,7 +2658,6 @@ def __call__( request (~.securitycenter_service.GetMuteConfigRequest): The request object. Request message for retrieving a mute config. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -2767,7 +2756,6 @@ def __call__( request (~.securitycenter_service.GetNotificationConfigRequest): The request object. Request message for getting a notification config. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -2871,7 +2859,6 @@ def __call__( request (~.securitycenter_service.GetOrganizationSettingsRequest): The request object. Request message for getting organization settings. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -3058,7 +3045,6 @@ def __call__( request (~.securitycenter_service.GroupAssetsRequest): The request object. Request message for grouping by assets. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -3167,7 +3153,6 @@ def __call__( request (~.securitycenter_service.GroupFindingsRequest): The request object. Request message for grouping by findings. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -3371,7 +3356,6 @@ def __call__( The request object. Request message for listing BigQuery exports at a given scope e.g. organization, folder or project. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -3568,7 +3552,6 @@ def __call__( The request object. Request message for listing mute configs at a given scope e.g. organization, folder or project. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -3668,7 +3651,6 @@ def __call__( request (~.securitycenter_service.ListNotificationConfigsRequest): The request object. Request message for listing notification configs. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -3864,7 +3846,6 @@ def __call__( request (~.securitycenter_service.RunAssetDiscoveryRequest): The request object. Request message for running asset discovery for an organization. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -3964,7 +3945,6 @@ def __call__( request (~.securitycenter_service.SetFindingStateRequest): The request object. Request message for updating a finding's state. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -4252,7 +4232,6 @@ def __call__( request (~.securitycenter_service.SetMuteRequest): The request object. Request message for updating a finding's mute status. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -4465,7 +4444,6 @@ def __call__( request (~.securitycenter_service.UpdateBigQueryExportRequest): The request object. Request message for updating a BigQuery export. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -4576,7 +4554,6 @@ def __call__( request (~.securitycenter_service.UpdateExternalSystemRequest): The request object. Request message for updating a ExternalSystem resource. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -4687,7 +4664,6 @@ def __call__( request (~.securitycenter_service.UpdateFindingRequest): The request object. Request message for updating or creating a finding. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -4803,7 +4779,6 @@ def __call__( request (~.securitycenter_service.UpdateMuteConfigRequest): The request object. Request message for updating a mute config. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -4916,7 +4891,6 @@ def __call__( request (~.securitycenter_service.UpdateNotificationConfigRequest): The request object. Request message for updating a notification config. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -5034,7 +5008,6 @@ def __call__( request (~.securitycenter_service.UpdateOrganizationSettingsRequest): The request object. Request message for updating an organization's settings. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -5138,7 +5111,6 @@ def __call__( request (~.securitycenter_service.UpdateSecurityMarksRequest): The request object. Request message for updating a SecurityMarks resource. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -5270,7 +5242,6 @@ def __call__( request (~.securitycenter_service.UpdateSourceRequest): The request object. Request message for updating a source. - 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/google/cloud/securitycenter_v1beta1/services/security_center/async_client.py b/google/cloud/securitycenter_v1beta1/services/security_center/async_client.py index 4435387c..167b4d5a 100644 --- a/google/cloud/securitycenter_v1beta1/services/security_center/async_client.py +++ b/google/cloud/securitycenter_v1beta1/services/security_center/async_client.py @@ -545,8 +545,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. resource (:class:`str`): REQUIRED: The resource for which the policy is being requested. See the @@ -836,8 +835,7 @@ async def sample_get_source(): Args: request (Optional[Union[google.cloud.securitycenter_v1beta1.types.GetSourceRequest, dict]]): - The request object. Request message for getting a - source. + The request object. Request message for getting a source. name (:class:`str`): Required. Relative resource name of the source. Its format is @@ -1322,8 +1320,7 @@ async def sample_list_findings(): Args: request (Optional[Union[google.cloud.securitycenter_v1beta1.types.ListFindingsRequest, dict]]): - The request object. Request message for listing - findings. + The request object. Request message for listing findings. retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1820,8 +1817,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. resource (:class:`str`): REQUIRED: The resource for which the policy is being specified. See the @@ -1989,8 +1985,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. resource (:class:`str`): REQUIRED: The resource for which the policy detail is being requested. See diff --git a/google/cloud/securitycenter_v1beta1/services/security_center/client.py b/google/cloud/securitycenter_v1beta1/services/security_center/client.py index 68d59882..381ffde9 100644 --- a/google/cloud/securitycenter_v1beta1/services/security_center/client.py +++ b/google/cloud/securitycenter_v1beta1/services/security_center/client.py @@ -837,8 +837,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. resource (str): REQUIRED: The resource for which the policy is being requested. See the @@ -1109,8 +1108,7 @@ def sample_get_source(): Args: request (Union[google.cloud.securitycenter_v1beta1.types.GetSourceRequest, dict]): - The request object. Request message for getting a - source. + The request object. Request message for getting a source. name (str): Required. Relative resource name of the source. Its format is @@ -1557,8 +1555,7 @@ def sample_list_findings(): Args: request (Union[google.cloud.securitycenter_v1beta1.types.ListFindingsRequest, dict]): - The request object. Request message for listing - findings. + The request object. Request message for listing findings. retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -2036,8 +2033,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. resource (str): REQUIRED: The resource for which the policy is being specified. See the @@ -2202,8 +2198,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. resource (str): REQUIRED: The resource for which the policy detail is being requested. See diff --git a/google/cloud/securitycenter_v1beta1/services/security_center/transports/rest.py b/google/cloud/securitycenter_v1beta1/services/security_center/transports/rest.py index 48b2fb89..8969f654 100644 --- a/google/cloud/securitycenter_v1beta1/services/security_center/transports/rest.py +++ b/google/cloud/securitycenter_v1beta1/services/security_center/transports/rest.py @@ -824,7 +824,6 @@ def __call__( request (~.securitycenter_service.CreateFindingRequest): The request object. Request message for creating a finding. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -930,7 +929,6 @@ def __call__( request (~.securitycenter_service.CreateSourceRequest): The request object. Request message for creating a source. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1203,7 +1201,6 @@ def __call__( request (~.securitycenter_service.GetOrganizationSettingsRequest): The request object. Request message for getting organization settings. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1390,7 +1387,6 @@ def __call__( request (~.securitycenter_service.GroupAssetsRequest): The request object. Request message for grouping by assets. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1489,7 +1485,6 @@ def __call__( request (~.securitycenter_service.GroupFindingsRequest): The request object. Request message for grouping by findings. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1848,7 +1843,6 @@ def __call__( request (~.securitycenter_service.RunAssetDiscoveryRequest): The request object. Request message for running asset discovery for an organization. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1948,7 +1942,6 @@ def __call__( request (~.securitycenter_service.SetFindingStateRequest): The request object. Request message for updating a finding's state. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -2323,7 +2316,6 @@ def __call__( request (~.securitycenter_service.UpdateFindingRequest): The request object. Request message for updating or creating a finding. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -2430,7 +2422,6 @@ def __call__( request (~.securitycenter_service.UpdateOrganizationSettingsRequest): The request object. Request message for updating an organization's settings. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -2534,7 +2525,6 @@ def __call__( request (~.securitycenter_service.UpdateSecurityMarksRequest): The request object. Request message for updating a SecurityMarks resource. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -2646,7 +2636,6 @@ def __call__( request (~.securitycenter_service.UpdateSourceRequest): The request object. Request message for updating a source. - 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/google/cloud/securitycenter_v1p1beta1/services/security_center/async_client.py b/google/cloud/securitycenter_v1p1beta1/services/security_center/async_client.py index 978398c2..62e7bef5 100644 --- a/google/cloud/securitycenter_v1p1beta1/services/security_center/async_client.py +++ b/google/cloud/securitycenter_v1p1beta1/services/security_center/async_client.py @@ -786,8 +786,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. resource (:class:`str`): REQUIRED: The resource for which the policy is being requested. See the @@ -1197,8 +1196,7 @@ async def sample_get_source(): Args: request (Optional[Union[google.cloud.securitycenter_v1p1beta1.types.GetSourceRequest, dict]]): - The request object. Request message for getting a - source. + The request object. Request message for getting a source. name (:class:`str`): Required. Relative resource name of the source. Its format is @@ -1717,8 +1715,7 @@ async def sample_list_findings(): Args: request (Optional[Union[google.cloud.securitycenter_v1p1beta1.types.ListFindingsRequest, dict]]): - The request object. Request message for listing - findings. + The request object. Request message for listing findings. parent (:class:`str`): Required. Name of the source the findings belong to. Its format is @@ -2365,8 +2362,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. resource (:class:`str`): REQUIRED: The resource for which the policy is being specified. See the @@ -2534,8 +2530,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. resource (:class:`str`): REQUIRED: The resource for which the policy detail is being requested. See diff --git a/google/cloud/securitycenter_v1p1beta1/services/security_center/client.py b/google/cloud/securitycenter_v1p1beta1/services/security_center/client.py index e03c0826..91d79bce 100644 --- a/google/cloud/securitycenter_v1p1beta1/services/security_center/client.py +++ b/google/cloud/securitycenter_v1p1beta1/services/security_center/client.py @@ -1115,8 +1115,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. resource (str): REQUIRED: The resource for which the policy is being requested. See the @@ -1497,8 +1496,7 @@ def sample_get_source(): Args: request (Union[google.cloud.securitycenter_v1p1beta1.types.GetSourceRequest, dict]): - The request object. Request message for getting a - source. + The request object. Request message for getting a source. name (str): Required. Relative resource name of the source. Its format is @@ -1978,8 +1976,7 @@ def sample_list_findings(): Args: request (Union[google.cloud.securitycenter_v1p1beta1.types.ListFindingsRequest, dict]): - The request object. Request message for listing - findings. + The request object. Request message for listing findings. parent (str): Required. Name of the source the findings belong to. Its format is @@ -2600,8 +2597,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. resource (str): REQUIRED: The resource for which the policy is being specified. See the @@ -2766,8 +2762,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. resource (str): REQUIRED: The resource for which the policy detail is being requested. See diff --git a/google/cloud/securitycenter_v1p1beta1/services/security_center/transports/rest.py b/google/cloud/securitycenter_v1p1beta1/services/security_center/transports/rest.py index f33a76cf..44b9c4b2 100644 --- a/google/cloud/securitycenter_v1p1beta1/services/security_center/transports/rest.py +++ b/google/cloud/securitycenter_v1p1beta1/services/security_center/transports/rest.py @@ -982,7 +982,6 @@ def __call__( request (~.securitycenter_service.CreateFindingRequest): The request object. Request message for creating a finding. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1091,7 +1090,6 @@ def __call__( request (~.securitycenter_service.CreateNotificationConfigRequest): The request object. Request message for creating a notification config. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1199,7 +1197,6 @@ def __call__( request (~.securitycenter_service.CreateSourceRequest): The request object. Request message for creating a source. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1303,7 +1300,6 @@ def __call__( request (~.securitycenter_service.DeleteNotificationConfigRequest): The request object. Request message for deleting a notification config. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1553,7 +1549,6 @@ def __call__( request (~.securitycenter_service.GetNotificationConfigRequest): The request object. Request message for getting a notification config. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1650,7 +1645,6 @@ def __call__( request (~.securitycenter_service.GetOrganizationSettingsRequest): The request object. Request message for getting organization settings. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1837,7 +1831,6 @@ def __call__( request (~.securitycenter_service.GroupAssetsRequest): The request object. Request message for grouping by assets. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1946,7 +1939,6 @@ def __call__( request (~.securitycenter_service.GroupFindingsRequest): The request object. Request message for grouping by findings. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -2245,7 +2237,6 @@ def __call__( request (~.securitycenter_service.ListNotificationConfigsRequest): The request object. Request message for listing notification configs. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -2433,7 +2424,6 @@ def __call__( request (~.securitycenter_service.RunAssetDiscoveryRequest): The request object. Request message for running asset discovery for an organization. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -2533,7 +2523,6 @@ def __call__( request (~.securitycenter_service.SetFindingStateRequest): The request object. Request message for updating a finding's state. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -2918,7 +2907,6 @@ def __call__( request (~.securitycenter_service.UpdateFindingRequest): The request object. Request message for updating or creating a finding. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -3035,7 +3023,6 @@ def __call__( request (~.securitycenter_service.UpdateNotificationConfigRequest): The request object. Request message for updating a notification config. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -3144,7 +3131,6 @@ def __call__( request (~.securitycenter_service.UpdateOrganizationSettingsRequest): The request object. Request message for updating an organization's settings. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -3248,7 +3234,6 @@ def __call__( request (~.securitycenter_service.UpdateSecurityMarksRequest): The request object. Request message for updating a SecurityMarks resource. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -3380,7 +3365,6 @@ def __call__( request (~.securitycenter_service.UpdateSourceRequest): The request object. Request message for updating a source. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request.