
    -                     `   d Z ddlmZ ddlmZ ddlmZ  ej                  ej                  j                        ej                   G d dej                                      Z ej                  ej                  j                        ej                   G d dej                                      Zy	)
zQuotaPreference get command.    )quota_preference)base)flagsc                   &    e Zd ZdZed        Zd Zy)DescribeAlpha  Get details about a single QuotaPreference.

  ## EXAMPLES

  To get the details about quota preference `my-preference` for
  `projects/12321`, run:

    $ {command} my-preference --project=12321
    $ {command} my-preference --project=my-project-id


  To get the details about quota preference `my-preference` for `folders/123`,
  run:

    $ {command} my-preference --folder=123
  c                 v    t        j                  | d       t        j                         j                  |        yzArgs is called by calliope to gather arguments for this command.

    Args:
      parser: An argparse parser that you can use to add arguments that go on
        the command line after this command. Positional arguments are allowed.
    zquota preference to describeNr   AddResourceFlagsPreferenceIdAddToParserparsers    *lib/surface/quotas/preferences/describe.pyArgszDescribeAlpha.Args*   ,     
6#AB	$$V,    c                 `    t        j                  |t        j                  j                        S zRun command.

    Args:
      args: argparse.Namespace, The arguments that this command was invoked
        with.

    Returns:
      The requested QuotaPreference for specified container and service.
    )release_track)r   GetQuotaPreferencer   ReleaseTrackGAselfargss     r   RunzDescribeAlpha.Run5   s(     ..D--00 r   N__name__
__module____qualname____doc__staticmethodr   r    r   r   r   r      s     " - -r   r   c                   &    e Zd ZdZed        Zd Zy)DescribeBetar   c                 v    t        j                  | d       t        j                         j                  |        yr
   r   r   s    r   r   zDescribeBeta.ArgsY   r   r   c                 `    t        j                  |t        j                  j                        S r   )r   r   r   r   BETAr   s     r   r   zDescribeBeta.Rund   s(     ..D--22 r   Nr   r%   r   r   r'   r'   E   s     " - -r   r'   N)r#   googlecloudsdk.api_lib.quotasr   googlecloudsdk.callioper   !googlecloudsdk.command_lib.quotasr   ReleaseTracksr   ALPHAUniverseCompatibleDescribeCommandr   r*   r'   r%   r   r   <module>r2      s    # : ( 3 D%%++,*D(( *  -*Z D%%**+)4'' )  ,)r   