
                            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K	J
r
  SSKJr  \R                  " \R                  R                  \R                  R                   5       " S	 S
\R"                  5      5       rg)zImport a Looker instance.    )absolute_import)division)unicode_literals)	instances)base)flags)logc                   6    \ rS rSrSrSS0r\S 5       rS rSr	g)	Import   a  Import a Looker instance.

This command can fail for the following reasons:
      * The instance specified does not exist.
      * The active account does not have permission to access the given
        instance.
      * The Google Cloud Storage bucket does not exist.
EXAMPLESz          To import an instance with the name `my-looker-instance` in the default
          region, run:

            $ {command} my-looker-instance --source-gcs-uri='gs://bucketName/folderName'
      c                 0    [         R                  " U 5        g)z Register flags for this command.N)r   AddImportInstanceArgs)parsers    &lib/surface/looker/instances/import.pyArgsImport.Args.   s     
'    c                    UR                   R                  R                  5       n[        R                  " X!U R                  5       5      n[        R                  R                  SR                  UR                  UR                  5      5        U$ )Nz@Import request issued for: [{}]
Check operation [{}] for status.)CONCEPTSinstanceParser   ImportInstanceReleaseTrackr	   statusPrintformatname)selfargsinstance_refops       r   Run
Import.Run3   sg    ==))//1L		!	!,d6G6G6I	JBJJ	++16$--+I Ir    N)
__name__
__module____qualname____firstlineno____doc__detailed_helpstaticmethodr   r#   __static_attributes__r%   r   r   r   r      s1       
 - ( (r   r   N)r*   
__future__r   r   r   googlecloudsdk.api_lib.lookerr   googlecloudsdk.callioper   !googlecloudsdk.command_lib.lookerr   googlecloudsdk.corer	   ReleaseTracksr   ALPHAGACommandr   r%   r   r   <module>r7      sf      &  ' 4 ( 3 # D%%++T->->-A-ABT\\  Cr   