title: How to specify which GCP project to use when triggering a pipeline through Data Fusion operator on Cloud Composer
body: <p>I need to to trigger a Data Fusion pipeline located on a GCP project called <code>myDataFusionProject</code> through a Data Fusion operator (<code>CloudDataFusionStartPipelineOperator</code>) inside a DAG whose Cloud Composer instance is located on another project called <code>myCloudComposerProject</code>.</p>
  <p>I have used the <a href="https://airflow.apache.org/docs/apache-airflow-providers-google/stable/operators/cloud/datafusion.html" rel="nofollow noreferrer">official documentation</a> as well as the <a href="https://github.com/apache/airflow/blob/main/airflow/providers/google/cloud/operators/datafusion.py" rel="nofollow noreferrer">source code</a> to write the code that roughly resembles the below snippet:</p>
  <pre><code>LOCATION = &quot;someLocation&quot;
  PIPELINE_NAME = &quot;myDataFusionPipeline&quot;
  INSTANCE_NAME = &quot;myDataFusionInstance&quot;
  RUNTIME_ARGS = {&quot;output.instance&quot;:&quot;someOutputInstance&quot;, &quot;input.dataset&quot;:&quot;someInputDataset&quot;, &quot;input.project&quot;:&quot;someInputProject&quot;}
  
  start_pipeline = CloudDataFusionStartPipelineOperator(
      location=LOCATION,
      pipeline_name=PIPELINE_NAME,
      instance_name=INSTANCE_NAME,
      runtime_args=RUNTIME_ARGS,
      task_id=&quot;start_pipeline&quot;,
  )
  </code></pre>
  <p>My issue is that, every time I trigger the DAG, Cloud Composer looks for <code>myDataFusionInstance</code> inside <code>myCloudComposerProject</code> instead of <code>myDataFusionProject</code>, which gives an error like this one:</p>
  <pre><code>googleapiclient.errors.HttpError: &lt;HttpError 404 when requesting https://datafusion.googleapis.com/v1beta1/projects/myCloudComposerProject/locations/someLocation/instances/myDataFusionInstance?alt=json returned &quot;Resource 'projects/myCloudComposerProject/locations/someLocation/instances/myDataFusionInstance' was not found&quot;. Details: &quot;[{'@type': 'type.googleapis.com/google.rpc.ResourceInfo', 'resourceName': 'projects/myCloudComposerProject/locations/someLocation/instances/myDataFusionInstance'}]&quot;
  </code></pre>
  <p>So the question is: <strong>how can I force my operator to use the Data Fusion project instead of the Cloud Composer project?</strong> I suspect I may do that by adding a new runtime argument but I'm not sure how to do that.</p>
  <p>Last piece of information: the Data Fusion pipeline simply extracts data from a BigQuery source and sends everything to a BigTable sink.</p>