
    
                         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\R                  5      rg)zCommand to unset properties.    )absolute_import)division)unicode_literals)base)
exceptions)
completers)flags)log)
propertiesc                   f    \ rS rSrSrS\R                  R                  5       0r\	S 5       r
S rSrg)Unset   a  Unset a Google Cloud CLI property.

By default, unsets the property in your active configuration only. Use the
`--installation` flag to unset the property across all configurations. See
`gcloud topic configurations` for more information.

## AVAILABLE PROPERTIES

{properties}

## EXAMPLES

To unset the project property in the core section, run:

  $ {command} project

To unset the zone property in the compute section, run:

  $ {command} compute/zone
r   c                     U R                  SS[        R                  SS9  [        R                  R                  U 5        g)zAdds args for this command.propertyzSECTION/PROPERTYzkThe property to be unset. Note that SECTION/ is optional while referring to properties in the core section.)metavar	completerhelpN)add_argumentr   PropertiesCompleterr	   INSTALLATION_FLAGAddToParser)parsers    lib/surface/config/unset.pyArgs
Unset.Args6   sA     "007	  8 
''/    c                    UR                   (       a  [        R                  R                  O[        R                  R                  n[        R
                  " UR                  5      nU(       d  [        R                  " SS5      e[        R                  " USUS9  SnUR                   (       a  Sn[        R                  R                  SR                  XC5      5        g)zRuns this command.r   z'Must be in the form: [SECTION/]PROPERTYN)scope zinstallation zUnset {0}property [{1}].)installationr   ScopeINSTALLATIONUSER
FromStringr   c_excInvalidArgumentExceptionPersistPropertyr
   statusPrintformat)selfargsr   prop	scope_msgs        r   Run	Unset.RunB   s    .2.?.?Z**""'' 
   /D**
?A AtT7I!iJJ/66yGHr    N)__name__
__module____qualname____firstlineno____doc__r   VALUESGetHelpStringdetailed_helpstaticmethodr   r/   __static_attributes__r1   r   r   r   r      s:    *  !2!2!@!@!BC-	0 	0Ir   r   N)r6   
__future__r   r   r   googlecloudsdk.callioper   r   r%   !googlecloudsdk.command_lib.configr   r	   googlecloudsdk.corer
   r   Commandr   r1   r   r   <module>rA      s7     # &  ' ( 7 8 3 # *2IDLL 2Ir   