
    r                        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
KJr  \	R&                  \	R(                  " \	R*                  R,                  5       " S S\	R.                  5      5       5       r\	R(                  " \	R*                  R2                  5       " S S\5      5       r\	R(                  " \	R*                  R6                  5       " S S\5      5       rg)&List Cloud NetApp Volume Replications.    )absolute_import)division)unicode_literals)client)base)
exceptions)flags)concept_parsers)
propertiesc                   d    \ rS rSrSr\R                  R                  rSSS.r	\
S 5       rS rSrg	)
List   r   z<          Lists Cloud NetApp Volume Replications.
          z          The following command lists all Replications in the given location and volume:

              $ {command} --location=us-central1 --volume=vol1
          )DESCRIPTIONEXAMPLESc                     [         R                  " [        R                  " S5      /5      R	                  U 5        [
        R                  " U 5        g )Nz2The location in which to list Volume Replications.)r   ConceptParserr
   *GetResourceListingLocationPresentationSpecAddToParserreplications_flagsAddReplicationVolumeArg)parsers    /lib/surface/netapp/volumes/replications/list.pyArgs	List.Args1   s@    !!<<D	
 k&..v6    c                    [         R                  R                  R                  R	                  5         UR
                  R                  R                  5       c  [        R                  " SS5      eUR
                  R                  R                  5       R                  5       n[        R                  " U R                  S9n[        UR                  X!R                   S95      $ )zRun the list command.z--volumez)Requires a volume to list replications of)release_track)limit)r   VALUEScoreproject	GetOrFailCONCEPTSvolumeParser	   RequiredArgumentExceptionRelativeNamereplications_clientReplicationsClient_RELEASE_TRACKlistListReplicationsr   )selfargs
volume_refr   s       r   RunList.Run<   s     "",,.}}!!#+00
A  %%++-::<J 33))F ''
**'EFFr    N)__name__
__module____qualname____firstlineno____doc__r   ReleaseTrackGAr+   detailed_helpstaticmethodr   r1   __static_attributes__r3   r   r   r   r      sC     /$$''.		- 7 7Gr   r   c                   D    \ rS rSrSr\R                  R                  rSr	g)ListBetaM   r   r3   N)
r4   r5   r6   r7   r8   r   r9   BETAr+   r=   r3   r   r   r?   r?   M   s    .$$)).r   r?   c                   D    \ rS rSrSr\R                  R                  rSr	g)	ListAlphaT   r   r3   N)
r4   r5   r6   r7   r8   r   r9   ALPHAr+   r=   r3   r   r   rC   rC   T   s    .$$**.r   rC   N)r8   
__future__r   r   r   2googlecloudsdk.api_lib.netapp.volumes.replicationsr   r)   googlecloudsdk.callioper   r	   !googlecloudsdk.command_lib.netappr
   6googlecloudsdk.command_lib.netapp.volumes.replicationsr   (googlecloudsdk.command_lib.util.conceptsr   googlecloudsdk.corer   DefaultUniverseOnlyReleaseTracksr9   r:   ListCommandr   rA   r?   rE   rC   r3   r   r   <module>rP      s    - &  ' \ ( . 3 ^ D * D%%(())G4 )G * )GX D%%**+*t * ,* D%%++,+ + -+r   