
    T                     N    d Z ddlmZ ddlmZ ddlmZ ddlmZ  G d de      Zy)	z3API helpers for interacting with the system policy.    )absolute_import)division)unicode_literals)apisc                       e Zd ZdZddZd Zy)Clientz0A client for interacting with the system policy.Nc                 l    t        j                  |      | _        t        j                  |      | _        y N)r   GetClientInstanceclientGetMessagesModulemessages)selfapi_versions     >lib/googlecloudsdk/api_lib/container/binauthz/system_policy.py__init__zClient.__init__   s&    ((5DK**;7DM    c                     | j                   j                  |j                               }| j                  j                  j                  |      S )z6Get the system policy for the given location (region).)name)r   /BinaryauthorizationSystempolicyGetPolicyRequestRelativeNamer   systempolicy	GetPolicy)r   system_policy_refrequests      r   Getz
Client.Get   sC    mmKK++- L /G;;##--g66r   r
   )__name__
__module____qualname____doc__r   r    r   r   r   r      s    887r   r   N)	r    
__future__r   r   r   )googlecloudsdk.api_lib.container.binauthzr   objectr   r!   r   r   <module>r%      s"    : &  ' :7V 7r   