
                            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  \R                  " \R                  R                  \R                  R                  \R                  R                  5       " S S\R                  5      5       rg	)
z!services api-keys lookup command.    )absolute_import)division)unicode_literals)apikeys)basec                   .    \ rS rSrSr\S 5       rS rSrg)Lookup   zLook up resource name of a key string.

Look up resource name of a key string.

## EXAMPLES

 Look up resource name of a key string named my-key-string:

  $ {command} my-key-string
c                 $    U R                  SSS9  g )N
key_stringzKey string of the key)help)add_argument)parsers    'lib/surface/services/api_keys/lookup.pyArgsLookup.Args(   s    
+BC    c                     [         R                  " 5       nUR                  nUR                  UR                  S9nUR
                  R                  U5      $ )zRun command.

Args:
  args: an argparse namespace. All the arguments that were provided to this
    command invocation.

Returns:
  Resource name and its parent name.
)	keyString)r   GetClientInstanceMESSAGES_MODULEApikeysKeysLookupKeyRequestr   keys	LookupKey)selfargsclientmessagesrequests        r   Run
Lookup.Run,   sI     &&(F%%H22T__2MG;;  ))r    N)	__name__
__module____qualname____firstlineno____doc__staticmethodr   r    __static_attributes__r"   r   r   r	   r	      s"    	 D D*r   r	   N)r'   
__future__r   r   r   googlecloudsdk.api_lib.servicesr   googlecloudsdk.callioper   ReleaseTracksReleaseTrackALPHABETAGACommandr	   r"   r   r   <module>r3      sn    ( &  ' 3 ( T..33T5F5F5I5I*T\\ **r   