
    D                         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	 ddl
mZ  G d	 d
e	j                        Zy)z(Command for spanner SSD caches describe.    )absolute_import)division)unicode_literalsN)
ssd_caches)base)flagsc                   N    e Zd ZdZd ej
                  d      iZed        Zd Z	y)Describez#Describe a Cloud Spanner SSD cache.EXAMPLESzu        To describe a Cloud Spanner SSD cache, run:

          $ {command} my-cache-id --config=my-config-id
        c                     t        j                  ddd      j                  |        t        j                         j                  |        y)ax  Args is called by calliope to gather arguments for this command.

    Please add arguments in alphabetical order except for no- or a clear-
    pair for that argument which can follow the argument itself.
    Args:
      parser: An argparse parser that you can use to add arguments that go on
        the command line after this command. Positional arguments are allowed.
    TF)
positionalrequiredhiddenN)r   SsdCacheAddToParserConfig)parsers    *lib/surface/spanner/ssd_caches/describe.pyArgszDescribe.Args'   s8     
NNdT%@LL 
LLNv&    c                 V    t        j                  |j                  |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   Getcache_idconfig)selfargss     r   RunzDescribe.Run6   s     >>$--55r   N)
__name__
__module____qualname____doc__textwrapdedentdetailed_helpstaticmethodr   r    r   r   r
   r
      s<    + /(// # - ' '
6r   r
   )r!   
__future__r   r   r   r"   googlecloudsdk.api_lib.spannerr   googlecloudsdk.callioper   "googlecloudsdk.command_lib.spannerr   DescribeCommandr
   r&   r   r   <module>r,      s1    / &  '  5 ( 4$6t## $6r   