
                             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#bigtable clusters describe command.    )absolute_import)division)unicode_literalsN)util)base)	argumentsc                   N    e Zd ZdZd ej
                  d      iZed        Zd Z	y)DescribeClusterz&Describe an existing Bigtable cluster.EXAMPLESz|          To view a cluster's description, run:

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

          c                 0    t        j                  | d       y)z Register flags for this command.zto describeN)r   AddClusterResourceArg)parsers    )lib/surface/bigtable/clusters/describe.pyArgszDescribeCluster.Args)   s     ##FM:    c                    t        j                         }|j                  j                  j	                         }t        j
                         j                  |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.
    )name)
r   GetAdminClientCONCEPTSclusterParseGetAdminMessages0BigtableadminProjectsInstancesClustersGetRequestRelativeNameprojects_instances_clustersGet)selfargsclicluster_refmsgs        r   RunzDescribeCluster.Run.   sr     


C--''--/K


 66%%' 7 )  **..s33r   N)
__name__
__module____qualname____doc__textwrapdedentdetailed_helpstaticmethodr   r"    r   r   r
   r
      s=    . 
(//  - ; ;4r   r
   )r&   
__future__r   r   r   r'   googlecloudsdk.api_lib.bigtabler   googlecloudsdk.callioper   #googlecloudsdk.command_lib.bigtabler   DescribeCommandr
   r+   r   r   <module>r1      s1    * &  '  0 ( 9!4d** !4r   