
    [
                        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	 ddlm
Z
 ddlmZ ddlmZ dd	lmZ  e	j"                  e	j$                  j&                         G d
 de	j(                               Z e	j"                  e	j$                  j,                         G d de             Z e	j"                  e	j$                  j0                         G d de             Zy)(Describe a Cloud NetApp Volume Snapshot.    )absolute_import)division)unicode_literals)client)base)
exceptions)flags)concept_parsersc                   \    e Zd ZdZej
                  j                  ZdddZe	d        Z
d Zy)Describer   z=          Describe a Cloud NetApp Volume Snapshot.
          z          The following command describes a Snapshot named NAME in the given location and volume:

              $ {command} NAME --location=us-central1 --volume=vol1
          )DESCRIPTIONEXAMPLESc                     t        j                  t        j                  d      g      j	                  |        t        j                  |        y )NzThe Snapshot to describe.)r   ConceptParserr
   GetSnapshotPresentationSpecAddToParsersnapshots_flagsAddSnapshotVolumeArg)parsers    0lib/surface/netapp/volumes/snapshots/describe.pyArgszDescribe.Args.   s=    !!5#D#D#$% #& ''2{6':((0    c                     |j                   j                  j                         }|j                   j                  j                         t	        j
                  dd      t        j                  | j                        }|j                  |      S )z:Get a Cloud NetApp Volume Snapshot in the current project.z--volumez)Requires a volume to describe snapshot of)release_track)
CONCEPTSsnapshotParsevolumer	   RequiredArgumentExceptionsnapshots_clientSnapshotsClient_RELEASE_TRACKGetSnapshot)selfargssnapshot_refr   s       r   RunzDescribe.Run4   sw    ==))//1L}}!!#+00
AC C --D<O<OPFl++r   N)__name__
__module____qualname____doc__r   ReleaseTrackGAr#   detailed_helpstaticmethodr   r(    r   r   r   r      s@    0$$''.		- 1 1
	,r   r   c                   <    e Zd ZdZej
                  j                  Zy)DescribeBetar   N)r)   r*   r+   r,   r   r-   BETAr#   r1   r   r   r3   r3   @   s    0$$)).r   r3   c                   <    e Zd ZdZej
                  j                  Zy)DescribeAlphar   N)r)   r*   r+   r,   r   r-   ALPHAr#   r1   r   r   r6   r6   G   s    0$$**.r   r6   N)r,   
__future__r   r   r   /googlecloudsdk.api_lib.netapp.volumes.snapshotsr   r!   googlecloudsdk.callioper   r	   !googlecloudsdk.command_lib.netappr
   3googlecloudsdk.command_lib.netapp.volumes.snapshotsr   (googlecloudsdk.command_lib.util.conceptsr   ReleaseTracksr-   r.   DescribeCommandr   r4   r3   r7   r6   r1   r   r   <module>r@      s    / &  ' V ( . 3 X D D%%((),t## , *,D D%%**+*8 * ,* D%%++,+L + -+r   