
                            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  ej                  ej                  j                  ej                  j                  ej                  j                         G d dej                               Zy	)
z+The command group for the Endpoints V1 CLI.    )absolute_import)division)unicode_literals)apis)basec                   .    e Zd ZdZej
                  Zd Zy)	Endpointsa  Create, enable and manage API services.

  Google Service Management is an infrastructure service of Google Cloud
  Platform that manages other APIs and services, including Google's own Cloud
  Platform services and their APIs, and services created using Google Cloud
  Endpoints.

  More information on Service Management can be found here:
  https://cloud.google.com/service-management and detailed documentation can be
  found here: https://cloud.google.com/service-management/docs/
  c                     t        j                  |       t        j                          t        j                  dd      |d<   t        j
                  dd      |d<   |S )zContext() is a filter function that can update the context.

    Args:
      context: The current context.
      args: The argparse namespace that was specified on the CLI or API.

    Returns:
      The updated context.
    servicemanagementv1zservicemanagement-v1zservicemanagement-v1-messages)r   RequireProjectIDDisableUserProjectQuotar   GetClientInstanceGetMessagesModule)selfcontextargss      !lib/surface/endpoints/__init__.pyFilterzEndpoints.Filter.   s[     	$  "&*&<&<T'#G"#/3/E/ET0#G+, N    N)__name__
__module____qualname____doc__r   $API_PLATFORM_AND_ECOSYSTEMS_CATEGORYcategoryr    r   r   r	   r	      s    
 66(r   r	   N)r   
__future__r   r   r   googlecloudsdk.api_lib.utilr   googlecloudsdk.callioper   ReleaseTracksReleaseTrackALPHABETAGAGroupr	   r   r   r   <module>r'      sr     2 &  ' , ( 
!

 !
!r   