Returns an iterator over the Biosamples fulfilling the specified
        conditions.

        :param str dataset_id: The dataset to search within.
        :param str name: Only Biosamples matching the specified name will
            be returned.
        :param str individual_id: Only Biosamples matching matching this
            id will be returned.
        :return: An iterator over the :class:`ga4gh.protocol.Biosample`
            objects defined by the query parameters.

def search_biosamples(self, dataset_id, name=None, individual_id=None):
        """
        Returns an iterator over the Biosamples fulfilling the specified
        conditions.

        :param str dataset_id: The dataset to search within.
        :param str name: Only Biosamples matching the specified name will
            be returned.
        :param str individual_id: Only Biosamples matching matching this
            id will be returned.
        :return: An iterator over the :class:`ga4gh.protocol.Biosample`
            objects defined by the query parameters.
        """
        request = protocol.SearchBiosamplesRequest()
        request.dataset_id = dataset_id
        request.name = pb.string(name)
        request.individual_id = pb.string(individual_id)
        request.page_size = pb.int(self._page_size)
        return self._run_search_request(
            request, "biosamples", protocol.SearchBiosamplesResponse)