ó
    €Ï¬  ã                   óÞ   • 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	\	R                  5      r " S
 S\	R                  5      r " S S\	R                  5      rSS jrS rg)z>Flags and helpers for the compute target-tcp-proxies commands.é    )Úabsolute_import)Údivision)Úunicode_literals)Úarg_parsers)Ú
completers)Úflagsc                   ó(   ^ • \ rS rSrU 4S jrSrU =r$ )ÚGlobalTargetTcpProxiesCompleteré   c                 ó4   >• [         [        U ]
  " SSSS.UD6  g )Núcompute.targetTcpProxiesz.compute target-tcp-proxies list --global --uri©Ú
collectionÚlist_command© )Úsuperr
   Ú__init__©ÚselfÚkwargsÚ	__class__s     €ÚBlib/googlecloudsdk/command_lib/compute/target_tcp_proxies/flags.pyr   Ú(GlobalTargetTcpProxiesCompleter.__init__   s(   ø€ Ü	Ô
)¨4Ò9ð Ø-ØEñð óó    r   ©Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__r   Ú__static_attributes__Ú__classcell__©r   s   @r   r
   r
      s   ø† ÷ó r   r
   c                   ó(   ^ • \ rS rSrU 4S jrSrU =r$ )Ú!RegionalTargetTcpProxiesCompleteré#   c                 ó4   >• [         [        U ]
  " SSSS.UD6  g )Núcompute.regionTargetTcpProxiesz7compute target-tcp-proxies list --filter=region:* --urir   r   )r   r$   r   r   s     €r   r   Ú*RegionalTargetTcpProxiesCompleter.__init__&   s(   ø€ Ü	Ô
+¨TÒ;ð Ø3ØNñð ór   r   r   r"   s   @r   r$   r$   #   s   ø† ÷ó r   r$   c                   ó(   ^ • \ rS rSrU 4S jrSrU =r$ )ÚTargetTcpProxiesCompleteré-   c                 óF   >• [         [        U ]
  " SS[        [        /0UD6  g )Nr   r   )r   r*   r   r
   r$   r   s     €r   r   Ú"TargetTcpProxiesCompleter.__init__/   s-   ø€ Ü	Ô
# TÒ3ñ ä+Ô-Nð
ðð ó	r   r   r   r"   s   @r   r*   r*   -   s   ø† ÷ó r   r*   c                 ón   • [         R                  " S[        USU SU(       a  SOS [         R                  S9$ )Nztarget TCP proxyztarget TCP proxiesr   r'   )Úresource_nameÚ	completerÚpluralÚcustom_pluralÚrequiredÚglobal_collectionÚregional_collectionÚregion_explanation)Úcompute_flagsÚResourceArgumentr*   ÚREGION_PROPERTY_EXPLANATION)r3   r1   Úallow_regionals      r   ÚTargetTcpProxyArgumentr;   7   s=   € Ü	×	'Ò	'Ø&Ü)ØØ(ØØ2æ	ñ ;Ø!Ü&×BÑBñ	
Dð 	Dr   c                 óB   • U R                  S[        R                  SS9  g)zAdds the --proxy-bind argument.z--proxy-bindaI        This field only applies when the forwarding rule that references this
      target proxy has a `--load-balancing-scheme` set to `INTERNAL_SELF_MANAGED`.

      When this field is set to `true`, Envoy proxies set up inbound traffic
      interception and bind to the IP address and port specified in the
      forwarding rule. This is generally useful when using Traffic Director to
      configure Envoy as a gateway or middle proxy (in other words, not a
      sidecar proxy). The Envoy proxy listens for inbound requests and handles
      requests when it receives them.
      )ÚactionÚhelpN)Úadd_argumentr   ÚStoreTrueFalseAction)Úparsers    r   ÚAddProxyBindrB   D   s&   € à×ÑØÜ×-Ñ-ð

ð ò r   N)TFF)Ú__doc__Ú
__future__r   r   r   Úgooglecloudsdk.callioper   Ú"googlecloudsdk.command_lib.computer   Úcompute_completersr   r7   ÚListCommandCompleterr
   r$   r*   r;   rB   r   r   r   Ú<module>rI      sa   ðñ Eå &Ý Ý 'å /Ý OÝ EôÐ&8×&MÑ&Mô ôÐ(:×(OÑ(Oô ôÐ 2× GÑ Gô ô
Dór   