
    	                     ^   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 d	d
dZ ej                   ej"                  j$                         G d dej&                               Z ej                   ej"                  j*                         G d dej&                               Zy)z-Command to describe the application services.    )absolute_import)division)unicode_literals)utils)services)base)flagsz{description}z         To describe the Service `my-service` in the Application `my-app` in
        location `us-east1`, run:

          $ {command} my-service --application=my-app --location=us-east1
        )DESCRIPTIONEXAMPLESc                   *    e Zd ZdZeZed        Zd Zy)
DescribeGA'Describe an Apphub application service.c                 .    t        j                  |        y Nr	   "AddDescribeApplicationServiceFlagsparsers    4lib/surface/apphub/applications/services/describe.pyArgszDescribeGA.Args+       	,,V4    c                     t        j                  t        j                  j                        }t        j                  |      }|j                  |j                               S zRun the describe command.)release_track)service)	apisServicesClientr   ReleaseTrackGAapi_lib_utilsGetApplicationServiceRefDescribeRelativeNameselfargsclientservice_refs       r   RunzDescribeGA.Run/   sH      t/@/@/C/CDF88>K??;#;#;#=?>>r   N	__name__
__module____qualname____doc___DETAILED_HELPdetailed_helpstaticmethodr   r*    r   r   r   r   %   !    / -5 5?r   r   c                   *    e Zd ZdZeZed        Zd Zy)DescribeAlphar   c                 .    t        j                  |        y r   r   r   s    r   r   zDescribeAlpha.Args<   r   r   c                     t        j                  t        j                  j                        }t        j                  |      }|j                  |j                               S r   )	r   r   r   r   ALPHAr!   r"   r#   r$   r%   s       r   r*   zDescribeAlpha.Run@   sH      t/@/@/F/FGF88>K??;#;#;#=?>>r   Nr+   r3   r   r   r6   r6   6   r4   r   r6   N)r/   
__future__r   r   r   googlecloudsdk.api_lib.apphubr   r!   *googlecloudsdk.api_lib.apphub.applicationsr   r   googlecloudsdk.callioper   !googlecloudsdk.command_lib.apphubr	   r0   ReleaseTracksr   r    DescribeCommandr   r9   r6   r3   r   r   <module>rA      s    4 &  ' @ G ( 3 # D%%(()?%% ? *?  D%%++,?D(( ? -?r   