
    &                         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
  ej                  ej                  j                         G d d	ej                               Zy
)z,The super-group for the Error Reporting CLI.    )absolute_import)division)unicode_literals)apis)base)	resourcesc                   .    e Zd ZdZej
                  Zd Zy)ErrorReportingz#Manage Stackdriver Error Reporting.c                     t        j                  |       t        j                          t        j                  dd      |d<   t        j
                  dd      |d<   t        |d<   |S )zModify the context that will be given to this group's commands when run.

    Args:
      context: The current context.
      args: The argparse namespace given to the corresponding .Run() invocation.

    Returns:
      The updated context.
    clouderrorreportingv1beta1"clouderrorreporting_client_v1beta1$clouderrorreporting_messages_v1beta1clouderrorreporting_resources)r   RequireProjectIDDisableUserProjectQuotar   GetClientInstanceGetMessagesModuler   )selfcontextargss      'lib/surface/error_reporting/__init__.pyFilterzErrorReporting.Filter    sf     	$  "484J4Jy5*G016:6L6Ly7*G23 09G+,N    N)__name__
__module____qualname____doc__r   MONITORING_CATEGORYcategoryr    r   r   r
   r
      s    +%%(r   r
   N)r   
__future__r   r   r   googlecloudsdk.api_lib.utilr   googlecloudsdk.callioper   googlecloudsdk.corer   ReleaseTracksReleaseTrackBETAGroupr
   r!   r   r   <module>r*      sT     3 &  ' , ( ) D%%**+TZZ  ,r   