
    
                         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	S
.r\R                  " \R                  R                  5       " S S\R                  5      5       rg)z''vmware network-policies list' command.    )absolute_import)division)unicode_literals)NetworkPoliciesClient)base)flagsz8
          List VMware Engine network policies.
        a  
          To list network policies in your project in the region `us-west2` sorted from oldest to newest, run:

            $ {command} --location=us-west2 --project=my-project --sort-by=~create_time

          Or:

            $ {command}  --sort-by=~create_time

          In the second example, the project and the location are taken from gcloud properties core/project and compute/region respectively.

          To list network policies in your project from all regions, run:

            $ {command} --location=- --project=my-project

          Or:

            $ {command} --location=-

          In the last example, the project is taken from gcloud properties core/project.
    )DESCRIPTIONEXAMPLESc                   2    \ rS rSrSr\r\S 5       rS r	Sr
g)List7   z$List VMware Engine network policies.c                 f    [         R                  " U 5        U R                  R                  S5        g)z Register flags for this command.ztable(name.segment(-1):label=NAME,name.segment(-5):label=PROJECT,name.segment(-3):label=LOCATION,createTime,internetAccess,externalIp,edgeServicesCidr,vmwareEngineNetwork)N)r   AddLocationArgToParserdisplay_info	AddFormat)parsers    +lib/surface/vmware/network_policies/list.pyArgs	List.Args<   s-     
  (
!! #J K    c                     UR                   R                  R                  5       n[        5       nUR	                  U5      $ )N)CONCEPTSlocationParser   r   )selfargsr   clients       r   RunList.RunF   s1    }}%%++-H"$F;;x  r    N)__name__
__module____qualname____firstlineno____doc__DETAILED_HELPdetailed_helpstaticmethodr   r   __static_attributes__r    r   r   r   r   7   s#    ,-K K!r   r   N)r%   
__future__r   r   r   -googlecloudsdk.api_lib.vmware.networkpoliciesr   googlecloudsdk.callioper   2googlecloudsdk.command_lib.vmware.network_policiesr   r&   ReleaseTracksReleaseTrackGAListCommandr   r    r   r   <module>r2      se    . &  ' O ( D		< D%%(()!4 ! *!r   