@util.positional(<NUM_LIT:1>)<EOL><INDENT>def __init__(self, name=None, path=None, http_method=None,<EOL>scopes=None, audiences=None, allowed_client_ids=None,<EOL>auth_level=None, api_key_required=None, request_body_class=None,<EOL>request_params_class=None, metric_costs=None, use_request_uri=None):<DEDENT>
self.__name = name<EOL>self.__path = path<EOL>self.__http_method = http_method<EOL>self.__scopes = endpoints_types.OAuth2Scope.convert_list(scopes)<EOL>self.__audiences = audiences<EOL>self.__allowed_client_ids = allowed_client_ids<EOL>self.__auth_level = auth_level<EOL>self.__api_key_required = api_key_required<EOL>self.__request_body_class = request_body_class<EOL>self.__request_params_class = request_params_class<EOL>self.__metric_costs = metric_costs<EOL>self.__use_request_uri = use_request_uri<EOL>
Constructor.

        Args:
          name: string, Name of the method, prepended with <apiname>. to make it
            unique.
          path: string, Path portion of the URL to the method, for RESTful methods.
          http_method: string, HTTP method supported by the method.
          scopes: list of string, OAuth2 token must contain one of these scopes.
          audiences: list of string, IdToken must contain one of these audiences.
          allowed_client_ids: list of string, Client IDs allowed to call the method.
          auth_level: enum from AUTH_LEVEL, Frontend auth level for the method.
          api_key_required: bool, whether a key is required to call the method.
          request_body_class: The type for the request body when using a
            ResourceContainer. Otherwise, null.
          request_params_class: The type for the request parameters when using a
            ResourceContainer. Otherwise, null.
          metric_costs: dict with keys matching an API limit metric and values
            representing the cost for each successful call against that metric.
          use_request_uri: if true, match requests against REQUEST_URI instead of PATH_INFO