
                             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  G d
 de
j                        Z ej                  d      e_        y)z#Command for listing machine images.    )absolute_import)division)unicode_literals)base_classes)lister)utils)base)flagsc                   &    e Zd ZdZed        Zd Zy)Listz#List Compute Engine machine images.c                     | j                   j                  t        j                         | j                   j	                  t        j                                y N)display_info	AddFormatr
   DEFAULT_LIST_FORMAT
AddUriFuncr   MakeGetUriFunc)parsers    *lib/surface/compute/machine_images/list.pyArgsz	List.Args   s9    
!!%";";<
""5#7#7#9:    c                     t        j                  | j                               }|j                  }t	        j
                  ||j                        }t	        j                  ||j                  j                        }t	        j                  ||      S r   )r   ComputeApiHolderReleaseTrackclientr   ParseNamesAndRegexpFlags	resourcesGlobalListerapitools_clientmachineImagesInvoke)selfargsholderr   request_datalist_implementations         r   RunzList.Run$   sr    **4+<+<+>?F]]F2249I9IJL --&&446 ==':;;r   N)__name__
__module____qualname____doc__staticmethodr   r'    r   r   r   r      s    +; ;	<r   r   zmachine imagesN)r+   
__future__r   r   r   googlecloudsdk.api_lib.computer   r   r   googlecloudsdk.callioper	   1googlecloudsdk.command_lib.compute.machine_imagesr
   ListCommandr   GetGlobalListerHelpdetailed_helpr-   r   r   <module>r5      sL    * &  ' 7 1 0 ( C<4 <( 6\556FG r   