
    2	                         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	  G d dej                        Zd	Z e	j                  d
deddd      ZddZy)z2Flags and helpers for the compute routes commands.    )absolute_import)division)unicode_literals)
completers)flagsc                        e Zd Z fdZ xZS )NextHopGatewaysCompleterc                 2    t        t        | 
  dddd| y )Ncompute.nextHopGatewayszalpha compute routes list --uri)
collectionlist_command )superr	   __init__)selfkwargs	__class__s     6lib/googlecloudsdk/command_lib/compute/routes/flags.pyr   z!NextHopGatewaysCompleter.__init__   s(    	
"D2 ,6 	    )__name__
__module____qualname__r   __classcell__)r   s   @r   r	   r	      s     r   r	   a6      table(
      name,
      network.basename(),
      destRange,
      firstof(
          nextHopInstance,
          nextHopGateway,
          nextHopIp,
          nextHopVpnTunnel,
          nextHopPeering,
          nextHopNetwork,
          nextHopHub).scope()
        :label=NEXT_HOP,
      priority
    )z--next-hop-gatewayznext hop gatewayFr   zSpecifies the gateway that should handle matching packets. Currently, the only acceptable value is `default-internet-gateway` which is a gateway operated by Google Compute Engine.)nameresource_name	completerrequiredglobal_collection
short_helpc                 R    t        j                  dt        j                  || d      S )Nroutezcompute.routes)r   r   pluralr   r   )compute_flagsResourceArgumentcompute_completersRoutesCompleter)r   r"   s     r   RouteArgumentr'   A   s*    		'	'"22(
* *r   N)TF)__doc__
__future__r   r   r   "googlecloudsdk.command_lib.computer   r%   r   r#   ListCommandCompleterr	   DEFAULT_LIST_FORMATr$   NEXT_HOP_GATEWAY_ARGr'   r   r   r   <module>r.      sb    9 &  ' O E1FF 	 " 6}55	$&/	
 *r   