
    	                        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  \R                  " \R                  R                  \R                  R                   5       " S
 S\R"                  5      5       rg)z#Command to get a SHA custom module.    )absolute_import)division)unicode_literals)clients)base)	constants)flags)parsingc                   .    \ rS rSrSr\S 5       rS rSrg)Describe   a  Get the details of a Security Health Analytics custom module.

Get the details of a Security Health Analytics custom module. It does not
resolve INHERITED enablement states
to ENABLED or DISABLED for modules created at ancestor levels. For example, if
the module is enabled
at the ancestor level, modules for all child resources will have the
enablement state set to
INHERITED. Use `gcloud scc manage custom-modules sha describe-effective` to
retrieve a custom module with its effective enablement state.

## EXAMPLES

To get the details of a Security Health Analytics custom module with ID
`123456` for organization `123`, run:

  $ {command} 123456 --organization=123

To get the details of a Security Health Analytics custom module with ID
`123456` for folder `456`, run:

  $ {command} 123456 --folder=456

To get the details of a Security Health Analytics custom module with ID
`123456` for project `789`, run:

  $ {command} 123456 --project=789

You can also specify the parent more generally:

  $ {command} 123456 --parent=organizations/123

Or just specify the fully qualified module name:

  $ {command}
  organizations/123/locations/global/securityHealthAnalyticsCustomModules/123456
c                     [         R                  " [        R                  R                  S9R                  U 5        [         R                  " SS9R                  U 5        g )Nmodule_typeF)required)r	   CreateModuleIdOrNameArgr   CustomModuleTypeSHAAddToParserCreateParentFlag)parsers    5lib/surface/scc/manage/custom_modules/sha/describe.pyArgsDescribe.ArgsD   sB    	!!..22k&	E*66v>    c                     [         R                  " U[        R                  R                  S9n[
        R                  " 5       nUR                  U5      $ )Nr   )r
   GetModuleNameFromArgsr   r   r   r   SHACustomModuleClientGet)selfargsnameclients       r   RunDescribe.RunK   sB    (()4488D **,F::dr    N)	__name__
__module____qualname____firstlineno____doc__staticmethodr   r$   __static_attributes__r&   r   r   r   r      s!    $L ? ?r   r   N)r+   
__future__r   r   r   %googlecloudsdk.api_lib.scc.manage.shar   googlecloudsdk.callioper   %googlecloudsdk.command_lib.scc.manager   r	   r
   ReleaseTracksReleaseTrackGAALPHADescribeCommandr   r&   r   r   <module>r7      si    * &  ' 9 ( ; 7 9 D%%(($*;*;*A*AB5t## 5 C5r   