code: def get_service_endpoints_by_names(self, project, endpoint_names, type=None, auth_schemes=None, include_failed=None, include_details=None):
          
          route_values = {}
          if project is not None:
              route_values['project'] = self._serialize.url('project', project, 'str')
          query_parameters = {}
          if endpoint_names is not None:
              endpoint_names = ",".join(endpoint_names)
              query_parameters['endpointNames'] = self._serialize.query('endpoint_names', endpoint_names, 'str')
          if type is not None:
              query_parameters['type'] = self._serialize.query('type', type, 'str')
          if auth_schemes is not None:
              auth_schemes = ",".join(auth_schemes)
              query_parameters['authSchemes'] = self._serialize.query('auth_schemes', auth_schemes, 'str')
          if include_failed is not None:
              query_parameters['includeFailed'] = self._serialize.query('include_failed', include_failed, 'bool')
          if include_details is not None:
              query_parameters['includeDetails'] = self._serialize.query('include_details', include_details, 'bool')
          response = self._send(http_method='GET',
                                location_id='e85f1c62-adfc-4b74-b618-11a150fb195e',
                                version='5.0-preview.2',
                                route_values=route_values,
                                query_parameters=query_parameters)
          return self._deserialize('[ServiceEndpoint]', self._unwrap_collection(response))
docs: GetServiceEndpointsByNames.
          [Preview API] Get the service endpoints by name.
          :param str project: Project ID or project name
          :param [str] endpoint_names: Names of the service endpoints.
          :param str type: Type of the service endpoints.
          :param [str] auth_schemes: Authorization schemes used for service endpoints.
          :param bool include_failed: Failed flag for service endpoints.
          :param bool include_details: Flag to include more details for service endpoints. This is for internal use only and the flag will be treated as false for all other requests
          :rtype: [ServiceEndpoint]