
                         z    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
  G d d	ej                        Zy
)z4gcloud dns record-sets transaction describe command.    )absolute_import)division)unicode_literals)transaction_util)base)flagsc                   &    e Zd ZdZed        Zd Zy)DescribezDescribe the transaction.

  This command displays the contents of the transaction.

  ## EXAMPLES

  To look at the contents of the transaction, run:

    $ {command} --zone=MANAGED_ZONE
  c                 J    t        j                         j                  |        y )N)r   
GetZoneArgAddToParser)parsers    3lib/surface/dns/record_sets/transaction/describe.pyArgszDescribe.Args'   s    	""6*    c                 T   d}| j                         t        j                   j                  k(  rd}n-| j                         t        j                   j                  k(  rd}t	        j
                  |j                        5 }t	        j                  ||      cd d d        S # 1 sw Y   y xY w)Nv1v1beta2v1alpha2)api_version)ReleaseTrackr   BETAALPHAr   TransactionFiletransaction_fileChangeFromYamlFile)selfargsr   
trans_files       r   RunzDescribe.Run+   s    K d//444k				 1 1 7 7	7k		)	)$*?*?	@J00
+/ 
A	@	@s   =BB'N)__name__
__module____qualname____doc__staticmethodr   r     r   r   r
   r
      s     	 + +/r   r
   N)r$   
__future__r   r   r   googlecloudsdk.api_lib.dnsr   googlecloudsdk.callioper   googlecloudsdk.command_lib.dnsr   DescribeCommandr
   r&   r   r   <module>r,      s.     ; &  ' 7 ( 0/t## /r   