ó
    €Ï  ã                   óŠ   • 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	r " S
 S\R                  5      rg)z&endpoints operations describe command.é    )Úabsolute_import)Údivision)Úunicode_literals)Úservices_util)Úbase)Úarg_parsers)Úcommon_flagsiè  c                   ó.   • \ rS rSrSr\S 5       rS rSrg)ÚDescribeé   a€  Describes an operation resource for a given operation name.

This command will return information about an operation given the name
of that operation.

Note that the `operations/` prefix of the operation name is optional
and may be omitted.

## EXAMPLES
To describe an operation resource named
`operations/serviceConfigs.my-service.1`, run:

  $ {command} serviceConfigs.my-service.1
c                 ó€   • [         R                  " SS9R                  U 5        U R                  R	                  S5        g)zåArgs 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)ÚsuffixzX:(metadata.startTime.date(format="%Y-%m-%d %H:%M:%S %Z", tz=LOCAL)) [transforms] defaultN)r	   Úoperation_flagÚAddToParserÚdisplay_infoÚ	AddFormat)Úparsers    Ú,lib/surface/endpoints/operations/describe.pyÚArgsÚDescribe.Args1   s6   € ô ×Ò }Ñ5×AÑAÀ&ÔIà
×Ñ×!Ñ!ð	õ ó    c                 ó  • [         R                  " 5       n[         R                  " 5       n[        R                  " UR
                  5      nUR                  US9nUR                  R                  U5      n[         R                  " USS9$ )z»Run 'endpoints operations describe'.

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

Returns:
  The response from the operations.Get API call.
)ÚoperationsIdT)Úis_async)
r   ÚGetMessagesModuleÚGetClientInstancer   ÚGetOperationIdFromArgÚ	operationÚ%ServicemanagementOperationsGetRequestÚ
operationsÚGetÚGetProcessedOperationResult)ÚselfÚargsÚmessagesÚclientÚoperation_idÚrequestr   s          r   ÚRunÚDescribe.Run@   sy   € ô ×.Ò.Ó0€HÜ×,Ò,Ó.€Fä×4Ò4°T·^±^ÓD€Là×<Ñ<Ø!ð =ð $€Gð ×!Ñ!×%Ñ% gÓ.€Iô ×4Ò4°YÈÑNÐNr   © N)	Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__Ústaticmethodr   r)   Ú__static_attributes__r+   r   r   r   r      s!   † ñð  ñ ó ð õOr   r   N)r0   Ú
__future__r   r   r   Ú googlecloudsdk.api_lib.endpointsr   Úgooglecloudsdk.callioper   Ú$googlecloudsdk.command_lib.endpointsr   r	   ÚMAX_RESPONSE_BYTESÚDescribeCommandr   r+   r   r   Ú<module>r9      s;   ðñ  -å &Ý Ý 'å :Ý (Ý <Ý =ð Ð ô7Oˆt×#Ñ#õ 7Or   