
    C	                         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Z	dZ
d	Zd
Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Zy)zCompleters for notebooks.    )absolute_import)division)unicode_literals)
completers)
propertiesznotebooks.projects.locationsz)notebooks.projects.locations.environmentsz&notebooks.projects.locations.instanceszcompute.regionsc                        e Zd Z fdZ xZS )LocationCompleterc                 :    t        t        | 
  dt        dd| y )Nz#beta notebooks locations list --uri
collectionlist_command )superr	   __init__LOCATION_COLLECTIONselfkwargs	__class__s     6lib/googlecloudsdk/command_lib/notebooks/completers.pyr   zLocationCompleter.__init__    s(    	
T+ &:     __name__
__module____qualname__r   __classcell__r   s   @r   r	   r	           r   r	   c                        e Zd Z fdZ xZS )EnvironmentCompleterc                     t         j                  j                  j                  j	                  d      }t        t        |   dt        dj                  |      d| y )NTrequiredz4beta notebooks environments list --location={} --urir   r   )
r   VALUES	notebookslocationGetr   r    r   ENVIRONMENT_COLLECTIONformatr   r   location_propertyr   s      r   r   zEnvironmentCompleter.__init__)   sY    "))33<<@@$@O	
. )K	!	" 	r   r   r   s   @r   r    r    '        r   r    c                        e Zd Z fdZ xZS )InstanceCompleterc                     t         j                  j                  j                  j	                  d      }t        t        |   dt        dj                  |      d| y )NTr"   z1beta notebooks instances list --location={} --urir   r   )
r   r$   r%   r&   r'   r   r.   r   INSTANCE_COLLECTIONr)   r*   s      r   r   zInstanceCompleter.__init__4   s\    "))33<<@@$@O	
T+ &HOO 	r   r   r   s   @r   r.   r.   2   r,   r   r.   c                        e Zd Z fdZ xZS )RegionCompleterc                 :    t        t        | 
  dt        dd| y )Nzcompute regions list --urir   r   )r   r2   r   REGION_COLLECTIONr   s     r   r   zRegionCompleter.__init__?   s'    	/4) $1 r   r   r   s   @r   r2   r2   =   r   r   r2   N)__doc__
__future__r   r   r   googlecloudsdk.command_lib.utilr   googlecloudsdk.corer   r   r(   r0   r4   ListCommandCompleterr	   r    r.   r2   r   r   r   <module>r:      sy      &  ' 6 *4 D > % 
77 ::: 
77 j55 r   