Ë
    €ÏÙ  ã                   ó>   — d Z ddlmZ ddlmZ ddlmZ ddlmZ d„ Zy)z=Utilities for AI Platform deployment resource pools commands.é    )Úabsolute_import)Údivision)Úunicode_literals)Ú	resourcesc                 óÂ   — d| v r"	 t         j                  j                  | d¬«      S t         j                  j                  | d¬«      S # t         j                  $ r Y Œ6w xY w)z¬Parse operation resource to the operation reference object.

  Args:
    operation_name: The operation resource to wait on

  Returns:
    The operation reference object
  z/deploymentResourcePools/z@aiplatform.projects.locations.deploymentResourcePools.operations)Ú
collectionz(aiplatform.projects.locations.operations)r   ÚREGISTRYÚParseRelativeNameÚ WrongResourceCollectionException)Úoperation_names    úClib/googlecloudsdk/command_lib/ai/deployment_resource_pools_util.pyÚParseOperationr      sw   € ð ! NÑ2ðÜ×Ñ×1Ñ1Ø
à
Lð 2ó Nð Nô 
×	Ñ	×	-Ñ	-ØØ;ð 
.ó 
=ð =øô ×5Ñ5ò Ù
ðús   † A ÁAÁAN)Ú__doc__Ú
__future__r   r   r   Úgooglecloudsdk.corer   r   © ó    r   Ú<module>r      s   ðñ Då &Ý Ý 'å )ó=r   