class_docstr: Hook for Google Cloud Vertex AI Custom Job APIs.
docstr: Lists TrainingPipelines in a Location.
  
  :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 filter: Optional. The standard list filter. Supported fields:
  
      -  ``display_name`` supports = and !=.
  
      -  ``state`` supports = and !=.
  
      Some examples of using the filter are:
  
      -  ``state="PIPELINE_STATE_SUCCEEDED" AND display_name="my_pipeline"``
  
      -  ``state="PIPELINE_STATE_RUNNING" OR display_name="my_pipeline"``
  
      -  ``NOT display_name="my_pipeline"``
  
      -  ``state="PIPELINE_STATE_FAILED"``
  :param page_size: Optional. The standard list page size.
  :param page_token: Optional. The standard list page token. Typically obtained via
      [ListTrainingPipelinesResponse.next_page_token][google.cloud.aiplatform.v1.ListTrainingPipelinesResponse.next_page_token]
      of the previous
      [PipelineService.ListTrainingPipelines][google.cloud.aiplatform.v1.PipelineService.ListTrainingPipelines]
      call.
  :param read_mask: Optional. Mask specifying which fields to read.
  :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: ["Lists","TrainingPipelines","in","a","Location",".",":","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","filter",":","Optional",".","The","standard","list","filter",".","Supported","fields",":","-","``","display_name","``","supports","=","and","!","=",".","-","``","state","``","supports","=","and","!","=",".","Some","examples","of","using","the","filter","are",":","-","``","state=","''","PIPELINE_STATE_SUCCEEDED","''","AND","display_name=","''","my_pipeline","''","``","-","``","state=","''","PIPELINE_STATE_RUNNING","''","OR","display_name=","''","my_pipeline","''","``","-","``","NOT","display_name=","''","my_pipeline","''","``","-","``","state=","''","PIPELINE_STATE_FAILED","''","``",":","param","page_size",":","Optional",".","The","standard","list","page","size",".",":","param","page_token",":","Optional",".","The","standard","list","page","token",".","Typically","obtained","via","[","ListTrainingPipelinesResponse.next_page_token","]","[","google.cloud.aiplatform.v1.ListTrainingPipelinesResponse.next_page_token","]","of","the","previous","[","PipelineService.ListTrainingPipelines","]","[","google.cloud.aiplatform.v1.PipelineService.ListTrainingPipelines","]","call",".",":","param","read_mask",":","Optional",".","Mask","specifying","which","fields","to","read",".",":","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 list_training_pipelines(
      self,
      project_id: str,
      region: str,
      page_size: int | None = None,
      page_token: str | None = None,
      filter: str | None = None,
      read_mask: str | None = None,
      retry: Retry | _MethodDefault = DEFAULT,
      timeout: float | None = None,
      metadata: Sequence[tuple[str, str]] = (),
  ) -> ListTrainingPipelinesPager:
      """
      Lists TrainingPipelines in a Location.
  
      :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 filter: Optional. The standard list filter. Supported fields:
  
          -  ``display_name`` supports = and !=.
  
          -  ``state`` supports = and !=.
  
          Some examples of using the filter are:
  
          -  ``state="PIPELINE_STATE_SUCCEEDED" AND display_name="my_pipeline"``
  
          -  ``state="PIPELINE_STATE_RUNNING" OR display_name="my_pipeline"``
  
          -  ``NOT display_name="my_pipeline"``
  
          -  ``state="PIPELINE_STATE_FAILED"``
      :param page_size: Optional. The standard list page size.
      :param page_token: Optional. The standard list page token. Typically obtained via
          [ListTrainingPipelinesResponse.next_page_token][google.cloud.aiplatform.v1.ListTrainingPipelinesResponse.next_page_token]
          of the previous
          [PipelineService.ListTrainingPipelines][google.cloud.aiplatform.v1.PipelineService.ListTrainingPipelines]
          call.
      :param read_mask: Optional. Mask specifying which fields to read.
      :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.
      """
      client = self.get_pipeline_service_client(region)
      parent = client.common_location_path(project_id, region)
  
      result = client.list_training_pipelines(
          request={
              "parent": parent,
              "page_size": page_size,
              "page_token": page_token,
              "filter": filter,
              "read_mask": read_mask,
          },
          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 29 for calling the CustomJobHook obj's underlying member method code with example usage: obj.list_training_pipelines(project_id, region, page_size, page_token, filter, read_mask, retry, timeout, metadata) and returns: result