
    |                         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  S
rSr SS jr SS jrS rSS jr SS jrSS jrg)z'Flags for Firewall Attachment commands.    )absolute_import)division)unicode_literals)attachment_api)arg_parsers)concepts)concept_parsers)presentation_specsFIREWALL_ATTACHMENTz6networksecurity.projects.locations.firewallAttachmentsc                 V   [         R                  " U 5      n[        R                  " [        SU[        R
                  [        R                  " SSSS9[        R                  " SSSS9S	9n[        R                  " [        US
US9n[        R                  " U/5      R                  U5      $ )z"Adds Firewall attachment resource.zfirewall attachmentzonezZone of the {resource}.locationsId)parameter_namezattachment-namezName of the {resource}firewallAttachmentsId)api_version
projectsIdr   r   T)nameconcept_specrequired
group_help)r   GetApiVersionr   ResourceSpecATTACHMENT_RESOURCE_COLLECTION DEFAULT_PROJECT_ATTRIBUTE_CONFIG ResourceParameterAttributeConfigr
   ResourcePresentationSpecATTACHMENT_RESOURCE_NAMEr	   ConceptParserAddToParser)release_trackparser	help_textr   resource_specpresentation_specs         Clib/googlecloudsdk/command_lib/network_security/attachment_flags.pyAddAttachmentResourcer&   !   s     ,,];+''$::;;

#&
 %EE

"0-  )AA# 	 
	&	&(9':	;	G	G	OO    c           	      R    U R                  SSSUU[        R                  " 5       S9  g)zAdds --max-wait flag.z
--max-waitmax_waitF)destr   defaulthelptypeN)add_argumentr   Duration)r!   default_max_waitr"   s      r%   
AddMaxWaitr1   A   s2     	!  r'   c                    ^  U 4S j$ )Nc                 J   > [         R                  " T5      U R                  -   $ )N)r   GetEffectiveApiEndpointr   )xr    s    r%   <lambda> MakeGetUriFunc.<locals>.<lambda>S   s    66}ENr'    )r    s   `r%   MakeGetUriFuncr9   Q   s    Nr'   c                 &    U R                  SSUS9  g )Nz	--projectTr   r,   r.   r!   r"   s     r%   AddProjectArgr>   W   s    kDyAr'   c                 &    U R                  SSUS9  g )Nz--producer-forwarding-ruleTr;   r<   r=   s     r%   AddProducerForwardingRuleArgr@   [   s     	"T	  r'   c                 $    U R                  SXS9  g )Nz--zoner;   r<   )r!   r   r"   s      r%   
AddZoneArgrB   d   s    hBr'   N)z$Path to Firewall Attachment resource)zTime to synchronously wait for the operation to complete, after which the operation continues asynchronously. Ignored if --no-async isn't specified. See $ gcloud topic datetimes for information on time formats.)zProject of the attachment)zKPath of a forwarding rule that points to a backend with GENEVE-capable VMs.)TzZone of the attachment)__doc__
__future__r   r   r   <googlecloudsdk.api_lib.network_security.firewall_attachmentsr   googlecloudsdk.callioper    googlecloudsdk.calliope.conceptsr   (googlecloudsdk.command_lib.util.conceptsr	   r
   r   r   r&   r1   r9   r>   r@   rB   r8   r'   r%   <module>rI      sc    . &  ' W / 5 D G0 <  5PF c B \Cr'   