
    
                         S 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.    )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_flagr3   0   s$    	+226:
< <r   c                 T    [         R                  " U[        SR                  U 5      S9$ NThe name of the service {0}.)	completerr-   )r   r/   r%   r0   r2   	flag_names     r   producer_service_flagr:   6   '    	()008
: :r   c                 T    [         R                  " U[        SR                  U 5      S9$ r5   )r   r/   r   r0   r8   s     r   consumer_service_flagr=   =   r;   r   c                 J    [         R                  " USR                  U 5      S9$ )Nr6   r,   r.   r8   s     r   available_service_flagr?   D   s&     
)008
: :r   c                 J    [         R                  " SSR                  U 5      S9$ )Nz--keyzThe identifier of the key {0}.r,   r.   r1   s    r   key_flagrA   L   s$    	+226:
< <r   N)	to act on)rB   service)__doc__ googlecloudsdk.api_lib.endpointsr   googlecloudsdk.callioper   googlecloudsdk.command_lib.utilr   r   ListCommandCompleterr   r%   r3   r:   r=   r?   rA   r   r   r   <module>rI      sZ     7 ; ( 62 z>> z>> <:::<r   