Ë
    €Ï¯  ã                   ó¤   — d Z ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddl	m
Z
 ddl	mZ ej                   G d	„ d
ej                  «      «       Zy)z.Command to get details on a storage operation.é    )Úabsolute_import)Údivision)Úunicode_literals)Úapi_factory)Úbase)Úoperations_util)Ústorage_urlc                   ó0   — e Zd ZdZdddœZed„ «       Zd„ Zy)Ú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                 ó*   — | j                  dd¬«       y )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*   s   € à
×ÑØðð õ ó    c                 óÆ   — t        j                  |j                  «      \  }}t        j                  j
                  }t        j                  |«      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   ÚRunzDescribe.Run4   s]   € ä×=Ñ=Ø×Ñó	
ñ €FˆLô
 ×'Ñ'×+Ñ+€FÜ×Ñ˜vÓ&×4Ñ4Ø¨ð 5ó ð r   N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__Údetailed_helpÚstaticmethodr   r"   © r   r   r   r      s/   „ á?ð
ð
ñ		€-ð ñó ðó	r   r   N)r&   Ú
__future__r   r   r   Úgooglecloudsdk.api_lib.storager   Úgooglecloudsdk.callioper   Ú"googlecloudsdk.command_lib.storager   r	   ÚUniverseCompatibleÚDescribeCommandr   r)   r   r   Ú<module>r0      sF   ðñ 5å &Ý Ý 'å 6Ý (Ý >Ý :ð ×Ñô!ˆt×#Ñ#ó !ó ñ!r   