
                             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  \R                  " \R                  R                  5       " S	 S
\R                  5      5       rg)zG`gcloud alpha scc settings services modules describe-explicit` command.    )absolute_import)division)unicode_literals)base)flags)utils)logc                   8    \ rS rSrSrSSS.r\S 5       rS rSr	g	)
DescribeExplicit   z8Display module settings of Security Command Center(SCC).zO      Describe explicit module settings of Security Command Center(SCC).
      z        To describe the explict 'OPEN_FIREWALL' module setting in service 'SECURITY_HEALTH_ANALYTICS' of project "12345", run:

          $ {command} --project=12345 --service=SECURITY_HEALTH_ANALYTICS --module=OPEN_FIREWALL
      )DESCRIPTIONEXAMPLESc                     [         R                  " U 5        [         R                  " U 5        [         R                  " U 5        g )N)r   ExtractRequiredFlagsAddServiceArgumentAddModuleArgument)parsers    >lib/surface/scc/settings/services/modules/describe_explicit.pyArgsDescribeExplicit.Args,   s,    	v&	V$	F#    c                    [         R                  " 5       R                  U5      nUR                  (       a  UR                  R                  O/ nU Vs/ s H4  oDR
                  UR                  :X  d  M  UR                  R                  PM6     nnU(       a  US   $ [        R                  R                  SR                  UR                  5      5        gs  snf )z*Call corresponding APIs based on the flag.r   zWNo setting found for module {}. The module may not exist or no explicit setting is set.N)r   SettingsClientDescribeServiceExplicitmodulesadditionalPropertieskeymodulevaluemoduleEnablementStater	   statusPrintformat)selfargsresponseconfigspstates         r   RunDescribeExplicit.Run2   s    ##%==dCH7?7G7Gh33RG/6/6!%%4;;:N%%%w 
  1Xo	jj
c6$++  s   C3C N)
__name__
__module____qualname____firstlineno____doc__detailed_helpstaticmethodr   r*   __static_attributes__r,   r   r   r   r      s/    @

- $ $
r   r   N)r1   
__future__r   r   r   googlecloudsdk.callioper   'googlecloudsdk.command_lib.scc.settingsr   r   googlecloudsdk.corer	   ReleaseTracksReleaseTrackALPHADescribeCommandr   r,   r   r   <module>r=      sX    N &  ' ( 9 9 # D%%++,#t++ # -#r   