
                             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Describe operations command.    )absolute_import)division)unicode_literals)
exceptions)util)basec                   8    \ rS rSrSrSSS.r\S 5       rS rSr	g	)
Describe   zDescribe an operation.z{description}z`          To describe an operation, run:

            $ {command} sample-operation-id
          )DESCRIPTIONEXAMPLESc                 $    U R                  SSS9  g)zRegister flags for this command.

Args:
  parser: An argparse.ArgumentParser-like object. It is mocked out in order
    to capture some information, but behaves like an ArgumentParser.
operation_idzThe operation id to look up.)helpN)add_argument)parsers    ,lib/surface/container/operations/describe.pyArgsDescribe.Args*   s     -KL    c                 (   U R                   S   nU R                   S   nU" U5      n UR                  UR                  UR                  U5      5      $ ! [        R
                   a*  n[        R                  " U[        R                  5      eSnAff = f)zThis is what gets called when the user runs this command.

Args:
  args: an argparse namespace. All the arguments that were provided to this
    command invocation.

Returns:
  Some value that we want to have printed later.
api_adapterlocation_getN)
contextGetOperationParseOperationr   apitools_exceptions	HttpErrorr   HttpExceptionr   HTTP_ERROR_FORMAT)selfargsadapterr   locationerrors         r   RunDescribe.Run4   s     ll=)G<</LD!HD!!

 
 !2!2H
=? ?(( D$$UD,B,BCCDs   *A B'%BB N)
__name__
__module____qualname____firstlineno____doc__detailed_helpstaticmethodr   r&   __static_attributes__r(   r   r   r
   r
      s2     		- M MDr   r
   N)r-   
__future__r   r   r   apitools.base.pyr   r    googlecloudsdk.api_lib.containerr   googlecloudsdk.callioper   DescribeCommandr
   r(   r   r   <module>r6      s3    # &  ' > 1 ( .*Dt## *Dr   