
    w
                         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r " S	 S
\
R                  5      r " S S\
R                  5      rSS jrSS jrSS jrSS jrSS jrg)z0Common flags for the consumers subcommand group.    )absolute_import)division)unicode_literals)services_util)base)
completersz>endpoints services list --format=disable --flatten=serviceNamec                   (   ^  \ rS rSrU 4S jrSrU =r$ )ConsumerServiceCompleter   c                 \   > [         [        U ]
  " S[        R                  [
        S/S.UD6  g )Nenabled
collectionlist_commandflags )superr
   __init__r   SERVICES_COLLECTION_SERVICES_LIST_COMMANDselfkwargs	__class__s     8lib/googlecloudsdk/command_lib/endpoints/common_flags.pyr   !ConsumerServiceCompleter.__init__!   s3    	
"D2  44+k 	    r   __name__
__module____qualname____firstlineno__r   __static_attributes____classcell__r   s   @r   r
   r
           r   r
   c                   (   ^  \ rS rSrU 4S jrSrU =r$ )ProducerServiceCompleter)   c                 \   > [         [        U ]
  " S[        R                  [
        S/S.UD6  g )Nproducedr   r   )r   r(   r   r   r   r   r   s     r   r   !ProducerServiceCompleter.__init__+   s3    	
"D2  44+l 	r   r   r   r%   s   @r   r(   r(   )   r&   r   r(   c                 J    [         R                  " SSR                  U 5      S9$ )N	operationzThe name of the operation {0}.helpr   Argumentformatsuffixs    r   operation_flagr6   3   s$    	+226:
< <r   c                 T    [         R                  " U[        SR                  U 5      S9$ NThe name of the service {0}.)	completerr0   )r   r2   r(   r3   r5   	flag_names     r   producer_service_flagr=   9   '    	()008
: :r   c                 T    [         R                  " U[        SR                  U 5      S9$ r8   )r   r2   r
   r3   r;   s     r   consumer_service_flagr@   @   r>   r   c                 J    [         R                  " USR                  U 5      S9$ )Nr9   r/   r1   r;   s     r   available_service_flagrB   G   s&     
)008
: :r   c                 J    [         R                  " SSR                  U 5      S9$ )Nz--keyzThe identifier of the key {0}.r/   r1   r4   s    r   key_flagrD   O   s$    	+226:
< <r   N)	to act on)rE   service)__doc__
__future__r   r   r    googlecloudsdk.api_lib.endpointsr   googlecloudsdk.callioper   googlecloudsdk.command_lib.utilr   r   ListCommandCompleterr
   r(   r6   r=   r@   rB   rD   r   r   r   <module>rM      sa     7 &  ' : ( 62 z>> z>> <:::<r   