ó
    €Ïœ  ã                   ó,   • S r SSKJr  SSKJr  S rS rg)z?Utilities for defining Resource Settings arguments on a parser.é    )Ú
completers)Úcommon_argsc                 ó&   • U R                  SSSS9  g)zmAdds argument for the settings name to the parser.

Args:
  parser: ArgumentInterceptor, An argparse parser.
Úsetting_nameÚSETTING_NAMEzŽName of the resource settings. The list of available settings can be fetched using the list command: 
 $ gcloud resource-manager settings list©ÚmetavarÚhelpN)Úadd_argument)Úparsers    ÚElib/googlecloudsdk/command_lib/resource_manager/settings/arguments.pyÚAddSettingsNameArgToParserr      s"   € ð 	×ÑØØð5ð	 ò ó    c                 óÌ   • U R                  SSS9nUR                  SS[        R                  SS9  UR                  SS	S
S9  [        R
                  " SS9R                  U5        g)a+  Adds flags for the resource ID to the parser.

Adds --organization, --folder, and --project flags to the parser. The flags
are added as a required group with a mutex condition, which ensures that the
user passes in exactly one of the flags.

Args:
  parser: ArgumentInterceptor, An argparse parser.
Tz7Resource that is associated with the resource settings.)Úrequiredr
   z--organizationÚORGANIZATION_IDzOrganization ID.)r	   Ú	completerr
   z--folderÚ	FOLDER_IDz
Folder ID.r   zProject ID.)Úhelp_text_to_overwriteN)Úadd_mutually_exclusive_groupr   r   ÚOrganizationCompleterr   ÚProjectArgumentÚAddToParser)r   Úresource_groups     r   ÚAddResourceFlagsToParserr   (   s~   € ð ×6Ñ6ØØDð 7ð F€.ð ×ÑØØÜ×0Ñ0Øð	 ñ ð
 ×ÑØ˜+¨Lð ñ :ä×ÒØ*ñ,ß,7©K¸Õ,Gr   N)Ú__doc__Ú+googlecloudsdk.command_lib.resource_managerr   Ú$googlecloudsdk.command_lib.util.argsr   r   r   © r   r   Ú<module>r       s   ðñ Fõ CÝ <òó$Hr   