
                         8   S 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  SSK	J
r
  SSKJr  SS	KJr  \
R                  " S
SSS9\R                   " \R"                  R$                  \R"                  R&                  5       " S S\R(                  5      5       5       rg)z.Command to show fleet namespaces in a project.    )absolute_import)division)unicode_literals)client)base)deprecation_utils)util)
propertiesz447.0.0Tz#gcloud fleet scopes namespaces list)remove_versionremovealt_commandc                   .    \ rS rSrSr\S 5       rS rSrg)List   ax  List fleet namespaces in a project.

This command can fail for the following reasons:
* The project specified does not exist.
* The user does not have access to the project specified.

## EXAMPLES

The following command lists namespaces in the active project:

  $ {command}

The following command lists namespaces in project `PROJECT_ID`:

  $ {command} --project=PROJECT_ID
c                 V    U R                   R                  [        R                  5        g )N)display_info	AddFormatr	   NS_LIST_FORMAT)parsers    .lib/surface/container/fleet/namespaces/list.pyArgs	List.Args4   s     !!$"5"56    c                     [         R                  " U R                  5       S9nUR                  nUc2  [        R
                  R                  R                  R                  5       nUR                  U5      $ )N)release_track)	r   FleetClientReleaseTrackprojectr
   VALUEScoreGetListNamespaces)selfargsfleetclientr   s       r   RunList.Run9   sZ    $$43D3D3FGKllG!!&&..224g%%g..r    N)	__name__
__module____qualname____firstlineno____doc__staticmethodr   r&   __static_attributes__r(   r   r   r   r      s     " 7 7/r   r   N)r-   
__future__r   r   r   &googlecloudsdk.api_lib.container.fleetr   googlecloudsdk.callioper   googlecloudsdk.command_libr   *googlecloudsdk.command_lib.container.fleetr	   googlecloudsdk.corer
   DeprecateCommandAtVersionReleaseTracksr   ALPHABETAListCommandr   r(   r   r   <module>r;      s    5 &  ' 9 ( 8 ; * ,,5
 D%%++T->->-C-CD/4 / E/r   