
    *	                     T   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  \R                  " \R                  R                   \R                  R"                  5      \R$                  " S
SS9\R&                   " S S\R(                  5      5       5       5       rg)z"The gcloud run integrations group.    )absolute_import)division)unicode_literals)cast)base)	platforms)
exceptions)flagsTz/Cloud Run integrations are no longer supported.)
is_removederrorc                   <    \ rS rSrSrSS0r\S 5       rS rS r	Sr
g	)
Integrations   zView and manage your Cloud Run (fully managed) integrations.

This set of commands can be used to view and manage your Cloud Run
integrations.
EXAMPLESzX
          To list your existing integrations, run:

            $ {command} list
      c                 0    [         R                  " U 5        g)zAdds --region flag.N)r
   AddRegionArg)parsers    (lib/surface/run/integrations/__init__.pyArgsIntegrations.Args4   s     
v    c                 (    AU R                  5         U$ )a>  Runs before command.Run and validates platform with passed args.

Args:
  context: {str:object}, A set of key-value pairs that can be used for
      common initialization among commands.
  args: argparse.Namespace: The same namespace given to the corresponding
      .Run() invocation.

Returns:
  The updated context
)_CheckPlatform)selfcontextargss      r   FilterIntegrations.Filter9   s     	Nr   c                     [         R                  " 5       nU[         R                  :w  a  [        R                  " S5      eg )NzCThis command group is only supported for Cloud Run (fully managed).)r   GetPlatformPLATFORM_MANAGEDr	   PlatformError)r   platforms     r   r   Integrations._CheckPlatformI   s;    $$&H9---$$
OQ Q .r    N)__name__
__module____qualname____firstlineno____doc__detailed_helpstaticmethodr   r   r   __static_attributes__r%   r   r   r   r      s7      
-   Qr   r   N)r*   
__future__r   r   r   typingr   googlecloudsdk.callioper   googlecloudsdk.command_lib.runr   "googlecloudsdk.command_lib.runappsr	   r
   ReleaseTracksReleaseTrackALPHABETA	DeprecateDefaultUniverseOnlyGroupr   r%   r   r   <module>r:      s    ) &  '  ( 4 9 4  
; (Q4:: (Q 	(Qr   