
                         v    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	  G d d	e	j                        Zy)
z#Command for spanner instances list.    )absolute_import)division)unicode_literalsN)	instances)basec                   N    e Zd ZdZd ej
                  d      iZed        Zd Z	y)Listz1List the Cloud Spanner instances in this project.EXAMPLESza        To list all Cloud Spanner instances in this project, run:

          $ {command}
        c                 :    | j                   j                  d       y )Nz
          table(
            name.basename(),
            displayName,
            config.basename(),
            nodeCount,
            processing_units,
            state,
            instance_type
          )
        )display_info	AddFormat)parsers    %lib/surface/spanner/instances/list.pyArgsz	List.Args'   s    
!! 
# 
    c                 *    t        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	   )selfargss     r   RunzList.Run5   s     >>r   N)
__name__
__module____qualname____doc__textwrapdedentdetailed_helpstaticmethodr   r    r   r   r	   r	      s=    9 
(//  -  
r   r	   )r   
__future__r   r   r   r   googlecloudsdk.api_lib.spannerr   googlecloudsdk.callioper   ListCommandr	   r   r   r   <module>r#      s.    * &  '  4 ($4 $r   