
                             S r SSKJr  SSKJr  SSKJr  SSKrSSKJr  SSKJ	r	  SSK
Jr  \	R                  " \	R                  R                  5       " S	 S
\	R                  5      5       rg)z-Command for getting access approval settings.    )absolute_import)division)unicode_literalsN)service_account)base)parentc                   V    \ rS rSrSrS\R                  " S5      0r\S 5       r	S r
Srg)	Get   zGet Access Approval service account.

Retrieves the service account that is used by Access Approval to access KMS
keys for signing approved approval requests.
EXAMPLESa           To get the service account for the current project use

          $ {command}

        To get the service account for folder f1 use

          $ {command} --folder=f1

        To get the service account for organization org1 use

          $ {command} --organization=org1
        c                 0    [         R                  " U 5        g)zAdd command-specific args.N)r   Args)parsers    2lib/surface/access_approval/service_account/get.pyr   Get.Args5   s     KK    c                 \    [         R                  " U5      n[        R                  " SU-  S9$ )zThis is what gets called when the user runs this command.

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

Returns:
  Some value that we want to have printed later.
z%s/serviceAccount)name)r   	GetParentr   r
   )selfargsps      r   RunGet.Run:   s+     	A%81%<>>r    N)__name__
__module____qualname____firstlineno____doc__textwrapdedentdetailed_helpstaticmethodr   r   __static_attributes__r   r   r   r
   r
      s=     
//  -"  ?r   r
   )r    
__future__r   r   r   r!   &googlecloudsdk.api_lib.access_approvalr   googlecloudsdk.callioper   *googlecloudsdk.command_lib.access_approvalr   ReleaseTracksReleaseTrackGADescribeCommandr
   r   r   r   <module>r.      sW    4 &  '  B ( = D%%(()(?$

 (? *(?r   