Ë
    €Ï  ã                   ó„   — 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
 dd	d
œZ G d„ dej                  «      Zy)ú%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                   ó*   — e Zd ZdZeZed„ «       Zd„ Zy)ÚGetProtectedResourcesSummaryr   c                 ó2   — t        j                  | dd«       y )NTz	--keyname)r	   ÚAddKmsKeyResourceArgForKMS)Úparsers    ú<lib/surface/kms/inventory/get_protected_resources_summary.pyÚArgsz!GetProtectedResourcesSummary.Args-   s   € ä×,Ñ,¨V°T¸;ÕGó    c                 óD   — |j                   }t        j                  |«      S )N)Úkeynamer   r   )ÚselfÚargsr   s      r   ÚRunz GetProtectedResourcesSummary.Run1   s   € Øl‰l€GÜ×1Ñ1°'Ó:Ð:r   N)	Ú__name__Ú
__module__Ú__qualname__Ú__doc__ÚDETAILED_HELPÚdetailed_helpÚstaticmethodr   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   