
    q                     &   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  SS	KJr  SS
KJr  SSKJr  \R(                  " \R*                  R,                  \R*                  R.                  5       " S S\R0                  5      5       rg)z)The `domains list-user-verified` command.    )absolute_import)division)print_function)unicode_literals)
exceptions)appengine_domains_api_client)global_methods)base)log)
propertiesc                   8    \ rS rSrSrSSS.r\S 5       rS rSr	g	)
ListUserVerified   z"Lists the user's verified domains.z{description}z          To list domains that have been verified by the current user, run:

            $ {command}

          Use the {parent_command} verify command to verify additional
          domains.
          )DESCRIPTIONEXAMPLESc                 :    U R                   R                  S5        g )Nztable(id:sort=1))display_info	AddFormat)parsers    )lib/surface/domains/list_user_verified.pyArgsListUserVerified.Args1   s    
!!"45    c                     [         R                  R                  R                  R	                  5       n[
        R                  " U R                  5       5      nUR                  5       $ ! [        R                  [        R                  4 a  n [        R                  " 5       n[        R                  " U5      s S nA$ ! [        R                  [        R                  4 a    [        R                  " S5        [        R                  " S5        [        R                  " SR!                  W5      5        [        R                  " S5        [        R                  " SR!                  U5      5        Uef = fS nAff = f)NzTo list user-verified domains, you must activate either the App Engine or Cloud Run API and have read permissions on one of them.zTo activate App Engine, visit:zVhttps://console.cloud.google.com/apis/api/appengine.googleapis.com/overview?project={}zTo activate Cloud Run, visit:zPhttps://console.cloud.google.com/apis/api/run.googleapis.com/overview?project={})r   VALUEScoreprojectGet
api_clientGetApiClientForTrackReleaseTrackListVerifiedDomainsapitools_exceptionsHttpNotFoundErrorHttpForbiddenErrorrun_methodsGetServerlessClientInstancer   errorformat)selfargsr   clientappengine_err
run_clients         r   RunListUserVerified.Run5   s+   !!&&..224g..t/@/@/BCf''))
  11224  <<>
..z::!33!446 		 $ 	% 			23		 AAGB	  			12		 ;;A6'?	Ls+   A%A( ($E8*B=7E8=B3E00E33E8 N)
__name__
__module____qualname____firstlineno____doc__detailed_helpstaticmethodr   r/   __static_attributes__r1   r   r   r   r      s/    * 	- 6 6r   r   N)r6   
__future__r   r   r   r   apitools.base.pyr   r#   googlecloudsdk.api_lib.app.apir   r   googlecloudsdk.api_lib.runr	   r&   googlecloudsdk.callioper
   googlecloudsdk.corer   r   ReleaseTracksr!   BETAGACommandr   r1   r   r   <module>rD      sm    0 &  % ' > U D ( # * D%%**D,=,=,@,@A/t|| / B/r   