class_docstr: Deletes a job and wait for the operation to be completed.
  
  :param project_id: Required. The ID of the Google Cloud project that the service belongs to.
  :param region: Required. The ID of the Google Cloud region that the service belongs to.
  :param job_name: Required. The name of the job to be deleted.
  :param timeout: The timeout for this request.
  :param gcp_conn_id: The connection ID used to connect to Google Cloud.
  :param impersonation_chain: Optional service account to impersonate using short-term
      credentials, or chained list of accounts required to get the access_token
      of the last account in the list, which will be impersonated in the request.
      If set as a string, the account must grant the originating account
      the Service Account Token Creator IAM role.
      If set as a sequence, the identities from the list must grant
      Service Account Token Creator IAM role to the directly preceding identity, with first
      account from the list granting this role to the originating account (templated).
class_docstr_tok: ["Deletes","a","job","and","wait","for","the","operation","to","be","completed",".",":","param","project_id",":","Required",".","The","ID","of","the","Google","Cloud","project","that","the","service","belongs","to",".",":","param","region",":","Required",".","The","ID","of","the","Google","Cloud","region","that","the","service","belongs","to",".",":","param","job_name",":","Required",".","The","name","of","the","job","to","be","deleted",".",":","param","timeout",":","The","timeout","for","this","request",".",":","param","gcp_conn_id",":","The","connection","ID","used","to","connect","to","Google","Cloud",".",":","param","impersonation_chain",":","Optional","service","account","to","impersonate","using","short-term","credentials",",","or","chained","list","of","accounts","required","to","get","the","access_token","of","the","last","account","in","the","list",",","which","will","be","impersonated","in","the","request",".","If","set","as","a","string",",","the","account","must","grant","the","originating","account","the","Service","Account","Token","Creator","IAM","role",".","If","set","as","a","sequence",",","the","identities","from","the","list","must","grant","Service","Account","Token","Creator","IAM","role","to","the","directly","preceding","identity",",","with","first","account","from","the","list","granting","this","role","to","the","originating","account","(","templated",")","."]
code: def _wait_for_operation(self, operation: operation.Operation):
      try:
          return operation.result(timeout=self.timeout)
      except Exception:
          error = operation.exception(timeout=self.timeout)
          raise AirflowException(error)
  
imports: from __future__ import annotations
  from typing import TYPE_CHECKING, Sequence
  from google.cloud.batch_v1 import Job, Task
  from airflow.configuration import conf
  from airflow.exceptions import AirflowException
  from airflow.providers.google.cloud.hooks.cloud_batch import CloudBatchHook
  from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
  from airflow.providers.google.cloud.triggers.cloud_batch import CloudBatchJobFinishedTrigger
label_desc: Use image node_id 3 for calling the CloudBatchDeleteJobOperator obj's underlying member method code with example usage: obj._wait_for_operation(operation) and returns: operation