class_docstr: Hook for Google Cloud Vertex AI Auto ML APIs.
class_docstr_tok: ["Hook","for","Google","Cloud","Vertex","AI","Auto","ML","APIs","."]
docstr: Returns AutoMLTextTrainingJob object.
docstr_tok: ["Returns","AutoMLTextTrainingJob","object","."]
code: def get_auto_ml_text_training_job(
      self,
      display_name: str,
      prediction_type: str,
      multi_label: bool = False,
      sentiment_max: int = 10,
      project: str | None = None,
      location: str | None = None,
      labels: dict[str, str] | None = None,
      training_encryption_spec_key_name: str | None = None,
      model_encryption_spec_key_name: str | None = None,
  ) -> AutoMLTextTrainingJob:
      """Returns AutoMLTextTrainingJob object."""
      return AutoMLTextTrainingJob(
          display_name=display_name,
          prediction_type=prediction_type,
          multi_label=multi_label,
          sentiment_max=sentiment_max,
          project=project,
          location=location,
          credentials=self.get_credentials(),
          labels=labels,
          training_encryption_spec_key_name=training_encryption_spec_key_name,
          model_encryption_spec_key_name=model_encryption_spec_key_name,
      )
  
imports: from __future__ import annotations
  import warnings
  from typing import TYPE_CHECKING, Sequence
  from google.api_core.client_options import ClientOptions
  from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
  from google.cloud.aiplatform import AutoMLForecastingTrainingJob, AutoMLImageTrainingJob, AutoMLTabularTrainingJob, AutoMLTextTrainingJob, AutoMLVideoTrainingJob, datasets, models
  from google.cloud.aiplatform_v1 import JobServiceClient, PipelineServiceClient
  from airflow.exceptions import AirflowException, AirflowProviderDeprecationWarning
  from airflow.providers.google.common.hooks.base_google import GoogleBaseHook
label_desc: Use image node_id 7 for calling the AutoMLHook obj's underlying member method code with example usage: obj.get_auto_ml_text_training_job(display_name, prediction_type, multi_label, sentiment_max, project, location, labels, training_encryption_spec_key_name, model_encryption_spec_key_name) and returns: AutoMLTextTrainingJob