class_docstr: Hook for Google Cloud Vertex AI Custom Job APIs.
docstr: Creates a PipelineJob. A PipelineJob will run immediately when created.
  
  This method is deprecated, please use `PipelineJobHook.create_pipeline_job` method.
  
  :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 pipeline_job:  Required. The PipelineJob to create.
  :param pipeline_job_id:  The ID to use for the PipelineJob, which will become the final component of
      the PipelineJob name. If not provided, an ID will be automatically generated.
  
      This value should be less than 128 characters, and valid characters are /[a-z][0-9]-/.
  :param retry: Designation of what errors, if any, should be retried.
  :param timeout: The timeout for this request.
  :param metadata: Strings which should be sent along with the request as metadata.
docstr_tok: ["Creates","a","PipelineJob",".","A","PipelineJob","will","run","immediately","when","created",".","This","method","is","deprecated",",","please","use","`","PipelineJobHook.create_pipeline_job","`","method",".",":","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","pipeline_job",":","Required",".","The","PipelineJob","to","create",".",":","param","pipeline_job_id",":","The","ID","to","use","for","the","PipelineJob",",","which","will","become","the","final","component","of","the","PipelineJob","name",".","If","not","provided",",","an","ID","will","be","automatically","generated",".","This","value","should","be","less","than","128","characters",",","and","valid","characters","are","\/","[","a-z","]","[","0-9","]","-\/",".",":","param","retry",":","Designation","of","what","errors",",","if","any",",","should","be","retried",".",":","param","timeout",":","The","timeout","for","this","request",".",":","param","metadata",":","Strings","which","should","be","sent","along","with","the","request","as","metadata","."]
code: def create_pipeline_job(
      self,
      project_id: str,
      region: str,
      pipeline_job: PipelineJob,
      pipeline_job_id: str,
      retry: Retry | _MethodDefault = DEFAULT,
      timeout: float | None = None,
      metadata: Sequence[tuple[str, str]] = (),
  ) -> PipelineJob:
      """
      Creates a PipelineJob. A PipelineJob will run immediately when created.
  
      This method is deprecated, please use `PipelineJobHook.create_pipeline_job` method.
  
      :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 pipeline_job:  Required. The PipelineJob to create.
      :param pipeline_job_id:  The ID to use for the PipelineJob, which will become the final component of
          the PipelineJob name. If not provided, an ID will be automatically generated.
  
          This value should be less than 128 characters, and valid characters are /[a-z][0-9]-/.
      :param retry: Designation of what errors, if any, should be retried.
      :param timeout: The timeout for this request.
      :param metadata: Strings which should be sent along with the request as metadata.
      """
      warnings.warn(
          "This method is deprecated, please use `PipelineJobHook.create_pipeline_job` method.",
          AirflowProviderDeprecationWarning,
      )
      client = self.get_pipeline_service_client(region)
      parent = client.common_location_path(project_id, region)
  
      result = client.create_pipeline_job(
          request={
              "parent": parent,
              "pipeline_job": pipeline_job,
              "pipeline_job_id": pipeline_job_id,
          },
          retry=retry,
          timeout=timeout,
          metadata=metadata,
      )
      return result
  
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 CustomContainerTrainingJob, CustomPythonPackageTrainingJob, CustomTrainingJob, datasets, models
  from google.cloud.aiplatform_v1 import JobServiceClient, PipelineServiceClient
  from airflow.exceptions import AirflowException, AirflowProviderDeprecationWarning
  from airflow.providers.google.common.consts import CLIENT_INFO
  from airflow.providers.google.common.hooks.base_google import GoogleBaseHook
label_desc: Use image node_id 16 for calling the CustomJobHook obj's underlying member method code with example usage: obj.create_pipeline_job(project_id, region, pipeline_job, pipeline_job_id, retry, timeout, metadata) and returns: result