
                             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
  \R                  " \R                  R                  \R                  R                  \R                  R                  5       " S S	\R                   5      5       rg
)z)services api-keys get-key-string command.    )absolute_import)division)unicode_literals)apikeys)base)common_flagsc                   .    \ rS rSrSr\S 5       rS rSrg)GetKeyString   aG  Get the key string of an API key.

Get the key string of an API key

## EXAMPLES


  To get the key string of API key `1234`, run:

   $ {command} 1234

  To get the key string of API key `1234` in project
  `myproject` using the fully qualified API key name, run:

   $ {command} projects/myproject/locations/global/keys/1234
c                 .    [         R                  " U SS9  g )Nzto retrieve key string)parsersuffix)r   key_flag)r   s    /lib/surface/services/api_keys/get_key_string.pyArgsGetKeyString.Args/   s    0HI    c                     [         R                  " 5       nUR                  nUR                  R                  R                  5       nUR                  UR                  5       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:
  Key string.
)name)
r   GetClientInstanceMESSAGES_MODULECONCEPTSkeyParse/ApikeysProjectsLocationsKeysGetKeyStringRequestRelativeNameprojects_locations_keysr
   )selfargsclientmessageskey_refrequests         r   RunGetKeyString.Run3   sn     &&(F%%Hmm%%'GFF!!# G %G))66w??r    N)	__name__
__module____qualname____firstlineno____doc__staticmethodr   r$   __static_attributes__r&   r   r   r
   r
      s#    " J J@r   r
   N)r+   
__future__r   r   r   googlecloudsdk.api_lib.servicesr   googlecloudsdk.callioper   #googlecloudsdk.command_lib.servicesr   ReleaseTracksReleaseTrackALPHABETAGADescribeCommandr
   r&   r   r   <module>r8      sv    0 &  ' 3 ( < T..33T5F5F5I5I'@4'' '@'@r   