
                         J    d Z ddlmZ ddlmZ ddlmZ d Zd Zd Zd Zd	 Z	y
)zAFlags and helpers for the migration job objects related commands.    )absolute_import)division)unicode_literalsc                     t        |        | j                  dd      }t        |       t        |       t	        |       y)z8Adds source object identifier flags to the given parser.zThe source object identifier.T)requiredN)AddTypeFlag	add_groupAddDatabaseFlagAddSchemaFlagAddTableFlag)parsersource_object_identifier_groups     Blib/googlecloudsdk/command_lib/database_migration/objects/flags.pyAddSourceObjectIdentifierFlagr      sB    f#)#3#3% $4 $  01./-.    c                 .    d}| j                  d|       y)z+Adds a --database flag to the given parser.z#The name of the database to lookup.z
--databasehelpNadd_argumentr   	help_texts     r   r
   r
   "   s    3)l3r   c                 .    d}| j                  d|       y)z)Adds a --schema flag to the given parser.z!The name of the schema to lookup.z--schemar   Nr   r   s     r   r   r   (   s    1)jy1r   c                 .    d}| j                  d|       y)z(Adds a --table flag to the given parser.z The name of the table to lookup.z--tabler   Nr   r   s     r   r   r   .   s    0)ii0r   c                 8    d}g d}| j                  d||       y)z'Adds a --type flag to the given parser.zKThe type of the object to lookup. If not provided, the default is DATABASE.)DATABASESCHEMATABLEz--type)r   choicesNr   )r   r   r   s      r   r   r   4   s(      ,'hY@r   N)
__doc__
__future__r   r   r   r   r
   r   r   r    r   r   <module>r#      s.    H &  '	/421Ar   