HEX
Server: Apache/2.4.68 (Debian)
System: Linux as-cs-widget-demo-us-central1 6.1.0-44-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.164-1 (2026-03-09) x86_64
User: root (0)
PHP: 8.2.32
Disabled: NONE
Upload Files
File: //lib/google-cloud-sdk/lib/surface/sql/operations/__pycache__/describe.cpython-312.pyc
�

���	��(�dZddlmZddlmZddlmZddlmZddlmZddl	m
Z
dd	iZejejjejjejj �Gd
�dej"��Zy)
�;Retrieves information about a Cloud SQL instance operation.�)�absolute_import)�division)�unicode_literals)�api_util)�base)�
properties�EXAMPLESzz        To describe an operation with the name "prod-operation-id", run:

          $ {command} prod-operation-id
        c�*�eZdZdZeZed��Zd�Zy)�Getrc�*�|jdd��y)z�Args is called by calliope to gather arguments for this command.

    Args:
      parser: An argparse parser that you can use it to add arguments that go
          on the command line after this command. Positional arguments are
          allowed.
    �	operationz,Name that uniquely identifies the operation.)�helpN)�add_argument)�parsers �&lib/surface/sql/operations/describe.py�ArgszGet.Args*s������H��J�c��tjtj�}|j}|j}|j
j
|jddtjjjji��}|jj|j|j|j���S)aRetrieves information about a Cloud SQL instance operation.

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

    Returns:
      A dict object representing the operations resource if the api request was
      successful.
    zsql.operations�project)�
collection�params)rr)r�	SqlClient�API_VERSION_DEFAULT�
sql_client�sql_messages�resource_parser�Parserr	�VALUES�corer�	GetOrFail�
operationsr�SqlOperationsGetRequest)�self�args�clientrr�
operation_refs      r�RunzGet.Run6s����
�
�� <� <�
=�F��"�"�J��&�&�L��*�*�0�0����#��:�,�,�1�1�9�9�C�C�D�1�F�M�
� � �$�$��,�,�!�)�)�]�5L�5L�	-�	N�O�OrN)	�__name__�
__module__�__qualname__�__doc__�
DETAILED_HELP�
detailed_help�staticmethodrr(�rrrr#s'��D��-��	J��	J�OrrN)r,�
__future__rrr�googlecloudsdk.api_lib.sqlr�googlecloudsdk.callioper�googlecloudsdk.corer	r-�
ReleaseTracks�ReleaseTrack�GA�BETA�ALPHA�DescribeCommandrr0rr�<module>r;s���B�&��'�/�(�*��	��
�����D�%�%�(�(�$�*;�*;�*@�*@��%�%�+�+�-�'O�$�
�
�'O�-�'Or