
                             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)z$service-management describe command.    )absolute_import)division)unicode_literals)services_util)base)arg_parsers)common_flagsc                   .    \ rS rSrSr\S 5       rS rSrg)Describe   z)Describes a service given a service name.c                 J    [         R                  " SS9R                  U 5        g)zArgs is called by calliope to gather arguments for this command.

Args:
  parser: An argparse parser that you can use to add arguments that go
      on the command line after this command. Positional arguments are
      allowed.
zto describe)suffixN)r	   producer_service_flagAddToParser)parsers    *lib/surface/endpoints/services/describe.pyArgsDescribe.Args   s     &&m<HHP    c                     [         R                  " 5       n[         R                  " 5       n[        R                  " UR
                  5      nUR                  US9nUR                  R                  U5      $ )zRun 'service-management describe'.

Args:
  args: argparse.Namespace, The arguments that this command was invoked
      with.

Returns:
  The response from the Get API call.
)serviceName)	r   GetMessagesModuleGetClientInstancer   GetServiceNameFromArgservice#ServicemanagementServicesGetRequestservicesGet)selfargsmessagesclientr   requests         r   RunDescribe.Run*   sc     ..0H,,.F//=G:: ; G ??w''r    N)	__name__
__module____qualname____firstlineno____doc__staticmethodr   r$   __static_attributes__r&   r   r   r   r      s    1Q Q(r   r   N)r+   
__future__r   r   r    googlecloudsdk.api_lib.endpointsr   googlecloudsdk.callioper   $googlecloudsdk.command_lib.endpointsr   r	   DescribeCommandr   r&   r   r   <module>r3      s1     + &  ' : ( < = (t##  (r   