
                             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  SSK	J
r
  \
R                   " S	 S
\
R                  5      5       rg)z7Fetch the IAM policy for a Binary Authorization policy.    )absolute_import)division)unicode_literals)apis)iam)util)basec                       \ rS rSrSrS rSrg)GetIamPolicy   a  Get the IAM policy for a Binary Authorization policy.

Returns an empty policy if the resource does not have an existing IAM policy
set.

## EXAMPLES

The following command gets the IAM policy for the current project's Binary
Authorization policy:

  $ {command}
c                     [         R                  " U R                  5       5      n[        R                  " U5      R                  [        R                  " 5       5      $ )N)r   GetApiVersionReleaseTrackr   ClientGetr   GetPolicyRef)selfargsapi_versions      7lib/surface/container/binauthz/policy/get_iam_policy.pyRunGetIamPolicy.Run*   s>    $$T%6%6%89K::k"&&t'8'8':;;     N)__name__
__module____qualname____firstlineno____doc__r   __static_attributes__r   r   r   r   r      s    <r   r   N)r   
__future__r   r   r   )googlecloudsdk.api_lib.container.binauthzr   r   r   googlecloudsdk.callioper	   DefaultUniverseOnlyListCommandr   r   r   r   <module>r&      sF    > &  ' : 9 : ( <4## < <r   