
    v                    V    d Z ddlmZ ddlmZ ddlmZ  G d dej                        Z	y)z7Generated client library for securitycenter version v1.    )absolute_import)base_api)securitycenter_v1_messagesc                   
    e Zd ZdZeZdZdZdZdgZ	dZ
dZdZd	Zd ZdZd
Z	 	 	 	 	 d fd	Z G d dej&                        Z G d dej&                        Z G d dej&                        Z G d dej&                        Z G d dej&                        Z G d dej&                        Z G d dej&                        Z G d dej&                        Z G d dej&                        Z G d dej&                        Z G d  d!ej&                        Z G d" d#ej&                        Z G d$ d%ej&                        Z  G d& d'ej&                        Z! G d( d)ej&                        Z" G d* d+ej&                        Z# G d, d-ej&                        Z$ G d. d/ej&                        Z% G d0 d1ej&                        Z& G d2 d3ej&                        Z' G d4 d5ej&                        Z( G d6 d7ej&                        Z) G d8 d9ej&                        Z* G d: d;ej&                        Z+ G d< d=ej&                        Z, G d> d?ej&                        Z- G d@ dAej&                        Z. G dB dCej&                        Z/ G dD dEej&                        Z0 G dF dGej&                        Z1 G dH dIej&                        Z2 G dJ dKej&                        Z3 G dL dMej&                        Z4 G dN dOej&                        Z5 G dP dQej&                        Z6 G dR dSej&                        Z7 G dT dUej&                        Z8 G dV dWej&                        Z9 G dX dYej&                        Z: G dZ d[ej&                        Z; G d\ d]ej&                        Z< G d^ d_ej&                        Z= G d` daej&                        Z> G db dcej&                        Z? G dd deej&                        Z@ G df dgej&                        ZA G dh diej&                        ZB G dj dkej&                        ZC G dl dmej&                        ZD G dn doej&                        ZE G dp dqej&                        ZF G dr dsej&                        ZG G dt duej&                        ZH G dv dwej&                        ZI G dx dyej&                        ZJ G dz d{ej&                        ZK G d| d}ej&                        ZL G d~ dej&                        ZM G d dej&                        ZN G d dej&                        ZO G d dej&                        ZP G d dej&                        ZQ xZRS )SecuritycenterV1z?Generated client library for service securitycenter version v1.z&https://securitycenter.googleapis.com/z+https://securitycenter.mtls.googleapis.com/securitycenterz.https://www.googleapis.com/auth/cloud-platformv1	CLIENT_IDCLIENT_SECRETzgoogle-cloud-sdkNc                 
   |xs | j                   }t        t        |   |||||||||	|
|       | j	                  |       | _        | j                  |       | _        | j                  |       | _	        | j                  |       | _        | j                  |       | _        | j                  |       | _        | j!                  |       | _        | j%                  |       | _        | j)                  |       | _        | j-                  |       | _        | j1                  |       | _        | j5                  |       | _        | j9                  |       | _        | j=                  |       | _        | jA                  |       | _!        | jE                  |       | _#        | jI                  |       | _%        | jM                  |       | _'        | jQ                  |       | _)        | jU                  |       | _+        | jY                  |       | _-        | j]                  |       | _/        | ja                  |       | _1        | je                  |       | _3        | ji                  |       | _5        | jm                  |       | _7        | jq                  |       | _9        | ju                  |       | _;        | jy                  |       | _=        | j}                  |       | _?        | j                  |       | _A        | j                  |       | _C        | j                  |       | _E        | j                  |       | _G        | j                  |       | _I        | j                  |       | _K        | j                  |       | _M        | j                  |       | _O        | j                  |       | _Q        | j                  |       | _S        | j                  |       | _U        | j                  |       | _W        | j                  |       | _Y        | j                  |       | _[        | j                  |       | _]        | j                  |       | __        | j                  |       | _a        | j                  |       | _c        | j                  |       | _e        | j                  |       | _g        | j                  |       | _i        | j                  |       | _k        | j                  |       | _m        | j                  |       | _o        | j                  |       | _q        | j                  |       | _s        | j                  |       | _u        | j                  |       | _w        | j                  |       | _y        | j                  |       | _{        | j                  |       | _}        | j                  |       | _        y)z#Create a new securitycenter handle.)
credentialsget_credentialshttpmodellog_requestlog_responsecredentials_argsdefault_global_paramsadditional_http_headersresponse_encodingN)BASE_URLsuperr   __init__FoldersAssetsServicefolders_assetsFoldersBigQueryExportsServicefolders_bigQueryExports7FoldersEventThreatDetectionSettingsCustomModulesService2folders_eventThreatDetectionSettings_customModules@FoldersEventThreatDetectionSettingsEffectiveCustomModulesService;folders_eventThreatDetectionSettings_effectiveCustomModules*FoldersEventThreatDetectionSettingsService$folders_eventThreatDetectionSettingsFoldersFindingsServicefolders_findings"FoldersLocationsMuteConfigsServicefolders_locations_muteConfigsFoldersLocationsServicefolders_locationsFoldersMuteConfigsServicefolders_muteConfigs!FoldersNotificationConfigsServicefolders_notificationConfigs:FoldersSecurityHealthAnalyticsSettingsCustomModulesService5folders_securityHealthAnalyticsSettings_customModulesCFoldersSecurityHealthAnalyticsSettingsEffectiveCustomModulesService>folders_securityHealthAnalyticsSettings_effectiveCustomModules-FoldersSecurityHealthAnalyticsSettingsService'folders_securityHealthAnalyticsSettings,FoldersSourcesFindingsExternalSystemsService(folders_sources_findings_externalSystemsFoldersSourcesFindingsServicefolders_sources_findingsFoldersSourcesServicefolders_sourcesFoldersServicefoldersOrganizationsAssetsServiceorganizations_assetsOrganizationsAttackPathsServiceorganizations_attackPaths#OrganizationsBigQueryExportsServiceorganizations_bigQueryExports=OrganizationsEventThreatDetectionSettingsCustomModulesService8organizations_eventThreatDetectionSettings_customModulesFOrganizationsEventThreatDetectionSettingsEffectiveCustomModulesServiceAorganizations_eventThreatDetectionSettings_effectiveCustomModules0OrganizationsEventThreatDetectionSettingsService*organizations_eventThreatDetectionSettingsOrganizationsFindingsServiceorganizations_findings(OrganizationsLocationsMuteConfigsService#organizations_locations_muteConfigsOrganizationsLocationsServiceorganizations_locationsOrganizationsMuteConfigsServiceorganizations_muteConfigs'OrganizationsNotificationConfigsService!organizations_notificationConfigsOrganizationsOperationsServiceorganizations_operations(OrganizationsResourceValueConfigsService"organizations_resourceValueConfigs@OrganizationsSecurityHealthAnalyticsSettingsCustomModulesService;organizations_securityHealthAnalyticsSettings_customModulesIOrganizationsSecurityHealthAnalyticsSettingsEffectiveCustomModulesServiceDorganizations_securityHealthAnalyticsSettings_effectiveCustomModules3OrganizationsSecurityHealthAnalyticsSettingsService-organizations_securityHealthAnalyticsSettings?OrganizationsSimulationsAttackExposureResultsAttackPathsService;organizations_simulations_attackExposureResults_attackPathsCOrganizationsSimulationsAttackExposureResultsValuedResourcesService?organizations_simulations_attackExposureResults_valuedResources4OrganizationsSimulationsAttackExposureResultsService/organizations_simulations_attackExposureResults*OrganizationsSimulationsAttackPathsService%organizations_simulations_attackPaths9OrganizationsSimulationsValuedResourcesAttackPathsService5organizations_simulations_valuedResources_attackPaths.OrganizationsSimulationsValuedResourcesService)organizations_simulations_valuedResourcesOrganizationsSimulationsServiceorganizations_simulations2OrganizationsSourcesFindingsExternalSystemsService.organizations_sources_findings_externalSystems#OrganizationsSourcesFindingsServiceorganizations_sources_findingsOrganizationsSourcesServiceorganizations_sources#OrganizationsValuedResourcesServiceorganizations_valuedResourcesOrganizationsServiceorganizationsProjectsAssetsServiceprojects_assetsProjectsBigQueryExportsServiceprojects_bigQueryExports8ProjectsEventThreatDetectionSettingsCustomModulesService3projects_eventThreatDetectionSettings_customModulesAProjectsEventThreatDetectionSettingsEffectiveCustomModulesService<projects_eventThreatDetectionSettings_effectiveCustomModules+ProjectsEventThreatDetectionSettingsService%projects_eventThreatDetectionSettingsProjectsFindingsServiceprojects_findings#ProjectsLocationsMuteConfigsServiceprojects_locations_muteConfigsProjectsLocationsServiceprojects_locationsProjectsMuteConfigsServiceprojects_muteConfigs"ProjectsNotificationConfigsServiceprojects_notificationConfigs;ProjectsSecurityHealthAnalyticsSettingsCustomModulesService6projects_securityHealthAnalyticsSettings_customModulesDProjectsSecurityHealthAnalyticsSettingsEffectiveCustomModulesService?projects_securityHealthAnalyticsSettings_effectiveCustomModules.ProjectsSecurityHealthAnalyticsSettingsService(projects_securityHealthAnalyticsSettings-ProjectsSourcesFindingsExternalSystemsService)projects_sources_findings_externalSystemsProjectsSourcesFindingsServiceprojects_sources_findingsProjectsSourcesServiceprojects_sourcesProjectsServiceprojects)selfurlr   r   r   r   r   r   r   r   r   r   	__class__s               Wlib/googlecloudsdk/generated_clients/apis/securitycenter/v1/securitycenter_v1_client.pyr   zSecuritycenterV1.__init__   s    
C	
D*'d%l)3 7+ + - 33D9D#'#E#Ed#KD >B>z>z{  ?AD;GK  HM  HM  NR  HSDD040_0_`d0eD- 77=D)-)P)PQU)VD&!99$?D#==dCD'+'M'Md'SD$AE  BA  BA  BF  BGD>JN  KS  KS  TX  KYDG373e3efj3kD0484e4efj4kD1$($F$Ft$LD!55d;D&&t,DL $ ? ? ED%)%I%I$%OD")-)Q)QRV)WD&DH  EG  EG  HL  EMDAMQ  NY  NY  Z^  N_DJ6:6k6klp6qD3"&"C"CD"ID/3/\/\]a/bD,#'#E#Ed#KD %)%I%I$%OD"-1-Y-YZ^-_D*$($G$G$MD!.2.[.[\`.aD+GK  HM  HM  NR  HSDDPT  Q_  Q_  `d  QeDM9=9q9qrv9wD6GK  HL  HL  MQ  HRDDKO  LT  LT  UY  LZDH;?;t;tuy;zD8151`1`ae1fD.AEAA  AE  BFD>595h5him5nD2%)%I%I$%OD":>:q:qrv:wD7*.*R*RSW*XD'!%!A!A$!GD)-)Q)QRV)WD&2248D55d;D$($G$G$MD!?C?|?|  ~B  @CD<HL  IO  IO  PT  IUDE151a1abf1gD.!99$?D*.*R*RSW*XD'";;DAD $ ? ? ED(,(O(OPT(UD%BF  CC  CC  DH  CID?KO  LU  LU  VZ  L[DH484g4ghl4mD1595g5ghl5mD2%)%H%H%ND" 77=D((.DM    c                   n     e Zd ZdZdZ fdZd
dZd e_        d
dZd e_        d
dZ	d	 e	_         xZ
S )%SecuritycenterV1.FoldersAssetsServicez.Service class for the folders_assets resource.r   c                 N    t         t        j                  |   |       i | _        y N)r   r   r   r   _upload_configsr   clientr   s     r   r   z.SecuritycenterV1.FoldersAssetsService.__init__n   #    114A&Idr   c                 L    | j                  d      }| j                  |||      S )a@  Filters an organization's assets and groups them by their specified properties.

      Args:
        request: (SecuritycenterFoldersAssetsGroupRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GroupAssetsResponse) The response message.
      Groupglobal_paramsGetMethodConfig
_RunMethodr   requestr   configs       r   r   z+SecuritycenterV1.FoldersAssetsService.Groups   1     ##G,f__
'  8 8r   c                  F    t        j                  ddddgdgg ddddd	
      S )Nz#v1/folders/{foldersId}/assets:groupPOSTz#securitycenter.folders.assets.groupparentv1/{+parent}/assets:groupgroupAssetsRequest'SecuritycenterFoldersAssetsGroupRequestGroupAssetsResponseF	flat_pathhttp_method	method_idordered_paramspath_paramsquery_paramsrelative_pathrequest_fieldrequest_type_nameresponse_type_namesupports_downloadr   ApiMethodInfo r   r   <lambda>z.SecuritycenterV1.FoldersAssetsService.<lambda>   s4    ("8"877 zJ1*C0#r   c                 L    | j                  d      }| j                  |||      S )a  Lists an organization's assets.

      Args:
        request: (SecuritycenterFoldersAssetsListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListAssetsResponse) The response message.
      Listr   r   r   s       r   r   z*SecuritycenterV1.FoldersAssetsService.List   1     ##F+f__
'  8 8r   c                  J    t        j                  ddddgdgg ddddd	d
      S )Nzv1/folders/{foldersId}/assetsGETz"securitycenter.folders.assets.listr   compareDuration	fieldMaskfilterorderBypageSize	pageTokenreadTimev1/{+parent}/assets &SecuritycenterFoldersAssetsListRequestListAssetsResponseFr   r   r   r   r   r   z.SecuritycenterV1.FoldersAssetsService.<lambda>   s4    !7!716 zJo+B/"r   c                 L    | j                  d      }| j                  |||      S )a  Updates security marks.

      Args:
        request: (SecuritycenterFoldersAssetsUpdateSecurityMarksRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (SecurityMarks) The response message.
      UpdateSecurityMarksr   r   r   s       r   r   z9SecuritycenterV1.FoldersAssetsService.UpdateSecurityMarks   2     ##$9:f__
'  8 8r   c                  J    t        j                  ddddgdgddgddd	d
d      S )Nz6v1/folders/{foldersId}/assets/{assetsId}/securityMarksPATCHz1securitycenter.folders.assets.updateSecurityMarksname	startTime
updateMask
v1/{+name}securityMarks5SecuritycenterFoldersAssetsUpdateSecurityMarksRequestSecurityMarksFr   r   r   r   r   r   z.SecuritycenterV1.FoldersAssetsService.<lambda>   s9    0F0FJExH!<0"%Q*1r   r   __name__
__module____qualname____doc___NAMEr   r   method_configr   r   __classcell__r   s   @r   r   r   i   sA    8E
8E8D8)%%r   r   c                        e Zd ZdZdZ fdZddZd e_        ddZd e_        ddZ	d	 e	_        dd
Z
d e
_        ddZd e_         xZS ).SecuritycenterV1.FoldersBigQueryExportsServicez7Service class for the folders_bigQueryExports resource.r   c                 N    t         t        j                  |   |       i | _        y r   )r   r   r   r   r   r   s     r   r   z7SecuritycenterV1.FoldersBigQueryExportsService.__init__   #    ::DJ6Rdr   c                 L    | j                  d      }| j                  |||      S )a+  Creates a BigQuery export.

      Args:
        request: (SecuritycenterFoldersBigQueryExportsCreateRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudSecuritycenterV1BigQueryExport) The response message.
      Creater   r   r   s       r   r   z5SecuritycenterV1.FoldersBigQueryExportsService.Create   1     ##H-f__
'  8 8r   c                  H    t        j                  ddddgdgdgdddd	d
      S )N&v1/folders/{foldersId}/bigQueryExportsr   z-securitycenter.folders.bigQueryExports.creater   bigQueryExportIdv1/{+parent}/bigQueryExports)googleCloudSecuritycenterV1BigQueryExport1SecuritycenterFoldersBigQueryExportsCreateRequest)GoogleCloudSecuritycenterV1BigQueryExportFr   r   r   r   r   r   z7SecuritycenterV1.FoldersBigQueryExportsService.<lambda>   s7    8#9#9:A zJ()4AMF$r   c                 L    | j                  d      }| j                  |||      S )a  Deletes an existing BigQuery export.

      Args:
        request: (SecuritycenterFoldersBigQueryExportsDeleteRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Empty) The response message.
      Deleter   r   r   s       r   r   z5SecuritycenterV1.FoldersBigQueryExportsService.Delete   r   r   c                  F    t        j                  ddddgdgg ddddd	
      S )N:v1/folders/{foldersId}/bigQueryExports/{bigQueryExportsId}DELETEz-securitycenter.folders.bigQueryExports.deleter   r   r   1SecuritycenterFoldersBigQueryExportsDeleteRequestEmptyFr   r   r   r   r   r   z7SecuritycenterV1.FoldersBigQueryExportsService.<lambda>   s4    8#9#9NAxH"M"$r   c                 L    | j                  d      }| j                  |||      S )a%  Gets a BigQuery export.

      Args:
        request: (SecuritycenterFoldersBigQueryExportsGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudSecuritycenterV1BigQueryExport) The response message.
      Getr   r   r   s       r   r  z2SecuritycenterV1.FoldersBigQueryExportsService.Get  1     ##E*f__
'  8 8r   c                  F    t        j                  ddddgdgg ddddd	
      S )Nr   r   z*securitycenter.folders.bigQueryExports.getr   r   r   .SecuritycenterFoldersBigQueryExportsGetRequestr   Fr   r   r   r   r   r   z7SecuritycenterV1.FoldersBigQueryExportsService.<lambda>  s4     6 6N>xH"JF!r   c                 L    | j                  d      }| j                  |||      S )a7  Lists BigQuery exports. Note that when requesting BigQuery exports at a given level all exports under that level are also returned e.g. if requesting BigQuery exports under a folder, then all BigQuery exports immediately under the folder plus the ones created under the projects within the folder are returned.

      Args:
        request: (SecuritycenterFoldersBigQueryExportsListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListBigQueryExportsResponse) The response message.
      r   r   r   r   s       r   r   z3SecuritycenterV1.FoldersBigQueryExportsService.List  r   r   c                  J    t        j                  ddddgdgddgddd	d
d      S )Nr   r   z+securitycenter.folders.bigQueryExports.listr   r   r   r   r   /SecuritycenterFoldersBigQueryExportsListRequestListBigQueryExportsResponseFr   r   r   r   r   r   z7SecuritycenterV1.FoldersBigQueryExportsService.<lambda>,  s9    !7!7:? zJ +.4K8"r   c                 L    | j                  d      }| j                  |||      S )a*  Updates a BigQuery export.

      Args:
        request: (SecuritycenterFoldersBigQueryExportsPatchRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudSecuritycenterV1BigQueryExport) The response message.
      Patchr   r   r   s       r   r
  z4SecuritycenterV1.FoldersBigQueryExportsService.Patch:  r   r   c                  H    t        j                  ddddgdgdgdddd	d
      S )Nr   r   z,securitycenter.folders.bigQueryExports.patchr   r   r   r   0SecuritycenterFoldersBigQueryExportsPatchRequestr   Fr   r   r   r   r   r   z7SecuritycenterV1.FoldersBigQueryExportsService.<lambda>G  s6    ("8"8N@xH"^"ALF#r   r   r   r   r   r   r   r   r   r   r   r  r   r
  r   r   s   @r   r   r      s^    A%E
8F8F8C8D8Er   r   c                        e Zd ZdZdZ fdZddZd e_        ddZd e_        ddZ	d	 e	_        dd
Z
d e
_        ddZd e_        ddZd e_         xZS )HSecuritycenterV1.FoldersEventThreatDetectionSettingsCustomModulesServicezRService class for the folders_eventThreatDetectionSettings_customModules resource.r   c                 N    t         t        j                  |   |       i | _        y r   )r   r   r   r   r   r   s     r   r   zQSecuritycenterV1.FoldersEventThreatDetectionSettingsCustomModulesService.__init__Z  s%    TTVZdekldr   c                 L    | j                  d      }| j                  |||      S )a  Creates a resident Event Threat Detection custom module at the scope of the given Resource Manager parent, and also creates inherited custom modules for all descendants of the given parent. These modules are enabled by default.

      Args:
        request: (SecuritycenterFoldersEventThreatDetectionSettingsCustomModulesCreateRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (EventThreatDetectionCustomModule) The response message.
      r   r   r   r   s       r   r   zOSecuritycenterV1.FoldersEventThreatDetectionSettingsCustomModulesService.Create_  r   r   c                  F    t        j                  ddddgdgg ddddd	
      S )NAv1/folders/{foldersId}/eventThreatDetectionSettings/customModulesr   zHsecuritycenter.folders.eventThreatDetectionSettings.customModules.creater   v1/{+parent}/customModules eventThreatDetectionCustomModuleKSecuritycenterFoldersEventThreatDetectionSettingsCustomModulesCreateRequest EventThreatDetectionCustomModuleFr   r   r   r   r   r   zQSecuritycenterV1.FoldersEventThreatDetectionSettingsCustomModulesService.<lambda>l  s4    8#9#9U\ zJ28g=$r   c                 L    | j                  d      }| j                  |||      S )a  Deletes the specified Event Threat Detection custom module and all of its descendants in the Resource Manager hierarchy. This method is only supported for resident custom modules.

      Args:
        request: (SecuritycenterFoldersEventThreatDetectionSettingsCustomModulesDeleteRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Empty) The response message.
      r   r   r   r   s       r   r   zOSecuritycenterV1.FoldersEventThreatDetectionSettingsCustomModulesService.Deletez  r   r   c                  F    t        j                  ddddgdgg ddddd	
      S )NSv1/folders/{foldersId}/eventThreatDetectionSettings/customModules/{customModulesId}r   zHsecuritycenter.folders.eventThreatDetectionSettings.customModules.deleter   r   r   KSecuritycenterFoldersEventThreatDetectionSettingsCustomModulesDeleteRequestr   Fr   r   r   r   r   r   zQSecuritycenterV1.FoldersEventThreatDetectionSettingsCustomModulesService.<lambda>  s4    8#9#9g\xH"g"$r   c                 L    | j                  d      }| j                  |||      S )aL  Gets an Event Threat Detection custom module.

      Args:
        request: (SecuritycenterFoldersEventThreatDetectionSettingsCustomModulesGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (EventThreatDetectionCustomModule) The response message.
      r  r   r   r   s       r   r  zLSecuritycenterV1.FoldersEventThreatDetectionSettingsCustomModulesService.Get  r  r   c                  F    t        j                  ddddgdgg ddddd	
      S )Nr  r   zEsecuritycenter.folders.eventThreatDetectionSettings.customModules.getr   r   r   HSecuritycenterFoldersEventThreatDetectionSettingsCustomModulesGetRequestr  Fr   r   r   r   r   r   zQSecuritycenterV1.FoldersEventThreatDetectionSettingsCustomModulesService.<lambda>  s4     6 6gYxH"d=!r   c                 L    | j                  d      }| j                  |||      S )a  Lists all Event Threat Detection custom modules for the given Resource Manager parent. This includes resident modules defined at the scope of the parent along with modules inherited from ancestors.

      Args:
        request: (SecuritycenterFoldersEventThreatDetectionSettingsCustomModulesListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListEventThreatDetectionCustomModulesResponse) The response message.
      r   r   r   r   s       r   r   zMSecuritycenterV1.FoldersEventThreatDetectionSettingsCustomModulesService.List  r   r   c                  J    t        j                  ddddgdgddgddd	d
d      S )Nr  r   zFsecuritycenter.folders.eventThreatDetectionSettings.customModules.listr   r   r   r  r   ISecuritycenterFoldersEventThreatDetectionSettingsCustomModulesListRequest-ListEventThreatDetectionCustomModulesResponseFr   r   r   r   r   r   zQSecuritycenterV1.FoldersEventThreatDetectionSettingsCustomModulesService.<lambda>  s9    !7!7UZ zJ +.2eJ"r   c                 L    | j                  d      }| j                  |||      S )a  Lists all resident Event Threat Detection custom modules under the given Resource Manager parent and its descendants.

      Args:
        request: (SecuritycenterFoldersEventThreatDetectionSettingsCustomModulesListDescendantRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListDescendantEventThreatDetectionCustomModulesResponse) The response message.
      ListDescendantr   r   r   s       r   r$  zWSecuritycenterV1.FoldersEventThreatDetectionSettingsCustomModulesService.ListDescendant  2     ##$45f__
'  8 8r   c                  J    t        j                  ddddgdgddgddd	d
d      S )NzPv1/folders/{foldersId}/eventThreatDetectionSettings/customModules:listDescendantr   zPsecuritycenter.folders.eventThreatDetectionSettings.customModules.listDescendantr   r   r   )v1/{+parent}/customModules:listDescendantr   SSecuritycenterFoldersEventThreatDetectionSettingsCustomModulesListDescendantRequest7ListDescendantEventThreatDetectionCustomModulesResponseFr   r   r   r   r   r   zQSecuritycenterV1.FoldersEventThreatDetectionSettingsCustomModulesService.<lambda>  s9    8+A+Add zJ +.AoT,r   c                 L    | j                  d      }| j                  |||      S )a  Updates the Event Threat Detection custom module with the given name based on the given update mask. Updating the enablement state is supported for both resident and inherited modules (though resident modules cannot have an enablement state of "inherited"). Updating the display name or configuration of a module is supported for resident modules only. The type of a module cannot be changed.

      Args:
        request: (SecuritycenterFoldersEventThreatDetectionSettingsCustomModulesPatchRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (EventThreatDetectionCustomModule) The response message.
      r
  r   r   r   s       r   r
  zNSecuritycenterV1.FoldersEventThreatDetectionSettingsCustomModulesService.Patch  r   r   c                  H    t        j                  ddddgdgdgdddd	d
      S )Nr  r   zGsecuritycenter.folders.eventThreatDetectionSettings.customModules.patchr   r   r   r  JSecuritycenterFoldersEventThreatDetectionSettingsCustomModulesPatchRequestr  Fr   r   r   r   r   r   zQSecuritycenterV1.FoldersEventThreatDetectionSettingsCustomModulesService.<lambda>  s6    ("8"8g[xH"^"8f=#r   r   r   r   r   r   r   r   r   r   r   r  r   r$  r
  r   r   s   @r   r   r  U  sm    \@E
8F8F8C8D8$N 8Er   r   c                   V     e Zd ZdZdZ fdZddZd e_        ddZd e_         xZ	S )	QSecuritycenterV1.FoldersEventThreatDetectionSettingsEffectiveCustomModulesServicez[Service class for the folders_eventThreatDetectionSettings_effectiveCustomModules resource.r!   c                 N    t         t        j                  |   |       i | _        y r   )r   r   r    r   r   r   s     r   r   zZSecuritycenterV1.FoldersEventThreatDetectionSettingsEffectiveCustomModulesService.__init__  %    ]]_cmntudr   c                 L    | j                  d      }| j                  |||      S )a{  Gets an effective Event Threat Detection custom module at the given level.

      Args:
        request: (SecuritycenterFoldersEventThreatDetectionSettingsEffectiveCustomModulesGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (EffectiveEventThreatDetectionCustomModule) The response message.
      r  r   r   r   s       r   r  zUSecuritycenterV1.FoldersEventThreatDetectionSettingsEffectiveCustomModulesService.Get  r  r   c                  F    t        j                  ddddgdgg ddddd	
      S )Nzev1/folders/{foldersId}/eventThreatDetectionSettings/effectiveCustomModules/{effectiveCustomModulesId}r   zNsecuritycenter.folders.eventThreatDetectionSettings.effectiveCustomModules.getr   r   r   QSecuritycenterFoldersEventThreatDetectionSettingsEffectiveCustomModulesGetRequest)EffectiveEventThreatDetectionCustomModuleFr   r   r   r   r   r   zZSecuritycenterV1.FoldersEventThreatDetectionSettingsEffectiveCustomModulesService.<lambda>  s4     6 6ybxH"mF!r   c                 L    | j                  d      }| j                  |||      S )a  Lists all effective Event Threat Detection custom modules for the given parent. This includes resident modules defined at the scope of the parent along with modules inherited from its ancestors.

      Args:
        request: (SecuritycenterFoldersEventThreatDetectionSettingsEffectiveCustomModulesListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListEffectiveEventThreatDetectionCustomModulesResponse) The response message.
      r   r   r   r   s       r   r   zVSecuritycenterV1.FoldersEventThreatDetectionSettingsEffectiveCustomModulesService.List&  r   r   c                  J    t        j                  ddddgdgddgddd	d
d      S )NzJv1/folders/{foldersId}/eventThreatDetectionSettings/effectiveCustomModulesr   zOsecuritycenter.folders.eventThreatDetectionSettings.effectiveCustomModules.listr   r   r   #v1/{+parent}/effectiveCustomModulesr   RSecuritycenterFoldersEventThreatDetectionSettingsEffectiveCustomModulesListRequest6ListEffectiveEventThreatDetectionCustomModulesResponseFr   r   r   r   r   r   zZSecuritycenterV1.FoldersEventThreatDetectionSettingsEffectiveCustomModulesService.<lambda>3  s9    !7!7^c zJ +.;nS"r   r   
r   r   r   r   r   r   r  r   r   r   r   s   @r   r    r/    s1    eIE
8C8Dr   r    c                   >     e Zd ZdZdZ fdZddZd e_         xZS );SecuritycenterV1.FoldersEventThreatDetectionSettingsServicezDService class for the folders_eventThreatDetectionSettings resource.r#   c                 N    t         t        j                  |   |       i | _        y r   )r   r   r"   r   r   r   s     r   r   zDSecuritycenterV1.FoldersEventThreatDetectionSettingsService.__init__F  $    GGWX^_dr   c                 L    | j                  d      }| j                  |||      S )al  Validates the given Event Threat Detection custom module.

      Args:
        request: (SecuritycenterFoldersEventThreatDetectionSettingsValidateCustomModuleRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ValidateEventThreatDetectionCustomModuleResponse) The response message.
      ValidateCustomModuler   r   r   s       r   rA  zPSecuritycenterV1.FoldersEventThreatDetectionSettingsService.ValidateCustomModuleK  2     ##$:;f__
'  8 8r   c                  F    t        j                  ddddgdgg ddddd	
      S )NzHv1/folders/{foldersId}/eventThreatDetectionSettings:validateCustomModuler   zHsecuritycenter.folders.eventThreatDetectionSettings.validateCustomModuler   !v1/{+parent}:validateCustomModule/validateEventThreatDetectionCustomModuleRequestLSecuritycenterFoldersEventThreatDetectionSettingsValidateCustomModuleRequest0ValidateEventThreatDetectionCustomModuleResponseFr   r   r   r   r   r   zDSecuritycenterV1.FoldersEventThreatDetectionSettingsService.<lambda>X  s4    1G1G\\ zJ9GhM2r   r   	r   r   r   r   r   r   rA  r   r   r   s   @r   r"   r=  A  s#    N2E
8*&&r   r"   c                   >     e Zd ZdZdZ fdZddZd e_         xZS )'SecuritycenterV1.FoldersFindingsServicez0Service class for the folders_findings resource.r%   c                 N    t         t        j                  |   |       i | _        y r   )r   r   r$   r   r   r   s     r   r   z0SecuritycenterV1.FoldersFindingsService.__init__k  #    33TCFKdr   c                 L    | j                  d      }| j                  |||      S )a  Kicks off an LRO to bulk mute findings for a parent based on a filter. The parent can be either an organization, folder or project. The findings matched by the filter will be muted after the LRO is done.

      Args:
        request: (SecuritycenterFoldersFindingsBulkMuteRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Operation) The response message.
      BulkMuter   r   r   s       r   rN  z0SecuritycenterV1.FoldersFindingsService.BulkMutep  1     ##J/f__
'  8 8r   c                  F    t        j                  ddddgdgg ddddd	
      S )Nz(v1/folders/{foldersId}/findings:bulkMuter   z(securitycenter.folders.findings.bulkMuter   v1/{+parent}/findings:bulkMutebulkMuteFindingsRequest,SecuritycenterFoldersFindingsBulkMuteRequest	OperationFr   r   r   r   r   r   z0SecuritycenterV1.FoldersFindingsService.<lambda>}  s4    X%;%;<< zJ6/H&&r   r   	r   r   r   r   r   r   rN  r   r   r   s   @r   r$   rJ  f  s"    :E
8Hr   r$   c                   n     e Zd ZdZdZ fdZd
dZd e_        d
dZd e_        d
dZ	d	 e	_         xZ
S )3SecuritycenterV1.FoldersLocationsMuteConfigsServicez=Service class for the folders_locations_muteConfigs resource.r'   c                 N    t         t        j                  |   |       i | _        y r   )r   r   r&   r   r   r   s     r   r   z<SecuritycenterV1.FoldersLocationsMuteConfigsService.__init__  $    ??OPVWdr   c                 L    | j                  d      }| j                  |||      S )a  Deletes an existing mute config.

      Args:
        request: (SecuritycenterFoldersLocationsMuteConfigsDeleteRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Empty) The response message.
      r   r   r   r   s       r   r   z:SecuritycenterV1.FoldersLocationsMuteConfigsService.Delete  r   r   c                  F    t        j                  ddddgdgg ddddd	
      S )NJv1/folders/{foldersId}/locations/{locationsId}/muteConfigs/{muteConfigsId}r   z3securitycenter.folders.locations.muteConfigs.deleter   r   r   6SecuritycenterFoldersLocationsMuteConfigsDeleteRequestr   Fr   r   r   r   r   r   z<SecuritycenterV1.FoldersLocationsMuteConfigsService.<lambda>  s4    8#9#9^GxH"R"$r   c                 L    | j                  d      }| j                  |||      S )a"  Gets a mute config.

      Args:
        request: (SecuritycenterFoldersLocationsMuteConfigsGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudSecuritycenterV1MuteConfig) The response message.
      r  r   r   r   s       r   r  z7SecuritycenterV1.FoldersLocationsMuteConfigsService.Get  r  r   c                  F    t        j                  ddddgdgg ddddd	
      S )Nr\  r   z0securitycenter.folders.locations.muteConfigs.getr   r   r   3SecuritycenterFoldersLocationsMuteConfigsGetRequest%GoogleCloudSecuritycenterV1MuteConfigFr   r   r   r   r   r   z<SecuritycenterV1.FoldersLocationsMuteConfigsService.<lambda>  s4     6 6^DxH"OB!r   c                 L    | j                  d      }| j                  |||      S )a'  Updates a mute config.

      Args:
        request: (SecuritycenterFoldersLocationsMuteConfigsPatchRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudSecuritycenterV1MuteConfig) The response message.
      r
  r   r   r   s       r   r
  z9SecuritycenterV1.FoldersLocationsMuteConfigsService.Patch  r   r   c                  H    t        j                  ddddgdgdgdddd	d
      S )Nr\  r   z2securitycenter.folders.locations.muteConfigs.patchr   r   r   %googleCloudSecuritycenterV1MuteConfig5SecuritycenterFoldersLocationsMuteConfigsPatchRequestra  Fr   r   r   r   r   r   z<SecuritycenterV1.FoldersLocationsMuteConfigsService.<lambda>  s6    ("8"8^FxH"^"=QB#r   r   r   r   r   r   r   r   r   r   r  r
  r   r   s   @r   r&   rW    s@    G+E
8F8C8Er   r&   c                   &     e Zd ZdZdZ fdZ xZS )(SecuritycenterV1.FoldersLocationsServicez1Service class for the folders_locations resource.r)   c                 N    t         t        j                  |   |       i | _        y r   )r   r   r(   r   r   r   s     r   r   z1SecuritycenterV1.FoldersLocationsService.__init__  #    44dDVLdr   r   r   r   r   r   r   r   r   s   @r   r(   rh    s    ;E r   r(   c                        e Zd ZdZdZ fdZddZd e_        ddZd e_        ddZ	d	 e	_        dd
Z
d e
_        ddZd e_         xZS )*SecuritycenterV1.FoldersMuteConfigsServicez3Service class for the folders_muteConfigs resource.r+   c                 N    t         t        j                  |   |       i | _        y r   )r   r   r*   r   r   r   s     r   r   z3SecuritycenterV1.FoldersMuteConfigsService.__init__  s#    66FvNdr   c                 L    | j                  d      }| j                  |||      S )a  Creates a mute config.

      Args:
        request: (SecuritycenterFoldersMuteConfigsCreateRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudSecuritycenterV1MuteConfig) The response message.
      r   r   r   r   s       r   r   z1SecuritycenterV1.FoldersMuteConfigsService.Create  r   r   c                  H    t        j                  ddddgdgdgdddd	d
      S )N"v1/folders/{foldersId}/muteConfigsr   z)securitycenter.folders.muteConfigs.creater   muteConfigIdv1/{+parent}/muteConfigsrd  -SecuritycenterFoldersMuteConfigsCreateRequestra  Fr   r   r   r   r   r   z3SecuritycenterV1.FoldersMuteConfigsService.<lambda>  s7    8#9#96= zJ$%0=IB$r   c                 L    | j                  d      }| j                  |||      S )a	  Deletes an existing mute config.

      Args:
        request: (SecuritycenterFoldersMuteConfigsDeleteRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Empty) The response message.
      r   r   r   r   s       r   r   z1SecuritycenterV1.FoldersMuteConfigsService.Delete  r   r   c                  F    t        j                  ddddgdgg ddddd	
      S )N2v1/folders/{foldersId}/muteConfigs/{muteConfigsId}r   z)securitycenter.folders.muteConfigs.deleter   r   r   -SecuritycenterFoldersMuteConfigsDeleteRequestr   Fr   r   r   r   r   r   z3SecuritycenterV1.FoldersMuteConfigsService.<lambda>"  s4    8#9#9F=xH"I"$r   c                 L    | j                  d      }| j                  |||      S )a  Gets a mute config.

      Args:
        request: (SecuritycenterFoldersMuteConfigsGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudSecuritycenterV1MuteConfig) The response message.
      r  r   r   r   s       r   r  z.SecuritycenterV1.FoldersMuteConfigsService.Get0  r  r   c                  F    t        j                  ddddgdgg ddddd	
      S )Nrw  r   z&securitycenter.folders.muteConfigs.getr   r   r   *SecuritycenterFoldersMuteConfigsGetRequestra  Fr   r   r   r   r   r   z3SecuritycenterV1.FoldersMuteConfigsService.<lambda>=  s4     6 6F:xH"FB!r   c                 L    | j                  d      }| j                  |||      S )a  Lists mute configs.

      Args:
        request: (SecuritycenterFoldersMuteConfigsListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListMuteConfigsResponse) The response message.
      r   r   r   r   s       r   r   z/SecuritycenterV1.FoldersMuteConfigsService.ListK  r   r   c                  J    t        j                  ddddgdgddgddd	d
d      S )Nrq  r   z'securitycenter.folders.muteConfigs.listr   r   r   rs  r   +SecuritycenterFoldersMuteConfigsListRequestListMuteConfigsResponseFr   r   r   r   r   r   z3SecuritycenterV1.FoldersMuteConfigsService.<lambda>X  s9    !7!76; zJ +.0G4"r   c                 L    | j                  d      }| j                  |||      S )a  Updates a mute config.

      Args:
        request: (SecuritycenterFoldersMuteConfigsPatchRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudSecuritycenterV1MuteConfig) The response message.
      r
  r   r   r   s       r   r
  z0SecuritycenterV1.FoldersMuteConfigsService.Patchf  r   r   c                  H    t        j                  ddddgdgdgdddd	d
      S )Nrw  r   z(securitycenter.folders.muteConfigs.patchr   r   r   rd  ,SecuritycenterFoldersMuteConfigsPatchRequestra  Fr   r   r   r   r   r   z3SecuritycenterV1.FoldersMuteConfigsService.<lambda>s  s6    ("8"8F<xH"^"=HB#r   r   r  r   s   @r   r*   rm    s^    =!E
8F8F8C8D8Er   r*   c                        e Zd ZdZdZ fdZddZd e_        ddZd e_        ddZ	d	 e	_        dd
Z
d e
_        ddZd e_         xZS )2SecuritycenterV1.FoldersNotificationConfigsServicez;Service class for the folders_notificationConfigs resource.r-   c                 N    t         t        j                  |   |       i | _        y r   )r   r   r,   r   r   r   s     r   r   z;SecuritycenterV1.FoldersNotificationConfigsService.__init__  s#    >>NvVdr   c                 L    | j                  d      }| j                  |||      S )a  Creates a notification config.

      Args:
        request: (SecuritycenterFoldersNotificationConfigsCreateRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (NotificationConfig) The response message.
      r   r   r   r   s       r   r   z9SecuritycenterV1.FoldersNotificationConfigsService.Create  r   r   c                  H    t        j                  ddddgdgdgdddd	d
      S )N*v1/folders/{foldersId}/notificationConfigsr   z1securitycenter.folders.notificationConfigs.creater   configId v1/{+parent}/notificationConfigsnotificationConfig5SecuritycenterFoldersNotificationConfigsCreateRequestNotificationConfigFr   r   r   r   r   r   z;SecuritycenterV1.FoldersNotificationConfigsService.<lambda>  s6    8#9#9>E zJ \8*Q/$r   c                 L    | j                  d      }| j                  |||      S )a  Deletes a notification config.

      Args:
        request: (SecuritycenterFoldersNotificationConfigsDeleteRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Empty) The response message.
      r   r   r   r   s       r   r   z9SecuritycenterV1.FoldersNotificationConfigsService.Delete  r   r   c                  F    t        j                  ddddgdgg ddddd	
      S )NBv1/folders/{foldersId}/notificationConfigs/{notificationConfigsId}r   z1securitycenter.folders.notificationConfigs.deleter   r   r   5SecuritycenterFoldersNotificationConfigsDeleteRequestr   Fr   r   r   r   r   r   z;SecuritycenterV1.FoldersNotificationConfigsService.<lambda>  s4    8#9#9VExH"Q"$r   c                 L    | j                  d      }| j                  |||      S )a  Gets a notification config.

      Args:
        request: (SecuritycenterFoldersNotificationConfigsGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (NotificationConfig) The response message.
      r  r   r   r   s       r   r  z6SecuritycenterV1.FoldersNotificationConfigsService.Get  r  r   c                  F    t        j                  ddddgdgg ddddd	
      S )Nr  r   z.securitycenter.folders.notificationConfigs.getr   r   r   2SecuritycenterFoldersNotificationConfigsGetRequestr  Fr   r   r   r   r   r   z;SecuritycenterV1.FoldersNotificationConfigsService.<lambda>  s4     6 6VBxH"N/!r   c                 L    | j                  d      }| j                  |||      S )a$  Lists notification configs.

      Args:
        request: (SecuritycenterFoldersNotificationConfigsListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListNotificationConfigsResponse) The response message.
      r   r   r   r   s       r   r   z7SecuritycenterV1.FoldersNotificationConfigsService.List  r   r   c                  J    t        j                  ddddgdgddgddd	d
d      S )Nr  r   z/securitycenter.folders.notificationConfigs.listr   r   r   r  r   3SecuritycenterFoldersNotificationConfigsListRequestListNotificationConfigsResponseFr   r   r   r   r   r   z;SecuritycenterV1.FoldersNotificationConfigsService.<lambda>  s9    !7!7>C zJ +.8O<"r   c                 L    | j                  d      }| j                  |||      S )ay   Updates a notification config. The following update fields are allowed: description, pubsub_topic, streaming_config.filter.

      Args:
        request: (SecuritycenterFoldersNotificationConfigsPatchRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (NotificationConfig) The response message.
      r
  r   r   r   s       r   r
  z8SecuritycenterV1.FoldersNotificationConfigsService.Patch  r   r   c                  H    t        j                  ddddgdgdgdddd	d
      S )Nr  r   z0securitycenter.folders.notificationConfigs.patchr   r   r   r  4SecuritycenterFoldersNotificationConfigsPatchRequestr  Fr   r   r   r   r   r   z;SecuritycenterV1.FoldersNotificationConfigsService.<lambda>  s6    ("8"8VDxH"^"*P/#r   r   r  r   s   @r   r,   r    s^    E)E
8F8F8C8D8Er   r,   c                        e Zd ZdZdZ fdZddZd e_        ddZd e_        ddZ	d	 e	_        dd
Z
d e
_        ddZd e_        ddZd e_        ddZd e_        ddZd e_         xZS )KSecuritycenterV1.FoldersSecurityHealthAnalyticsSettingsCustomModulesServicezUService class for the folders_securityHealthAnalyticsSettings_customModules resource.r/   c                 N    t         t        j                  |   |       i | _        y r   )r   r   r.   r   r   r   s     r   r   zTSecuritycenterV1.FoldersSecurityHealthAnalyticsSettingsCustomModulesService.__init__  s%    WWY]ghnodr   c                 L    | j                  d      }| j                  |||      S )a2  Creates a resident SecurityHealthAnalyticsCustomModule at the scope of the given CRM parent, and also creates inherited SecurityHealthAnalyticsCustomModules for all CRM descendants of the given parent. These modules are enabled by default.

      Args:
        request: (SecuritycenterFoldersSecurityHealthAnalyticsSettingsCustomModulesCreateRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule) The response message.
      r   r   r   r   s       r   r   zRSecuritycenterV1.FoldersSecurityHealthAnalyticsSettingsCustomModulesService.Create  r   r   c                  F    t        j                  ddddgdgg ddddd	
      S )NDv1/folders/{foldersId}/securityHealthAnalyticsSettings/customModulesr   zKsecuritycenter.folders.securityHealthAnalyticsSettings.customModules.creater   r  >googleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModuleNSecuritycenterFoldersSecurityHealthAnalyticsSettingsCustomModulesCreateRequest>GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModuleFr   r   r   r   r   r   zTSecuritycenterV1.FoldersSecurityHealthAnalyticsSettingsCustomModulesService.<lambda>)  s4    8#9#9X_ zJ2Vj[$r   c                 L    | j                  d      }| j                  |||      S )a  Deletes the specified SecurityHealthAnalyticsCustomModule and all of its descendants in the CRM hierarchy. This method is only supported for resident custom modules.

      Args:
        request: (SecuritycenterFoldersSecurityHealthAnalyticsSettingsCustomModulesDeleteRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Empty) The response message.
      r   r   r   r   s       r   r   zRSecuritycenterV1.FoldersSecurityHealthAnalyticsSettingsCustomModulesService.Delete7  r   r   c                  F    t        j                  ddddgdgg ddddd	
      S )NVv1/folders/{foldersId}/securityHealthAnalyticsSettings/customModules/{customModulesId}r   zKsecuritycenter.folders.securityHealthAnalyticsSettings.customModules.deleter   r   r   NSecuritycenterFoldersSecurityHealthAnalyticsSettingsCustomModulesDeleteRequestr   Fr   r   r   r   r   r   zTSecuritycenterV1.FoldersSecurityHealthAnalyticsSettingsCustomModulesService.<lambda>D  s4    8#9#9j_xH"j"$r   c                 L    | j                  d      }| j                  |||      S )ap  Retrieves a SecurityHealthAnalyticsCustomModule.

      Args:
        request: (SecuritycenterFoldersSecurityHealthAnalyticsSettingsCustomModulesGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule) The response message.
      r  r   r   r   s       r   r  zOSecuritycenterV1.FoldersSecurityHealthAnalyticsSettingsCustomModulesService.GetR  r  r   c                  F    t        j                  ddddgdgg ddddd	
      S )Nr  r   zHsecuritycenter.folders.securityHealthAnalyticsSettings.customModules.getr   r   r   KSecuritycenterFoldersSecurityHealthAnalyticsSettingsCustomModulesGetRequestr  Fr   r   r   r   r   r   zTSecuritycenterV1.FoldersSecurityHealthAnalyticsSettingsCustomModulesService.<lambda>_  s4     6 6j\xH"g[!r   c                 L    | j                  d      }| j                  |||      S )a  Returns a list of all SecurityHealthAnalyticsCustomModules for the given parent. This includes resident modules defined at the scope of the parent, and inherited modules, inherited from CRM ancestors.

      Args:
        request: (SecuritycenterFoldersSecurityHealthAnalyticsSettingsCustomModulesListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListSecurityHealthAnalyticsCustomModulesResponse) The response message.
      r   r   r   r   s       r   r   zPSecuritycenterV1.FoldersSecurityHealthAnalyticsSettingsCustomModulesService.Listm  r   r   c                  J    t        j                  ddddgdgddgddd	d
d      S )Nr  r   zIsecuritycenter.folders.securityHealthAnalyticsSettings.customModules.listr   r   r   r  r   LSecuritycenterFoldersSecurityHealthAnalyticsSettingsCustomModulesListRequest0ListSecurityHealthAnalyticsCustomModulesResponseFr   r   r   r   r   r   zTSecuritycenterV1.FoldersSecurityHealthAnalyticsSettingsCustomModulesService.<lambda>z  s9    !7!7X] zJ +.2hM"r   c                 L    | j                  d      }| j                  |||      S )a  Returns a list of all resident SecurityHealthAnalyticsCustomModules under the given CRM parent and all of the parent's CRM descendants.

      Args:
        request: (SecuritycenterFoldersSecurityHealthAnalyticsSettingsCustomModulesListDescendantRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListDescendantSecurityHealthAnalyticsCustomModulesResponse) The response message.
      r$  r   r   r   s       r   r$  zZSecuritycenterV1.FoldersSecurityHealthAnalyticsSettingsCustomModulesService.ListDescendant  r%  r   c                  J    t        j                  ddddgdgddgddd	d
d      S )NzSv1/folders/{foldersId}/securityHealthAnalyticsSettings/customModules:listDescendantr   zSsecuritycenter.folders.securityHealthAnalyticsSettings.customModules.listDescendantr   r   r   r'  r   VSecuritycenterFoldersSecurityHealthAnalyticsSettingsCustomModulesListDescendantRequest:ListDescendantSecurityHealthAnalyticsCustomModulesResponseFr   r   r   r   r   r   zTSecuritycenterV1.FoldersSecurityHealthAnalyticsSettingsCustomModulesService.<lambda>  s9    8+A+Agg zJ +.ArW,r   c                 L    | j                  d      }| j                  |||      S )a  Updates the SecurityHealthAnalyticsCustomModule under the given name based on the given update mask. Updating the enablement state is supported on both resident and inherited modules (though resident modules cannot have an enablement state of "inherited"). Updating the display name and custom config of a module is supported on resident modules only.

      Args:
        request: (SecuritycenterFoldersSecurityHealthAnalyticsSettingsCustomModulesPatchRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule) The response message.
      r
  r   r   r   s       r   r
  zQSecuritycenterV1.FoldersSecurityHealthAnalyticsSettingsCustomModulesService.Patch  r   r   c                  H    t        j                  ddddgdgdgdddd	d
      S )Nr  r   zJsecuritycenter.folders.securityHealthAnalyticsSettings.customModules.patchr   r   r   r  MSecuritycenterFoldersSecurityHealthAnalyticsSettingsCustomModulesPatchRequestr  Fr   r   r   r   r   r   zTSecuritycenterV1.FoldersSecurityHealthAnalyticsSettingsCustomModulesService.<lambda>  s6    ("8"8j^xH"^"Vi[#r   c                 L    | j                  d      }| j                  |||      S )a}  Simulates a given SecurityHealthAnalyticsCustomModule and Resource.

      Args:
        request: (SecuritycenterFoldersSecurityHealthAnalyticsSettingsCustomModulesSimulateRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (SimulateSecurityHealthAnalyticsCustomModuleResponse) The response message.
      Simulater   r   r   s       r   r  zTSecuritycenterV1.FoldersSecurityHealthAnalyticsSettingsCustomModulesService.Simulate  rO  r   c                  F    t        j                  ddddgdgg ddddd	
      S )NzMv1/folders/{foldersId}/securityHealthAnalyticsSettings/customModules:simulater   zMsecuritycenter.folders.securityHealthAnalyticsSettings.customModules.simulater   #v1/{+parent}/customModules:simulate2simulateSecurityHealthAnalyticsCustomModuleRequestPSecuritycenterFoldersSecurityHealthAnalyticsSettingsCustomModulesSimulateRequest3SimulateSecurityHealthAnalyticsCustomModuleResponseFr   r   r   r   r   r   zTSecuritycenterV1.FoldersSecurityHealthAnalyticsSettingsCustomModulesService.<lambda>  s4    X%;%;aa zJ;JlP&r   c                 L    | j                  d      }| j                  |||      S )aq  Tests a specified or given SecurityHealthAnalyticsCustomModule.

      Args:
        request: (SecuritycenterFoldersSecurityHealthAnalyticsSettingsCustomModulesTestRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (TestSecurityHealthAnalyticsCustomModuleResponse) The response message.
      Testr   r   r   s       r   r  zPSecuritycenterV1.FoldersSecurityHealthAnalyticsSettingsCustomModulesService.Test  r   r   c                  F    t        j                  ddddgdgg ddddd	
      S )Nz[v1/folders/{foldersId}/securityHealthAnalyticsSettings/customModules/{customModulesId}:testr   zIsecuritycenter.folders.securityHealthAnalyticsSettings.customModules.testr   v1/{+name}:test.testSecurityHealthAnalyticsCustomModuleRequestLSecuritycenterFoldersSecurityHealthAnalyticsSettingsCustomModulesTestRequest/TestSecurityHealthAnalyticsCustomModuleResponseFr   r   r   r   r   r   zTSecuritycenterV1.FoldersSecurityHealthAnalyticsSettingsCustomModulesService.<lambda>  s4    !7!7o]xH'FhL"r   r   r   r   r   r   r   r   r   r   r   r  r   r$  r
  r  r  r   r   s   @r   r.   r    s    _CE
8F8F8C8D8$N 8E8H8Dr   r.   c                   V     e Zd ZdZdZ fdZddZd e_        ddZd e_         xZ	S )	TSecuritycenterV1.FoldersSecurityHealthAnalyticsSettingsEffectiveCustomModulesServicez^Service class for the folders_securityHealthAnalyticsSettings_effectiveCustomModules resource.r1   c                 N    t         t        j                  |   |       i | _        y r   )r   r   r0   r   r   r   s     r   r   z]SecuritycenterV1.FoldersSecurityHealthAnalyticsSettingsEffectiveCustomModulesService.__init__  %    ``bfpqwxdr   c                 L    | j                  d      }| j                  |||      S )a  Retrieves an EffectiveSecurityHealthAnalyticsCustomModule.

      Args:
        request: (SecuritycenterFoldersSecurityHealthAnalyticsSettingsEffectiveCustomModulesGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule) The response message.
      r  r   r   r   s       r   r  zXSecuritycenterV1.FoldersSecurityHealthAnalyticsSettingsEffectiveCustomModulesService.Get  r  r   c                  F    t        j                  ddddgdgg ddddd	
      S )Nzhv1/folders/{foldersId}/securityHealthAnalyticsSettings/effectiveCustomModules/{effectiveCustomModulesId}r   zQsecuritycenter.folders.securityHealthAnalyticsSettings.effectiveCustomModules.getr   r   r   TSecuritycenterFoldersSecurityHealthAnalyticsSettingsEffectiveCustomModulesGetRequestGGoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModuleFr   r   r   r   r   r   z]SecuritycenterV1.FoldersSecurityHealthAnalyticsSettingsEffectiveCustomModulesService.<lambda>  s4     6 6|exH"pd!r   c                 L    | j                  d      }| j                  |||      S )a  Returns a list of all EffectiveSecurityHealthAnalyticsCustomModules for the given parent. This includes resident modules defined at the scope of the parent, and inherited modules, inherited from CRM ancestors.

      Args:
        request: (SecuritycenterFoldersSecurityHealthAnalyticsSettingsEffectiveCustomModulesListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListEffectiveSecurityHealthAnalyticsCustomModulesResponse) The response message.
      r   r   r   r   s       r   r   zYSecuritycenterV1.FoldersSecurityHealthAnalyticsSettingsEffectiveCustomModulesService.List  r   r   c                  J    t        j                  ddddgdgddgddd	d
d      S )NzMv1/folders/{foldersId}/securityHealthAnalyticsSettings/effectiveCustomModulesr   zRsecuritycenter.folders.securityHealthAnalyticsSettings.effectiveCustomModules.listr   r   r   r8  r   USecuritycenterFoldersSecurityHealthAnalyticsSettingsEffectiveCustomModulesListRequest9ListEffectiveSecurityHealthAnalyticsCustomModulesResponseFr   r   r   r   r   r   z]SecuritycenterV1.FoldersSecurityHealthAnalyticsSettingsEffectiveCustomModulesService.<lambda>&  s9    !7!7af zJ +.;qV"r   r   r;  r   s   @r   r0   r    s1    hLE
8C8Dr   r0   c                   &     e Zd ZdZdZ fdZ xZS )>SecuritycenterV1.FoldersSecurityHealthAnalyticsSettingsServicezGService class for the folders_securityHealthAnalyticsSettings resource.r3   c                 N    t         t        j                  |   |       i | _        y r   )r   r   r2   r   r   r   s     r   r   zGSecuritycenterV1.FoldersSecurityHealthAnalyticsSettingsService.__init__9  $    JJDZ[abdr   rk  r   s   @r   r2   r  4  s    Q5E r   r2   c                   >     e Zd ZdZdZ fdZddZd e_         xZS )=SecuritycenterV1.FoldersSourcesFindingsExternalSystemsServicezHService class for the folders_sources_findings_externalSystems resource.r5   c                 N    t         t        j                  |   |       i | _        y r   )r   r   r4   r   r   r   s     r   r   zFSecuritycenterV1.FoldersSourcesFindingsExternalSystemsService.__init__C  s$    II4YZ`adr   c                 L    | j                  d      }| j                  |||      S )aT  Updates external system. This is for a given finding.

      Args:
        request: (SecuritycenterFoldersSourcesFindingsExternalSystemsPatchRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudSecuritycenterV1ExternalSystem) The response message.
      r
  r   r   r   s       r   r
  zCSecuritycenterV1.FoldersSourcesFindingsExternalSystemsService.PatchH  r   r   c                  H    t        j                  ddddgdgdgdddd	d
      S )Nzdv1/folders/{foldersId}/sources/{sourcesId}/findings/{findingsId}/externalSystems/{externalSystemsId}r   z=securitycenter.folders.sources.findings.externalSystems.patchr   r   r   )googleCloudSecuritycenterV1ExternalSystem?SecuritycenterFoldersSourcesFindingsExternalSystemsPatchRequest)GoogleCloudSecuritycenterV1ExternalSystemFr   r   r   r   r   r   zFSecuritycenterV1.FoldersSourcesFindingsExternalSystemsService.<lambda>U  s6    ("8"8xQxH"^"A[F#r   r   	r   r   r   r   r   r   r
  r   r   r   s   @r   r4   r  >  s"    R6E
8Er   r4   c                        e Zd ZdZdZ fdZddZd e_        ddZd e_        ddZ	d	 e	_        dd
Z
d e
_        ddZd e_        ddZd e_         xZS ).SecuritycenterV1.FoldersSourcesFindingsServicez8Service class for the folders_sources_findings resource.r7   c                 N    t         t        j                  |   |       i | _        y r   )r   r   r6   r   r   r   s     r   r   z7SecuritycenterV1.FoldersSourcesFindingsService.__init__h  r   r   c                 L    | j                  d      }| j                  |||      S )a.  Filters an organization or source's findings and groups them by their specified properties. To group across all sources provide a `-` as the source id. Example: /v1/organizations/{organization_id}/sources/-/findings, /v1/folders/{folder_id}/sources/-/findings, /v1/projects/{project_id}/sources/-/findings.

      Args:
        request: (SecuritycenterFoldersSourcesFindingsGroupRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GroupFindingsResponse) The response message.
      r   r   r   r   s       r   r   z4SecuritycenterV1.FoldersSourcesFindingsService.Groupm  r   r   c                  F    t        j                  ddddgdgg ddddd	
      S )Nz9v1/folders/{foldersId}/sources/{sourcesId}/findings:groupr   z-securitycenter.folders.sources.findings.groupr   v1/{+parent}/findings:groupgroupFindingsRequest0SecuritycenterFoldersSourcesFindingsGroupRequestGroupFindingsResponseFr   r   r   r   r   r   z7SecuritycenterV1.FoldersSourcesFindingsService.<lambda>z  s4    ("8"8MA zJ3,L2#r   c                 L    | j                  d      }| j                  |||      S )a  Lists an organization or source's findings. To list across all sources provide a `-` as the source id. Example: /v1/organizations/{organization_id}/sources/-/findings.

      Args:
        request: (SecuritycenterFoldersSourcesFindingsListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListFindingsResponse) The response message.
      r   r   r   r   s       r   r   z3SecuritycenterV1.FoldersSourcesFindingsService.List  r   r   c                  J    t        j                  ddddgdgg ddddd	d
      S )Nz3v1/folders/{foldersId}/sources/{sourcesId}/findingsr   z,securitycenter.folders.sources.findings.listr   r   v1/{+parent}/findingsr   /SecuritycenterFoldersSourcesFindingsListRequestListFindingsResponseFr   r   r   r   r   r   z7SecuritycenterV1.FoldersSourcesFindingsService.<lambda>  s4    !7!7G@ zJo-K1"r   c                 L    | j                  d      }| j                  |||      S )aR  Creates or updates a finding. The corresponding source must exist for a finding creation to succeed.

      Args:
        request: (SecuritycenterFoldersSourcesFindingsPatchRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Finding) The response message.
      r
  r   r   r   s       r   r
  z4SecuritycenterV1.FoldersSourcesFindingsService.Patch  r   r   c                  H    t        j                  ddddgdgdgdddd	d
      S )Nz@v1/folders/{foldersId}/sources/{sourcesId}/findings/{findingsId}r   z-securitycenter.folders.sources.findings.patchr   r   r   finding0SecuritycenterFoldersSourcesFindingsPatchRequestFindingFr   r   r   r   r   r   z7SecuritycenterV1.FoldersSourcesFindingsService.<lambda>  s6    ("8"8TAxH"^"L$#r   c                 L    | j                  d      }| j                  |||      S )a  Updates the mute state of a finding.

      Args:
        request: (SecuritycenterFoldersSourcesFindingsSetMuteRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Finding) The response message.
      SetMuter   r   r   s       r   r  z6SecuritycenterV1.FoldersSourcesFindingsService.SetMute  1     ##I.f__
'  8 8r   c                  F    t        j                  ddddgdgg ddddd	
      S )NzHv1/folders/{foldersId}/sources/{sourcesId}/findings/{findingsId}:setMuter   z/securitycenter.folders.sources.findings.setMuter   v1/{+name}:setMutesetMuteRequest2SecuritycenterFoldersSourcesFindingsSetMuteRequestr  Fr   r   r   r   r   r   z7SecuritycenterV1.FoldersSourcesFindingsService.<lambda>  s4    H$:$:\CxH*&N$%r   c                 L    | j                  d      }| j                  |||      S )a  Updates the state of a finding.

      Args:
        request: (SecuritycenterFoldersSourcesFindingsSetStateRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Finding) The response message.
      SetStater   r   r   s       r   r  z7SecuritycenterV1.FoldersSourcesFindingsService.SetState  rO  r   c                  F    t        j                  ddddgdgg ddddd	
      S )NzIv1/folders/{foldersId}/sources/{sourcesId}/findings/{findingsId}:setStater   z0securitycenter.folders.sources.findings.setStater   v1/{+name}:setStatesetFindingStateRequest3SecuritycenterFoldersSourcesFindingsSetStateRequestr  Fr   r   r   r   r   r   z7SecuritycenterV1.FoldersSourcesFindingsService.<lambda>  s4    X%;%;]DxH+.O$&r   c                 L    | j                  d      }| j                  |||      S )a  Updates security marks.

      Args:
        request: (SecuritycenterFoldersSourcesFindingsUpdateSecurityMarksRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (SecurityMarks) The response message.
      r   r   r   r   s       r   r   zBSecuritycenterV1.FoldersSourcesFindingsService.UpdateSecurityMarks  r   r   c                  J    t        j                  ddddgdgddgddd	d
d      S )NzNv1/folders/{foldersId}/sources/{sourcesId}/findings/{findingsId}/securityMarksr   z;securitycenter.folders.sources.findings.updateSecurityMarksr   r   r   r   r   >SecuritycenterFoldersSourcesFindingsUpdateSecurityMarksRequestr   Fr   r   r   r   r   r   z7SecuritycenterV1.FoldersSourcesFindingsService.<lambda>  s9    0F0FbOxH!<0"%Z*1r   r   r   r   r   r   r   r   r   r   r   r
  r  r  r   r   r   s   @r   r6   r  c  sn    B&E
8E8D8E8G8H8)%%r   r6   c                   >     e Zd ZdZdZ fdZddZd e_         xZS )&SecuritycenterV1.FoldersSourcesServicez/Service class for the folders_sources resource.r9   c                 N    t         t        j                  |   |       i | _        y r   )r   r   r8   r   r   r   s     r   r   z/SecuritycenterV1.FoldersSourcesService.__init__  #    22DB6Jdr   c                 L    | j                  d      }| j                  |||      S )a   Lists all sources belonging to an organization.

      Args:
        request: (SecuritycenterFoldersSourcesListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListSourcesResponse) The response message.
      r   r   r   r   s       r   r   z+SecuritycenterV1.FoldersSourcesService.List  r   r   c                  J    t        j                  ddddgdgddgddd	d
d      S )Nzv1/folders/{foldersId}/sourcesr   z#securitycenter.folders.sources.listr   r   r   v1/{+parent}/sourcesr   'SecuritycenterFoldersSourcesListRequestListSourcesResponseFr   r   r   r   r   r   z/SecuritycenterV1.FoldersSourcesService.<lambda>&  s9    !7!727 zJ +.,C0"r   r   	r   r   r   r   r   r   r   r   r   r   s   @r   r8   r    s"    9E
8Dr   r8   c                   &     e Zd ZdZdZ fdZ xZS )SecuritycenterV1.FoldersServicez'Service class for the folders resource.r;   c                 N    t         t        j                  |   |       i | _        y r   )r   r   r:   r   r   r   s     r   r   z(SecuritycenterV1.FoldersService.__init__9  s#    ++T;FCdr   rk  r   s   @r   r:   r  4  s    1E r   r:   c                        e Zd ZdZdZ fdZddZd e_        ddZd e_        ddZ	d	 e	_        dd
Z
d e
_         xZS )+SecuritycenterV1.OrganizationsAssetsServicez4Service class for the organizations_assets resource.r=   c                 N    t         t        j                  |   |       i | _        y r   )r   r   r<   r   r   r   s     r   r   z4SecuritycenterV1.OrganizationsAssetsService.__init__C  #    77GOdr   c                 L    | j                  d      }| j                  |||      S )aF  Filters an organization's assets and groups them by their specified properties.

      Args:
        request: (SecuritycenterOrganizationsAssetsGroupRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GroupAssetsResponse) The response message.
      r   r   r   r   s       r   r   z1SecuritycenterV1.OrganizationsAssetsService.GroupH  r   r   c                  F    t        j                  ddddgdgg ddddd	
      S )Nz/v1/organizations/{organizationsId}/assets:groupr   z)securitycenter.organizations.assets.groupr   r   r   -SecuritycenterOrganizationsAssetsGroupRequestr   Fr   r   r   r   r   r   z4SecuritycenterV1.OrganizationsAssetsService.<lambda>U  s4    ("8"8C= zJ1*I0#r   c                 L    | j                  d      }| j                  |||      S )a  Lists an organization's assets.

      Args:
        request: (SecuritycenterOrganizationsAssetsListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListAssetsResponse) The response message.
      r   r   r   r   s       r   r   z0SecuritycenterV1.OrganizationsAssetsService.Listc  r   r   c                  J    t        j                  ddddgdgg ddddd	d
      S )Nz)v1/organizations/{organizationsId}/assetsr   z(securitycenter.organizations.assets.listr   r   r   r   ,SecuritycenterOrganizationsAssetsListRequestr   Fr   r   r   r   r   r   z4SecuritycenterV1.OrganizationsAssetsService.<lambda>p  s4    !7!7=< zJo+H/"r   c                 L    | j                  d      }| j                  |||      S )a  Runs asset discovery. The discovery is tracked with a long-running operation. This API can only be called with limited frequency for an organization. If it is called too frequently the caller will receive a TOO_MANY_REQUESTS error.

      Args:
        request: (SecuritycenterOrganizationsAssetsRunDiscoveryRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Operation) The response message.
      RunDiscoveryr   r   r   s       r   r  z8SecuritycenterV1.OrganizationsAssetsService.RunDiscovery~  1     ##N3f__
'  8 8r   c                  F    t        j                  ddddgdgg ddddd	
      S )Nz6v1/organizations/{organizationsId}/assets:runDiscoveryr   z0securitycenter.organizations.assets.runDiscoveryr   z v1/{+parent}/assets:runDiscoveryrunAssetDiscoveryRequest4SecuritycenterOrganizationsAssetsRunDiscoveryRequestrT  Fr   r   r   r   r   r   z4SecuritycenterV1.OrganizationsAssetsService.<lambda>  s4    )?)?JD zJ80P&*r   c                 L    | j                  d      }| j                  |||      S )a  Updates security marks.

      Args:
        request: (SecuritycenterOrganizationsAssetsUpdateSecurityMarksRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (SecurityMarks) The response message.
      r   r   r   r   s       r   r   z?SecuritycenterV1.OrganizationsAssetsService.UpdateSecurityMarks  r   r   c                  J    t        j                  ddddgdgddgddd	d
d      S )NzBv1/organizations/{organizationsId}/assets/{assetsId}/securityMarksr   z7securitycenter.organizations.assets.updateSecurityMarksr   r   r   r   r   ;SecuritycenterOrganizationsAssetsUpdateSecurityMarksRequestr   Fr   r   r   r   r   r   z4SecuritycenterV1.OrganizationsAssetsService.<lambda>  s9    0F0FVKxH!<0"%W*1r   r   )r   r   r   r   r   r   r   r   r   r  r   r   r   s   @r   r<   r  >  sP    >"E
8E8D8"L8)%%r   r<   c                   >     e Zd ZdZdZ fdZddZd e_         xZS )0SecuritycenterV1.OrganizationsAttackPathsServicez9Service class for the organizations_attackPaths resource.r?   c                 N    t         t        j                  |   |       i | _        y r   )r   r   r>   r   r   r   s     r   r   z9SecuritycenterV1.OrganizationsAttackPathsService.__init__  #    <<dLVTdr   c                 L    | j                  d      }| j                  |||      S )aU  Lists the attack paths for a set of simulation results or valued resources and filter.

      Args:
        request: (SecuritycenterOrganizationsAttackPathsListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListAttackPathsResponse) The response message.
      r   r   r   r   s       r   r   z5SecuritycenterV1.OrganizationsAttackPathsService.List  r   r   c                  J    t        j                  ddddgdgg ddddd	d
      S )Nz.v1/organizations/{organizationsId}/attackPathsr   z-securitycenter.organizations.attackPaths.listr   r   r   r   v1/{+parent}/attackPathsr   1SecuritycenterOrganizationsAttackPathsListRequestListAttackPathsResponseFr   r   r   r   r   r   z9SecuritycenterV1.OrganizationsAttackPathsService.<lambda>  s4    !7!7BA zJ80M4"r   r   r  r   s   @r   r>   r$    s"    C'E
8Dr   r>   c                        e Zd ZdZdZ fdZddZd e_        ddZd e_        ddZ	d	 e	_        dd
Z
d e
_        ddZd e_         xZS )4SecuritycenterV1.OrganizationsBigQueryExportsServicez=Service class for the organizations_bigQueryExports resource.rA   c                 N    t         t        j                  |   |       i | _        y r   )r   r   r@   r   r   r   s     r   r   z=SecuritycenterV1.OrganizationsBigQueryExportsService.__init__  $    @@$PQWXdr   c                 L    | j                  d      }| j                  |||      S )a1  Creates a BigQuery export.

      Args:
        request: (SecuritycenterOrganizationsBigQueryExportsCreateRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudSecuritycenterV1BigQueryExport) The response message.
      r   r   r   r   s       r   r   z;SecuritycenterV1.OrganizationsBigQueryExportsService.Create  r   r   c                  H    t        j                  ddddgdgdgdddd	d
      S )N2v1/organizations/{organizationsId}/bigQueryExportsr   z3securitycenter.organizations.bigQueryExports.creater   r   r   r   7SecuritycenterOrganizationsBigQueryExportsCreateRequestr   Fr   r   r   r   r   r   z=SecuritycenterV1.OrganizationsBigQueryExportsService.<lambda>  s7    8#9#9FG zJ()4ASF$r   c                 L    | j                  d      }| j                  |||      S )a  Deletes an existing BigQuery export.

      Args:
        request: (SecuritycenterOrganizationsBigQueryExportsDeleteRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Empty) The response message.
      r   r   r   r   s       r   r   z;SecuritycenterV1.OrganizationsBigQueryExportsService.Delete  r   r   c                  F    t        j                  ddddgdgg ddddd	
      S )NFv1/organizations/{organizationsId}/bigQueryExports/{bigQueryExportsId}r   z3securitycenter.organizations.bigQueryExports.deleter   r   r   7SecuritycenterOrganizationsBigQueryExportsDeleteRequestr   Fr   r   r   r   r   r   z=SecuritycenterV1.OrganizationsBigQueryExportsService.<lambda>  s4    8#9#9ZGxH"S"$r   c                 L    | j                  d      }| j                  |||      S )a+  Gets a BigQuery export.

      Args:
        request: (SecuritycenterOrganizationsBigQueryExportsGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudSecuritycenterV1BigQueryExport) The response message.
      r  r   r   r   s       r   r  z8SecuritycenterV1.OrganizationsBigQueryExportsService.Get  r  r   c                  F    t        j                  ddddgdgg ddddd	
      S )Nr7  r   z0securitycenter.organizations.bigQueryExports.getr   r   r   4SecuritycenterOrganizationsBigQueryExportsGetRequestr   Fr   r   r   r   r   r   z=SecuritycenterV1.OrganizationsBigQueryExportsService.<lambda>&  s4     6 6ZDxH"PF!r   c                 L    | j                  d      }| j                  |||      S )a=  Lists BigQuery exports. Note that when requesting BigQuery exports at a given level all exports under that level are also returned e.g. if requesting BigQuery exports under a folder, then all BigQuery exports immediately under the folder plus the ones created under the projects within the folder are returned.

      Args:
        request: (SecuritycenterOrganizationsBigQueryExportsListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListBigQueryExportsResponse) The response message.
      r   r   r   r   s       r   r   z9SecuritycenterV1.OrganizationsBigQueryExportsService.List4  r   r   c                  J    t        j                  ddddgdgddgddd	d
d      S )Nr3  r   z1securitycenter.organizations.bigQueryExports.listr   r   r   r   r   5SecuritycenterOrganizationsBigQueryExportsListRequestr  Fr   r   r   r   r   r   z=SecuritycenterV1.OrganizationsBigQueryExportsService.<lambda>A  s9    !7!7FE zJ +.4Q8"r   c                 L    | j                  d      }| j                  |||      S )a0  Updates a BigQuery export.

      Args:
        request: (SecuritycenterOrganizationsBigQueryExportsPatchRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudSecuritycenterV1BigQueryExport) The response message.
      r
  r   r   r   s       r   r
  z:SecuritycenterV1.OrganizationsBigQueryExportsService.PatchO  r   r   c                  H    t        j                  ddddgdgdgdddd	d
      S )Nr7  r   z2securitycenter.organizations.bigQueryExports.patchr   r   r   r   6SecuritycenterOrganizationsBigQueryExportsPatchRequestr   Fr   r   r   r   r   r   z=SecuritycenterV1.OrganizationsBigQueryExportsService.<lambda>\  s6    ("8"8ZFxH"^"ARF#r   r   r  r   s   @r   r@   r.    s^    G+E
8F8F8C8D8Er   r@   c                        e Zd ZdZdZ fdZddZd e_        ddZd e_        ddZ	d	 e	_        dd
Z
d e
_        ddZd e_        ddZd e_         xZS )NSecuritycenterV1.OrganizationsEventThreatDetectionSettingsCustomModulesServicezXService class for the organizations_eventThreatDetectionSettings_customModules resource.rC   c                 N    t         t        j                  |   |       i | _        y r   )r   r   rB   r   r   r   s     r   r   zWSecuritycenterV1.OrganizationsEventThreatDetectionSettingsCustomModulesService.__init__o  s%    ZZ\`jkqrdr   c                 L    | j                  d      }| j                  |||      S )a  Creates a resident Event Threat Detection custom module at the scope of the given Resource Manager parent, and also creates inherited custom modules for all descendants of the given parent. These modules are enabled by default.

      Args:
        request: (SecuritycenterOrganizationsEventThreatDetectionSettingsCustomModulesCreateRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (EventThreatDetectionCustomModule) The response message.
      r   r   r   r   s       r   r   zUSecuritycenterV1.OrganizationsEventThreatDetectionSettingsCustomModulesService.Createt  r   r   c                  F    t        j                  ddddgdgg ddddd	
      S )NMv1/organizations/{organizationsId}/eventThreatDetectionSettings/customModulesr   zNsecuritycenter.organizations.eventThreatDetectionSettings.customModules.creater   r  r  QSecuritycenterOrganizationsEventThreatDetectionSettingsCustomModulesCreateRequestr  Fr   r   r   r   r   r   zWSecuritycenterV1.OrganizationsEventThreatDetectionSettingsCustomModulesService.<lambda>  s4    8#9#9ab zJ28m=$r   c                 L    | j                  d      }| j                  |||      S )a  Deletes the specified Event Threat Detection custom module and all of its descendants in the Resource Manager hierarchy. This method is only supported for resident custom modules.

      Args:
        request: (SecuritycenterOrganizationsEventThreatDetectionSettingsCustomModulesDeleteRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Empty) The response message.
      r   r   r   r   s       r   r   zUSecuritycenterV1.OrganizationsEventThreatDetectionSettingsCustomModulesService.Delete  r   r   c                  F    t        j                  ddddgdgg ddddd	
      S )N_v1/organizations/{organizationsId}/eventThreatDetectionSettings/customModules/{customModulesId}r   zNsecuritycenter.organizations.eventThreatDetectionSettings.customModules.deleter   r   r   QSecuritycenterOrganizationsEventThreatDetectionSettingsCustomModulesDeleteRequestr   Fr   r   r   r   r   r   zWSecuritycenterV1.OrganizationsEventThreatDetectionSettingsCustomModulesService.<lambda>  s4    8#9#9sbxH"m"$r   c                 L    | j                  d      }| j                  |||      S )aR  Gets an Event Threat Detection custom module.

      Args:
        request: (SecuritycenterOrganizationsEventThreatDetectionSettingsCustomModulesGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (EventThreatDetectionCustomModule) The response message.
      r  r   r   r   s       r   r  zRSecuritycenterV1.OrganizationsEventThreatDetectionSettingsCustomModulesService.Get  r  r   c                  F    t        j                  ddddgdgg ddddd	
      S )NrK  r   zKsecuritycenter.organizations.eventThreatDetectionSettings.customModules.getr   r   r   NSecuritycenterOrganizationsEventThreatDetectionSettingsCustomModulesGetRequestr  Fr   r   r   r   r   r   zWSecuritycenterV1.OrganizationsEventThreatDetectionSettingsCustomModulesService.<lambda>  s4     6 6s_xH"j=!r   c                 L    | j                  d      }| j                  |||      S )a  Lists all Event Threat Detection custom modules for the given Resource Manager parent. This includes resident modules defined at the scope of the parent along with modules inherited from ancestors.

      Args:
        request: (SecuritycenterOrganizationsEventThreatDetectionSettingsCustomModulesListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListEventThreatDetectionCustomModulesResponse) The response message.
      r   r   r   r   s       r   r   zSSecuritycenterV1.OrganizationsEventThreatDetectionSettingsCustomModulesService.List  r   r   c                  J    t        j                  ddddgdgddgddd	d
d      S )NrG  r   zLsecuritycenter.organizations.eventThreatDetectionSettings.customModules.listr   r   r   r  r   OSecuritycenterOrganizationsEventThreatDetectionSettingsCustomModulesListRequestr"  Fr   r   r   r   r   r   zWSecuritycenterV1.OrganizationsEventThreatDetectionSettingsCustomModulesService.<lambda>  s9    !7!7a` zJ +.2kJ"r   c                 L    | j                  d      }| j                  |||      S )a  Lists all resident Event Threat Detection custom modules under the given Resource Manager parent and its descendants.

      Args:
        request: (SecuritycenterOrganizationsEventThreatDetectionSettingsCustomModulesListDescendantRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListDescendantEventThreatDetectionCustomModulesResponse) The response message.
      r$  r   r   r   s       r   r$  z]SecuritycenterV1.OrganizationsEventThreatDetectionSettingsCustomModulesService.ListDescendant  r%  r   c                  J    t        j                  ddddgdgddgddd	d
d      S )Nz\v1/organizations/{organizationsId}/eventThreatDetectionSettings/customModules:listDescendantr   zVsecuritycenter.organizations.eventThreatDetectionSettings.customModules.listDescendantr   r   r   r'  r   YSecuritycenterOrganizationsEventThreatDetectionSettingsCustomModulesListDescendantRequestr)  Fr   r   r   r   r   r   zWSecuritycenterV1.OrganizationsEventThreatDetectionSettingsCustomModulesService.<lambda>  s9    8+A+Apj zJ +.AuT,r   c                 L    | j                  d      }| j                  |||      S )a  Updates the Event Threat Detection custom module with the given name based on the given update mask. Updating the enablement state is supported for both resident and inherited modules (though resident modules cannot have an enablement state of "inherited"). Updating the display name or configuration of a module is supported for resident modules only. The type of a module cannot be changed.

      Args:
        request: (SecuritycenterOrganizationsEventThreatDetectionSettingsCustomModulesPatchRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (EventThreatDetectionCustomModule) The response message.
      r
  r   r   r   s       r   r
  zTSecuritycenterV1.OrganizationsEventThreatDetectionSettingsCustomModulesService.Patch  r   r   c                  H    t        j                  ddddgdgdgdddd	d
      S )NrK  r   zMsecuritycenter.organizations.eventThreatDetectionSettings.customModules.patchr   r   r   r  PSecuritycenterOrganizationsEventThreatDetectionSettingsCustomModulesPatchRequestr  Fr   r   r   r   r   r   zWSecuritycenterV1.OrganizationsEventThreatDetectionSettingsCustomModulesService.<lambda>  s6    ("8"8saxH"^"8l=#r   r   r-  r   s   @r   rB   rC  j  sm    bFE
8F8F8C8D8$N 8Er   rB   c                   V     e Zd ZdZdZ fdZddZd e_        ddZd e_         xZ	S )	WSecuritycenterV1.OrganizationsEventThreatDetectionSettingsEffectiveCustomModulesServicezaService class for the organizations_eventThreatDetectionSettings_effectiveCustomModules resource.rE   c                 N    t         t        j                  |   |       i | _        y r   )r   r   rD   r   r   r   s     r   r   z`SecuritycenterV1.OrganizationsEventThreatDetectionSettingsEffectiveCustomModulesService.__init__  s%    cceistz{dr   c                 L    | j                  d      }| j                  |||      S )a  Gets an effective Event Threat Detection custom module at the given level.

      Args:
        request: (SecuritycenterOrganizationsEventThreatDetectionSettingsEffectiveCustomModulesGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (EffectiveEventThreatDetectionCustomModule) The response message.
      r  r   r   r   s       r   r  z[SecuritycenterV1.OrganizationsEventThreatDetectionSettingsEffectiveCustomModulesService.Get   r  r   c                  F    t        j                  ddddgdgg ddddd	
      S )Nzqv1/organizations/{organizationsId}/eventThreatDetectionSettings/effectiveCustomModules/{effectiveCustomModulesId}r   zTsecuritycenter.organizations.eventThreatDetectionSettings.effectiveCustomModules.getr   r   r   WSecuritycenterOrganizationsEventThreatDetectionSettingsEffectiveCustomModulesGetRequestr5  Fr   r   r   r   r   r   z`SecuritycenterV1.OrganizationsEventThreatDetectionSettingsEffectiveCustomModulesService.<lambda>-  s7     6 6 FhxH"sF!r   c                 L    | j                  d      }| j                  |||      S )a  Lists all effective Event Threat Detection custom modules for the given parent. This includes resident modules defined at the scope of the parent along with modules inherited from its ancestors.

      Args:
        request: (SecuritycenterOrganizationsEventThreatDetectionSettingsEffectiveCustomModulesListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListEffectiveEventThreatDetectionCustomModulesResponse) The response message.
      r   r   r   r   s       r   r   z\SecuritycenterV1.OrganizationsEventThreatDetectionSettingsEffectiveCustomModulesService.List;  r   r   c                  J    t        j                  ddddgdgddgddd	d
d      S )NzVv1/organizations/{organizationsId}/eventThreatDetectionSettings/effectiveCustomModulesr   zUsecuritycenter.organizations.eventThreatDetectionSettings.effectiveCustomModules.listr   r   r   r8  r   XSecuritycenterOrganizationsEventThreatDetectionSettingsEffectiveCustomModulesListRequestr:  Fr   r   r   r   r   r   z`SecuritycenterV1.OrganizationsEventThreatDetectionSettingsEffectiveCustomModulesService.<lambda>H  s9    !7!7ji zJ +.;tS"r   r   r;  r   s   @r   rD   rZ    s1    kOE
8C8Dr   rD   c                   >     e Zd ZdZdZ fdZddZd e_         xZS )ASecuritycenterV1.OrganizationsEventThreatDetectionSettingsServicezJService class for the organizations_eventThreatDetectionSettings resource.rG   c                 N    t         t        j                  |   |       i | _        y r   )r   r   rF   r   r   r   s     r   r   zJSecuritycenterV1.OrganizationsEventThreatDetectionSettingsService.__init__[  s$    MMt]^dedr   c                 L    | j                  d      }| j                  |||      S )ar  Validates the given Event Threat Detection custom module.

      Args:
        request: (SecuritycenterOrganizationsEventThreatDetectionSettingsValidateCustomModuleRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ValidateEventThreatDetectionCustomModuleResponse) The response message.
      rA  r   r   r   s       r   rA  zVSecuritycenterV1.OrganizationsEventThreatDetectionSettingsService.ValidateCustomModule`  rB  r   c                  F    t        j                  ddddgdgg ddddd	
      S )NzTv1/organizations/{organizationsId}/eventThreatDetectionSettings:validateCustomModuler   zNsecuritycenter.organizations.eventThreatDetectionSettings.validateCustomModuler   rD  rE  RSecuritycenterOrganizationsEventThreatDetectionSettingsValidateCustomModuleRequestrG  Fr   r   r   r   r   r   zJSecuritycenterV1.OrganizationsEventThreatDetectionSettingsService.<lambda>m  s4    1G1Ghb zJ9GnM2r   r   rH  r   s   @r   rF   rc  V  s#    T8E
8*&&r   rF   c                   >     e Zd ZdZdZ fdZddZd e_         xZS )-SecuritycenterV1.OrganizationsFindingsServicez6Service class for the organizations_findings resource.rI   c                 N    t         t        j                  |   |       i | _        y r   )r   r   rH   r   r   r   s     r   r   z6SecuritycenterV1.OrganizationsFindingsService.__init__  s#    994I&Qdr   c                 L    | j                  d      }| j                  |||      S )a  Kicks off an LRO to bulk mute findings for a parent based on a filter. The parent can be either an organization, folder or project. The findings matched by the filter will be muted after the LRO is done.

      Args:
        request: (SecuritycenterOrganizationsFindingsBulkMuteRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Operation) The response message.
      rN  r   r   r   s       r   rN  z6SecuritycenterV1.OrganizationsFindingsService.BulkMute  rO  r   c                  F    t        j                  ddddgdgg ddddd	
      S )Nz4v1/organizations/{organizationsId}/findings:bulkMuter   z.securitycenter.organizations.findings.bulkMuter   rQ  rR  2SecuritycenterOrganizationsFindingsBulkMuteRequestrT  Fr   r   r   r   r   r   z6SecuritycenterV1.OrganizationsFindingsService.<lambda>  s4    X%;%;HB zJ6/N&&r   r   rU  r   s   @r   rH   ri  {  s"    @$E
8Hr   rH   c                   n     e Zd ZdZdZ fdZd
dZd e_        d
dZd e_        d
dZ	d	 e	_         xZ
S )9SecuritycenterV1.OrganizationsLocationsMuteConfigsServicezCService class for the organizations_locations_muteConfigs resource.rK   c                 N    t         t        j                  |   |       i | _        y r   )r   r   rJ   r   r   r   s     r   r   zBSecuritycenterV1.OrganizationsLocationsMuteConfigsService.__init__  $    EEtUV\]dr   c                 L    | j                  d      }| j                  |||      S )a  Deletes an existing mute config.

      Args:
        request: (SecuritycenterOrganizationsLocationsMuteConfigsDeleteRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Empty) The response message.
      r   r   r   r   s       r   r   z@SecuritycenterV1.OrganizationsLocationsMuteConfigsService.Delete  r   r   c                  F    t        j                  ddddgdgg ddddd	
      S )NVv1/organizations/{organizationsId}/locations/{locationsId}/muteConfigs/{muteConfigsId}r   z9securitycenter.organizations.locations.muteConfigs.deleter   r   r   <SecuritycenterOrganizationsLocationsMuteConfigsDeleteRequestr   Fr   r   r   r   r   r   zBSecuritycenterV1.OrganizationsLocationsMuteConfigsService.<lambda>  s4    8#9#9jMxH"X"$r   c                 L    | j                  d      }| j                  |||      S )a(  Gets a mute config.

      Args:
        request: (SecuritycenterOrganizationsLocationsMuteConfigsGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudSecuritycenterV1MuteConfig) The response message.
      r  r   r   r   s       r   r  z=SecuritycenterV1.OrganizationsLocationsMuteConfigsService.Get  r  r   c                  F    t        j                  ddddgdgg ddddd	
      S )Nrt  r   z6securitycenter.organizations.locations.muteConfigs.getr   r   r   9SecuritycenterOrganizationsLocationsMuteConfigsGetRequestra  Fr   r   r   r   r   r   zBSecuritycenterV1.OrganizationsLocationsMuteConfigsService.<lambda>  s4     6 6jJxH"UB!r   c                 L    | j                  d      }| j                  |||      S )a-  Updates a mute config.

      Args:
        request: (SecuritycenterOrganizationsLocationsMuteConfigsPatchRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudSecuritycenterV1MuteConfig) The response message.
      r
  r   r   r   s       r   r
  z?SecuritycenterV1.OrganizationsLocationsMuteConfigsService.Patch  r   r   c                  H    t        j                  ddddgdgdgdddd	d
      S )Nrt  r   z8securitycenter.organizations.locations.muteConfigs.patchr   r   r   rd  ;SecuritycenterOrganizationsLocationsMuteConfigsPatchRequestra  Fr   r   r   r   r   r   zBSecuritycenterV1.OrganizationsLocationsMuteConfigsService.<lambda>  s6    ("8"8jLxH"^"=WB#r   r   rf  r   s   @r   rJ   ro    s@    M1E
8F8C8Er   rJ   c                   &     e Zd ZdZdZ fdZ xZS ).SecuritycenterV1.OrganizationsLocationsServicez7Service class for the organizations_locations resource.rM   c                 N    t         t        j                  |   |       i | _        y r   )r   r   rL   r   r   r   s     r   r   z7SecuritycenterV1.OrganizationsLocationsService.__init__ 	  r   r   rk  r   s   @r   rL   r}    s    A%E r   rL   c                        e Zd ZdZdZ fdZddZd e_        ddZd e_        ddZ	d	 e	_        dd
Z
d e
_        ddZd e_         xZS )0SecuritycenterV1.OrganizationsMuteConfigsServicez9Service class for the organizations_muteConfigs resource.rO   c                 N    t         t        j                  |   |       i | _        y r   )r   r   rN   r   r   r   s     r   r   z9SecuritycenterV1.OrganizationsMuteConfigsService.__init__
	  r&  r   c                 L    | j                  d      }| j                  |||      S )a%  Creates a mute config.

      Args:
        request: (SecuritycenterOrganizationsMuteConfigsCreateRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudSecuritycenterV1MuteConfig) The response message.
      r   r   r   r   s       r   r   z7SecuritycenterV1.OrganizationsMuteConfigsService.Create	  r   r   c                  H    t        j                  ddddgdgdgdddd	d
      S )N.v1/organizations/{organizationsId}/muteConfigsr   z/securitycenter.organizations.muteConfigs.creater   rr  rs  rd  3SecuritycenterOrganizationsMuteConfigsCreateRequestra  Fr   r   r   r   r   r   z9SecuritycenterV1.OrganizationsMuteConfigsService.<lambda>	  s7    8#9#9BC zJ$%0=OB$r   c                 L    | j                  d      }| j                  |||      S )a  Deletes an existing mute config.

      Args:
        request: (SecuritycenterOrganizationsMuteConfigsDeleteRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Empty) The response message.
      r   r   r   r   s       r   r   z7SecuritycenterV1.OrganizationsMuteConfigsService.Delete*	  r   r   c                  F    t        j                  ddddgdgg ddddd	
      S )N>v1/organizations/{organizationsId}/muteConfigs/{muteConfigsId}r   z/securitycenter.organizations.muteConfigs.deleter   r   r   3SecuritycenterOrganizationsMuteConfigsDeleteRequestr   Fr   r   r   r   r   r   z9SecuritycenterV1.OrganizationsMuteConfigsService.<lambda>7	  s4    8#9#9RCxH"O"$r   c                 L    | j                  d      }| j                  |||      S )a  Gets a mute config.

      Args:
        request: (SecuritycenterOrganizationsMuteConfigsGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudSecuritycenterV1MuteConfig) The response message.
      r  r   r   r   s       r   r  z4SecuritycenterV1.OrganizationsMuteConfigsService.GetE	  r  r   c                  F    t        j                  ddddgdgg ddddd	
      S )Nr  r   z,securitycenter.organizations.muteConfigs.getr   r   r   0SecuritycenterOrganizationsMuteConfigsGetRequestra  Fr   r   r   r   r   r   z9SecuritycenterV1.OrganizationsMuteConfigsService.<lambda>R	  s4     6 6R@xH"LB!r   c                 L    | j                  d      }| j                  |||      S )a  Lists mute configs.

      Args:
        request: (SecuritycenterOrganizationsMuteConfigsListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListMuteConfigsResponse) The response message.
      r   r   r   r   s       r   r   z5SecuritycenterV1.OrganizationsMuteConfigsService.List`	  r   r   c                  J    t        j                  ddddgdgddgddd	d
d      S )Nr  r   z-securitycenter.organizations.muteConfigs.listr   r   r   rs  r   1SecuritycenterOrganizationsMuteConfigsListRequestr  Fr   r   r   r   r   r   z9SecuritycenterV1.OrganizationsMuteConfigsService.<lambda>m	  s9    !7!7BA zJ +.0M4"r   c                 L    | j                  d      }| j                  |||      S )a$  Updates a mute config.

      Args:
        request: (SecuritycenterOrganizationsMuteConfigsPatchRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudSecuritycenterV1MuteConfig) The response message.
      r
  r   r   r   s       r   r
  z6SecuritycenterV1.OrganizationsMuteConfigsService.Patch{	  r   r   c                  H    t        j                  ddddgdgdgdddd	d
      S )Nr  r   z.securitycenter.organizations.muteConfigs.patchr   r   r   rd  2SecuritycenterOrganizationsMuteConfigsPatchRequestra  Fr   r   r   r   r   r   z9SecuritycenterV1.OrganizationsMuteConfigsService.<lambda>	  s6    ("8"8RBxH"^"=NB#r   r   r  r   s   @r   rN   r  	  s^    C'E
8F8F8C8D8Er   rN   c                        e Zd ZdZdZ fdZddZd e_        ddZd e_        ddZ	d	 e	_        dd
Z
d e
_        ddZd e_         xZS )8SecuritycenterV1.OrganizationsNotificationConfigsServicezAService class for the organizations_notificationConfigs resource.rQ   c                 N    t         t        j                  |   |       i | _        y r   )r   r   rP   r   r   r   s     r   r   zASecuritycenterV1.OrganizationsNotificationConfigsService.__init__	  s$    DDdTU[\dr   c                 L    | j                  d      }| j                  |||      S )a"  Creates a notification config.

      Args:
        request: (SecuritycenterOrganizationsNotificationConfigsCreateRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (NotificationConfig) The response message.
      r   r   r   r   s       r   r   z?SecuritycenterV1.OrganizationsNotificationConfigsService.Create	  r   r   c                  H    t        j                  ddddgdgdgdddd	d
      S )N6v1/organizations/{organizationsId}/notificationConfigsr   z7securitycenter.organizations.notificationConfigs.creater   r  r  r  ;SecuritycenterOrganizationsNotificationConfigsCreateRequestr  Fr   r   r   r   r   r   zASecuritycenterV1.OrganizationsNotificationConfigsService.<lambda>	  s6    8#9#9JK zJ \8*W/$r   c                 L    | j                  d      }| j                  |||      S )a  Deletes a notification config.

      Args:
        request: (SecuritycenterOrganizationsNotificationConfigsDeleteRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Empty) The response message.
      r   r   r   r   s       r   r   z?SecuritycenterV1.OrganizationsNotificationConfigsService.Delete	  r   r   c                  F    t        j                  ddddgdgg ddddd	
      S )NNv1/organizations/{organizationsId}/notificationConfigs/{notificationConfigsId}r   z7securitycenter.organizations.notificationConfigs.deleter   r   r   ;SecuritycenterOrganizationsNotificationConfigsDeleteRequestr   Fr   r   r   r   r   r   zASecuritycenterV1.OrganizationsNotificationConfigsService.<lambda>	  s4    8#9#9bKxH"W"$r   c                 L    | j                  d      }| j                  |||      S )a  Gets a notification config.

      Args:
        request: (SecuritycenterOrganizationsNotificationConfigsGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (NotificationConfig) The response message.
      r  r   r   r   s       r   r  z<SecuritycenterV1.OrganizationsNotificationConfigsService.Get	  r  r   c                  F    t        j                  ddddgdgg ddddd	
      S )Nr  r   z4securitycenter.organizations.notificationConfigs.getr   r   r   8SecuritycenterOrganizationsNotificationConfigsGetRequestr  Fr   r   r   r   r   r   zASecuritycenterV1.OrganizationsNotificationConfigsService.<lambda>	  s4     6 6bHxH"T/!r   c                 L    | j                  d      }| j                  |||      S )a*  Lists notification configs.

      Args:
        request: (SecuritycenterOrganizationsNotificationConfigsListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListNotificationConfigsResponse) The response message.
      r   r   r   r   s       r   r   z=SecuritycenterV1.OrganizationsNotificationConfigsService.List	  r   r   c                  J    t        j                  ddddgdgddgddd	d
d      S )Nr  r   z5securitycenter.organizations.notificationConfigs.listr   r   r   r  r   9SecuritycenterOrganizationsNotificationConfigsListRequestr  Fr   r   r   r   r   r   zASecuritycenterV1.OrganizationsNotificationConfigsService.<lambda>	  s9    !7!7JI zJ +.8U<"r   c                 L    | j                  d      }| j                  |||      S )a   Updates a notification config. The following update fields are allowed: description, pubsub_topic, streaming_config.filter.

      Args:
        request: (SecuritycenterOrganizationsNotificationConfigsPatchRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (NotificationConfig) The response message.
      r
  r   r   r   s       r   r
  z>SecuritycenterV1.OrganizationsNotificationConfigsService.Patch
  r   r   c                  H    t        j                  ddddgdgdgdddd	d
      S )Nr  r   z6securitycenter.organizations.notificationConfigs.patchr   r   r   r  :SecuritycenterOrganizationsNotificationConfigsPatchRequestr  Fr   r   r   r   r   r   zASecuritycenterV1.OrganizationsNotificationConfigsService.<lambda>
  s6    ("8"8bJxH"^"*V/#r   r   r  r   s   @r   rP   r  	  s^    K/E
8F8F8C8D8Er   rP   c                        e Zd ZdZdZ fdZddZd e_        ddZd e_        ddZ	d	 e	_        dd
Z
d e
_         xZS )/SecuritycenterV1.OrganizationsOperationsServicez8Service class for the organizations_operations resource.rS   c                 N    t         t        j                  |   |       i | _        y r   )r   r   rR   r   r   r   s     r   r   z8SecuritycenterV1.OrganizationsOperationsService.__init__,
  #    ;;TKFSdr   c                 L    | j                  d      }| j                  |||      S )a9  Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.

      Args:
        request: (SecuritycenterOrganizationsOperationsCancelRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Empty) The response message.
      Cancelr   r   r   s       r   r  z6SecuritycenterV1.OrganizationsOperationsService.Cancel1
  r   r   c                  F    t        j                  ddddgdgg ddddd	
      S )NzCv1/organizations/{organizationsId}/operations/{operationsId}:cancelr   z.securitycenter.organizations.operations.cancelr   zv1/{+name}:cancelr   2SecuritycenterOrganizationsOperationsCancelRequestr   Fr   r   r   r   r   r   z8SecuritycenterV1.OrganizationsOperationsService.<lambda>>
  s4    8#9#9WBxH)N"$r   c                 L    | j                  d      }| j                  |||      S )a  Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.

      Args:
        request: (SecuritycenterOrganizationsOperationsDeleteRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Empty) The response message.
      r   r   r   r   s       r   r   z6SecuritycenterV1.OrganizationsOperationsService.DeleteL
  r   r   c                  F    t        j                  ddddgdgg ddddd	
      S )N<v1/organizations/{organizationsId}/operations/{operationsId}r   z.securitycenter.organizations.operations.deleter   r   r   2SecuritycenterOrganizationsOperationsDeleteRequestr   Fr   r   r   r   r   r   z8SecuritycenterV1.OrganizationsOperationsService.<lambda>Y
  4    8#9#9PBxH"N"$r   c                 L    | j                  d      }| j                  |||      S )a  Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.

      Args:
        request: (SecuritycenterOrganizationsOperationsGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Operation) The response message.
      r  r   r   r   s       r   r  z3SecuritycenterV1.OrganizationsOperationsService.Getg
  r  r   c                  F    t        j                  ddddgdgg ddddd	
      S )Nr  r   z+securitycenter.organizations.operations.getr   r   r   /SecuritycenterOrganizationsOperationsGetRequestrT  Fr   r   r   r   r   r   z8SecuritycenterV1.OrganizationsOperationsService.<lambda>t
  s4     6 6P?xH"K&!r   c                 L    | j                  d      }| j                  |||      S )a  Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.

      Args:
        request: (SecuritycenterOrganizationsOperationsListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListOperationsResponse) The response message.
      r   r   r   r   s       r   r   z4SecuritycenterV1.OrganizationsOperationsService.List
  r   r   c                  J    t        j                  ddddgdgg ddddd	d
      S )Nz-v1/organizations/{organizationsId}/operationsr   z,securitycenter.organizations.operations.listr   r)  r   r   0SecuritycenterOrganizationsOperationsListRequestListOperationsResponseFr   r   r   r   r   r   z8SecuritycenterV1.OrganizationsOperationsService.<lambda>
  s4    !7!7A@xH8"L3"r   r   )r   r   r   r   r   r   r  r   r   r  r   r   r   s   @r   rR   r  '
  sO    B&E
8F8F8C8Dr   rR   c                        e Zd ZdZdZ fdZddZd e_        ddZd e_        ddZ	d	 e	_        dd
Z
d e
_        ddZd e_         xZS )9SecuritycenterV1.OrganizationsResourceValueConfigsServicezBService class for the organizations_resourceValueConfigs resource.rU   c                 N    t         t        j                  |   |       i | _        y r   )r   r   rT   r   r   r   s     r   r   zBSecuritycenterV1.OrganizationsResourceValueConfigsService.__init__
  rq  r   c                 L    | j                  d      }| j                  |||      S )a  Creates a ResourceValueConfig for an organization. Maps user's tags to difference resource values for use by the attack path simulation.

      Args:
        request: (SecuritycenterOrganizationsResourceValueConfigsBatchCreateRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (BatchCreateResourceValueConfigsResponse) The response message.
      BatchCreater   r   r   s       r   r  zESecuritycenterV1.OrganizationsResourceValueConfigsService.BatchCreate
  s1     ##M2f__
'  8 8r   c                  F    t        j                  ddddgdgg ddddd	
      S )NzCv1/organizations/{organizationsId}/resourceValueConfigs:batchCreater   z=securitycenter.organizations.resourceValueConfigs.batchCreater   z-v1/{+parent}/resourceValueConfigs:batchCreate&batchCreateResourceValueConfigsRequestASecuritycenterOrganizationsResourceValueConfigsBatchCreateRequest'BatchCreateResourceValueConfigsResponseFr   r   r   r   r   r   zBSecuritycenterV1.OrganizationsResourceValueConfigsService.<lambda>
  s4    (>(>WQ zJE>]D)r   c                 L    | j                  d      }| j                  |||      S )a  Deletes a ResourceValueConfig.

      Args:
        request: (SecuritycenterOrganizationsResourceValueConfigsDeleteRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Empty) The response message.
      r   r   r   r   s       r   r   z@SecuritycenterV1.OrganizationsResourceValueConfigsService.Delete
  r   r   c                  F    t        j                  ddddgdgg ddddd	
      S )NPv1/organizations/{organizationsId}/resourceValueConfigs/{resourceValueConfigsId}r   z8securitycenter.organizations.resourceValueConfigs.deleter   r   r   <SecuritycenterOrganizationsResourceValueConfigsDeleteRequestr   Fr   r   r   r   r   r   zBSecuritycenterV1.OrganizationsResourceValueConfigsService.<lambda>
  s4    8#9#9dLxH"X"$r   c                 L    | j                  d      }| j                  |||      S )a9  Gets a ResourceValueConfig.

      Args:
        request: (SecuritycenterOrganizationsResourceValueConfigsGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudSecuritycenterV1ResourceValueConfig) The response message.
      r  r   r   r   s       r   r  z=SecuritycenterV1.OrganizationsResourceValueConfigsService.Get
  r  r   c                  F    t        j                  ddddgdgg ddddd	
      S )Nr  r   z5securitycenter.organizations.resourceValueConfigs.getr   r   r   9SecuritycenterOrganizationsResourceValueConfigsGetRequest.GoogleCloudSecuritycenterV1ResourceValueConfigFr   r   r   r   r   r   zBSecuritycenterV1.OrganizationsResourceValueConfigsService.<lambda>
  s4     6 6dIxH"UK!r   c                 L    | j                  d      }| j                  |||      S )a0  Lists all ResourceValueConfigs.

      Args:
        request: (SecuritycenterOrganizationsResourceValueConfigsListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListResourceValueConfigsResponse) The response message.
      r   r   r   r   s       r   r   z>SecuritycenterV1.OrganizationsResourceValueConfigsService.List
  r   r   c                  J    t        j                  ddddgdgddgddd	d
d      S )Nz7v1/organizations/{organizationsId}/resourceValueConfigsr   z6securitycenter.organizations.resourceValueConfigs.listr   r   r   z!v1/{+parent}/resourceValueConfigsr   :SecuritycenterOrganizationsResourceValueConfigsListRequest ListResourceValueConfigsResponseFr   r   r   r   r   r   zBSecuritycenterV1.OrganizationsResourceValueConfigsService.<lambda>  s9    !7!7KJ zJ +.9V="r   c                 L    | j                  d      }| j                  |||      S )aX  Updates an existing ResourceValueConfigs with new rules.

      Args:
        request: (SecuritycenterOrganizationsResourceValueConfigsPatchRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudSecuritycenterV1ResourceValueConfig) The response message.
      r
  r   r   r   s       r   r
  z?SecuritycenterV1.OrganizationsResourceValueConfigsService.Patch  r   r   c                  H    t        j                  ddddgdgdgdddd	d
      S )Nr  r   z7securitycenter.organizations.resourceValueConfigs.patchr   r   r   .googleCloudSecuritycenterV1ResourceValueConfig;SecuritycenterOrganizationsResourceValueConfigsPatchRequestr  Fr   r   r   r   r   r   zBSecuritycenterV1.OrganizationsResourceValueConfigsService.<lambda>   s6    ("8"8dKxH"^"FWK#r   r   )r   r   r   r   r   r   r  r   r   r  r   r
  r   r   s   @r   rT   r  
  s^    L0E
8!K8F8C8D8Er   rT   c                        e Zd ZdZdZ fdZddZd e_        ddZd e_        ddZ	d	 e	_        dd
Z
d e
_        ddZd e_        ddZd e_        ddZd e_        ddZd e_         xZS )QSecuritycenterV1.OrganizationsSecurityHealthAnalyticsSettingsCustomModulesServicez[Service class for the organizations_securityHealthAnalyticsSettings_customModules resource.rW   c                 N    t         t        j                  |   |       i | _        y r   )r   r   rV   r   r   r   s     r   r   zZSecuritycenterV1.OrganizationsSecurityHealthAnalyticsSettingsCustomModulesService.__init__3  r1  r   c                 L    | j                  d      }| j                  |||      S )a8  Creates a resident SecurityHealthAnalyticsCustomModule at the scope of the given CRM parent, and also creates inherited SecurityHealthAnalyticsCustomModules for all CRM descendants of the given parent. These modules are enabled by default.

      Args:
        request: (SecuritycenterOrganizationsSecurityHealthAnalyticsSettingsCustomModulesCreateRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule) The response message.
      r   r   r   r   s       r   r   zXSecuritycenterV1.OrganizationsSecurityHealthAnalyticsSettingsCustomModulesService.Create8  r   r   c                  F    t        j                  ddddgdgg ddddd	
      S )NPv1/organizations/{organizationsId}/securityHealthAnalyticsSettings/customModulesr   zQsecuritycenter.organizations.securityHealthAnalyticsSettings.customModules.creater   r  r  TSecuritycenterOrganizationsSecurityHealthAnalyticsSettingsCustomModulesCreateRequestr  Fr   r   r   r   r   r   zZSecuritycenterV1.OrganizationsSecurityHealthAnalyticsSettingsCustomModulesService.<lambda>E  s4    8#9#9de zJ2Vp[$r   c                 L    | j                  d      }| j                  |||      S )a  Deletes the specified SecurityHealthAnalyticsCustomModule and all of its descendants in the CRM hierarchy. This method is only supported for resident custom modules.

      Args:
        request: (SecuritycenterOrganizationsSecurityHealthAnalyticsSettingsCustomModulesDeleteRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Empty) The response message.
      r   r   r   r   s       r   r   zXSecuritycenterV1.OrganizationsSecurityHealthAnalyticsSettingsCustomModulesService.DeleteS  r   r   c                  F    t        j                  ddddgdgg ddddd	
      S )Nbv1/organizations/{organizationsId}/securityHealthAnalyticsSettings/customModules/{customModulesId}r   zQsecuritycenter.organizations.securityHealthAnalyticsSettings.customModules.deleter   r   r   TSecuritycenterOrganizationsSecurityHealthAnalyticsSettingsCustomModulesDeleteRequestr   Fr   r   r   r   r   r   zZSecuritycenterV1.OrganizationsSecurityHealthAnalyticsSettingsCustomModulesService.<lambda>`  s4    8#9#9vexH"p"$r   c                 L    | j                  d      }| j                  |||      S )av  Retrieves a SecurityHealthAnalyticsCustomModule.

      Args:
        request: (SecuritycenterOrganizationsSecurityHealthAnalyticsSettingsCustomModulesGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule) The response message.
      r  r   r   r   s       r   r  zUSecuritycenterV1.OrganizationsSecurityHealthAnalyticsSettingsCustomModulesService.Getn  r  r   c                  F    t        j                  ddddgdgg ddddd	
      S )Nr  r   zNsecuritycenter.organizations.securityHealthAnalyticsSettings.customModules.getr   r   r   QSecuritycenterOrganizationsSecurityHealthAnalyticsSettingsCustomModulesGetRequestr  Fr   r   r   r   r   r   zZSecuritycenterV1.OrganizationsSecurityHealthAnalyticsSettingsCustomModulesService.<lambda>{  s4     6 6vbxH"m[!r   c                 L    | j                  d      }| j                  |||      S )a  Returns a list of all SecurityHealthAnalyticsCustomModules for the given parent. This includes resident modules defined at the scope of the parent, and inherited modules, inherited from CRM ancestors.

      Args:
        request: (SecuritycenterOrganizationsSecurityHealthAnalyticsSettingsCustomModulesListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListSecurityHealthAnalyticsCustomModulesResponse) The response message.
      r   r   r   r   s       r   r   zVSecuritycenterV1.OrganizationsSecurityHealthAnalyticsSettingsCustomModulesService.List  r   r   c                  J    t        j                  ddddgdgddgddd	d
d      S )Nr  r   zOsecuritycenter.organizations.securityHealthAnalyticsSettings.customModules.listr   r   r   r  r   RSecuritycenterOrganizationsSecurityHealthAnalyticsSettingsCustomModulesListRequestr  Fr   r   r   r   r   r   zZSecuritycenterV1.OrganizationsSecurityHealthAnalyticsSettingsCustomModulesService.<lambda>  s9    !7!7dc zJ +.2nM"r   c                 L    | j                  d      }| j                  |||      S )a  Returns a list of all resident SecurityHealthAnalyticsCustomModules under the given CRM parent and all of the parent's CRM descendants.

      Args:
        request: (SecuritycenterOrganizationsSecurityHealthAnalyticsSettingsCustomModulesListDescendantRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListDescendantSecurityHealthAnalyticsCustomModulesResponse) The response message.
      r$  r   r   r   s       r   r$  z`SecuritycenterV1.OrganizationsSecurityHealthAnalyticsSettingsCustomModulesService.ListDescendant  r%  r   c                  J    t        j                  ddddgdgddgddd	d
d      S )Nz_v1/organizations/{organizationsId}/securityHealthAnalyticsSettings/customModules:listDescendantr   zYsecuritycenter.organizations.securityHealthAnalyticsSettings.customModules.listDescendantr   r   r   r'  r   \SecuritycenterOrganizationsSecurityHealthAnalyticsSettingsCustomModulesListDescendantRequestr  Fr   r   r   r   r   r   zZSecuritycenterV1.OrganizationsSecurityHealthAnalyticsSettingsCustomModulesService.<lambda>  s9    8+A+Asm zJ +.AxW,r   c                 L    | j                  d      }| j                  |||      S )a  Updates the SecurityHealthAnalyticsCustomModule under the given name based on the given update mask. Updating the enablement state is supported on both resident and inherited modules (though resident modules cannot have an enablement state of "inherited"). Updating the display name and custom config of a module is supported on resident modules only.

      Args:
        request: (SecuritycenterOrganizationsSecurityHealthAnalyticsSettingsCustomModulesPatchRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule) The response message.
      r
  r   r   r   s       r   r
  zWSecuritycenterV1.OrganizationsSecurityHealthAnalyticsSettingsCustomModulesService.Patch  r   r   c                  H    t        j                  ddddgdgdgdddd	d
      S )Nr  r   zPsecuritycenter.organizations.securityHealthAnalyticsSettings.customModules.patchr   r   r   r  SSecuritycenterOrganizationsSecurityHealthAnalyticsSettingsCustomModulesPatchRequestr  Fr   r   r   r   r   r   zZSecuritycenterV1.OrganizationsSecurityHealthAnalyticsSettingsCustomModulesService.<lambda>  s6    ("8"8vdxH"^"Vo[#r   c                 L    | j                  d      }| j                  |||      S )a  Simulates a given SecurityHealthAnalyticsCustomModule and Resource.

      Args:
        request: (SecuritycenterOrganizationsSecurityHealthAnalyticsSettingsCustomModulesSimulateRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (SimulateSecurityHealthAnalyticsCustomModuleResponse) The response message.
      r  r   r   r   s       r   r  zZSecuritycenterV1.OrganizationsSecurityHealthAnalyticsSettingsCustomModulesService.Simulate  rO  r   c                  F    t        j                  ddddgdgg ddddd	
      S )NzYv1/organizations/{organizationsId}/securityHealthAnalyticsSettings/customModules:simulater   zSsecuritycenter.organizations.securityHealthAnalyticsSettings.customModules.simulater   r  r  VSecuritycenterOrganizationsSecurityHealthAnalyticsSettingsCustomModulesSimulateRequestr  Fr   r   r   r   r   r   zZSecuritycenterV1.OrganizationsSecurityHealthAnalyticsSettingsCustomModulesService.<lambda>  s4    X%;%;mg zJ;JrP&r   c                 L    | j                  d      }| j                  |||      S )aw  Tests a specified or given SecurityHealthAnalyticsCustomModule.

      Args:
        request: (SecuritycenterOrganizationsSecurityHealthAnalyticsSettingsCustomModulesTestRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (TestSecurityHealthAnalyticsCustomModuleResponse) The response message.
      r  r   r   r   s       r   r  zVSecuritycenterV1.OrganizationsSecurityHealthAnalyticsSettingsCustomModulesService.Test  r   r   c                  F    t        j                  ddddgdgg ddddd	
      S )Nzgv1/organizations/{organizationsId}/securityHealthAnalyticsSettings/customModules/{customModulesId}:testr   zOsecuritycenter.organizations.securityHealthAnalyticsSettings.customModules.testr   r  r  RSecuritycenterOrganizationsSecurityHealthAnalyticsSettingsCustomModulesTestRequestr  Fr   r   r   r   r   r   zZSecuritycenterV1.OrganizationsSecurityHealthAnalyticsSettingsCustomModulesService.<lambda>  s4    !7!7{cxH'FnL"r   r   r  r   s   @r   rV   r  .  s    eIE
8F8F8C8D8$N 8E8H8Dr   rV   c                   V     e Zd ZdZdZ fdZddZd e_        ddZd e_         xZ	S )	ZSecuritycenterV1.OrganizationsSecurityHealthAnalyticsSettingsEffectiveCustomModulesServicezdService class for the organizations_securityHealthAnalyticsSettings_effectiveCustomModules resource.rY   c                 N    t         t        j                  |   |       i | _        y r   )r   r   rX   r   r   r   s     r   r   zcSecuritycenterV1.OrganizationsSecurityHealthAnalyticsSettingsEffectiveCustomModulesService.__init__  s%    ffhlvw}~dr   c                 L    | j                  d      }| j                  |||      S )a  Retrieves an EffectiveSecurityHealthAnalyticsCustomModule.

      Args:
        request: (SecuritycenterOrganizationsSecurityHealthAnalyticsSettingsEffectiveCustomModulesGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule) The response message.
      r  r   r   r   s       r   r  z^SecuritycenterV1.OrganizationsSecurityHealthAnalyticsSettingsEffectiveCustomModulesService.Get  r  r   c                  F    t        j                  ddddgdgg ddddd	
      S )Nztv1/organizations/{organizationsId}/securityHealthAnalyticsSettings/effectiveCustomModules/{effectiveCustomModulesId}r   zWsecuritycenter.organizations.securityHealthAnalyticsSettings.effectiveCustomModules.getr   r   r   ZSecuritycenterOrganizationsSecurityHealthAnalyticsSettingsEffectiveCustomModulesGetRequestr  Fr   r   r   r   r   r   zcSecuritycenterV1.OrganizationsSecurityHealthAnalyticsSettingsEffectiveCustomModulesService.<lambda>'  s7     6 6 IkxH"vd!r   c                 L    | j                  d      }| j                  |||      S )a  Returns a list of all EffectiveSecurityHealthAnalyticsCustomModules for the given parent. This includes resident modules defined at the scope of the parent, and inherited modules, inherited from CRM ancestors.

      Args:
        request: (SecuritycenterOrganizationsSecurityHealthAnalyticsSettingsEffectiveCustomModulesListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListEffectiveSecurityHealthAnalyticsCustomModulesResponse) The response message.
      r   r   r   r   s       r   r   z_SecuritycenterV1.OrganizationsSecurityHealthAnalyticsSettingsEffectiveCustomModulesService.List5  r   r   c                  J    t        j                  ddddgdgddgddd	d
d      S )NzYv1/organizations/{organizationsId}/securityHealthAnalyticsSettings/effectiveCustomModulesr   zXsecuritycenter.organizations.securityHealthAnalyticsSettings.effectiveCustomModules.listr   r   r   r8  r   [SecuritycenterOrganizationsSecurityHealthAnalyticsSettingsEffectiveCustomModulesListRequestr  Fr   r   r   r   r   r   zcSecuritycenterV1.OrganizationsSecurityHealthAnalyticsSettingsEffectiveCustomModulesService.<lambda>B  s9    !7!7ml zJ +.;wV"r   r   r;  r   s   @r   rX   r    s1    nRE
8C8Dr   rX   c                   &     e Zd ZdZdZ fdZ xZS )DSecuritycenterV1.OrganizationsSecurityHealthAnalyticsSettingsServicezMService class for the organizations_securityHealthAnalyticsSettings resource.r[   c                 N    t         t        j                  |   |       i | _        y r   )r   r   rZ   r   r   r   s     r   r   zMSecuritycenterV1.OrganizationsSecurityHealthAnalyticsSettingsService.__init__U  s%    PPRV`aghdr   rk  r   s   @r   rZ   r  P  s    W;E r   rZ   c                   >     e Zd ZdZdZ fdZddZd e_         xZS )PSecuritycenterV1.OrganizationsSimulationsAttackExposureResultsAttackPathsServicez[Service class for the organizations_simulations_attackExposureResults_attackPaths resource.r]   c                 N    t         t        j                  |   |       i | _        y r   )r   r   r\   r   r   r   s     r   r   zYSecuritycenterV1.OrganizationsSimulationsAttackExposureResultsAttackPathsService.__init___  s%    \\^blmstdr   c                 L    | j                  d      }| j                  |||      S )au  Lists the attack paths for a set of simulation results or valued resources and filter.

      Args:
        request: (SecuritycenterOrganizationsSimulationsAttackExposureResultsAttackPathsListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListAttackPathsResponse) The response message.
      r   r   r   r   s       r   r   zUSecuritycenterV1.OrganizationsSimulationsAttackExposureResultsAttackPathsService.Listd  r   r   c                  J    t        j                  ddddgdgg ddddd	d
      S )Nzzv1/organizations/{organizationsId}/simulations/{simulationsId}/attackExposureResults/{attackExposureResultsId}/attackPathsr   zOsecuritycenter.organizations.simulations.attackExposureResults.attackPaths.listr   r)  r*  r   QSecuritycenterOrganizationsSimulationsAttackExposureResultsAttackPathsListRequestr,  Fr   r   r   r   r   r   zYSecuritycenterV1.OrganizationsSimulationsAttackExposureResultsAttackPathsService.<lambda>q  s7    !7!7 Oc zJ80m4"r   r   r  r   s   @r   r\   r  Z  s"    eIE
8Dr   r\   c                   >     e Zd ZdZdZ fdZddZd e_         xZS )TSecuritycenterV1.OrganizationsSimulationsAttackExposureResultsValuedResourcesServicez_Service class for the organizations_simulations_attackExposureResults_valuedResources resource.r_   c                 N    t         t        j                  |   |       i | _        y r   )r   r   r^   r   r   r   s     r   r   z]SecuritycenterV1.OrganizationsSimulationsAttackExposureResultsValuedResourcesService.__init__  r  r   c                 L    | j                  d      }| j                  |||      S )am  Lists the valued resources for a set of simulation results and filter.

      Args:
        request: (SecuritycenterOrganizationsSimulationsAttackExposureResultsValuedResourcesListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListValuedResourcesResponse) The response message.
      r   r   r   r   s       r   r   zYSecuritycenterV1.OrganizationsSimulationsAttackExposureResultsValuedResourcesService.List  r   r   c                  J    t        j                  ddddgdgg ddddd	d
      S )Nz~v1/organizations/{organizationsId}/simulations/{simulationsId}/attackExposureResults/{attackExposureResultsId}/valuedResourcesr   zSsecuritycenter.organizations.simulations.attackExposureResults.valuedResources.listr   r   r   r   r   v1/{+parent}/valuedResourcesr   USecuritycenterOrganizationsSimulationsAttackExposureResultsValuedResourcesListRequestListValuedResourcesResponseFr   r   r   r   r   r   z]SecuritycenterV1.OrganizationsSimulationsAttackExposureResultsValuedResourcesService.<lambda>  s7    !7!7 Sg zJC4q8"r   r   r  r   s   @r   r^   r    s"    iME
8Dr   r^   c                   &     e Zd ZdZdZ fdZ xZS )ESecuritycenterV1.OrganizationsSimulationsAttackExposureResultsServicezOService class for the organizations_simulations_attackExposureResults resource.ra   c                 N    t         t        j                  |   |       i | _        y r   )r   r   r`   r   r   r   s     r   r   zNSecuritycenterV1.OrganizationsSimulationsAttackExposureResultsService.__init__  s%    QQSWabhidr   rk  r   s   @r   r`   r    s    Y=E r   r`   c                   >     e Zd ZdZdZ fdZddZd e_         xZS );SecuritycenterV1.OrganizationsSimulationsAttackPathsServicezEService class for the organizations_simulations_attackPaths resource.rc   c                 N    t         t        j                  |   |       i | _        y r   )r   r   rb   r   r   r   s     r   r   zDSecuritycenterV1.OrganizationsSimulationsAttackPathsService.__init__  r?  r   c                 L    | j                  d      }| j                  |||      S )a`  Lists the attack paths for a set of simulation results or valued resources and filter.

      Args:
        request: (SecuritycenterOrganizationsSimulationsAttackPathsListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListAttackPathsResponse) The response message.
      r   r   r   r   s       r   r   z@SecuritycenterV1.OrganizationsSimulationsAttackPathsService.List  r   r   c                  J    t        j                  ddddgdgg ddddd	d
      S )NzJv1/organizations/{organizationsId}/simulations/{simulationsId}/attackPathsr   z9securitycenter.organizations.simulations.attackPaths.listr   r)  r*  r   <SecuritycenterOrganizationsSimulationsAttackPathsListRequestr,  Fr   r   r   r   r   r   zDSecuritycenterV1.OrganizationsSimulationsAttackPathsService.<lambda>  s4    !7!7^M zJ80X4"r   r   r  r   s   @r   rb   r    s"    O3E
8Dr   rb   c                   >     e Zd ZdZdZ fdZddZd e_         xZS )JSecuritycenterV1.OrganizationsSimulationsValuedResourcesAttackPathsServicezUService class for the organizations_simulations_valuedResources_attackPaths resource.re   c                 N    t         t        j                  |   |       i | _        y r   )r   r   rd   r   r   r   s     r   r   zSSecuritycenterV1.OrganizationsSimulationsValuedResourcesAttackPathsService.__init__  s%    VVX\fgmndr   c                 L    | j                  d      }| j                  |||      S )ao  Lists the attack paths for a set of simulation results or valued resources and filter.

      Args:
        request: (SecuritycenterOrganizationsSimulationsValuedResourcesAttackPathsListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListAttackPathsResponse) The response message.
      r   r   r   r   s       r   r   zOSecuritycenterV1.OrganizationsSimulationsValuedResourcesAttackPathsService.List  r   r   c                  J    t        j                  ddddgdgg ddddd	d
      S )Nznv1/organizations/{organizationsId}/simulations/{simulationsId}/valuedResources/{valuedResourcesId}/attackPathsr   zIsecuritycenter.organizations.simulations.valuedResources.attackPaths.listr   r)  r*  r   KSecuritycenterOrganizationsSimulationsValuedResourcesAttackPathsListRequestr,  Fr   r   r   r   r   r   zSSecuritycenterV1.OrganizationsSimulationsValuedResourcesAttackPathsService.<lambda>  s7    !7!7 C] zJ80g4"r   r   r  r   s   @r   rd   r    s"    _CE
8Dr   rd   c                   V     e Zd ZdZdZ fdZddZd e_        ddZd e_         xZ	S )	?SecuritycenterV1.OrganizationsSimulationsValuedResourcesServicezIService class for the organizations_simulations_valuedResources resource.rg   c                 N    t         t        j                  |   |       i | _        y r   )r   r   rf   r   r   r   s     r   r   zHSecuritycenterV1.OrganizationsSimulationsValuedResourcesService.__init__  $    KKT[\bcdr   c                 L    | j                  d      }| j                  |||      S )a$  Get the valued resource by name.

      Args:
        request: (SecuritycenterOrganizationsSimulationsValuedResourcesGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ValuedResource) The response message.
      r  r   r   r   s       r   r  zCSecuritycenterV1.OrganizationsSimulationsValuedResourcesService.Get  r  r   c                  F    t        j                  ddddgdgg ddddd	
      S )Nzbv1/organizations/{organizationsId}/simulations/{simulationsId}/valuedResources/{valuedResourcesId}r   z<securitycenter.organizations.simulations.valuedResources.getr   r   r   ?SecuritycenterOrganizationsSimulationsValuedResourcesGetRequestValuedResourceFr   r   r   r   r   r   zHSecuritycenterV1.OrganizationsSimulationsValuedResourcesService.<lambda>  s4     6 6vPxH"[+!r   c                 L    | j                  d      }| j                  |||      S )aX  Lists the valued resources for a set of simulation results and filter.

      Args:
        request: (SecuritycenterOrganizationsSimulationsValuedResourcesListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListValuedResourcesResponse) The response message.
      r   r   r   r   s       r   r   zDSecuritycenterV1.OrganizationsSimulationsValuedResourcesService.List  r   r   c                  J    t        j                  ddddgdgg ddddd	d
      S )NzNv1/organizations/{organizationsId}/simulations/{simulationsId}/valuedResourcesr   z=securitycenter.organizations.simulations.valuedResources.listr   r  r	  r   @SecuritycenterOrganizationsSimulationsValuedResourcesListRequestr  Fr   r   r   r   r   r   zHSecuritycenterV1.OrganizationsSimulationsValuedResourcesService.<lambda>*  s4    !7!7bQ zJC4\8"r   r   r;  r   s   @r   rf   r    s1    S7E
8C8Dr   rf   c                   >     e Zd ZdZdZ fdZddZd e_         xZS )0SecuritycenterV1.OrganizationsSimulationsServicez9Service class for the organizations_simulations resource.ri   c                 N    t         t        j                  |   |       i | _        y r   )r   r   rh   r   r   r   s     r   r   z9SecuritycenterV1.OrganizationsSimulationsService.__init__=  r&  r   c                 L    | j                  d      }| j                  |||      S )a@  Get the simulation by name or the latest simulation for the given organization.

      Args:
        request: (SecuritycenterOrganizationsSimulationsGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Simulation) The response message.
      r  r   r   r   s       r   r  z4SecuritycenterV1.OrganizationsSimulationsService.GetB  r  r   c                  F    t        j                  ddddgdgg ddddd	
      S )Nz>v1/organizations/{organizationsId}/simulations/{simulationsId}r   z,securitycenter.organizations.simulations.getr   r   r   0SecuritycenterOrganizationsSimulationsGetRequest
SimulationFr   r   r   r   r   r   z9SecuritycenterV1.OrganizationsSimulationsService.<lambda>O  s4     6 6R@xH"L'!r   r   )	r   r   r   r   r   r   r  r   r   r   s   @r   rh   r'  8  s"    C'E
8Cr   rh   c                   >     e Zd ZdZdZ fdZddZd e_         xZS )CSecuritycenterV1.OrganizationsSourcesFindingsExternalSystemsServicezNService class for the organizations_sources_findings_externalSystems resource.rk   c                 N    t         t        j                  |   |       i | _        y r   )r   r   rj   r   r   r   s     r   r   zLSecuritycenterV1.OrganizationsSourcesFindingsExternalSystemsService.__init__b  s%    OOQU_`fgdr   c                 L    | j                  d      }| j                  |||      S )aZ  Updates external system. This is for a given finding.

      Args:
        request: (SecuritycenterOrganizationsSourcesFindingsExternalSystemsPatchRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudSecuritycenterV1ExternalSystem) The response message.
      r
  r   r   r   s       r   r
  zISecuritycenterV1.OrganizationsSourcesFindingsExternalSystemsService.Patchg  r   r   c                  H    t        j                  ddddgdgdgdddd	d
      S )Nzpv1/organizations/{organizationsId}/sources/{sourcesId}/findings/{findingsId}/externalSystems/{externalSystemsId}r   zCsecuritycenter.organizations.sources.findings.externalSystems.patchr   r   r   r  ESecuritycenterOrganizationsSourcesFindingsExternalSystemsPatchRequestr  Fr   r   r   r   r   r   zLSecuritycenterV1.OrganizationsSourcesFindingsExternalSystemsService.<lambda>t  s9    ("8"8 EWxH"^"AaF#r   r   r  r   s   @r   rj   r.  ]  s"    X<E
8Er   rj   c                        e Zd ZdZdZ fdZddZd e_        ddZd e_        ddZ	d	 e	_        dd
Z
d e
_        ddZd e_        ddZd e_        ddZd e_         xZS )4SecuritycenterV1.OrganizationsSourcesFindingsServicez>Service class for the organizations_sources_findings resource.rm   c                 N    t         t        j                  |   |       i | _        y r   )r   r   rl   r   r   r   s     r   r   z=SecuritycenterV1.OrganizationsSourcesFindingsService.__init__  r0  r   c                 L    | j                  d      }| j                  |||      S )aL  Creates a finding. The corresponding source must exist for finding creation to succeed.

      Args:
        request: (SecuritycenterOrganizationsSourcesFindingsCreateRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Finding) The response message.
      r   r   r   r   s       r   r   z;SecuritycenterV1.OrganizationsSourcesFindingsService.Create  r   r   c                  H    t        j                  ddddgdgdgdddd	d
      S )N?v1/organizations/{organizationsId}/sources/{sourcesId}/findingsr   z4securitycenter.organizations.sources.findings.creater   	findingIdr  r  7SecuritycenterOrganizationsSourcesFindingsCreateRequestr  Fr   r   r   r   r   r   z=SecuritycenterV1.OrganizationsSourcesFindingsService.<lambda>  s6    8#9#9SH zJ!]-S$$r   c                 L    | j                  d      }| j                  |||      S )a4  Filters an organization or source's findings and groups them by their specified properties. To group across all sources provide a `-` as the source id. Example: /v1/organizations/{organization_id}/sources/-/findings, /v1/folders/{folder_id}/sources/-/findings, /v1/projects/{project_id}/sources/-/findings.

      Args:
        request: (SecuritycenterOrganizationsSourcesFindingsGroupRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GroupFindingsResponse) The response message.
      r   r   r   r   s       r   r   z:SecuritycenterV1.OrganizationsSourcesFindingsService.Group  r   r   c                  F    t        j                  ddddgdgg ddddd	
      S )NzEv1/organizations/{organizationsId}/sources/{sourcesId}/findings:groupr   z3securitycenter.organizations.sources.findings.groupr   r  r  6SecuritycenterOrganizationsSourcesFindingsGroupRequestr  Fr   r   r   r   r   r   z=SecuritycenterV1.OrganizationsSourcesFindingsService.<lambda>  s4    ("8"8YG zJ3,R2#r   c                 L    | j                  d      }| j                  |||      S )a  Lists an organization or source's findings. To list across all sources provide a `-` as the source id. Example: /v1/organizations/{organization_id}/sources/-/findings.

      Args:
        request: (SecuritycenterOrganizationsSourcesFindingsListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListFindingsResponse) The response message.
      r   r   r   r   s       r   r   z9SecuritycenterV1.OrganizationsSourcesFindingsService.List  r   r   c                  J    t        j                  ddddgdgg ddddd	d
      S )Nr8  r   z2securitycenter.organizations.sources.findings.listr   r   r  r   5SecuritycenterOrganizationsSourcesFindingsListRequestr  Fr   r   r   r   r   r   z=SecuritycenterV1.OrganizationsSourcesFindingsService.<lambda>  s4    !7!7SF zJo-Q1"r   c                 L    | j                  d      }| j                  |||      S )aX  Creates or updates a finding. The corresponding source must exist for a finding creation to succeed.

      Args:
        request: (SecuritycenterOrganizationsSourcesFindingsPatchRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Finding) The response message.
      r
  r   r   r   s       r   r
  z:SecuritycenterV1.OrganizationsSourcesFindingsService.Patch  r   r   c                  H    t        j                  ddddgdgdgdddd	d
      S )NzLv1/organizations/{organizationsId}/sources/{sourcesId}/findings/{findingsId}r   z3securitycenter.organizations.sources.findings.patchr   r   r   r  6SecuritycenterOrganizationsSourcesFindingsPatchRequestr  Fr   r   r   r   r   r   z=SecuritycenterV1.OrganizationsSourcesFindingsService.<lambda>  s6    ("8"8`GxH"^"R$#r   c                 L    | j                  d      }| j                  |||      S )a  Updates the mute state of a finding.

      Args:
        request: (SecuritycenterOrganizationsSourcesFindingsSetMuteRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Finding) The response message.
      r  r   r   r   s       r   r  z<SecuritycenterV1.OrganizationsSourcesFindingsService.SetMute  r  r   c                  F    t        j                  ddddgdgg ddddd	
      S )NzTv1/organizations/{organizationsId}/sources/{sourcesId}/findings/{findingsId}:setMuter   z5securitycenter.organizations.sources.findings.setMuter   r  r  8SecuritycenterOrganizationsSourcesFindingsSetMuteRequestr  Fr   r   r   r   r   r   z=SecuritycenterV1.OrganizationsSourcesFindingsService.<lambda>  s4    H$:$:hIxH*&T$%r   c                 L    | j                  d      }| j                  |||      S )a  Updates the state of a finding.

      Args:
        request: (SecuritycenterOrganizationsSourcesFindingsSetStateRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Finding) The response message.
      r  r   r   r   s       r   r  z=SecuritycenterV1.OrganizationsSourcesFindingsService.SetState  rO  r   c                  F    t        j                  ddddgdgg ddddd	
      S )NzUv1/organizations/{organizationsId}/sources/{sourcesId}/findings/{findingsId}:setStater   z6securitycenter.organizations.sources.findings.setStater   r  r  9SecuritycenterOrganizationsSourcesFindingsSetStateRequestr  Fr   r   r   r   r   r   z=SecuritycenterV1.OrganizationsSourcesFindingsService.<lambda>   s4    X%;%;iJxH+.U$&r   c                 L    | j                  d      }| j                  |||      S )a  Updates security marks.

      Args:
        request: (SecuritycenterOrganizationsSourcesFindingsUpdateSecurityMarksRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (SecurityMarks) The response message.
      r   r   r   r   s       r   r   zHSecuritycenterV1.OrganizationsSourcesFindingsService.UpdateSecurityMarks.  r   r   c                  J    t        j                  ddddgdgddgddd	d
d      S )NzZv1/organizations/{organizationsId}/sources/{sourcesId}/findings/{findingsId}/securityMarksr   zAsecuritycenter.organizations.sources.findings.updateSecurityMarksr   r   r   r   r   DSecuritycenterOrganizationsSourcesFindingsUpdateSecurityMarksRequestr   Fr   r   r   r   r   r   z=SecuritycenterV1.OrganizationsSourcesFindingsService.<lambda>;  s9    0F0FnUxH!<0"%`*1r   r   )r   r   r   r   r   r   r   r   r   r   r
  r  r  r   r   r   s   @r   rl   r4    s}    H,E
8F8E8D8E8G8H8)%%r   rl   c                        e Zd ZdZdZ fdZddZd e_        ddZd e_        ddZ	d	 e	_        dd
Z
d e
_        ddZd e_        ddZd e_        ddZd e_         xZS ),SecuritycenterV1.OrganizationsSourcesServicez5Service class for the organizations_sources resource.ro   c                 N    t         t        j                  |   |       i | _        y r   )r   r   rn   r   r   r   s     r   r   z5SecuritycenterV1.OrganizationsSourcesService.__init__N  s#    88$HPdr   c                 L    | j                  d      }| j                  |||      S )zCreates a source.

      Args:
        request: (SecuritycenterOrganizationsSourcesCreateRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Source) The response message.
      r   r   r   r   s       r   r   z3SecuritycenterV1.OrganizationsSourcesService.CreateS  r   r   c                  F    t        j                  ddddgdgg ddddd	
      S )N*v1/organizations/{organizationsId}/sourcesr   z+securitycenter.organizations.sources.creater   r	  source/SecuritycenterOrganizationsSourcesCreateRequestSourceFr   r   r   r   r   r   z5SecuritycenterV1.OrganizationsSourcesService.<lambda>`  s4    8#9#9>? zJ,K#$r   c                 L    | j                  d      }| j                  |||      S )zGets a source.

      Args:
        request: (SecuritycenterOrganizationsSourcesGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Source) The response message.
      r  r   r   r   s       r   r  z0SecuritycenterV1.OrganizationsSourcesService.Getn  r  r   c                  F    t        j                  ddddgdgg ddddd	
      S )N6v1/organizations/{organizationsId}/sources/{sourcesId}r   z(securitycenter.organizations.sources.getr   r   r   ,SecuritycenterOrganizationsSourcesGetRequestrU  Fr   r   r   r   r   r   z5SecuritycenterV1.OrganizationsSourcesService.<lambda>{  s4     6 6J<xH"H#!r   c                 L    | j                  d      }| j                  |||      S )a)  Gets the access control policy on the specified Source.

      Args:
        request: (SecuritycenterOrganizationsSourcesGetIamPolicyRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Policy) The response message.
      GetIamPolicyr   r   r   s       r   r[  z9SecuritycenterV1.OrganizationsSourcesService.GetIamPolicy  r  r   c                  F    t        j                  ddddgdgg ddddd	
      S )NzCv1/organizations/{organizationsId}/sources/{sourcesId}:getIamPolicyr   z1securitycenter.organizations.sources.getIamPolicyresourcezv1/{+resource}:getIamPolicygetIamPolicyRequest5SecuritycenterOrganizationsSourcesGetIamPolicyRequestPolicyFr   r   r   r   r   r   z5SecuritycenterV1.OrganizationsSourcesService.<lambda>  4    )?)?WE"|L3+Q#*r   c                 L    | j                  d      }| j                  |||      S )a&  Lists all sources belonging to an organization.

      Args:
        request: (SecuritycenterOrganizationsSourcesListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListSourcesResponse) The response message.
      r   r   r   r   s       r   r   z1SecuritycenterV1.OrganizationsSourcesService.List  r   r   c                  J    t        j                  ddddgdgddgddd	d
d      S )NrR  r   z)securitycenter.organizations.sources.listr   r   r   r	  r   -SecuritycenterOrganizationsSourcesListRequestr  Fr   r   r   r   r   r   z5SecuritycenterV1.OrganizationsSourcesService.<lambda>  s9    !7!7>= zJ +.,I0"r   c                 L    | j                  d      }| j                  |||      S )zUpdates a source.

      Args:
        request: (SecuritycenterOrganizationsSourcesPatchRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Source) The response message.
      r
  r   r   r   s       r   r
  z2SecuritycenterV1.OrganizationsSourcesService.Patch  r   r   c                  H    t        j                  ddddgdgdgdddd	d
      S )NrX  r   z*securitycenter.organizations.sources.patchr   r   r   rS  .SecuritycenterOrganizationsSourcesPatchRequestrU  Fr   r   r   r   r   r   z5SecuritycenterV1.OrganizationsSourcesService.<lambda>  s6    ("8"8J>xH"^"J##r   c                 L    | j                  d      }| j                  |||      S )a)  Sets the access control policy on the specified Source.

      Args:
        request: (SecuritycenterOrganizationsSourcesSetIamPolicyRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Policy) The response message.
      SetIamPolicyr   r   r   s       r   ri  z9SecuritycenterV1.OrganizationsSourcesService.SetIamPolicy  r  r   c                  F    t        j                  ddddgdgg ddddd	
      S )NzCv1/organizations/{organizationsId}/sources/{sourcesId}:setIamPolicyr   z1securitycenter.organizations.sources.setIamPolicyr]  zv1/{+resource}:setIamPolicysetIamPolicyRequest5SecuritycenterOrganizationsSourcesSetIamPolicyRequestr`  Fr   r   r   r   r   r   z5SecuritycenterV1.OrganizationsSourcesService.<lambda>  ra  r   c                 L    | j                  d      }| j                  |||      S )aN  Returns the permissions that a caller has on the specified source.

      Args:
        request: (SecuritycenterOrganizationsSourcesTestIamPermissionsRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (TestIamPermissionsResponse) The response message.
      TestIamPermissionsr   r   r   s       r   rn  z?SecuritycenterV1.OrganizationsSourcesService.TestIamPermissions  s2     ##$89f__
'  8 8r   c                  F    t        j                  ddddgdgg ddddd	
      S )NzIv1/organizations/{organizationsId}/sources/{sourcesId}:testIamPermissionsr   z7securitycenter.organizations.sources.testIamPermissionsr]  z!v1/{+resource}:testIamPermissionstestIamPermissionsRequest;SecuritycenterOrganizationsSourcesTestIamPermissionsRequestTestIamPermissionsResponseFr   r   r   r   r   r   z5SecuritycenterV1.OrganizationsSourcesService.<lambda>  s4    x/E/E]K"|L91W70r   r   )r   r   r   r   r   r   r   r   r  r[  r   r
  ri  rn  r   r   s   @r   rn   rN  I  s}    ?#E
8F8C8"L8D8E8"L8($$r   rn   c                   >     e Zd ZdZdZ fdZddZd e_         xZS )4SecuritycenterV1.OrganizationsValuedResourcesServicez=Service class for the organizations_valuedResources resource.rq   c                 N    t         t        j                  |   |       i | _        y r   )r   r   rp   r   r   r   s     r   r   z=SecuritycenterV1.OrganizationsValuedResourcesService.__init__  r0  r   c                 L    | j                  d      }| j                  |||      S )aM  Lists the valued resources for a set of simulation results and filter.

      Args:
        request: (SecuritycenterOrganizationsValuedResourcesListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListValuedResourcesResponse) The response message.
      r   r   r   r   s       r   r   z9SecuritycenterV1.OrganizationsValuedResourcesService.List  r   r   c                  J    t        j                  ddddgdgg ddddd	d
      S )Nz2v1/organizations/{organizationsId}/valuedResourcesr   z1securitycenter.organizations.valuedResources.listr   r  r	  r   5SecuritycenterOrganizationsValuedResourcesListRequestr  Fr   r   r   r   r   r   z=SecuritycenterV1.OrganizationsValuedResourcesService.<lambda>'  s4    !7!7FE zJC4Q8"r   r   r  r   s   @r   rp   rt    s"    G+E
8Dr   rp   c                   V     e Zd ZdZdZ fdZddZd e_        ddZd e_         xZ	S )	%SecuritycenterV1.OrganizationsServicez-Service class for the organizations resource.rs   c                 N    t         t        j                  |   |       i | _        y r   )r   r   rr   r   r   r   s     r   r   z.SecuritycenterV1.OrganizationsService.__init__:  r   r   c                 L    | j                  d      }| j                  |||      S )a*  Gets the settings for an organization.

      Args:
        request: (SecuritycenterOrganizationsGetOrganizationSettingsRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (OrganizationSettings) The response message.
      GetOrganizationSettingsr   r   r   s       r   r}  z=SecuritycenterV1.OrganizationsService.GetOrganizationSettings?  s2     ##$=>f__
'  8 8r   c                  F    t        j                  ddddgdgg ddddd	
      S )N7v1/organizations/{organizationsId}/organizationSettingsr   z4securitycenter.organizations.getOrganizationSettingsr   r   r   9SecuritycenterOrganizationsGetOrganizationSettingsRequestOrganizationSettingsFr   r   r   r   r   r   z.SecuritycenterV1.OrganizationsService.<lambda>L  s4    H4J4JKHxH"U15r   c                 L    | j                  d      }| j                  |||      S )a*  Updates an organization's settings.

      Args:
        request: (SecuritycenterOrganizationsUpdateOrganizationSettingsRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (OrganizationSettings) The response message.
      UpdateOrganizationSettingsr   r   r   s       r   r  z@SecuritycenterV1.OrganizationsService.UpdateOrganizationSettingsZ  s2     ##$@Af__
'  8 8r   c                  H    t        j                  ddddgdgdgdddd	d
      S )Nr  r   z7securitycenter.organizations.updateOrganizationSettingsr   r   r   organizationSettings<SecuritycenterOrganizationsUpdateOrganizationSettingsRequestr  Fr   r   r   r   r   r   z.SecuritycenterV1.OrganizationsService.<lambda>g  s6    x7M7MKKxH"^",X18r   r   )
r   r   r   r   r   r   r}  r   r  r   r   s   @r   rr   rz  5  s3    7E
8-)80,,r   rr   c                   n     e Zd ZdZdZ fdZd
dZd e_        d
dZd e_        d
dZ	d	 e	_         xZ
S )&SecuritycenterV1.ProjectsAssetsServicez/Service class for the projects_assets resource.ru   c                 N    t         t        j                  |   |       i | _        y r   )r   r   rt   r   r   r   s     r   r   z/SecuritycenterV1.ProjectsAssetsService.__init__z  r  r   c                 L    | j                  d      }| j                  |||      S )aA  Filters an organization's assets and groups them by their specified properties.

      Args:
        request: (SecuritycenterProjectsAssetsGroupRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GroupAssetsResponse) The response message.
      r   r   r   r   s       r   r   z,SecuritycenterV1.ProjectsAssetsService.Group  r   r   c                  F    t        j                  ddddgdgg ddddd	
      S )Nz%v1/projects/{projectsId}/assets:groupr   z$securitycenter.projects.assets.groupr   r   r   (SecuritycenterProjectsAssetsGroupRequestr   Fr   r   r   r   r   r   z/SecuritycenterV1.ProjectsAssetsService.<lambda>  s4    ("8"898 zJ1*D0#r   c                 L    | j                  d      }| j                  |||      S )a  Lists an organization's assets.

      Args:
        request: (SecuritycenterProjectsAssetsListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListAssetsResponse) The response message.
      r   r   r   r   s       r   r   z+SecuritycenterV1.ProjectsAssetsService.List  r   r   c                  J    t        j                  ddddgdgg ddddd	d
      S )Nzv1/projects/{projectsId}/assetsr   z#securitycenter.projects.assets.listr   r   r   r   'SecuritycenterProjectsAssetsListRequestr   Fr   r   r   r   r   r   z/SecuritycenterV1.ProjectsAssetsService.<lambda>  s4    !7!737 zJo+C/"r   c                 L    | j                  d      }| j                  |||      S )a  Updates security marks.

      Args:
        request: (SecuritycenterProjectsAssetsUpdateSecurityMarksRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (SecurityMarks) The response message.
      r   r   r   r   s       r   r   z:SecuritycenterV1.ProjectsAssetsService.UpdateSecurityMarks  r   r   c                  J    t        j                  ddddgdgddgddd	d
d      S )Nz8v1/projects/{projectsId}/assets/{assetsId}/securityMarksr   z2securitycenter.projects.assets.updateSecurityMarksr   r   r   r   r   6SecuritycenterProjectsAssetsUpdateSecurityMarksRequestr   Fr   r   r   r   r   r   z/SecuritycenterV1.ProjectsAssetsService.<lambda>  s9    0F0FLFxH!<0"%R*1r   r   r   r   s   @r   rt   r  u  sA    9E
8E8D8)%%r   rt   c                        e Zd ZdZdZ fdZddZd e_        ddZd e_        ddZ	d	 e	_        dd
Z
d e
_        ddZd e_         xZS )/SecuritycenterV1.ProjectsBigQueryExportsServicez8Service class for the projects_bigQueryExports resource.rw   c                 N    t         t        j                  |   |       i | _        y r   )r   r   rv   r   r   r   s     r   r   z8SecuritycenterV1.ProjectsBigQueryExportsService.__init__  r  r   c                 L    | j                  d      }| j                  |||      S )a,  Creates a BigQuery export.

      Args:
        request: (SecuritycenterProjectsBigQueryExportsCreateRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudSecuritycenterV1BigQueryExport) The response message.
      r   r   r   r   s       r   r   z6SecuritycenterV1.ProjectsBigQueryExportsService.Create  r   r   c                  H    t        j                  ddddgdgdgdddd	d
      S )N(v1/projects/{projectsId}/bigQueryExportsr   z.securitycenter.projects.bigQueryExports.creater   r   r   r   2SecuritycenterProjectsBigQueryExportsCreateRequestr   Fr   r   r   r   r   r   z8SecuritycenterV1.ProjectsBigQueryExportsService.<lambda>  s7    8#9#9<B zJ()4ANF$r   c                 L    | j                  d      }| j                  |||      S )a  Deletes an existing BigQuery export.

      Args:
        request: (SecuritycenterProjectsBigQueryExportsDeleteRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Empty) The response message.
      r   r   r   r   s       r   r   z6SecuritycenterV1.ProjectsBigQueryExportsService.Delete  r   r   c                  F    t        j                  ddddgdgg ddddd	
      S )N<v1/projects/{projectsId}/bigQueryExports/{bigQueryExportsId}r   z.securitycenter.projects.bigQueryExports.deleter   r   r   2SecuritycenterProjectsBigQueryExportsDeleteRequestr   Fr   r   r   r   r   r   z8SecuritycenterV1.ProjectsBigQueryExportsService.<lambda>  r  r   c                 L    | j                  d      }| j                  |||      S )a&  Gets a BigQuery export.

      Args:
        request: (SecuritycenterProjectsBigQueryExportsGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudSecuritycenterV1BigQueryExport) The response message.
      r  r   r   r   s       r   r  z3SecuritycenterV1.ProjectsBigQueryExportsService.Get  r  r   c                  F    t        j                  ddddgdgg ddddd	
      S )Nr  r   z+securitycenter.projects.bigQueryExports.getr   r   r   /SecuritycenterProjectsBigQueryExportsGetRequestr   Fr   r   r   r   r   r   z8SecuritycenterV1.ProjectsBigQueryExportsService.<lambda>  s4     6 6P?xH"KF!r   c                 L    | j                  d      }| j                  |||      S )a8  Lists BigQuery exports. Note that when requesting BigQuery exports at a given level all exports under that level are also returned e.g. if requesting BigQuery exports under a folder, then all BigQuery exports immediately under the folder plus the ones created under the projects within the folder are returned.

      Args:
        request: (SecuritycenterProjectsBigQueryExportsListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListBigQueryExportsResponse) The response message.
      r   r   r   r   s       r   r   z4SecuritycenterV1.ProjectsBigQueryExportsService.List+  r   r   c                  J    t        j                  ddddgdgddgddd	d
d      S )Nr  r   z,securitycenter.projects.bigQueryExports.listr   r   r   r   r   0SecuritycenterProjectsBigQueryExportsListRequestr  Fr   r   r   r   r   r   z8SecuritycenterV1.ProjectsBigQueryExportsService.<lambda>8  s9    !7!7<@ zJ +.4L8"r   c                 L    | j                  d      }| j                  |||      S )a+  Updates a BigQuery export.

      Args:
        request: (SecuritycenterProjectsBigQueryExportsPatchRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudSecuritycenterV1BigQueryExport) The response message.
      r
  r   r   r   s       r   r
  z5SecuritycenterV1.ProjectsBigQueryExportsService.PatchF  r   r   c                  H    t        j                  ddddgdgdgdddd	d
      S )Nr  r   z-securitycenter.projects.bigQueryExports.patchr   r   r   r   1SecuritycenterProjectsBigQueryExportsPatchRequestr   Fr   r   r   r   r   r   z8SecuritycenterV1.ProjectsBigQueryExportsService.<lambda>S  s6    ("8"8PAxH"^"AMF#r   r   r  r   s   @r   rv   r    s^    B&E
8F8F8C8D8Er   rv   c                        e Zd ZdZdZ fdZddZd e_        ddZd e_        ddZ	d	 e	_        dd
Z
d e
_        ddZd e_        ddZd e_         xZS )ISecuritycenterV1.ProjectsEventThreatDetectionSettingsCustomModulesServicezSService class for the projects_eventThreatDetectionSettings_customModules resource.ry   c                 N    t         t        j                  |   |       i | _        y r   )r   r   rx   r   r   r   s     r   r   zRSecuritycenterV1.ProjectsEventThreatDetectionSettingsCustomModulesService.__init__f  s%    UUW[eflmdr   c                 L    | j                  d      }| j                  |||      S )a  Creates a resident Event Threat Detection custom module at the scope of the given Resource Manager parent, and also creates inherited custom modules for all descendants of the given parent. These modules are enabled by default.

      Args:
        request: (SecuritycenterProjectsEventThreatDetectionSettingsCustomModulesCreateRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (EventThreatDetectionCustomModule) The response message.
      r   r   r   r   s       r   r   zPSecuritycenterV1.ProjectsEventThreatDetectionSettingsCustomModulesService.Createk  r   r   c                  F    t        j                  ddddgdgg ddddd	
      S )NCv1/projects/{projectsId}/eventThreatDetectionSettings/customModulesr   zIsecuritycenter.projects.eventThreatDetectionSettings.customModules.creater   r  r  LSecuritycenterProjectsEventThreatDetectionSettingsCustomModulesCreateRequestr  Fr   r   r   r   r   r   zRSecuritycenterV1.ProjectsEventThreatDetectionSettingsCustomModulesService.<lambda>x  s4    8#9#9W] zJ28h=$r   c                 L    | j                  d      }| j                  |||      S )a  Deletes the specified Event Threat Detection custom module and all of its descendants in the Resource Manager hierarchy. This method is only supported for resident custom modules.

      Args:
        request: (SecuritycenterProjectsEventThreatDetectionSettingsCustomModulesDeleteRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Empty) The response message.
      r   r   r   r   s       r   r   zPSecuritycenterV1.ProjectsEventThreatDetectionSettingsCustomModulesService.Delete  r   r   c                  F    t        j                  ddddgdgg ddddd	
      S )NUv1/projects/{projectsId}/eventThreatDetectionSettings/customModules/{customModulesId}r   zIsecuritycenter.projects.eventThreatDetectionSettings.customModules.deleter   r   r   LSecuritycenterProjectsEventThreatDetectionSettingsCustomModulesDeleteRequestr   Fr   r   r   r   r   r   zRSecuritycenterV1.ProjectsEventThreatDetectionSettingsCustomModulesService.<lambda>  s4    8#9#9i]xH"h"$r   c                 L    | j                  d      }| j                  |||      S )aM  Gets an Event Threat Detection custom module.

      Args:
        request: (SecuritycenterProjectsEventThreatDetectionSettingsCustomModulesGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (EventThreatDetectionCustomModule) The response message.
      r  r   r   r   s       r   r  zMSecuritycenterV1.ProjectsEventThreatDetectionSettingsCustomModulesService.Get  r  r   c                  F    t        j                  ddddgdgg ddddd	
      S )Nr  r   zFsecuritycenter.projects.eventThreatDetectionSettings.customModules.getr   r   r   ISecuritycenterProjectsEventThreatDetectionSettingsCustomModulesGetRequestr  Fr   r   r   r   r   r   zRSecuritycenterV1.ProjectsEventThreatDetectionSettingsCustomModulesService.<lambda>  s4     6 6iZxH"e=!r   c                 L    | j                  d      }| j                  |||      S )a  Lists all Event Threat Detection custom modules for the given Resource Manager parent. This includes resident modules defined at the scope of the parent along with modules inherited from ancestors.

      Args:
        request: (SecuritycenterProjectsEventThreatDetectionSettingsCustomModulesListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListEventThreatDetectionCustomModulesResponse) The response message.
      r   r   r   r   s       r   r   zNSecuritycenterV1.ProjectsEventThreatDetectionSettingsCustomModulesService.List  r   r   c                  J    t        j                  ddddgdgddgddd	d
d      S )Nr  r   zGsecuritycenter.projects.eventThreatDetectionSettings.customModules.listr   r   r   r  r   JSecuritycenterProjectsEventThreatDetectionSettingsCustomModulesListRequestr"  Fr   r   r   r   r   r   zRSecuritycenterV1.ProjectsEventThreatDetectionSettingsCustomModulesService.<lambda>  s9    !7!7W[ zJ +.2fJ"r   c                 L    | j                  d      }| j                  |||      S )a  Lists all resident Event Threat Detection custom modules under the given Resource Manager parent and its descendants.

      Args:
        request: (SecuritycenterProjectsEventThreatDetectionSettingsCustomModulesListDescendantRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListDescendantEventThreatDetectionCustomModulesResponse) The response message.
      r$  r   r   r   s       r   r$  zXSecuritycenterV1.ProjectsEventThreatDetectionSettingsCustomModulesService.ListDescendant  r%  r   c                  J    t        j                  ddddgdgddgddd	d
d      S )NzRv1/projects/{projectsId}/eventThreatDetectionSettings/customModules:listDescendantr   zQsecuritycenter.projects.eventThreatDetectionSettings.customModules.listDescendantr   r   r   r'  r   TSecuritycenterProjectsEventThreatDetectionSettingsCustomModulesListDescendantRequestr)  Fr   r   r   r   r   r   zRSecuritycenterV1.ProjectsEventThreatDetectionSettingsCustomModulesService.<lambda>  s9    8+A+Afe zJ +.ApT,r   c                 L    | j                  d      }| j                  |||      S )a  Updates the Event Threat Detection custom module with the given name based on the given update mask. Updating the enablement state is supported for both resident and inherited modules (though resident modules cannot have an enablement state of "inherited"). Updating the display name or configuration of a module is supported for resident modules only. The type of a module cannot be changed.

      Args:
        request: (SecuritycenterProjectsEventThreatDetectionSettingsCustomModulesPatchRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (EventThreatDetectionCustomModule) The response message.
      r
  r   r   r   s       r   r
  zOSecuritycenterV1.ProjectsEventThreatDetectionSettingsCustomModulesService.Patch  r   r   c                  H    t        j                  ddddgdgdgdddd	d
      S )Nr  r   zHsecuritycenter.projects.eventThreatDetectionSettings.customModules.patchr   r   r   r  KSecuritycenterProjectsEventThreatDetectionSettingsCustomModulesPatchRequestr  Fr   r   r   r   r   r   zRSecuritycenterV1.ProjectsEventThreatDetectionSettingsCustomModulesService.<lambda>  s6    ("8"8i\xH"^"8g=#r   r   r-  r   s   @r   rx   r  a  sm    ]AE
8F8F8C8D8$N 8Er   rx   c                   V     e Zd ZdZdZ fdZddZd e_        ddZd e_         xZ	S )	RSecuritycenterV1.ProjectsEventThreatDetectionSettingsEffectiveCustomModulesServicez\Service class for the projects_eventThreatDetectionSettings_effectiveCustomModules resource.r{   c                 N    t         t        j                  |   |       i | _        y r   )r   r   rz   r   r   r   s     r   r   z[SecuritycenterV1.ProjectsEventThreatDetectionSettingsEffectiveCustomModulesService.__init__  s%    ^^`dnouvdr   c                 L    | j                  d      }| j                  |||      S )a|  Gets an effective Event Threat Detection custom module at the given level.

      Args:
        request: (SecuritycenterProjectsEventThreatDetectionSettingsEffectiveCustomModulesGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (EffectiveEventThreatDetectionCustomModule) The response message.
      r  r   r   r   s       r   r  zVSecuritycenterV1.ProjectsEventThreatDetectionSettingsEffectiveCustomModulesService.Get  r  r   c                  F    t        j                  ddddgdgg ddddd	
      S )Nzgv1/projects/{projectsId}/eventThreatDetectionSettings/effectiveCustomModules/{effectiveCustomModulesId}r   zOsecuritycenter.projects.eventThreatDetectionSettings.effectiveCustomModules.getr   r   r   RSecuritycenterProjectsEventThreatDetectionSettingsEffectiveCustomModulesGetRequestr5  Fr   r   r   r   r   r   z[SecuritycenterV1.ProjectsEventThreatDetectionSettingsEffectiveCustomModulesService.<lambda>$  s4     6 6{cxH"nF!r   c                 L    | j                  d      }| j                  |||      S )a  Lists all effective Event Threat Detection custom modules for the given parent. This includes resident modules defined at the scope of the parent along with modules inherited from its ancestors.

      Args:
        request: (SecuritycenterProjectsEventThreatDetectionSettingsEffectiveCustomModulesListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListEffectiveEventThreatDetectionCustomModulesResponse) The response message.
      r   r   r   r   s       r   r   zWSecuritycenterV1.ProjectsEventThreatDetectionSettingsEffectiveCustomModulesService.List2  r   r   c                  J    t        j                  ddddgdgddgddd	d
d      S )NzLv1/projects/{projectsId}/eventThreatDetectionSettings/effectiveCustomModulesr   zPsecuritycenter.projects.eventThreatDetectionSettings.effectiveCustomModules.listr   r   r   r8  r   SSecuritycenterProjectsEventThreatDetectionSettingsEffectiveCustomModulesListRequestr:  Fr   r   r   r   r   r   z[SecuritycenterV1.ProjectsEventThreatDetectionSettingsEffectiveCustomModulesService.<lambda>?  s9    !7!7`d zJ +.;oS"r   r   r;  r   s   @r   rz   r    s1    fJE
8C8Dr   rz   c                   >     e Zd ZdZdZ fdZddZd e_         xZS )<SecuritycenterV1.ProjectsEventThreatDetectionSettingsServicezEService class for the projects_eventThreatDetectionSettings resource.r}   c                 N    t         t        j                  |   |       i | _        y r   )r   r   r|   r   r   r   s     r   r   zESecuritycenterV1.ProjectsEventThreatDetectionSettingsService.__init__R  s$    HH$XY_`dr   c                 L    | j                  d      }| j                  |||      S )am  Validates the given Event Threat Detection custom module.

      Args:
        request: (SecuritycenterProjectsEventThreatDetectionSettingsValidateCustomModuleRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ValidateEventThreatDetectionCustomModuleResponse) The response message.
      rA  r   r   r   s       r   rA  zQSecuritycenterV1.ProjectsEventThreatDetectionSettingsService.ValidateCustomModuleW  rB  r   c                  F    t        j                  ddddgdgg ddddd	
      S )NzJv1/projects/{projectsId}/eventThreatDetectionSettings:validateCustomModuler   zIsecuritycenter.projects.eventThreatDetectionSettings.validateCustomModuler   rD  rE  MSecuritycenterProjectsEventThreatDetectionSettingsValidateCustomModuleRequestrG  Fr   r   r   r   r   r   zESecuritycenterV1.ProjectsEventThreatDetectionSettingsService.<lambda>d  s4    1G1G^] zJ9GiM2r   r   rH  r   s   @r   r|   r  M  s#    O3E
8*&&r   r|   c                   >     e Zd ZdZdZ fdZddZd e_         xZS )(SecuritycenterV1.ProjectsFindingsServicez1Service class for the projects_findings resource.r   c                 N    t         t        j                  |   |       i | _        y r   )r   r   r~   r   r   r   s     r   r   z1SecuritycenterV1.ProjectsFindingsService.__init__w  rj  r   c                 L    | j                  d      }| j                  |||      S )a  Kicks off an LRO to bulk mute findings for a parent based on a filter. The parent can be either an organization, folder or project. The findings matched by the filter will be muted after the LRO is done.

      Args:
        request: (SecuritycenterProjectsFindingsBulkMuteRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Operation) The response message.
      rN  r   r   r   s       r   rN  z1SecuritycenterV1.ProjectsFindingsService.BulkMute|  rO  r   c                  F    t        j                  ddddgdgg ddddd	
      S )Nz*v1/projects/{projectsId}/findings:bulkMuter   z)securitycenter.projects.findings.bulkMuter   rQ  rR  -SecuritycenterProjectsFindingsBulkMuteRequestrT  Fr   r   r   r   r   r   z1SecuritycenterV1.ProjectsFindingsService.<lambda>  s4    X%;%;>= zJ6/I&&r   r   rU  r   s   @r   r~   r  r  s"    ;E
8Hr   r~   c                   n     e Zd ZdZdZ fdZd
dZd e_        d
dZd e_        d
dZ	d	 e	_         xZ
S )4SecuritycenterV1.ProjectsLocationsMuteConfigsServicez>Service class for the projects_locations_muteConfigs resource.r   c                 N    t         t        j                  |   |       i | _        y r   )r   r   r   r   r   r   s     r   r   z=SecuritycenterV1.ProjectsLocationsMuteConfigsService.__init__  r0  r   c                 L    | j                  d      }| j                  |||      S )a  Deletes an existing mute config.

      Args:
        request: (SecuritycenterProjectsLocationsMuteConfigsDeleteRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Empty) The response message.
      r   r   r   r   s       r   r   z;SecuritycenterV1.ProjectsLocationsMuteConfigsService.Delete  r   r   c                  F    t        j                  ddddgdgg ddddd	
      S )NLv1/projects/{projectsId}/locations/{locationsId}/muteConfigs/{muteConfigsId}r   z4securitycenter.projects.locations.muteConfigs.deleter   r   r   7SecuritycenterProjectsLocationsMuteConfigsDeleteRequestr   Fr   r   r   r   r   r   z=SecuritycenterV1.ProjectsLocationsMuteConfigsService.<lambda>  s4    8#9#9`HxH"S"$r   c                 L    | j                  d      }| j                  |||      S )a#  Gets a mute config.

      Args:
        request: (SecuritycenterProjectsLocationsMuteConfigsGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudSecuritycenterV1MuteConfig) The response message.
      r  r   r   r   s       r   r  z8SecuritycenterV1.ProjectsLocationsMuteConfigsService.Get  r  r   c                  F    t        j                  ddddgdgg ddddd	
      S )Nr  r   z1securitycenter.projects.locations.muteConfigs.getr   r   r   4SecuritycenterProjectsLocationsMuteConfigsGetRequestra  Fr   r   r   r   r   r   z=SecuritycenterV1.ProjectsLocationsMuteConfigsService.<lambda>  s4     6 6`ExH"PB!r   c                 L    | j                  d      }| j                  |||      S )a(  Updates a mute config.

      Args:
        request: (SecuritycenterProjectsLocationsMuteConfigsPatchRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudSecuritycenterV1MuteConfig) The response message.
      r
  r   r   r   s       r   r
  z:SecuritycenterV1.ProjectsLocationsMuteConfigsService.Patch  r   r   c                  H    t        j                  ddddgdgdgdddd	d
      S )Nr  r   z3securitycenter.projects.locations.muteConfigs.patchr   r   r   rd  6SecuritycenterProjectsLocationsMuteConfigsPatchRequestra  Fr   r   r   r   r   r   z=SecuritycenterV1.ProjectsLocationsMuteConfigsService.<lambda>  s6    ("8"8`GxH"^"=RB#r   r   rf  r   s   @r   r   r    s@    H,E
8F8C8Er   r   c                   &     e Zd ZdZdZ fdZ xZS ))SecuritycenterV1.ProjectsLocationsServicez2Service class for the projects_locations resource.r   c                 N    t         t        j                  |   |       i | _        y r   )r   r   r   r   r   r   s     r   r   z2SecuritycenterV1.ProjectsLocationsService.__init__  s#    55tEfMdr   rk  r   s   @r   r   r    s    < E r   r   c                        e Zd ZdZdZ fdZddZd e_        ddZd e_        ddZ	d	 e	_        dd
Z
d e
_        ddZd e_         xZS )+SecuritycenterV1.ProjectsMuteConfigsServicez4Service class for the projects_muteConfigs resource.r   c                 N    t         t        j                  |   |       i | _        y r   )r   r   r   r   r   r   s     r   r   z4SecuritycenterV1.ProjectsMuteConfigsService.__init__  r  r   c                 L    | j                  d      }| j                  |||      S )a   Creates a mute config.

      Args:
        request: (SecuritycenterProjectsMuteConfigsCreateRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudSecuritycenterV1MuteConfig) The response message.
      r   r   r   r   s       r   r   z2SecuritycenterV1.ProjectsMuteConfigsService.Create  r   r   c                  H    t        j                  ddddgdgdgdddd	d
      S )N$v1/projects/{projectsId}/muteConfigsr   z*securitycenter.projects.muteConfigs.creater   rr  rs  rd  .SecuritycenterProjectsMuteConfigsCreateRequestra  Fr   r   r   r   r   r   z4SecuritycenterV1.ProjectsMuteConfigsService.<lambda>  s7    8#9#98> zJ$%0=JB$r   c                 L    | j                  d      }| j                  |||      S )a
  Deletes an existing mute config.

      Args:
        request: (SecuritycenterProjectsMuteConfigsDeleteRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Empty) The response message.
      r   r   r   r   s       r   r   z2SecuritycenterV1.ProjectsMuteConfigsService.Delete!  r   r   c                  F    t        j                  ddddgdgg ddddd	
      S )N4v1/projects/{projectsId}/muteConfigs/{muteConfigsId}r   z*securitycenter.projects.muteConfigs.deleter   r   r   .SecuritycenterProjectsMuteConfigsDeleteRequestr   Fr   r   r   r   r   r   z4SecuritycenterV1.ProjectsMuteConfigsService.<lambda>.  s4    8#9#9H>xH"J"$r   c                 L    | j                  d      }| j                  |||      S )a  Gets a mute config.

      Args:
        request: (SecuritycenterProjectsMuteConfigsGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudSecuritycenterV1MuteConfig) The response message.
      r  r   r   r   s       r   r  z/SecuritycenterV1.ProjectsMuteConfigsService.Get<  r  r   c                  F    t        j                  ddddgdgg ddddd	
      S )Nr  r   z'securitycenter.projects.muteConfigs.getr   r   r   +SecuritycenterProjectsMuteConfigsGetRequestra  Fr   r   r   r   r   r   z4SecuritycenterV1.ProjectsMuteConfigsService.<lambda>I  s4     6 6H;xH"GB!r   c                 L    | j                  d      }| j                  |||      S )a  Lists mute configs.

      Args:
        request: (SecuritycenterProjectsMuteConfigsListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListMuteConfigsResponse) The response message.
      r   r   r   r   s       r   r   z0SecuritycenterV1.ProjectsMuteConfigsService.ListW  r   r   c                  J    t        j                  ddddgdgddgddd	d
d      S )Nr  r   z(securitycenter.projects.muteConfigs.listr   r   r   rs  r   ,SecuritycenterProjectsMuteConfigsListRequestr  Fr   r   r   r   r   r   z4SecuritycenterV1.ProjectsMuteConfigsService.<lambda>d  s9    !7!78< zJ +.0H4"r   c                 L    | j                  d      }| j                  |||      S )a  Updates a mute config.

      Args:
        request: (SecuritycenterProjectsMuteConfigsPatchRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudSecuritycenterV1MuteConfig) The response message.
      r
  r   r   r   s       r   r
  z1SecuritycenterV1.ProjectsMuteConfigsService.Patchr  r   r   c                  H    t        j                  ddddgdgdgdddd	d
      S )Nr  r   z)securitycenter.projects.muteConfigs.patchr   r   r   rd  -SecuritycenterProjectsMuteConfigsPatchRequestra  Fr   r   r   r   r   r   z4SecuritycenterV1.ProjectsMuteConfigsService.<lambda>  s6    ("8"8H=xH"^"=IB#r   r   r  r   s   @r   r   r    s^    >"E
8F8F8C8D8Er   r   c                        e Zd ZdZdZ fdZddZd e_        ddZd e_        ddZ	d	 e	_        dd
Z
d e
_        ddZd e_         xZS )3SecuritycenterV1.ProjectsNotificationConfigsServicez<Service class for the projects_notificationConfigs resource.r   c                 N    t         t        j                  |   |       i | _        y r   )r   r   r   r   r   r   s     r   r   z<SecuritycenterV1.ProjectsNotificationConfigsService.__init__  rY  r   c                 L    | j                  d      }| j                  |||      S )a  Creates a notification config.

      Args:
        request: (SecuritycenterProjectsNotificationConfigsCreateRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (NotificationConfig) The response message.
      r   r   r   r   s       r   r   z:SecuritycenterV1.ProjectsNotificationConfigsService.Create  r   r   c                  H    t        j                  ddddgdgdgdddd	d
      S )N,v1/projects/{projectsId}/notificationConfigsr   z2securitycenter.projects.notificationConfigs.creater   r  r  r  6SecuritycenterProjectsNotificationConfigsCreateRequestr  Fr   r   r   r   r   r   z<SecuritycenterV1.ProjectsNotificationConfigsService.<lambda>  s6    8#9#9@F zJ \8*R/$r   c                 L    | j                  d      }| j                  |||      S )a  Deletes a notification config.

      Args:
        request: (SecuritycenterProjectsNotificationConfigsDeleteRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Empty) The response message.
      r   r   r   r   s       r   r   z:SecuritycenterV1.ProjectsNotificationConfigsService.Delete  r   r   c                  F    t        j                  ddddgdgg ddddd	
      S )NDv1/projects/{projectsId}/notificationConfigs/{notificationConfigsId}r   z2securitycenter.projects.notificationConfigs.deleter   r   r   6SecuritycenterProjectsNotificationConfigsDeleteRequestr   Fr   r   r   r   r   r   z<SecuritycenterV1.ProjectsNotificationConfigsService.<lambda>  s4    8#9#9XFxH"R"$r   c                 L    | j                  d      }| j                  |||      S )a  Gets a notification config.

      Args:
        request: (SecuritycenterProjectsNotificationConfigsGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (NotificationConfig) The response message.
      r  r   r   r   s       r   r  z7SecuritycenterV1.ProjectsNotificationConfigsService.Get  r  r   c                  F    t        j                  ddddgdgg ddddd	
      S )Nr   r   z/securitycenter.projects.notificationConfigs.getr   r   r   3SecuritycenterProjectsNotificationConfigsGetRequestr  Fr   r   r   r   r   r   z<SecuritycenterV1.ProjectsNotificationConfigsService.<lambda>  s4     6 6XCxH"O/!r   c                 L    | j                  d      }| j                  |||      S )a%  Lists notification configs.

      Args:
        request: (SecuritycenterProjectsNotificationConfigsListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListNotificationConfigsResponse) The response message.
      r   r   r   r   s       r   r   z8SecuritycenterV1.ProjectsNotificationConfigsService.List  r   r   c                  J    t        j                  ddddgdgddgddd	d
d      S )Nr  r   z0securitycenter.projects.notificationConfigs.listr   r   r   r  r   4SecuritycenterProjectsNotificationConfigsListRequestr  Fr   r   r   r   r   r   z<SecuritycenterV1.ProjectsNotificationConfigsService.<lambda>  s9    !7!7@D zJ +.8P<"r   c                 L    | j                  d      }| j                  |||      S )az   Updates a notification config. The following update fields are allowed: description, pubsub_topic, streaming_config.filter.

      Args:
        request: (SecuritycenterProjectsNotificationConfigsPatchRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (NotificationConfig) The response message.
      r
  r   r   r   s       r   r
  z9SecuritycenterV1.ProjectsNotificationConfigsService.Patch  r   r   c                  H    t        j                  ddddgdgdgdddd	d
      S )Nr   r   z1securitycenter.projects.notificationConfigs.patchr   r   r   r  5SecuritycenterProjectsNotificationConfigsPatchRequestr  Fr   r   r   r   r   r   z<SecuritycenterV1.ProjectsNotificationConfigsService.<lambda>  s6    ("8"8XExH"^"*Q/#r   r   r  r   s   @r   r   r    s^    F*E
8F8F8C8D8Er   r   c                        e Zd ZdZdZ fdZddZd e_        ddZd e_        ddZ	d	 e	_        dd
Z
d e
_        ddZd e_        ddZd e_        ddZd e_        ddZd e_         xZS )LSecuritycenterV1.ProjectsSecurityHealthAnalyticsSettingsCustomModulesServicezVService class for the projects_securityHealthAnalyticsSettings_customModules resource.r   c                 N    t         t        j                  |   |       i | _        y r   )r   r   r   r   r   r   s     r   r   zUSecuritycenterV1.ProjectsSecurityHealthAnalyticsSettingsCustomModulesService.__init__#  s%    XXZ^hiopdr   c                 L    | j                  d      }| j                  |||      S )a3  Creates a resident SecurityHealthAnalyticsCustomModule at the scope of the given CRM parent, and also creates inherited SecurityHealthAnalyticsCustomModules for all CRM descendants of the given parent. These modules are enabled by default.

      Args:
        request: (SecuritycenterProjectsSecurityHealthAnalyticsSettingsCustomModulesCreateRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule) The response message.
      r   r   r   r   s       r   r   zSSecuritycenterV1.ProjectsSecurityHealthAnalyticsSettingsCustomModulesService.Create(  r   r   c                  F    t        j                  ddddgdgg ddddd	
      S )NFv1/projects/{projectsId}/securityHealthAnalyticsSettings/customModulesr   zLsecuritycenter.projects.securityHealthAnalyticsSettings.customModules.creater   r  r  OSecuritycenterProjectsSecurityHealthAnalyticsSettingsCustomModulesCreateRequestr  Fr   r   r   r   r   r   zUSecuritycenterV1.ProjectsSecurityHealthAnalyticsSettingsCustomModulesService.<lambda>5  s4    8#9#9Z` zJ2Vk[$r   c                 L    | j                  d      }| j                  |||      S )a  Deletes the specified SecurityHealthAnalyticsCustomModule and all of its descendants in the CRM hierarchy. This method is only supported for resident custom modules.

      Args:
        request: (SecuritycenterProjectsSecurityHealthAnalyticsSettingsCustomModulesDeleteRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Empty) The response message.
      r   r   r   r   s       r   r   zSSecuritycenterV1.ProjectsSecurityHealthAnalyticsSettingsCustomModulesService.DeleteC  r   r   c                  F    t        j                  ddddgdgg ddddd	
      S )NXv1/projects/{projectsId}/securityHealthAnalyticsSettings/customModules/{customModulesId}r   zLsecuritycenter.projects.securityHealthAnalyticsSettings.customModules.deleter   r   r   OSecuritycenterProjectsSecurityHealthAnalyticsSettingsCustomModulesDeleteRequestr   Fr   r   r   r   r   r   zUSecuritycenterV1.ProjectsSecurityHealthAnalyticsSettingsCustomModulesService.<lambda>P  s4    8#9#9l`xH"k"$r   c                 L    | j                  d      }| j                  |||      S )aq  Retrieves a SecurityHealthAnalyticsCustomModule.

      Args:
        request: (SecuritycenterProjectsSecurityHealthAnalyticsSettingsCustomModulesGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule) The response message.
      r  r   r   r   s       r   r  zPSecuritycenterV1.ProjectsSecurityHealthAnalyticsSettingsCustomModulesService.Get^  r  r   c                  F    t        j                  ddddgdgg ddddd	
      S )Nr  r   zIsecuritycenter.projects.securityHealthAnalyticsSettings.customModules.getr   r   r   LSecuritycenterProjectsSecurityHealthAnalyticsSettingsCustomModulesGetRequestr  Fr   r   r   r   r   r   zUSecuritycenterV1.ProjectsSecurityHealthAnalyticsSettingsCustomModulesService.<lambda>k  s4     6 6l]xH"h[!r   c                 L    | j                  d      }| j                  |||      S )a  Returns a list of all SecurityHealthAnalyticsCustomModules for the given parent. This includes resident modules defined at the scope of the parent, and inherited modules, inherited from CRM ancestors.

      Args:
        request: (SecuritycenterProjectsSecurityHealthAnalyticsSettingsCustomModulesListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListSecurityHealthAnalyticsCustomModulesResponse) The response message.
      r   r   r   r   s       r   r   zQSecuritycenterV1.ProjectsSecurityHealthAnalyticsSettingsCustomModulesService.Listy  r   r   c                  J    t        j                  ddddgdgddgddd	d
d      S )Nr  r   zJsecuritycenter.projects.securityHealthAnalyticsSettings.customModules.listr   r   r   r  r   MSecuritycenterProjectsSecurityHealthAnalyticsSettingsCustomModulesListRequestr  Fr   r   r   r   r   r   zUSecuritycenterV1.ProjectsSecurityHealthAnalyticsSettingsCustomModulesService.<lambda>  s9    !7!7Z^ zJ +.2iM"r   c                 L    | j                  d      }| j                  |||      S )a  Returns a list of all resident SecurityHealthAnalyticsCustomModules under the given CRM parent and all of the parent's CRM descendants.

      Args:
        request: (SecuritycenterProjectsSecurityHealthAnalyticsSettingsCustomModulesListDescendantRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListDescendantSecurityHealthAnalyticsCustomModulesResponse) The response message.
      r$  r   r   r   s       r   r$  z[SecuritycenterV1.ProjectsSecurityHealthAnalyticsSettingsCustomModulesService.ListDescendant  r%  r   c                  J    t        j                  ddddgdgddgddd	d
d      S )NzUv1/projects/{projectsId}/securityHealthAnalyticsSettings/customModules:listDescendantr   zTsecuritycenter.projects.securityHealthAnalyticsSettings.customModules.listDescendantr   r   r   r'  r   WSecuritycenterProjectsSecurityHealthAnalyticsSettingsCustomModulesListDescendantRequestr  Fr   r   r   r   r   r   zUSecuritycenterV1.ProjectsSecurityHealthAnalyticsSettingsCustomModulesService.<lambda>  s9    8+A+Aih zJ +.AsW,r   c                 L    | j                  d      }| j                  |||      S )a  Updates the SecurityHealthAnalyticsCustomModule under the given name based on the given update mask. Updating the enablement state is supported on both resident and inherited modules (though resident modules cannot have an enablement state of "inherited"). Updating the display name and custom config of a module is supported on resident modules only.

      Args:
        request: (SecuritycenterProjectsSecurityHealthAnalyticsSettingsCustomModulesPatchRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule) The response message.
      r
  r   r   r   s       r   r
  zRSecuritycenterV1.ProjectsSecurityHealthAnalyticsSettingsCustomModulesService.Patch  r   r   c                  H    t        j                  ddddgdgdgdddd	d
      S )Nr  r   zKsecuritycenter.projects.securityHealthAnalyticsSettings.customModules.patchr   r   r   r  NSecuritycenterProjectsSecurityHealthAnalyticsSettingsCustomModulesPatchRequestr  Fr   r   r   r   r   r   zUSecuritycenterV1.ProjectsSecurityHealthAnalyticsSettingsCustomModulesService.<lambda>  s6    ("8"8l_xH"^"Vj[#r   c                 L    | j                  d      }| j                  |||      S )a~  Simulates a given SecurityHealthAnalyticsCustomModule and Resource.

      Args:
        request: (SecuritycenterProjectsSecurityHealthAnalyticsSettingsCustomModulesSimulateRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (SimulateSecurityHealthAnalyticsCustomModuleResponse) The response message.
      r  r   r   r   s       r   r  zUSecuritycenterV1.ProjectsSecurityHealthAnalyticsSettingsCustomModulesService.Simulate  rO  r   c                  F    t        j                  ddddgdgg ddddd	
      S )NzOv1/projects/{projectsId}/securityHealthAnalyticsSettings/customModules:simulater   zNsecuritycenter.projects.securityHealthAnalyticsSettings.customModules.simulater   r  r  QSecuritycenterProjectsSecurityHealthAnalyticsSettingsCustomModulesSimulateRequestr  Fr   r   r   r   r   r   zUSecuritycenterV1.ProjectsSecurityHealthAnalyticsSettingsCustomModulesService.<lambda>  s4    X%;%;cb zJ;JmP&r   c                 L    | j                  d      }| j                  |||      S )ar  Tests a specified or given SecurityHealthAnalyticsCustomModule.

      Args:
        request: (SecuritycenterProjectsSecurityHealthAnalyticsSettingsCustomModulesTestRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (TestSecurityHealthAnalyticsCustomModuleResponse) The response message.
      r  r   r   r   s       r   r  zQSecuritycenterV1.ProjectsSecurityHealthAnalyticsSettingsCustomModulesService.Test  r   r   c                  F    t        j                  ddddgdgg ddddd	
      S )Nz]v1/projects/{projectsId}/securityHealthAnalyticsSettings/customModules/{customModulesId}:testr   zJsecuritycenter.projects.securityHealthAnalyticsSettings.customModules.testr   r  r  MSecuritycenterProjectsSecurityHealthAnalyticsSettingsCustomModulesTestRequestr  Fr   r   r   r   r   r   zUSecuritycenterV1.ProjectsSecurityHealthAnalyticsSettingsCustomModulesService.<lambda>  s4    !7!7q^xH'FiL"r   r   r  r   s   @r   r   r    s    `DE
8F8F8C8D8$N 8E8H8Dr   r   c                   V     e Zd ZdZdZ fdZddZd e_        ddZd e_         xZ	S )	USecuritycenterV1.ProjectsSecurityHealthAnalyticsSettingsEffectiveCustomModulesServicez_Service class for the projects_securityHealthAnalyticsSettings_effectiveCustomModules resource.r   c                 N    t         t        j                  |   |       i | _        y r   )r   r   r   r   r   r   s     r   r   z^SecuritycenterV1.ProjectsSecurityHealthAnalyticsSettingsEffectiveCustomModulesService.__init__  s%    aacgqrxydr   c                 L    | j                  d      }| j                  |||      S )a  Retrieves an EffectiveSecurityHealthAnalyticsCustomModule.

      Args:
        request: (SecuritycenterProjectsSecurityHealthAnalyticsSettingsEffectiveCustomModulesGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule) The response message.
      r  r   r   r   s       r   r  zYSecuritycenterV1.ProjectsSecurityHealthAnalyticsSettingsEffectiveCustomModulesService.Get
  r  r   c                  F    t        j                  ddddgdgg ddddd	
      S )Nzjv1/projects/{projectsId}/securityHealthAnalyticsSettings/effectiveCustomModules/{effectiveCustomModulesId}r   zRsecuritycenter.projects.securityHealthAnalyticsSettings.effectiveCustomModules.getr   r   r   USecuritycenterProjectsSecurityHealthAnalyticsSettingsEffectiveCustomModulesGetRequestr  Fr   r   r   r   r   r   z^SecuritycenterV1.ProjectsSecurityHealthAnalyticsSettingsEffectiveCustomModulesService.<lambda>  s4     6 6~fxH"qd!r   c                 L    | j                  d      }| j                  |||      S )a  Returns a list of all EffectiveSecurityHealthAnalyticsCustomModules for the given parent. This includes resident modules defined at the scope of the parent, and inherited modules, inherited from CRM ancestors.

      Args:
        request: (SecuritycenterProjectsSecurityHealthAnalyticsSettingsEffectiveCustomModulesListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListEffectiveSecurityHealthAnalyticsCustomModulesResponse) The response message.
      r   r   r   r   s       r   r   zZSecuritycenterV1.ProjectsSecurityHealthAnalyticsSettingsEffectiveCustomModulesService.List%  r   r   c                  J    t        j                  ddddgdgddgddd	d
d      S )NzOv1/projects/{projectsId}/securityHealthAnalyticsSettings/effectiveCustomModulesr   zSsecuritycenter.projects.securityHealthAnalyticsSettings.effectiveCustomModules.listr   r   r   r8  r   VSecuritycenterProjectsSecurityHealthAnalyticsSettingsEffectiveCustomModulesListRequestr  Fr   r   r   r   r   r   z^SecuritycenterV1.ProjectsSecurityHealthAnalyticsSettingsEffectiveCustomModulesService.<lambda>2  s9    !7!7cg zJ +.;rV"r   r   r;  r   s   @r   r   r)     s1    iME
8C8Dr   r   c                   &     e Zd ZdZdZ fdZ xZS )?SecuritycenterV1.ProjectsSecurityHealthAnalyticsSettingsServicezHService class for the projects_securityHealthAnalyticsSettings resource.r   c                 N    t         t        j                  |   |       i | _        y r   )r   r   r   r   r   r   s     r   r   zHSecuritycenterV1.ProjectsSecurityHealthAnalyticsSettingsService.__init__E  r  r   rk  r   s   @r   r   r2  @  s    R6E r   r   c                   >     e Zd ZdZdZ fdZddZd e_         xZS )>SecuritycenterV1.ProjectsSourcesFindingsExternalSystemsServicezIService class for the projects_sources_findings_externalSystems resource.r   c                 N    t         t        j                  |   |       i | _        y r   )r   r   r   r   r   r   s     r   r   zGSecuritycenterV1.ProjectsSourcesFindingsExternalSystemsService.__init__O  r  r   c                 L    | j                  d      }| j                  |||      S )aU  Updates external system. This is for a given finding.

      Args:
        request: (SecuritycenterProjectsSourcesFindingsExternalSystemsPatchRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudSecuritycenterV1ExternalSystem) The response message.
      r
  r   r   r   s       r   r
  zDSecuritycenterV1.ProjectsSourcesFindingsExternalSystemsService.PatchT  r   r   c                  H    t        j                  ddddgdgdgdddd	d
      S )Nzfv1/projects/{projectsId}/sources/{sourcesId}/findings/{findingsId}/externalSystems/{externalSystemsId}r   z>securitycenter.projects.sources.findings.externalSystems.patchr   r   r   r  @SecuritycenterProjectsSourcesFindingsExternalSystemsPatchRequestr  Fr   r   r   r   r   r   zGSecuritycenterV1.ProjectsSourcesFindingsExternalSystemsService.<lambda>a  s6    ("8"8zRxH"^"A\F#r   r   r  r   s   @r   r   r5  J  s"    S7E
8Er   r   c                        e Zd ZdZdZ fdZddZd e_        ddZd e_        ddZ	d	 e	_        dd
Z
d e
_        ddZd e_        ddZd e_         xZS )/SecuritycenterV1.ProjectsSourcesFindingsServicez9Service class for the projects_sources_findings resource.r   c                 N    t         t        j                  |   |       i | _        y r   )r   r   r   r   r   r   s     r   r   z8SecuritycenterV1.ProjectsSourcesFindingsService.__init__t  r  r   c                 L    | j                  d      }| j                  |||      S )a/  Filters an organization or source's findings and groups them by their specified properties. To group across all sources provide a `-` as the source id. Example: /v1/organizations/{organization_id}/sources/-/findings, /v1/folders/{folder_id}/sources/-/findings, /v1/projects/{project_id}/sources/-/findings.

      Args:
        request: (SecuritycenterProjectsSourcesFindingsGroupRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GroupFindingsResponse) The response message.
      r   r   r   r   s       r   r   z5SecuritycenterV1.ProjectsSourcesFindingsService.Groupy  r   r   c                  F    t        j                  ddddgdgg ddddd	
      S )Nz;v1/projects/{projectsId}/sources/{sourcesId}/findings:groupr   z.securitycenter.projects.sources.findings.groupr   r  r  1SecuritycenterProjectsSourcesFindingsGroupRequestr  Fr   r   r   r   r   r   z8SecuritycenterV1.ProjectsSourcesFindingsService.<lambda>  s4    ("8"8OB zJ3,M2#r   c                 L    | j                  d      }| j                  |||      S )a  Lists an organization or source's findings. To list across all sources provide a `-` as the source id. Example: /v1/organizations/{organization_id}/sources/-/findings.

      Args:
        request: (SecuritycenterProjectsSourcesFindingsListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListFindingsResponse) The response message.
      r   r   r   r   s       r   r   z4SecuritycenterV1.ProjectsSourcesFindingsService.List  r   r   c                  J    t        j                  ddddgdgg ddddd	d
      S )Nz5v1/projects/{projectsId}/sources/{sourcesId}/findingsr   z-securitycenter.projects.sources.findings.listr   r   r  r   0SecuritycenterProjectsSourcesFindingsListRequestr  Fr   r   r   r   r   r   z8SecuritycenterV1.ProjectsSourcesFindingsService.<lambda>  s4    !7!7IA zJo-L1"r   c                 L    | j                  d      }| j                  |||      S )aS  Creates or updates a finding. The corresponding source must exist for a finding creation to succeed.

      Args:
        request: (SecuritycenterProjectsSourcesFindingsPatchRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Finding) The response message.
      r
  r   r   r   s       r   r
  z5SecuritycenterV1.ProjectsSourcesFindingsService.Patch  r   r   c                  H    t        j                  ddddgdgdgdddd	d
      S )NzBv1/projects/{projectsId}/sources/{sourcesId}/findings/{findingsId}r   z.securitycenter.projects.sources.findings.patchr   r   r   r  1SecuritycenterProjectsSourcesFindingsPatchRequestr  Fr   r   r   r   r   r   z8SecuritycenterV1.ProjectsSourcesFindingsService.<lambda>  s6    ("8"8VBxH"^"M$#r   c                 L    | j                  d      }| j                  |||      S )a  Updates the mute state of a finding.

      Args:
        request: (SecuritycenterProjectsSourcesFindingsSetMuteRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Finding) The response message.
      r  r   r   r   s       r   r  z7SecuritycenterV1.ProjectsSourcesFindingsService.SetMute  r  r   c                  F    t        j                  ddddgdgg ddddd	
      S )NzJv1/projects/{projectsId}/sources/{sourcesId}/findings/{findingsId}:setMuter   z0securitycenter.projects.sources.findings.setMuter   r  r  3SecuritycenterProjectsSourcesFindingsSetMuteRequestr  Fr   r   r   r   r   r   z8SecuritycenterV1.ProjectsSourcesFindingsService.<lambda>  s4    H$:$:^DxH*&O$%r   c                 L    | j                  d      }| j                  |||      S )a  Updates the state of a finding.

      Args:
        request: (SecuritycenterProjectsSourcesFindingsSetStateRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Finding) The response message.
      r  r   r   r   s       r   r  z8SecuritycenterV1.ProjectsSourcesFindingsService.SetState  rO  r   c                  F    t        j                  ddddgdgg ddddd	
      S )NzKv1/projects/{projectsId}/sources/{sourcesId}/findings/{findingsId}:setStater   z1securitycenter.projects.sources.findings.setStater   r  r  4SecuritycenterProjectsSourcesFindingsSetStateRequestr  Fr   r   r   r   r   r   z8SecuritycenterV1.ProjectsSourcesFindingsService.<lambda>  s4    X%;%;_ExH+.P$&r   c                 L    | j                  d      }| j                  |||      S )a  Updates security marks.

      Args:
        request: (SecuritycenterProjectsSourcesFindingsUpdateSecurityMarksRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (SecurityMarks) The response message.
      r   r   r   r   s       r   r   zCSecuritycenterV1.ProjectsSourcesFindingsService.UpdateSecurityMarks   r   r   c                  J    t        j                  ddddgdgddgddd	d
d      S )NzPv1/projects/{projectsId}/sources/{sourcesId}/findings/{findingsId}/securityMarksr   z<securitycenter.projects.sources.findings.updateSecurityMarksr   r   r   r   r   ?SecuritycenterProjectsSourcesFindingsUpdateSecurityMarksRequestr   Fr   r   r   r   r   r   z8SecuritycenterV1.ProjectsSourcesFindingsService.<lambda>  s9    0F0FdPxH!<0"%[*1r   r   r  r   s   @r   r   r;  o  sn    C'E
8E8D8E8G8H8)%%r   r   c                   >     e Zd ZdZdZ fdZddZd e_         xZS )'SecuritycenterV1.ProjectsSourcesServicez0Service class for the projects_sources resource.r   c                 N    t         t        j                  |   |       i | _        y r   )r   r   r   r   r   r   s     r   r   z0SecuritycenterV1.ProjectsSourcesService.__init__   rL  r   c                 L    | j                  d      }| j                  |||      S )a!  Lists all sources belonging to an organization.

      Args:
        request: (SecuritycenterProjectsSourcesListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListSourcesResponse) The response message.
      r   r   r   r   s       r   r   z,SecuritycenterV1.ProjectsSourcesService.List%  r   r   c                  J    t        j                  ddddgdgddgddd	d
d      S )Nz v1/projects/{projectsId}/sourcesr   z$securitycenter.projects.sources.listr   r   r   r	  r   (SecuritycenterProjectsSourcesListRequestr  Fr   r   r   r   r   r   z0SecuritycenterV1.ProjectsSourcesService.<lambda>2  s9    !7!748 zJ +.,D0"r   r   r  r   s   @r   r   rP    s"    :E
8Dr   r   c                   &     e Zd ZdZdZ fdZ xZS ) SecuritycenterV1.ProjectsServicez(Service class for the projects resource.r   c                 N    t         t        j                  |   |       i | _        y r   )r   r   r   r   r   r   s     r   r   z)SecuritycenterV1.ProjectsService.__init__E  s#    ,,d<VDdr   rk  r   s   @r   r   rV  @  s    2E r   r   )r   NTNNFFNNNN)Sr   r   r   r   messagesMESSAGES_MODULEr   MTLS_BASE_URL_PACKAGE_SCOPES_VERSION
_CLIENT_ID_CLIENT_SECRET_USER_AGENT_CLIENT_CLASS_NAME_URL_VERSION_API_KEYr   r   BaseApiServicer   r   r   r    r"   r$   r&   r(   r*   r,   r.   r0   r2   r4   r6   r8   r:   r<   r>   r@   rB   rD   rF   rH   rJ   rL   rN   rP   rR   rT   rV   rX   rZ   r\   r^   r`   rb   rd   rf   rh   rj   rl   rn   rp   rr   rt   rv   rx   rz   r|   r~   r   r   r   r   r   r   r   r   r   r   r   r   r   s   @r   r   r   
   s)   G/5(?-(=>'(*"."+),()-6:/4<@?C	L/\YX44 YvOh&=&= Obj@W@W jX>I`I` >@#83J3J #J#x66 #JY8+B+B Yv 7 7 O("9"9 ObO(*A*A Ob`8CZCZ `D>HLcLc >@h6M6M #X5L5L #Jjh&=&= jX#h55 #Jx.. t8#:#: tl#(?(? #JOH,C,C ObjhF]F] jX>xOfOf >@#9P9P #J#X%<%< #JY1H1H Yvh&=&= O(?(? ObO0G0G Obtx'>'> tlO1H1H Ob`I`I` `D>RZRiRi >@H<S<S #H_H_ #J#HLcLc #JX=T=T #83J3J #J#(BYBY #J>x7N7N >@#(?(? #J#8;R;R #JEH,C,C ENEH$;$; EN#H,C,C #J>X44 >@Yh55 YvOx'>'> ObjAXAX jX>(JaJa >@#H4K4K #J# 7 7 #JYH,C,C Yv!8!8 O8#:#: ObO8+B+B Ob`HD[D[ `D>XMdMd >@x7N7N #h6M6M #Jjx'>'> jX#x66 #J//  r   r   N)
r   
__future__r   apitools.base.pyr   7googlecloudsdk.generated_clients.apis.securitycenter.v1r   rX  BaseApiClientr   r   r   r   <module>ri     s)    = ' % j~Tx-- ~Tr   