
    
                     d    d Z ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddl	m
Z
 g dZd	 Zd
 Zy)z6arg_parser validators for Binary Authoritzation's CLI.    )absolute_import)division)unicode_literals)arg_parsers)parsing)log),globalzafrica-south1z
asia-east1z
asia-east2zasia-northeast1zasia-northeast2zasia-northeast3zasia-south1zasia-south2zasia-southeast1zasia-southeast2zaustralia-southeast1zaustralia-southeast2zeurope-central2zeurope-north1zeurope-southwest1zeurope-west1zeurope-west10zeurope-west12zeurope-west2zeurope-west3zeurope-west4zeurope-west6zeurope-west8zeurope-west9zme-central1zme-central2zme-west1znorthamerica-northeast1znorthamerica-northeast2zsouthamerica-east1zsouthamerica-west1zus-central1zus-central2zus-east1zus-east4zus-east5zus-east7z	us-south1zus-west1zus-west2zus-west3zus-west4zus-west8c                     t        j                  |       t         j                  j                  k(  rt	        j
                  d      | S )Nz*Policy file must be a .yaml or .json file.r   GetResourceFileTypeResourceFileTypeUNKNOWNr   ArgumentTypeErrorfnames    @lib/googlecloudsdk/command_lib/container/binauthz/arg_parsers.pyPolicyFileNamer   M   s<      '7+C+C+K+KK

'
'46 6	,    c                     t        j                  |       t         j                  j                  k(  rt	        j
                  d      | S )Nz,Resource file must be a .yaml or .json file.r   r   s    r   ResourceFileNamer   T   s>      '7+C+C+K+KK

'
'6  
,r   N)__doc__
__future__r   r   r   googlecloudsdk.callioper   -googlecloudsdk.command_lib.container.binauthzr   googlecloudsdk.corer   BINAUTHZ_ENFORCER_REGIONSr   r    r   r   <module>r      s/    = &  ' / A #- `r   