class_docstr: The base class for operators that launch AutoML jobs on VertexAI.
docstr: Callback called when the operator is killed; cancel any running job.
docstr_tok: ["Callback","called","when","the","operator","is","killed",";","cancel","any","running","job","."]
code: def on_kill(self) -> None:
      """Callback called when the operator is killed; cancel any running job."""
      if self.hook:
          self.hook.cancel_auto_ml_job()
  
imports: from __future__ import annotations
  from typing import TYPE_CHECKING, Sequence
  from google.api_core.exceptions import NotFound
  from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
  from google.cloud.aiplatform import datasets
  from google.cloud.aiplatform.models import Model
  from google.cloud.aiplatform_v1.types.training_pipeline import TrainingPipeline
  from airflow.providers.google.cloud.hooks.vertex_ai.auto_ml import AutoMLHook
  from airflow.providers.google.cloud.links.vertex_ai import VertexAIModelLink, VertexAITrainingLink, VertexAITrainingPipelinesLink
  from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
label_desc: Use image node_id 2 for calling the AutoMLTrainingJobBaseOperator obj's underlying member method code with example usage: obj.on_kill() without return types