
    (                         S r SSKJr  SSKJr  SSKJ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.    )absolute_import)division)unicode_literals)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)	AssetsClient0   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__3   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.List8   s2    ]]OOMFBH""8,,r   )r    r   r   )NNr   )__name__
__module____qualname____firstlineno____doc__r"   r(   __static_attributes__ r   r   r   r   0   s    E:
-r   r   c                       \ rS rSrSrSrg)Error@   z)Base class for exceptions in this module.r3   N)r-   r.   r/   r0   r1   r2   r3   r   r   r5   r5   @   s    1r   r5   N)r1   
__future__r   r   r   googlecloudsdk.api_lib.utilr   googlecloudsdk.corer   r   BETA_API_VERSIONV1_API_VERSIONV1P1BETA1_API_VERSIONV2_API_VERSIONr   r   objectr   r5   r3   r   r   <module>r?      sf    > &  ' , * #  % 	3 ' 3
-6 - 2J 2r   