
    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
  \R                  \R                  " \R                  R                  \R                  R                  \R                  R                   5       " S S	\R"                  5      5       5       rg)
z-Bigtable materialized views describe command.    N)materialized_views)base)parser_extensions)	arguments)bigtableadmin_v2_messagesc                       \ rS rSrSrS\R                  " S5      0r\SS j5       r	S\
R                  S\R                  4S	 jrS
rg)DescribeMaterializedView   z0Describe an existing Bigtable materialized view.EXAMPLESa            To get back information related to a view's schema (for example, description), run:

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

          or (because schema is the default view) simply:

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

          To get back information related to the view's replication state, run:

            $ {command} my-materialized-view-id --instance=my-instance-id --view=replication

          To get back all information for the view, run:

            $ {command} my-materialized-view-id --instance=my-instance-id --view=full
          returnNc                 ^    [         R                  " U S5        [         R                  " U 5        g)z Register flags for this command.zto describeN)r   AddMaterializedViewResourceArgAddViewOverMaterializedView)parsers    3lib/surface/bigtable/materialized_views/describe.pyArgsDescribeMaterializedView.Args5   s"     ,,V]C))&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materialized_viewParser   Describer   )selfr   materialized_view_refs      r   RunDescribeMaterializedView.Run;   s3     !MM;;AAC&&'<99MMr    )r   N)__name__
__module____qualname____firstlineno____doc__textwrapdedentdetailed_helpstaticmethodr   r   	Namespacer   MaterializedViewr   __static_attributes__r    r   r   r	   r	      s[    
 9 (// # -( 2 2
N#--N 11Nr   r	   )r%   r&   googlecloudsdk.api_lib.bigtabler   googlecloudsdk.callioper   r   #googlecloudsdk.command_lib.bigtabler   6googlecloudsdk.generated_clients.apis.bigtableadmin.v2r   UniverseCompatibleReleaseTracksReleaseTrackGABETAALPHADescribeCommandr	   r    r   r   <module>r8      s    4  > ( 5 9 \ $++00$2C2C2I2I*Nt33 *N *Nr   