def list_jobs(self, request: job_service.ListJobsRequest=None, *, parent: str=None, filter: str=None, retry: retries.Retry=gapic_v1.method.DEFAULT, timeout: float=None, metadata: Sequence[Tuple[(str, str)]]=()) -> pagers.ListJobsPager:
    'Lists jobs by filter.\n\n        Args:\n            request (:class:`~.job_service.ListJobsRequest`):\n                The request object. List jobs request.\n            parent (:class:`str`):\n                Required. The resource name of the tenant under which\n                the job is created.\n\n                The format is\n                "projects/{project_id}/tenants/{tenant_id}". For\n                example, "projects/foo/tenant/bar". If tenant id is\n                unspecified, a default tenant is created. For example,\n                "projects/foo".\n                This corresponds to the ``parent`` field\n                on the ``request`` instance; if ``request`` is provided, this\n                should not be set.\n            filter (:class:`str`):\n                Required. The filter string specifies the jobs to be\n                enumerated.\n\n                Supported operator: =, AND\n\n                The fields eligible for filtering are:\n\n                -  ``companyName`` (Required)\n                -  ``requisitionId``\n                -  ``status`` Available values: OPEN, EXPIRED, ALL.\n                   Defaults to OPEN if no value is specified.\n\n                Sample Query:\n\n                -  companyName =\n                   "projects/foo/tenants/bar/companies/baz"\n                -  companyName =\n                   "projects/foo/tenants/bar/companies/baz" AND\n                   requisitionId = "req-1"\n                -  companyName =\n                   "projects/foo/tenants/bar/companies/baz" AND status =\n                   "EXPIRED".\n                This corresponds to the ``filter`` field\n                on the ``request`` instance; if ``request`` is provided, this\n                should not be set.\n\n            retry (google.api_core.retry.Retry): Designation of what errors, if any,\n                should be retried.\n            timeout (float): The timeout for this request.\n            metadata (Sequence[Tuple[str, str]]): Strings which should be\n                sent along with the request as metadata.\n\n        Returns:\n            ~.pagers.ListJobsPager:\n                List jobs response.\n                Iterating over this object will yield\n                results and resolve additional pages\n                automatically.\n\n        '
    has_flattened_params = any([parent, filter])
    if ((request is not None) and has_flattened_params):
        raise ValueError('If the `request` argument is set, then none of the individual field arguments should be set.')
    if (not isinstance(request, job_service.ListJobsRequest)):
        request = job_service.ListJobsRequest(request)
        if (parent is not None):
            request.parent = parent
        if (filter is not None):
            request.filter = filter
    rpc = self._transport._wrapped_methods[self._transport.list_jobs]
    metadata = (tuple(metadata) + (gapic_v1.routing_header.to_grpc_metadata((('parent', request.parent),)),))
    response = rpc(request, retry=retry, timeout=timeout, metadata=metadata)
    response = pagers.ListJobsPager(method=rpc, request=request, response=response, metadata=metadata)
    return response
Lists jobs by filter.

Args:
    request (:class:`~.job_service.ListJobsRequest`):
        The request object. List jobs request.
    parent (:class:`str`):
        Required. The resource name of the tenant under which
        the job is created.

        The format is
        "projects/{project_id}/tenants/{tenant_id}". For
        example, "projects/foo/tenant/bar". If tenant id is
        unspecified, a default tenant is created. For example,
        "projects/foo".
        This corresponds to the ``parent`` field
        on the ``request`` instance; if ``request`` is provided, this
        should not be set.
    filter (:class:`str`):
        Required. The filter string specifies the jobs to be
        enumerated.

        Supported operator: =, AND

        The fields eligible for filtering are:

        -  ``companyName`` (Required)
        -  ``requisitionId``
        -  ``status`` Available values: OPEN, EXPIRED, ALL.
           Defaults to OPEN if no value is specified.

        Sample Query:

        -  companyName =
           "projects/foo/tenants/bar/companies/baz"
        -  companyName =
           "projects/foo/tenants/bar/companies/baz" AND
           requisitionId = "req-1"
        -  companyName =
           "projects/foo/tenants/bar/companies/baz" AND status =
           "EXPIRED".
        This corresponds to the ``filter`` field
        on the ``request`` instance; if ``request`` is provided, this
        should not be set.

    retry (google.api_core.retry.Retry): Designation of what errors, if any,
        should be retried.
    timeout (float): The timeout for this request.
    metadata (Sequence[Tuple[str, str]]): Strings which should be
        sent along with the request as metadata.

Returns:
    ~.pagers.ListJobsPager:
        List jobs response.
        Iterating over this object will yield
        results and resolve additional pages
        automatically.
def list_jobs(self, request: job_service.ListJobsRequest=None, *, parent: str=None, filter: str=None, retry: retries.Retry=gapic_v1.method.DEFAULT, timeout: float=None, metadata: Sequence[Tuple[(str, str)]]=()) -> pagers.ListJobsPager:
    'Lists jobs by filter.\n\n        Args:\n            request (:class:`~.job_service.ListJobsRequest`):\n                The request object. List jobs request.\n            parent (:class:`str`):\n                Required. The resource name of the tenant under which\n                the job is created.\n\n                The format is\n                "projects/{project_id}/tenants/{tenant_id}". For\n                example, "projects/foo/tenant/bar". If tenant id is\n                unspecified, a default tenant is created. For example,\n                "projects/foo".\n                This corresponds to the ``parent`` field\n                on the ``request`` instance; if ``request`` is provided, this\n                should not be set.\n            filter (:class:`str`):\n                Required. The filter string specifies the jobs to be\n                enumerated.\n\n                Supported operator: =, AND\n\n                The fields eligible for filtering are:\n\n                -  ``companyName`` (Required)\n                -  ``requisitionId``\n                -  ``status`` Available values: OPEN, EXPIRED, ALL.\n                   Defaults to OPEN if no value is specified.\n\n                Sample Query:\n\n                -  companyName =\n                   "projects/foo/tenants/bar/companies/baz"\n                -  companyName =\n                   "projects/foo/tenants/bar/companies/baz" AND\n                   requisitionId = "req-1"\n                -  companyName =\n                   "projects/foo/tenants/bar/companies/baz" AND status =\n                   "EXPIRED".\n                This corresponds to the ``filter`` field\n                on the ``request`` instance; if ``request`` is provided, this\n                should not be set.\n\n            retry (google.api_core.retry.Retry): Designation of what errors, if any,\n                should be retried.\n            timeout (float): The timeout for this request.\n            metadata (Sequence[Tuple[str, str]]): Strings which should be\n                sent along with the request as metadata.\n\n        Returns:\n            ~.pagers.ListJobsPager:\n                List jobs response.\n                Iterating over this object will yield\n                results and resolve additional pages\n                automatically.\n\n        '
    has_flattened_params = any([parent, filter])
    if ((request is not None) and has_flattened_params):
        raise ValueError('If the `request` argument is set, then none of the individual field arguments should be set.')
    if (not isinstance(request, job_service.ListJobsRequest)):
        request = job_service.ListJobsRequest(request)
        if (parent is not None):
            request.parent = parent
        if (filter is not None):
            request.filter = filter
    rpc = self._transport._wrapped_methods[self._transport.list_jobs]
    metadata = (tuple(metadata) + (gapic_v1.routing_header.to_grpc_metadata((('parent', request.parent),)),))
    response = rpc(request, retry=retry, timeout=timeout, metadata=metadata)
    response = pagers.ListJobsPager(method=rpc, request=request, response=response, metadata=metadata)
    return response