
    s                     >   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	  \R                  \R                  " \R                  R                  \R                  R                  \R                  R                  5       " S S	\R                   5      5       5       rg
)zGroup definition for logs.    )absolute_import)division)unicode_literals)base)
exceptions)	platformsc                   $    \ rS rSrSrS rS rSrg)Logs   z!Read logs for Cloud Run services.c                 ~    [         R                  " 5       [         R                  :w  a  [        R                  " S5      eg )Nz<This command group only supports reading logs for Cloud Run.)r   GetPlatformPLATFORM_MANAGEDr   PlatformError)selfs    )lib/surface/run/services/logs/__init__.py_CheckPlatformLogs._CheckPlatform    s4    )"<"<<$$
H  =    c                 &    U R                  5         U$ )N)r   )r   contextargss      r   FilterLogs.Filter&   s    Nr    N)__name__
__module____qualname____firstlineno____doc__r   r   __static_attributes__r   r   r   r
   r
      s    
 *r   r
   N)r   
__future__r   r   r   googlecloudsdk.callioper   googlecloudsdk.command_lib.runr   r   UniverseCompatibleReleaseTracksReleaseTrackALPHABETAGAGroupr
   r   r   r   <module>r+      s    ! &  ' ( 5 4 T..33T5F5F5I5I4::  r   