
    	                        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 ej                   ej                  ej                   j"                         G d
 dej$                                      Zy)z.Command to describe Transfer Appliance Orders.    )absolute_import)division)unicode_literals)apis)base)offline_import_printer)resource_args)resource_printerc                   0    e Zd ZdZdddZed        Zd Zy)Describez5Get configuration details about a Transfer Appliance.zK      Get configuration details about a specific transfer appliance.
      a9        To describe an appliance, run:

        $ {command} APPLIANCE

      To view details of the order associated with an appliance, first obtain
      the ORDER identifier, then use it to look up the order:

        $ {command} APPLIANCE --format="value(order)"

        $ {command} orders describe ORDER
      )DESCRIPTIONEXAMPLESc                     t        j                  | t         j                  j                         t	        j
                  t        j                  t        j                  d       y )NT)hidden)	r	   add_appliance_resource_argResourceVerbDESCRIBEr
   RegisterFormatterr   OFFLINE_IMPORT_PRINTER_FORMATOfflineImportPrinter)parsers    +lib/surface/transfer/appliances/describe.pyArgszDescribe.Args5   sF    ,,**335 &&<<33    c                    t        j                  dd      }t        j                  dd      }|j                  j                  j                         }|j                  |j                               }|j                  j                  |      S )Ntransferappliancev1alpha1)name)request)
r   GetClientInstanceGetMessagesModuleCONCEPTS	applianceParse6TransferapplianceProjectsLocationsAppliancesGetRequestRelativeNameprojects_locations_appliancesGet)selfargsclientmessagesappliance_refr   s         r   RunzDescribe.Run@   s|    ##$7DF%%&9:FHMM++113MMM'') N +G//33G3DDr   N)__name__
__module____qualname____doc__detailed_helpstaticmethodr   r.    r   r   r   r      s2     >

-(  Er   r   N)r2   
__future__r   r   r   googlecloudsdk.api_lib.utilr   googlecloudsdk.callioper   .googlecloudsdk.command_lib.transfer.appliancesr   r	   googlecloudsdk.core.resourcer
   DefaultUniverseOnlyReleaseTracksReleaseTrackALPHADescribeCommandr   r5   r   r   <module>r@      sm    5 &  ' , ( Q H 9 D%%++,(Et## (E - (Er   