
    1                     |    S r SSKrSSKJr  SSKJr  SSKJr  \R                   " S S\R                  5      5       r
g)z(Command for spanner database roles list.    N)database_roles)base)resource_argsc                   V    \ rS rSrSrS\R                  " S5      0r\S 5       r	S r
Srg)	List   zDList the Cloud Spanner database roles defined in the given database.EXAMPLESz        To list the Cloud Spanner database roles in a database, run:

          $ {command} --instance=my-instance-id --database=my-database-id
        c                 f    [         R                  " U SSS9  U R                  R                  S5        g)zSee base class.zin which to list database rolesF)
positionalzB
          table(
            name.basename()
          )
        N)r   AddDatabaseResourceArgdisplay_info	AddFormat)parsers    +lib/surface/spanner/databases/roles/list.pyArgs	List.Args&   s4     ((1eE
!! #     c                 r    [         R                  " UR                  R                  R	                  5       5      $ )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   CONCEPTSdatabaseParse)selfargss     r   RunList.Run1   s(     t}}55;;=>>r    N)__name__
__module____qualname____firstlineno____doc__textwrapdedentdetailed_helpstaticmethodr   r   __static_attributes__r   r   r   r   r      s;    L 
//  -  
?r   r   )r!   r"   googlecloudsdk.api_lib.spannerr   googlecloudsdk.callioper   "googlecloudsdk.command_lib.spannerr   UniverseCompatibleListCommandr   r   r   r   <module>r,      s?    /  9 ( < !?4 !? !?r   