
                            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y
)zList policy command.    )absolute_import)division)unicode_literals)platform_policy)base)flagsc                   &    e Zd ZdZed        Zd Zy)Lista'  List Binary Authorization platform policies.

  ## EXAMPLES

  To list the policies for GKE in the current project:

      $ {command} gke

  To list the policies for GKE in a specific project:

      $ {command} gke --project=my-project-id

  or

      $ {command} projects/my-project-id/gke
  c                 f    t        j                  | d       | j                  j                  d       y )Nzto listzlist(name,description))r   AddPlatformResourceArgdisplay_info	AddFormat)parsers    -lib/surface/container/binauthz/policy/list.pyArgsz	List.Args.   s'    	  3
!!":;    c                     |j                   j                  j                         j                         }t	        j
                  d      j                  ||j                  |j                        S )Nv1)	page_sizelimit)	CONCEPTSplatform_resource_nameParseRelativeNamer   Clientr
   r   r   )selfargsplatform_refs      r   RunzList.Run3   sW    ==77==?LLNL!!$',,djj - B Br   N)__name__
__module____qualname____doc__staticmethodr   r    r   r   r
   r
      s!    " < <Br   r
   N)r#   
__future__r   r   r   )googlecloudsdk.api_lib.container.binauthzr   googlecloudsdk.callioper   -googlecloudsdk.command_lib.container.binauthzr   DefaultUniverseOnlyReleaseTracksReleaseTrackBETAALPHAListCommandr
   r%   r   r   <module>r0      sv     &  ' E ( ? D%%**D,=,=,C,CDB4 B E Br   