
    
                     P   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                  dd	      Z	 ej                  d
dd      Z
 ej                  ddd      Z ej                  ddd      Z ej                  ddd      Z ej                  dddgdddd      ZddZy)z2Shared flags definitions for muteconfigs commands.    )absolute_import)division)print_function)unicode_literals)basemute_configzCID of the mute config or the full resource name of the mute config.helpz--descriptionFz<The text that will be used to describe a mute configuration.)requiredr
   z--display-namezJThe text that will be used to represent a mute configuration display name.z--expiry-timezThe expiry of the mute config. Only applicable for dynamic
      configs. If the expiry is set, when the config expires, it is removed from
      all findings. See `$ gcloud topic datetimes` for information on
      supported time formats.z--filterzOThe filter string which will applied to findings muted by a mute configuration.z--typestaticdynamicTYPEz6The mute configuration type. Immutable after creation.)choicesmetavarr   help_strdefaultc                     | j                  d|      }|j                  dd       |j                  dd       |j                  dd	       | S )
z"Adds a parent group to the parser.T)mutexr   z--organizationz_Organization where the mute config resides. Formatted as ``organizations/123'' or just ``123''.r	   z--folderzSFolder where the mute config resides. Formatted as ``folders/456'' or just ``456''.z	--projectzdProject (id or number) where the mute config resides. Formatted as ``projects/789'' or just ``789''.)	add_groupadd_argument)parserr   parent_groups      7lib/googlecloudsdk/command_lib/scc/muteconfigs/flags.pyAddParentGroupr   C   sm    !!x!@,p  
 d   u   
-    N)F)__doc__
__future__r   r   r   r   googlecloudsdk.callioper   ArgumentMUTE_CONFIG_FLAGDESCRIPTION_FLAGDISPLAY_NAME_FLAGEXPIRY_TIME_FLAGFILTER_FLAGChoiceArgument	TYPE_FLAGr    r   r   <module>r(      s     9 &  % ' ( 4==	N 
 !4==	G  "DMM	Y  !4==
!  dmm	^  Dy!E	r   