
    	                        S r SSKJr  SSKJr  SSKJr  SSKJr  SSKJr  SSKJr	  SSK
Jr  SS	KJr  SS
KJr  SSS.r\R"                  " \R$                  \R&                  \R(                  5       " S S\R*                  5      5       rg)zPCommand to list all Assured Operations belonging to a given parent Organization.    )absolute_import)division)unicode_literals)endpoint_util)message_util)
operations)base)ReleaseTrack)flagsQList all Assured Workloads operations that belong to a given parent organization.a           The following example command lists all Assured Workloads operations
        with these properties:

        * belonging to an organization with ID 123
        * located in the `us-central1` region
        * return no more than 30 results
        * requesting 10 results at a time from the backend

          $ {command} organizations/123/locations/us-central1 --limit=30 --page-size=10
        )DESCRIPTIONEXAMPLESc                   2    \ rS rSrSr\r\S 5       rS r	Sr
g)List/   r   c                 0    [         R                  " U 5        g )N)r   AddListOperationsFlags)parsers    &lib/surface/assured/operations/list.pyArgs	List.Args5   s    	  (    c                 r   [         R                  " U R                  5       UR                  S9   [        R
                  " U R                  5       S9nUR                  [        R                  " UR                  UR                  5      UR                  UR                  S9sSSS5        $ ! , (       d  f       g= f)zRun the list command.)release_trackregion)r   )parentlimit	page_sizeN)r   +AssuredWorkloadsEndpointOverridesFromRegionr
   locationapisOperationsClientr   r   CreateAssuredParentorganizationr   r   )selfargsclients      r   RunList.Run9   s    		B	B'')$--
A$$43D3D3FGf[[11$2C2C26--A

NN	  $
A 
A 
As   A0B((
B6 N)__name__
__module____qualname____firstlineno____doc___DETAILED_HELPdetailed_helpstaticmethodr   r(   __static_attributes__r*   r   r   r   r   /   s!    Y -) )	$r   r   N)r/   
__future__r   r   r   googlecloudsdk.api_lib.assuredr   r   r   r!   googlecloudsdk.callioper	   googlecloudsdk.calliope.baser
   "googlecloudsdk.command_lib.assuredr   r0   ReleaseTracksGABETAALPHAListCommandr   r*   r   r   <module>r>      sx    W &  ' 8 7 = ( 5 4	
	& LOO\%6%68J8JK$4 $ L$r   