ó
    €Ïh  ã                   óZ   • S r SSKJr  SSKJr  SSKJr  SSKrSSKJr  Sr\S-   r	S	 r
S
 rg)z*Utilities for GCS long-running operations.é    )Úabsolute_import)Údivision)Úunicode_literalsN)Úerrorsz"projects/.+/buckets/(?P<bucket>.+)z/operations/(?P<id>.+)c                 óÌ   • [         R                  " [        U 5      n UR                  S5      $ ! [         a+    [
        R                  " SR                  [        U 5      5      ef = f)ú>Extracts operation ID from user input of operation name or ID.Úbucketú8Invalid operation name format. Expected: {} Received: {})ÚreÚmatchÚ_BUCKET_OPERATION_NAME_REGEXÚgroupÚAttributeErrorr   ÚErrorÚformat©Úoperation_nameÚms     Ú9lib/googlecloudsdk/command_lib/storage/operations_util.pyÚget_operation_bucket_from_namer       sZ   € ä‡h‚hÔ+¨^Ó<€!ðØ7‰78ÓÐøÜ	ó Ü
,Š,ØB×IÑIÜ(¨.ó	
óð ðús	   . ®5A#c                 óî   • [         R                  " [        U 5      n UR                  S5      UR                  S5      4$ ! [         a+    [
        R                  " SR                  [        U 5      5      ef = f)r   r	   Úidr
   )r   r   Ú#_BUCKET_AND_ID_OPERATION_NAME_REGEXr   r   r   r   r   r   s     r   Ú%get_operation_bucket_and_id_from_namer   -   sg   € ä‡h‚hÔ2°NÓC€!ðØ7‰78Ó˜aŸg™g d›mÐ+Ð+øÜ	ó Ü
,Š,ØB×IÑIÜ/°ó	
óð ðús	   !? ¿5A4)Ú__doc__Ú
__future__r   r   r   r   Ú"googlecloudsdk.command_lib.storager   r   r   r   r   © ó    r   Ú<module>r       s:   ðñ 1å &Ý Ý 'ã 	å 5ð  EÐ à Ð#<Ñ<ð $ò

ó
r   