
    	                         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	d
Z ej                  ej                  j                         G d dej                               Zy)z*'vmware private-connections list' command.    )absolute_import)division)unicode_literals)PrivateConnectionsClient)base)flagsz<
          Lists VMware Engine private connections.
        a  
          To list private connections in project `my-project` and region `us-west1` sorted from oldest to newest, run:

            $ {command} --location=us-west1 --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 private connections in project `my-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                   *    e Zd ZdZeZed        Zd Zy)Listz&List Google Cloud Private Connections.c                 h    t        j                  | d       | j                  j                  d       y)z Register flags for this command.T)regionalztable(name.segment(-1):label=NAME,name.segment(-3):label=LOCATION,serviceNetwork.segment(-4):label=SERVICE_PROJECT_ID,type, state)N)r   AddLocationArgToParserdisplay_info	AddFormat)parsers    .lib/surface/vmware/private_connections/list.pyArgsz	List.Args<   s-     
  $7
!!	    c                     |j                   j                  j                         }t               }|j	                  |      S )N)CONCEPTSlocationParser   r   )selfargsr   clients       r   RunzList.RunF   s1    }}%%++-H%'F;;x  r   N)	__name__
__module____qualname____doc__DETAILED_HELPdetailed_helpstaticmethodr   r    r   r   r   r   7   s!    .- !r   r   N)r!   
__future__r   r   r   0googlecloudsdk.api_lib.vmware.privateconnectionsr   googlecloudsdk.callioper   !googlecloudsdk.command_lib.vmwarer   r"   ReleaseTracksReleaseTrackGAListCommandr   r%   r   r   <module>r.      sg    1 &  ' U ( 3		< D%%(()!4 ! *!r   