def batch_update_jobs(self, request: job_service.BatchUpdateJobsRequest=None, *, parent: str=None, jobs: Sequence[job.Job]=None, retry: retries.Retry=gapic_v1.method.DEFAULT, timeout: float=None, metadata: Sequence[Tuple[(str, str)]]=()) -> operation.Operation:
    'Begins executing a batch update jobs operation.\n\n        Args:\n            request (:class:`~.job_service.BatchUpdateJobsRequest`):\n                The request object. Request to update a batch of jobs.\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            jobs (:class:`Sequence[~.job.Job]`):\n                Required. The jobs to be updated.\n                This corresponds to the ``jobs`` 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            ~.operation.Operation:\n                An object representing a long-running operation.\n\n                The result type for the operation will be\n                :class:``~.job_service.JobOperationResult``: The result\n                of\n                [JobService.BatchCreateJobs][google.cloud.talent.v4beta1.JobService.BatchCreateJobs]\n                or\n                [JobService.BatchUpdateJobs][google.cloud.talent.v4beta1.JobService.BatchUpdateJobs]\n                APIs. It\'s used to replace\n                [google.longrunning.Operation.response][google.longrunning.Operation.response]\n                in case of success.\n\n        '
    has_flattened_params = any([parent, jobs])
    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.BatchUpdateJobsRequest)):
        request = job_service.BatchUpdateJobsRequest(request)
        if (parent is not None):
            request.parent = parent
        if (jobs is not None):
            request.jobs = jobs
    rpc = self._transport._wrapped_methods[self._transport.batch_update_jobs]
    metadata = (tuple(metadata) + (gapic_v1.routing_header.to_grpc_metadata((('parent', request.parent),)),))
    response = rpc(request, retry=retry, timeout=timeout, metadata=metadata)
    response = operation.from_gapic(response, self._transport.operations_client, job_service.JobOperationResult, metadata_type=common.BatchOperationMetadata)
    return response
Begins executing a batch update jobs operation.

Args:
    request (:class:`~.job_service.BatchUpdateJobsRequest`):
        The request object. Request to update a batch of jobs.
    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.
    jobs (:class:`Sequence[~.job.Job]`):
        Required. The jobs to be updated.
        This corresponds to the ``jobs`` 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:
    ~.operation.Operation:
        An object representing a long-running operation.

        The result type for the operation will be
        :class:``~.job_service.JobOperationResult``: The result
        of
        [JobService.BatchCreateJobs][google.cloud.talent.v4beta1.JobService.BatchCreateJobs]
        or
        [JobService.BatchUpdateJobs][google.cloud.talent.v4beta1.JobService.BatchUpdateJobs]
        APIs. It's used to replace
        [google.longrunning.Operation.response][google.longrunning.Operation.response]
        in case of success.
def batch_update_jobs(self, request: job_service.BatchUpdateJobsRequest=None, *, parent: str=None, jobs: Sequence[job.Job]=None, retry: retries.Retry=gapic_v1.method.DEFAULT, timeout: float=None, metadata: Sequence[Tuple[(str, str)]]=()) -> operation.Operation:
    'Begins executing a batch update jobs operation.\n\n        Args:\n            request (:class:`~.job_service.BatchUpdateJobsRequest`):\n                The request object. Request to update a batch of jobs.\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            jobs (:class:`Sequence[~.job.Job]`):\n                Required. The jobs to be updated.\n                This corresponds to the ``jobs`` 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            ~.operation.Operation:\n                An object representing a long-running operation.\n\n                The result type for the operation will be\n                :class:``~.job_service.JobOperationResult``: The result\n                of\n                [JobService.BatchCreateJobs][google.cloud.talent.v4beta1.JobService.BatchCreateJobs]\n                or\n                [JobService.BatchUpdateJobs][google.cloud.talent.v4beta1.JobService.BatchUpdateJobs]\n                APIs. It\'s used to replace\n                [google.longrunning.Operation.response][google.longrunning.Operation.response]\n                in case of success.\n\n        '
    has_flattened_params = any([parent, jobs])
    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.BatchUpdateJobsRequest)):
        request = job_service.BatchUpdateJobsRequest(request)
        if (parent is not None):
            request.parent = parent
        if (jobs is not None):
            request.jobs = jobs
    rpc = self._transport._wrapped_methods[self._transport.batch_update_jobs]
    metadata = (tuple(metadata) + (gapic_v1.routing_header.to_grpc_metadata((('parent', request.parent),)),))
    response = rpc(request, retry=retry, timeout=timeout, metadata=metadata)
    response = operation.from_gapic(response, self._transport.operations_client, job_service.JobOperationResult, metadata_type=common.BatchOperationMetadata)
    return response