
                         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 instance configs list.    )absolute_import)division)unicode_literalsN)instance_configs)basec                   N    e Zd ZdZd ej
                  d      iZed        Zd Z	y)Listz9List the available Cloud Spanner instance configurations.EXAMPLESz        To list the Cloud Spanner instance configs that are availble for this
        project, run:

          $ {command}
        c                 :    | j                   j                  d       y )Nz
          table(
            name.basename(),
            displayName,
            free_instance_availability
          )
        )display_info	AddFormat)parsers    ,lib/surface/spanner/instance_configs/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.Run2   s       ""r   N)
__name__
__module____qualname____doc__textwrapdedentdetailed_helpstaticmethodr   r    r   r   r	   r	      s=    A 
(//  -  
#r   r	   )r   
__future__r   r   r   r   googlecloudsdk.api_lib.spannerr   googlecloudsdk.callioper   ListCommandr	   r   r   r   <module>r#      s.    1 &  '  ; (!#4 !#r   