
    >              	       `   S r SSKJr  SSKJr  SSKJr  SSKrSSKJr  SSKJ	r	  SSK
Jr  SS	KJr  SSKrS
SS.r\	R                   " \	R"                  R$                  \	R"                  R&                  5       " S S\R(                  " \R*                  \	R,                  5      5      5       r\\l        g)z,'Bare Metal Solution snapshots list command.    )absolute_import)division)unicode_literalsN)	BmsClient)base)flags)logzI
          List snapshots for a Bare Metal Solution boot volume.
        z
          To list snapshots on boot volume ``my-boot-volume'' in region
          ``us-central1'', run:

            $ {command} --region=us-central1 --volume=my-boot-volume
    )DESCRIPTIONEXAMPLESc                   4    \ rS rSrSr\S 5       rS rS rSr	g)List-   z5List snapshots for a Bare Metal Solution boot volume.c                     [         R                  R                  U 5        [         R                  R                  U 5        [         R                  " U SS9  U R
                  R                  S5        g)z Register flags for this command.z4The Bare Metal Solution volume to list snapshots of.)group_help_textztable(name.segment(-1):label=NAME,id:label=ID,name.segment(-5):label=REGION,name.segment(-3):label=VOLUME,description,createTime,type)N)r   FILTER_FLAG_NO_SORTBY_DOCAddToParserLIMIT_FLAG_NO_SORTBY_DOCAddVolumeArgToParserdisplay_info	AddFormat)parsers    )lib/surface/bms/volumes/snapshots/list.pyArgs	List.Args1   s^     
##//7	""..v6	NP !!	EF    c                     UR                   R                  R                  5       n[        5       nUR	                  UUR
                  S9$ )N)limit)CONCEPTSvolumeParser   ListSnapshotsForVolumer   )selfargsr   clients       r   RunList.RunE   sB    ]]!!'')F[F((/3zz ) ; ;r   c                 R    U(       d   [         R                  R                  S5        gg)zCalled after resources are displayed if the default format was used.

Args:
  resources_were_displayed: True if resources were displayed.
zListed 0 items.N)r	   statusPrint)r"   resources_were_displayeds     r   EpilogList.EpilogK   s     $	jj() $r    N)
__name__
__module____qualname____firstlineno____doc__staticmethodr   r%   r+   __static_attributes__r-   r   r   r   r   -   s#    =F F&;*r   r   )r2   
__future__r   r   r   abc%googlecloudsdk.api_lib.bms.bms_clientr   googlecloudsdk.callioper   googlecloudsdk.command_lib.bmsr   googlecloudsdk.corer	   sixDETAILED_HELPReleaseTracksReleaseTrackALPHAGAwith_metaclassABCMetaCacheCommandr   detailed_helpr-   r   r   <module>rE      s    3 &  ' 
 ; ( 0 # 
		 D%%++T->->-A-AB$*3ckk4+<+<= $* C$*L # r   