
                         D    S r SSKJr  SSKJr  SSKJr  SSKJr  S rS rg)	z+Utilities for AI Platform indexes commands.    )absolute_import)division)unicode_literals)	resourcesc                 8    [        SR                  XX#5      5      $ )zBuild multi-parent operation.z1projects/{}/locations/{}/indexes/{}/operations/{})ParseIndexOperationformat)
project_idlocation_idindex_idoperation_ids       1lib/googlecloudsdk/command_lib/ai/indexes_util.pyBuildIndexParentOperationr      s"    	9@@
8;
< <    c                     SU ;   a   [         R                  R                  U SS9$ [         R                  R                  U SS9$ ! [         R                   a     N4f = f)zParse operation relative resource name to the operation reference object.

Args:
  operation_name: The operation resource name

Returns:
  The operation reference object
z	/indexes/z0aiplatform.projects.locations.indexes.operations)
collectionz(aiplatform.projects.locations.operations)r   REGISTRYParseRelativeName WrongResourceCollectionException)operation_names    r   r   r      sy     N"11
G 2 I I
 
			-	-!K 
. 
M M 55 
s   A AAN)	__doc__
__future__r   r   r   googlecloudsdk.corer   r   r    r   r   <module>r      s!    2 &  ' )<Mr   