
                         d   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ej                   ej                  ej                  j$                         G d d	e                    Zy
)*Describe a Cloud NetApp Volume Quota Rule.    )client)base)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 Quota Rule.
          z          The following command describes a Quota Rule 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                  | d       y )NzThe Quota Rule to describe.T)required)r   ConceptParserr   GetQuotaRulePresentationSpecAddToParserquota_rules_flagsAddQuotaRuleVolumeArg)parsers    2lib/surface/netapp/volumes/quota_rules/describe.pyArgszDescribe.Args*   s<    !!		+	+,I	JKk&++FTB    c                     |j                   j                  j                         }t        j                  | j
                        }|j                  |      S )z<Get a Cloud NetApp Volume Quota Rule in the current project.)release_track)CONCEPTS
quota_ruleParsequota_rules_clientQuotaRulesClient_RELEASE_TRACKGetQuotaRule)selfargsquota_rule_refr   s       r   RunzDescribe.Run1   sF    ]]--335N00))F ~..r   N)__name__
__module____qualname____doc__r   ReleaseTrackGAr   detailed_helpstaticmethodr   r#    r   r   r	   r	      sD     3$$''.		- C C/r   r	   c                   <    e Zd ZdZej
                  j                  Zy)DescribeBetar   N)r$   r%   r&   r'   r   r(   BETAr   r,   r   r   r.   r.   ;   s     3$$)).r   r.   N)r'   1googlecloudsdk.api_lib.netapp.volumes.quota_rulesr   r   googlecloudsdk.callioper   !googlecloudsdk.command_lib.netappr   5googlecloudsdk.command_lib.netapp.volumes.quota_rulesr   (googlecloudsdk.command_lib.util.conceptsr   DefaultUniverseOnlyReleaseTracksr(   r)   DescribeCommandr	   r/   r.   r,   r   r   <module>r8      s    1 Z ( 3 \ D D%%(()/t## / * /B D%%**+*8 * , *r   