
    E                         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ddde_        y)z*Command for describing target SSL proxies.    )absolute_import)division)unicode_literals)base_classes)utils)base)flagsc                   *    e Zd ZdZdZed        Zd Zy)Describez6Display detailed information about a target SSL proxy.Nc                     t        j                         t        _        t        j                  j	                  | d       y )Ndescribe)operation_type)r	   TargetSslProxyArgumentr   TARGET_SSL_PROXY_ARGAddArgument)parsers    2lib/surface/compute/target_ssl_proxies/describe.pyArgszDescribe.Args    s,    $)$@$@$BH!!!--fZ-P    c                    t        j                  | j                               }| j                  j	                  ||j
                        }|j                  j                  }|j                  j                  }|j                  |j                  |j                               }g }|j                  j                  |j                  d|fg|      }|rt        j                  |       |d   S )N)projecttargetSslProxyGetr   )r   ComputeApiHolderReleaseTrackr   ResolveAsResource	resourcesclientapitools_clientmessages!ComputeTargetSslProxiesGetRequestr   NameMakeRequeststargetSslProxiesr   RaiseToolException)	selfargsholderrefr   r    requesterrorsr   s	            r   RunzDescribe.Run%   s    **4+<+<+>?F

#
#
5
5dF<L<L
MC]]**F}}%%H88CHHJ 9 8G F**

!
!5'	23V=I v&Q<r   )__name__
__module____qualname____doc__r   staticmethodr   r,    r   r   r   r      s$    >Q Qr   r   z5Display detailed information about a target SSL proxyzg        *{command}* displays all data associated with a target SSL proxy
        in a project.
        )briefDESCRIPTIONN)r0   
__future__r   r   r   googlecloudsdk.api_lib.computer   r   googlecloudsdk.callioper   5googlecloudsdk.command_lib.compute.target_ssl_proxiesr	   DescribeCommandr   detailed_helpr2   r   r   <module>r;      sF    1 &  ' 7 0 ( Gt## < E r   