| Server IP : 35.236.43.222 / Your IP : 216.73.216.143 Web Server : Apache System : Linux order-form-vm-001 5.10.0-37-cloud-amd64 #1 SMP Debian 5.10.247-1 (2025-12-11) x86_64 User : deploy ( 1002) PHP Version : 8.1.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/lib/google-cloud-sdk/lib/surface/storage/operations/__pycache__/ |
Upload File : |
�
��� � � � d Z ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddl m
Z
ddl mZ ej G d � d
ej
� � � � ZdS )z.Command to get details on a storage operation.� )�absolute_import)�division)�unicode_literals)�api_factory)�base)�operations_util)�storage_urlc �8 � e Zd ZdZddd�Zed� � � Zd� ZdS )�Describez7Get configuration and latest storage operation details.z< Get details about a specific storage operation.
z� To describe an operation "C894F35J" on bucket "my-bucket", run:
$ {command} projects/_/buckets/my-bucket/operations/C894F35J
)�DESCRIPTION�EXAMPLESc �4 � | � dd�� � d S )N�operation_namezGThe operation name including the Cloud Storage bucket and operation ID.)�help)�add_argument)�parsers �*lib/surface/storage/operations/describe.py�Argsz
Describe.Args* s1 � �
����
� � � � � � � c � � t j |j � � \ }}t j j }t
j |� � � ||�� � S )N)�bucket_name�operation_id) r �%get_operation_bucket_and_id_from_namer r �ProviderPrefix�GCSr �get_api�
get_operation)�self�args�bucketr �schemes r �RunzDescribe.Run4 s[ � ��=���
�
� �F�L�
�
'�
+�F���v�&�&�4�4��� 5� � � r N)�__name__�
__module__�__qualname__�__doc__�
detailed_help�staticmethodr r"