
                             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 ej                   ej                  ej                  j                         G d dej                                      Zy	)
z,Command to list Storage Insights operations.    )absolute_import)division)unicode_literals)insights_api)basec                   0    e Zd ZdZdddZed        Zd Zy)ListzList insights operations.z%      List storage operations.
      a        To list all operations in "us-central1" for the project "my-project", run:

        $ {command} projects/my-project/locations/us-central1

      To list operations in JSON format, run:

        $ {command} projects/my-project/locations/us-central1 --format=json
      )DESCRIPTIONEXAMPLESc                 *    | j                  dd       y )Nparent_resource_namezSThe operation parent resource in the format ""projects/PROJECT/locations/LOCATION".)help)add_argument)parsers    /lib/surface/storage/insights/operations/list.pyArgsz	List.Args-   s    
7      c                 \    t        j                         j                  |j                        S )N)r   InsightsApilist_operationsr   )selfargss     r   RunzList.Run7   s"    ##%55d6O6OPPr   N)__name__
__module____qualname____doc__detailed_helpstaticmethodr   r    r   r   r	   r	      s2     "

	-  Qr   r	   N)r   
__future__r   r   r   googlecloudsdk.api_lib.storager   googlecloudsdk.callioper   DefaultUniverseOnlyReleaseTracksReleaseTrackALPHAListCommandr	   r    r   r   <module>r)      sd    3 &  ' 7 ( D%%++,Q4 Q - Qr   