
                         \   d Z ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddl	m
Z
 ej                   ej                  ej                  j                  ej                  j                  ej                  j                         ej"                   G d d	ej$                                             Zy
)z4Command to show metadata for a specified capability.    )absolute_import)division)unicode_literals)capabilities)base)flagsc                   &    e Zd ZdZed        Zd Zy)Describea  Show whether a Capability is enabled.

  Command to show whether a Capability is enabled.

  This command can fail for the following reasons:
      * The capability specified does not exist.
      * The active account does not have permission to access the given
        folder/capability.

  ## EXAMPLES

  The following command prints metadata for a capability with the ID
  `folders/123/capabilities/app-management`:

    $ {command} "folders/123/capabilities/app-management"
  c                 L    t        j                  d      j                  |        y )Nzyou want to describe.)r   CapabilityIdArgAddToParser)parsers    5lib/surface/resource_manager/capabilities/describe.pyArgszDescribe.Args1   s    	12>>vF    c                 @    t        j                  |j                        S )N)r   GetCapabilityid)selfargss     r   RunzDescribe.Run5   s    %%dgg..r   N)__name__
__module____qualname____doc__staticmethodr   r    r   r   r
   r
      s"    " G G/r   r
   N)r   
__future__r   r   r   'googlecloudsdk.api_lib.resource_managerr   googlecloudsdk.callioper   +googlecloudsdk.command_lib.resource_managerr   HiddenReleaseTracksReleaseTrackALPHABETAGADefaultUniverseOnlyDescribeCommandr
   r   r   r   <module>r*      s    ; &  ' @ ( = T..33T5F5F5I5I /t## /  
/r   