
                             S r SSKJr  SSKJr  SrSrSrSrSr	\4S	 jr
\4S
 jr " S S\5      r " S S\R                  5      rg)z7Useful commands for interacting with the Cloud SCC API.    )apis)
exceptionssecuritycenterv1beta1v1	v1p1beta1v2c                 8    [         R                  " [        U 5      $ )zImport and return the appropriate Cloud SCC client.

Args:
  version: str, the version of the API desired.

Returns:
  Cloud SCC client for the appropriate release track.
)r   GetClientInstanceAPI_NAMEversions    7lib/googlecloudsdk/api_lib/scc/securitycenter_client.py	GetClientr      s     
		'	22    c                 8    [         R                  " [        U 5      $ )z<Import and return the appropriate Cloud SCC messages module.)r   GetMessagesModuler   r   s    r   GetMessagesr   (   s    			'	22r   c                   ,    \ rS rSrSrSS jrSS jrSrg)	AssetsClient-   z=Client for Security Center service in the for the Asset APIs.Nc                     U=(       d
    [        5       U l        U=(       d
    [        5       U l        U R                  R                  U l        g N)r   clientr   messagesorganizations_assets_assetservice)selfr   r   s      r   __init__AssetsClient.__init__0   s0    'IKDK-DM99Dr   c                 p    U R                   R                  nU" XS9nU R                  R                  U5      $ )N)parentfilter)r   ,SecuritycenterOrganizationsAssetsListRequestr   List)r   r"   request_filterlist_req_typelist_reqs        r   r%   AssetsClient.List5   s2    ]]OOMFBH""8,,r   )r   r   r   )NNr   )__name__
__module____qualname____firstlineno____doc__r   r%   __static_attributes__ r   r   r   r   -   s    E:
-r   r   c                       \ rS rSrSrSrg)Error=   z)Base class for exceptions in this module.r0   N)r*   r+   r,   r-   r.   r/   r0   r   r   r2   r2   =   s    1r   r2   N)r.   googlecloudsdk.api_lib.utilr   googlecloudsdk.corer   r   BETA_API_VERSIONV1_API_VERSIONV1P1BETA1_API_VERSIONV2_API_VERSIONr   r   objectr   r2   r0   r   r   <module>r;      s_    > - * #  % 	3 ' 3
-6 - 2J 2r   