
                         D    S r SSKJr  SSKJr  SSKJr  SSKJr  S r	S r
g)	z>Helper functions for end of sale check and deprecation notice.    )
enable_api)pretty_print)
exceptions)
propertiesc                      [         R                  R                  R                  R	                  5       n [
        R                  " U S5      (       d  [        R                  " S5      eg)z:Checks if the customer is new and if so returns EOS error.zrunapps.googleapis.comz@Cloud Run integrations are no longer available to new customers.N)	r   VALUEScoreprojectGetr   IsServiceEnabledr   CRIUnavailableToNewUsersError)
project_ids    Clib/googlecloudsdk/command_lib/run/integrations/deprecation_util.pyCheckIfEndOfSaleAppliesr      sR      %%--113*		$	$Z1I	J	J

2
2J  
K    c                      [         R                  " S5        [         R                  " S5        [         R                  " S5        g)z4Prints a deprecation notice header for all commands.z5!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!zCloud Run Integrations will be removed from the gcloud CLI in January 2025. Existing integrations will continue to work with no action required.z7!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

N)r   Info r   r   DeprecationNoticer   "   s5    KL
 OPr   N)__doc__googlecloudsdk.api_lib.servicesr   googlecloudsdk.command_lib.runr   "googlecloudsdk.command_lib.runappsr   googlecloudsdk.corer   r   r   r   r   r   <module>r      s$    E 7 7 9 *Qr   