
    b                     2   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
 ddlmZ  e
j                  d	d
d       ej                  ej                  j                   ej                  j"                         G d dej$                                      Zy)z"Command to show fleet information.    )absolute_import)division)unicode_literals)client)base)deprecation_utils)	arg_utilsz447.0.0Tz'gcloud fleet scopes namespaces describe)remove_versionremovealt_commandc                   &    e Zd ZdZed        Zd Zy)Describea   Show fleet namespace info.

  This command can fail for the following reasons:
  * The project specified does not exist.
  * The namespace specified does not exist in the project.
  * The caller does not have permission to access the project or namespace.

  ## EXAMPLES

  To print metadata for the namespace `NAMESPACE` in the active project,
  run:

    $ {command} NAMESPACE

  To print metadata for the namespace `NAMESPACE` in project `PROJECT_ID`,
  run:

    $ {command} NAMESPACE --project=PROJECT_ID
  c                 4    | j                  dt        d       y )NNAMEz,Name of the fleet namespace to be described.)typehelp)add_argumentstr)parsers    2lib/surface/container/fleet/namespaces/describe.pyArgszDescribe.Args6   s    
SM  O    c                     t        j                  |dd      }t        j                  | j	                               }|j                  ||j                        S )Nz	--projectT)use_defaults)release_track)r	   GetFromNamespacer   FleetClientReleaseTrackGetNamespacer   )selfargsprojectfleetclients       r   RunzDescribe.Run;   sF    (({NG$$43D3D3FGK##GTYY77r   N)__name__
__module____qualname____doc__staticmethodr   r$    r   r   r   r      s"    ( O O8r   r   N)r(   
__future__r   r   r   &googlecloudsdk.api_lib.container.fleetr   googlecloudsdk.callioper   googlecloudsdk.command_libr   $googlecloudsdk.command_lib.util.apisr	   DeprecateCommandAtVersionReleaseTracksr   ALPHABETADescribeCommandr   r*   r   r   <module>r5      s    ) &  ' 9 ( 8 : -,,9
 D%%++T->->-C-CD8t## 8 E8r   