
    t                         d Z ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddl	m
Z
 ddl	mZ ej                   ej                  ej                  j                         G d	 d
ej                                       Zd Zy)z4Command for initializing a project for Eventarc GKE.    )absolute_import)division)unicode_literals)gke_destinations)base)log)
propertiesc                        e Zd ZdZdddZd Zy)InitzMInitialize a project for Eventarc with Cloud Run for Anthos/GKE destinations.z{description}z
          To initialize a project for Eventarc with Cloud Run for Anthos/GKE destinations:

              $ {command}
          )DESCRIPTIONEXAMPLESc                     t        j                  | j                               }|j                          t        j
                  j                  t                      y)zRun the gke command.N)r   GKEDestinationsClientReleaseTrackInitServiceAccountr   statusPrint_InitializedMessage)selfargsclients      -lib/surface/eventarc/gke_destinations/init.pyRunzInit.Run+   s=    33D4E4E4GHF
JJ(*+    N)__name__
__module____qualname____doc__detailed_helpr    r   r   r   r      s     V 		-,r   r   c                      t         j                  j                  j                  j	                  d      } d}dj                  | |      S )NT)requiredzgcloud eventarc triggers createzpInitialized project [{}] for Cloud Run for Anthos/GKE destinations in Eventarc. Next, create a trigger via `{}`.)r	   VALUEScoreprojectGetformat)r%   trigger_cmds     r   r   r   2   sE    ""**...='1+34:F
;5  r   N)r   
__future__r   r   r   googlecloudsdk.api_lib.eventarcr   googlecloudsdk.callioper   googlecloudsdk.corer   r	   HiddenReleaseTracksr   GACommandr   r   r    r   r   <module>r1      sh    ; &  ' < ( # * D%%((),4<< , * ,* r   