
    S                         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l
mZ  G d	 d
e	j                        Zy)z.Surface for retrieving a single firewall rule.    )absolute_import)division)unicode_literals)appengine_firewall_api_client)base)firewall_rules_util)flagsc                   0    e Zd ZdZdddZed        Zd Zy)Describez/Prints the fields of a specified firewall rule.z{description}z`          To describe an App Engine firewall rule, run:

            $ {command} 1234
          )DESCRIPTIONEXAMPLESc                 B    t         j                  j                  |        y N)r	   FIREWALL_PRIORITY_FLAGAddToParser)parsers    *lib/surface/app/firewall_rules/describe.pyArgszDescribe.Args)   s    	  ,,V4    c                     t        j                  | j                               }t        j                  ||j
                        }|j                  |      S r   )
api_clientGetApiClientForTrackReleaseTrackr   ParseFirewallRulepriorityGet)selfargsclientresources       r   RunzDescribe.Run-   s@    ,,T->->-@AF"44VT]]KH::hr   N)__name__
__module____qualname____doc__detailed_helpstaticmethodr   r!    r   r   r   r      s/    7 		- 5 5 r   r   N)r%   
__future__r   r   r   googlecloudsdk.api_lib.app.apir   r   googlecloudsdk.callioper   googlecloudsdk.command_lib.appr   r	   DescribeCommandr   r(   r   r   <module>r.      s1    5 &  ' V ( > 0 t##  r   