
    ;
                     p   S 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J	r	  SSK
Jr  SS	KJr  \R                  \R                  \R                   " \R"                  R$                  \R"                  R&                  \R"                  R(                  5       " S
 S\R*                  5      5       5       5       rg)z)Bigtable materialized views list command.    N)	Generator)materialized_views)base)parser_arguments)parser_extensions)	arguments)bigtableadmin_v2_messagesc                       \ rS rSrSrS\R                  " S5      0r\S\	R                  SS4S j5       rS	\R                  S\\R                   SS4   4S
 jrSrg)ListMaterializedViews   z*List existing Bigtable materialized views.EXAMPLESa            To list all materialized views for an instance, run:

            $ {command} --instance=my-instance-id

          You may also specify what information to return by supplying the `--view` flag, such as:

            $ {command} --instance=my-instance-id --view=schema

          Currently, only the schema view is supported for this command. This is the default view, and it returns information about the schemas of your materialized views.
          parserreturnNc                 ^    [         R                  " U S5        [         R                  " U 5        g)z Register flags for this command.zto list materialized views forN)r   AddInstanceResourceArgAddViewOverMaterializedView)r   s    /lib/surface/bigtable/materialized_views/list.pyArgsListMaterializedViews.Args2   s#     $$V-MN))&1    argsc                     UR                   R                  R                  5       n[        R                  " X!R
                  S9$ )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.
)view)CONCEPTSinstanceParser   Listr   )selfr   instance_refs      r   RunListMaterializedViews.Run8   s1     ==))//1L""<ii@@r    )__name__
__module____qualname____firstlineno____doc__textwrapdedentdetailed_helpstaticmethodr   ArgumentInterceptorr   r   	Namespacer   r	   MaterializedViewr    __static_attributes__r"   r   r   r   r      s}     3 (// 
# 
- 2#77 2D 2 2
A#--A*;;T4GHAr   r   )r'   r(   typingr   googlecloudsdk.api_lib.bigtabler   googlecloudsdk.callioper   r   r   #googlecloudsdk.command_lib.bigtabler   6googlecloudsdk.generated_clients.apis.bigtableadmin.v2r	   DefaultUniverseOnlyUniverseCompatibleReleaseTracksReleaseTrackGABETAALPHAListCommandr   r"   r   r   <module>r=      s    0   > ( 4 5 9 \ $++00$2C2C2I2I$AD,, $A  
$Ar   