
                         2   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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S
KJr  \	R$                  " \	R&                  R(                  \	R&                  R*                  5       " S S\	R,                  5      5       rg)z;Command to Get a Cloud Security Command Center mute config.    )absolute_import)division)print_function)unicode_literals)securitycenter_client)base)flags)util)
propertiesc                   :    \ rS rSrSrSSSS.r\S 5       rS rSr	g	)
Get!   z*Get a Security Command Center mute config.ai  
        To get a mute config given organization ``123'' with id ``test-mute-config'', run:

        $ {command} test-mute-config --organization=123

      To get a mute config given folder ``456'' with id
      ``test-mute-config'', run:

        $ {command} test-mute-config --folder=456

      To get a mute config given project ``789'' with id
      ``test-mute-config'', run:

        $ {command} test-mute-config --project=789

      To get a mute config given organization ``123'' with id
      ``test-mute-config'' and `location=eu`, run:

        $ {command} test-mute-config --organization=123 --location=euz
      This command uses the Security Command Center API. For more information,
      see [Security Command Center API.](https://cloud.google.com/security-command-center/docs/reference/rest))DESCRIPTIONEXAMPLESzAPI REFERENCEc                    [         R                  R                  U 5        [         R                  " U 5        [        R
                  R                  U 5        [        R                  R                  U 5        U R                  R                  [        R                  R                  R                  R                  5       5        g N)r	   MUTE_CONFIG_FLAGAddToParserAddParentGroup	scc_flagsAPI_VERSION_FLAGLOCATION_FLAGdisplay_info	AddFormatr   VALUEScoredefault_formatr   )parsers    "lib/surface/scc/muteconfigs/get.pyArgsGet.Args?   s}     
&&v.	 **62''/
!!*"3"3"8"8"G"G"K"K"MN    c                 "   [         R                  " XR                  5      n[        R                  " U5      nUR                  5       n[        R                  " XU5      n[        R                  " U5      nUR                  R                  U5      nU$ r   )scc_utilGetVersionFromArgumentsmute_configr   GetMessages0SecuritycenterOrganizationsMuteConfigsGetRequestr
   GenerateMuteConfigName	GetClientorganizations_muteConfigsr   )selfargsversionmessagesrequestclientresponses          r   RunGet.RunH   su    ..t5E5EFG$009HGGIG ))$AG",,W5F//33G<HOr"    N)
__name__
__module____qualname____firstlineno____doc__detailed_helpstaticmethodr    r3   __static_attributes__r5   r"   r   r   r   !   s9    2 BI&r+-4 O Or"   r   N)r:   
__future__r   r   r   r   googlecloudsdk.api_lib.sccr   googlecloudsdk.callioper   googlecloudsdk.command_lib.sccr	   r   r
   r$   *googlecloudsdk.command_lib.scc.muteconfigsgooglecloudsdk.corer   ReleaseTracksReleaseTrackGAALPHACommandr   r5   r"   r   <module>rI      sq     B &  % ' < ( = ; < ; * D%%(($*;*;*A*AB1$,, 1 C1r"   