
                             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
\
R                  5      rg)zJCommand to list available features that can be specified in an SSL policy.    )absolute_import)division)unicode_literals)base_classes)ssl_policies_utils)base)
propertiesc                   .    \ rS rSrSr\S 5       rS rSrg)ListAvailableFeatures   a.  List available features that can be specified in an SSL policy.

*{command}* lists available features that can be specified as part of the
list of custom features in an SSL policy.

An SSL policy specifies the server-side support for SSL features. An SSL
policy can be attached to a TargetHttpsProxy or a TargetSslProxy. This affects
connections between clients and the load balancer. SSL
policies do not affect the connection between the load balancers and the
backends. SSL policies are used by Application Load Balancers and proxy
Network Load Balancers.
c                 Z    UR                  SSS9  UR                  R                  S5        g)z"Set up arguments for this command.z--regionz:If provided, only features for the given region are shown.)helpz	table([])N)add_argumentdisplay_info	AddFormat)clsparsers     ;lib/surface/compute/ssl_policies/list_available_features.pyArgsListAvailableFeatures.Args)   s4     I  K !!+.    c                 H   [         R                  " U R                  5       5      n[        R                  " U5      n[
        R                  R                  R                  R                  5       nUR                  XAR                  S5      (       a  UR                  5      $ S5      $ )z9Issues the request to list available SSL policy features.regionN)r   ComputeApiHolderReleaseTrackr   SslPolicyHelperr	   VALUEScoreproject	GetOrFailr   IsSpecifiedr   )selfargsholderhelperr   s        r   RunListAvailableFeatures.Run1   s    **4+<+<+>?F//7F$$,,668G'' 0 0 : :F F@DF Fr    N)	__name__
__module____qualname____firstlineno____doc__classmethodr   r&   __static_attributes__r(   r   r   r   r      s!     / /Fr   r   N)r-   
__future__r   r   r   googlecloudsdk.api_lib.computer   +googlecloudsdk.api_lib.compute.ssl_policiesr   googlecloudsdk.callioper   googlecloudsdk.corer	   ListCommandr   r(   r   r   <module>r6      s4    Q &  ' 7 J ( *FD,, Fr   