
                             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	S
.r " S S\R                  5      rg)%Gets the protected resources summary.    )absolute_import)division)unicode_literals)	inventory)base)resource_argsa;  
         *{command}* returns a summary of the resources a key is protecting.

         The summary includes how many projects contain protected resources,
         how many protected resources there are, what are the types of protected
         resources, and the count for each type of protected resource.
       z~
         To view the summary of protected resources for the key `puppy`, run:

           $ {command} --keyname=puppy
       )DESCRIPTIONEXAMPLESc                   2    \ rS rSrSr\r\S 5       rS r	Sr
g)GetProtectedResourcesSummary)   r   c                 4    [         R                  " U SS5        g )NTz	--keyname)r	   AddKmsKeyResourceArgForKMS)parsers    <lib/surface/kms/inventory/get_protected_resources_summary.pyArgs!GetProtectedResourcesSummary.Args-   s    ,,VT;G    c                 F    UR                   n[        R                  " U5      $ )N)keynamer   r   )selfargsr   s      r   Run GetProtectedResourcesSummary.Run1   s    llG11'::r    N)__name__
__module____qualname____firstlineno____doc__DETAILED_HELPdetailed_helpstaticmethodr   r   __static_attributes__r   r   r   r   r   )   s#    --H H;r   r   N)r!   
__future__r   r   r   #googlecloudsdk.api_lib.kmsinventoryr   googlecloudsdk.callioper   googlecloudsdk.command_lib.kmsr	   r"   Commandr   r   r   r   <module>r+      s=    , &  ' 9 ( 8 
;4<< 
;r   