
                         >   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 gateways.    )absolute_import)division)unicode_literals)gateways)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 a gateway.z{description}z          To print the IAM policy for a given gateway, run:

            $ {command} my-gateway --location=us-central1
          )DESCRIPTIONEXAMPLESc                 n    [         R                  " U SSS9  [        R                  R	                  U 5        g )Nzfor which to get IAM policyT)
positional)r   AddGatewayResourceArgr   URI_FLAGRemoveFromParser)parsers    2lib/surface/api_gateway/gateways/get_iam_policy.pyArgsGetIamPolicy.Args,   s*    ''0M379MM""6*    c                     UR                   R                  R                  5       n[        R                  " 5       R                  U5      $ )N)CONCEPTSgatewayParser   GatewayClientr
   )selfargsgateway_refs      r   RunGetIamPolicy.Run2   s4    --''--/K!!#00==r    N)
__name__
__module____qualname____firstlineno____doc__detailed_helpstaticmethodr   r    __static_attributes__r"   r   r   r
   r
      s1     * 		- + +
>r   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     5 &  ' 7 ( @ D%%++T->->-C-C%%((*>4## > *>r   