
    	                     J    S r SSKJr  SSKJr  SSKJr  S rS rS rS rS	 r	g
)z>Flags and helpers for the Database Migration related commands.    )absolute_import)division)unicode_literalsc                 *    SnU R                  SSUS9  g)z+Adds a --no-async flag to the given parser.zAWaits for the operation in progress to complete before returning.z
--no-async
store_trueactionhelpNadd_argumentparser	help_texts     Nlib/googlecloudsdk/command_lib/database_migration/private_connections/flags.pyAddNoAsyncFlagr      s$     J  	l<iH    c                 *    SnU R                  SUSS9  g)z/Adds a --display-name flag to the given parser.zA user-friendly name for the private connection. The display name can include letters, numbers, spaces, and hyphens, and must start with a letter. The maximum length allowed is 60 characters.z--display-nameT)r
   requiredNr   r   s     r   AddDisplayNameFlagr      s$    > 
 	&YFr   c                 *    SnU R                  SSUS9  g)z2Adds a --skip-validation flag to the given parser.zL    Creates the private connection without running prior verifications.
    z--skip-validationr   r   Nr   r   s     r   AddSkipValidationFlagr   (   s'    ) 	  r   c                 0    U R                  SS[        SS9  g)z3Adds the `--network-attachment` flag to the parser.z--network-attachmentTzFull URI of the network attachment that datastream will connect to.For example, this would be of the form:`network-attachment=projects/test-project/regions/us-central1/networkAttachments/my-na`)r   typer
   N)r   strr   s    r   AddNetworkAttachmentFlagr   4   s$    d  	r   c                 (    U R                  SSSSS9  g)z.Adds the `--validate-only` flag to the parser.z--validate-onlyFr   zpIf set, the request will retrieve the project id to allow in the  network attachment Datastream will connect to.)r   r	   r
   Nr   r   s    r   AddValidateOnlyFlagr   B   s#    <  r   N)
__doc__
__future__r   r   r   r   r   r   r   r    r   r   <module>r"      s/    E &  'IG	
r   