
    J                         d Z ddlmZ ddlmZ ddlmZ ddlZddlmZ ddlm	Z	 ddl
mZ  G d	 d
e	j                        Zy)z$Command for spanner SSD caches list.    )absolute_import)division)unicode_literalsN)
ssd_caches)base)flagsc                   N    e Zd ZdZd ej
                  d      iZed        Zd Z	y)Listz(List available Cloud Spanner SSD caches.EXAMPLESz~        To list the Cloud Spanner SSD caches in an instance config, run:

          $ {command} --config=my-config-id
        c                     t        j                         j                  |        t        j                  j                  |        | j                  j                  d       y )Nz
          table(
            name.basename(),
            displayName,
            size_gib,
            labels
          )
        )r   ConfigAddToParserr   FILTER_FLAGRemoveFromParserdisplay_info	AddFormat)parsers    &lib/surface/spanner/ssd_caches/list.pyArgsz	List.Args'   sC    	LLNv&%%f-
!! #     c                 @    t        j                  |j                        S )zThis is what gets called when the user runs this command.

    Args:
      args: an argparse namespace. All the arguments that were provided to this
        command invocation.

    Returns:
      Some value that we want to have printed later.
    )r   r
   config)selfargss     r   RunzList.Run4   s     ??4;;''r   N)
__name__
__module____qualname____doc__textwrapdedentdetailed_helpstaticmethodr   r    r   r   r
   r
      s<    0 /(// # - 
 

(r   r
   )r   
__future__r   r   r   r    googlecloudsdk.api_lib.spannerr   googlecloudsdk.callioper   "googlecloudsdk.command_lib.spannerr   ListCommandr
   r$   r   r   <module>r*      s1    + &  '  5 ( 4"(4 "(r   