
                             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 dd	lmZ dd
lmZ dddZ eej"                  ej$                  ej&                         G d de
j(                               Zy)z<Command to describe an existing Assured Workloads operation.    )absolute_import)division)unicode_literals)endpoint_util)
operations)base)ReleaseTrack)ReleaseTracks)flagsz9Obtain details about a given Assured Workloads operation.z         To describe an Assured Workloads operation in the us-central1 region,
        belonging to an organization with ID 123, with workload ID 456, run:

          $ {command} organizations/123/locations/us-central1/operations/456
        )DESCRIPTIONEXAMPLESc                   *    e Zd ZdZeZed        Zd Zy)Describez&Describe Assured Workloads operations.c                 .    t        j                  |        y )N)r   AddDescribeOperationFlags)parsers    *lib/surface/assured/operations/describe.pyArgszDescribe.Args/   s    	##F+    c                    |j                   j                  j                         }|j                         j	                         }|j                         }t        j                  | j                         |      5  t        j                  | j                               }|j                  |      cddd       S # 1 sw Y   yxY w)zRun the describe command.)release_trackregion)r   )nameN)CONCEPTS	operationParseParentNameRelativeNamer   +AssuredWorkloadsEndpointOverridesFromRegionr	   apisOperationsClientr   )selfargsoperation_resourcer   operation_nameclients         r   RunzDescribe.Run3   s    00668&&(--/F'446N		B	B'')&
:$$43D3D3FGf__._1
: 
: 
:s   86B88CN)	__name__
__module____qualname____doc___DETAILED_HELPdetailed_helpstaticmethodr   r(    r   r   r   r   )   s!    . -, ,2r   r   N)r,   
__future__r   r   r   googlecloudsdk.api_lib.assuredr   r   r!   googlecloudsdk.callioper   googlecloudsdk.calliope.baser	   r
   "googlecloudsdk.command_lib.assuredr   r-   GABETAALPHADescribeCommandr   r0   r   r   <module>r:      ss    C &  ' 8 = ( 5 6 4 	D		
 | 1 1<3E3EF2t## 2 G2r   