
                         (   d Z ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddl	m
Z
 ej                   ej                  ej                  j                  ej                  j                         G d d	ej                                       Zd
dde_        y)zCommand for describing spokes.    )absolute_import)division)unicode_literals)networkconnectivity_api)base)flagsc                   &    e Zd ZdZed        Zd Zy)DescribezCDescribe a spoke.

  Retrieve and display details about a spoke.
  c                 ^    t        j                  | d       t        j                  | d       y )Nzto describeF)hide_global_arg)r   AddSpokeResourceArgAddRegionGroup)parsers    3lib/surface/network_connectivity/spokes/describe.pyArgszDescribe.Args#   s"    	fm4	7    c                     t        j                  | j                               }|j                  j                  j                         }|j                  |      S )N)release_track)r   SpokesClientReleaseTrackCONCEPTSspokeParseGet)selfargsclient	spoke_refs       r   RunzDescribe.Run(   sE    $11'')+F##))+I::i  r   N)__name__
__module____qualname____doc__staticmethodr   r    r   r   r
   r
      s     
 8 8!r   r
   z   To display details about a spoke named ``myspoke'' in the ``us-central1'' region, run:

    $ {command} myspoke --region=us-central1
  z   This command uses the networkconnectivity/v1 API. The full documentation
  for this API can be found at:
  https://cloud.google.com/network-connectivity/docs/reference/networkconnectivity/rest
  )EXAMPLESzAPI REFERENCEN)r#   
__future__r   r   r   +googlecloudsdk.api_lib.network_connectivityr   googlecloudsdk.callioper   /googlecloudsdk.command_lib.network_connectivityr   DefaultUniverseOnlyReleaseTracksr   BETAGADescribeCommandr
   detailed_helpr%   r   r   <module>r1      s     % &  ' O ( A D%%**D,=,=,@,@A!t## ! B !(		 r   