
                         >   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      \R                    " S S	\R"                  5      5       5       rg
)z*Command for getting IAM policies for apis.    )absolute_import)division)unicode_literals)apis)base)resource_argsc                   8    \ rS rSrSrSSS.r\S 5       rS rSr	g	)
GetIamPolicy   zGet the IAM policy for an API.z{description}zb          To print the IAM policy for a given API, run:

            $ {command} my-api
          )DESCRIPTIONEXAMPLESc                 n    [         R                  " U SSS9  [        R                  R	                  U 5        g )Nzfor which to get IAM policyT)
positional)r   AddApiResourceArgr   URI_FLAGRemoveFromParser)parsers    .lib/surface/api_gateway/apis/get_iam_policy.pyArgsGetIamPolicy.Args,   s*    ##F,I/35MM""6*    c                     UR                   R                  R                  5       n[        R                  " 5       R                  U5      $ )N)CONCEPTSapiParser   	ApiClientr
   )selfargsapi_refs      r   RunGetIamPolicy.Run2   s2    mm%%'G>>((11r    N)
__name__
__module____qualname____firstlineno____doc__detailed_helpstaticmethodr   r    __static_attributes__r"   r   r   r
   r
      s1     ' 		- + +
2r   r
   N)r'   
__future__r   r   r   "googlecloudsdk.api_lib.api_gatewayr   googlecloudsdk.callioper   &googlecloudsdk.command_lib.api_gatewayr   ReleaseTracksReleaseTrackALPHABETAGADefaultUniverseOnlyListCommandr
   r"   r   r   <module>r6      s     1 &  ' 3 ( @ D%%++T->->-C-C%%((*24## 2 *2r   