
                         N    d Z ddlmZ dZdZdZdZeefdZeefdZeefdZ	d	 Z
y
)zAPI lib for BigQuery.    )apisbigqueryv2bigquerymigrationc                 F    t        j                  ||      }t        ||       S )z5Return apitools message object for give message name.)r   GetMessagesModulegetattr)message_nameapiapi_versionmessagess       %lib/googlecloudsdk/api_lib/bq/util.pyGetApiMessager      s!    ##C5(	<	((    c                 .    t        j                  | |      S N)r   GetClientInstancer   r   s     r   GetApiClientr   !   s    			[	11r   c                     t        | ||      S r   )r   )r
   r   r   s      r   GetMigrationApiMessager   %   s     
|S+	66r   c                  ,    t        t        t              S )Nr   )r   _BQ_MIGRATION_API_BQ_MIGRATION_API_VERSION r   r   GetMigrationApiClientr   +   s    	
)B
 r   N)__doc__googlecloudsdk.api_lib.utilr   _BQ_API_BQ_API_VERSIONr   r   r   r   r   r   r   r   r   <module>r!      sO      , '    %, ) / 2
 (5N7r   