class_docstr: Lists Cloud Data Fusion pipelines.
  
  .. seealso::
      For more information on how to use this operator, take a look at the guide:
      :ref:`howto/operator:CloudDataFusionListPipelinesOperator`
  
  
  :param instance_name: The name of the instance.
  :param location: The Cloud Data Fusion location in which to handle the request.
  :param artifact_version: Artifact version to filter instances
  :param artifact_name: Artifact name to filter instances
  :param namespace: If your pipeline belongs to a Basic edition instance, the namespace ID
      is always default. If your pipeline belongs to an Enterprise edition instance, you
      can create a namespace.
  :param api_version: The version of the api that will be requested for example 'v3'.
  :param gcp_conn_id: The connection ID to use when fetching connection info.
  :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: ["Lists","Cloud","Data","Fusion","pipelines",".","..","seealso",":",":","For","more","information","on","how","to","use","this","operator",",","take","a","look","at","the","guide",":",":","ref",":","`","howto\/operator",":","CloudDataFusionListPipelinesOperator","`",":","param","instance_name",":","The","name","of","the","instance",".",":","param","location",":","The","Cloud","Data","Fusion","location","in","which","to","handle","the","request",".",":","param","artifact_version",":","Artifact","version","to","filter","instances",":","param","artifact_name",":","Artifact","name","to","filter","instances",":","param","namespace",":","If","your","pipeline","belongs","to","a","Basic","edition","instance",",","the","namespace","ID","is","always","default",".","If","your","pipeline","belongs","to","an","Enterprise","edition","instance",",","you","can","create","a","namespace",".",":","param","api_version",":","The","version","of","the","api","that","will","be","requested","for","example","'v3","'",".",":","param","gcp_conn_id",":","The","connection","ID","to","use","when","fetching","connection","info",".",":","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 execute(self, context: Context) -> dict:
      hook = DataFusionHook(
          gcp_conn_id=self.gcp_conn_id,
          api_version=self.api_version,
          impersonation_chain=self.impersonation_chain,
      )
      self.log.info("Listing Data Fusion pipelines")
      instance = hook.get_instance(
          instance_name=self.instance_name,
          location=self.location,
          project_id=self.project_id,
      )
      api_url = instance["apiEndpoint"]
      service_endpoint = instance["serviceEndpoint"]
      pipelines = hook.list_pipelines(
          instance_url=api_url,
          namespace=self.namespace,
          artifact_version=self.artifact_version,
          artifact_name=self.artifact_name,
      )
      self.log.info("Pipelines: %s", pipelines)
  
      DataFusionPipelinesLink.persist(
          context=context, task_instance=self, uri=service_endpoint
      )
      return pipelines
  
imports: from __future__ import annotations
  import time
  from typing import TYPE_CHECKING, Any, Sequence
  from google.api_core.retry import exponential_sleep_generator
  from googleapiclient.errors import HttpError
  from airflow.configuration import conf
  from airflow.exceptions import AirflowException, AirflowProviderDeprecationWarning
  from airflow.providers.google.cloud.hooks.datafusion import SUCCESS_STATES, DataFusionHook, PipelineStates
  from airflow.providers.google.cloud.links.datafusion import DataFusionInstanceLink, DataFusionPipelineLink, DataFusionPipelinesLink
  from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
  from airflow.providers.google.cloud.triggers.datafusion import DataFusionStartPipelineTrigger
  from airflow.providers.google.cloud.utils.datafusion import DataFusionPipelineType
  from airflow.providers.google.cloud.utils.helpers import resource_path_to_dict
label_desc: Use image node_id 2 for calling the CloudDataFusionListPipelinesOperator obj's underlying member method code with example usage: obj.execute(context) and returns: pipelines