
                             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 jr	S r
S	 r  SS
 jrSS jr  SS jrg)z-Flags module for Essential Contacts commands.    )absolute_import)division)unicode_literals)arg_parsers)	arg_utilsc                 .    U R                  S[        US9  g)z-Adds an arg for the contact id to the parser.
CONTACT_ID)typehelpN)add_argumentstr)parser	help_texts     :lib/googlecloudsdk/command_lib/essential_contacts/flags.pyAddContactIdArgr      s    l9=    c                     U R                  SS9nUR                  SSS9  UR                  SSS9  UR                  SS	S9  g
)z=Adds args for the parent resource of a contact to the parser.F)requiredz	--projectzproject number or id where contacts are set. If neither --project, --folder, nor --organization are provided then the config property [core/project] will be used as the resource.)r   z--folderzfolder number where contacts are set. If neither --project, --folder, nor --organization are provided then the config property [core/project] will be used as the resource.z--organizationzorganization number where contacts are set. If neither --project, --folder, nor --organization are provided then the config property [core/project] will be used as the resource.N)add_mutually_exclusive_groupr   )r   parent_groups     r   AddParentArgsr      sm    44e4D, @    y      r   c                 0    [         R                  " SU 5      $ )N--notification-categories)r   ChoiceEnumMapper)"notification_category_enum_messages    r   _NotificationCategoryEnumMapperr   /   s    		#	#$?$F
H Hr   c           	      t    U R                  SS[        R                  " [        U5      R                  S9UUS9  g)zLAdds the arg for specifying a list of notification categories to the parser.r   NOTIFICATION_CATEGORIES)choices)metavarr
   r   r   N)r   r   ArgListr   r   )r   r   r   r   s       r   AddNotificationCategoriesArgr"   4   sC     	!'10229';   r   c                 $    U R                  SX!S9  g)z2Adds an arg for the contact's email to the parser.z--emailr   r   Nr   r   r   r   s      r   AddEmailArgr'   D   s    iiCr   c                 $    U R                  SX!S9  g)z?Adds an arg for the contact's preferred language to the parser.z
--languager$   Nr%   r&   s      r   AddLanugageArgr)   I   s     	lFr   N)zid of contact)Fz9list of notification categories contact is subscribed to.)Fzemail address of contact.)FzGpreferred language of contact. Must be a valid ISO 639-1 language code.)__doc__
__future__r   r   r   googlecloudsdk.callioper   $googlecloudsdk.command_lib.util.apisr   r   r   r   r"   r'   r)    r   r   <module>r/      sL    4 &  ' / :>
"H I	 D Gr   