title: Component Gateway with DataprocOperator on Airflow
body: <p>In GCP it is fairly simply to install and run a <a href="https://cloud.google.com/dataproc/docs/tutorials/jupyter-notebook" rel="noreferrer">JupyterHub component</a> from the UI or the gcloud command. I'm trying to script the processus through Airflow and the <a href="https://airflow.apache.org/docs/stable/_api/airflow/contrib/operators/dataproc_operator/index.html?highlight=dataproc#airflow.contrib.operators.dataproc_operator.DataprocClusterCreateOperator" rel="noreferrer">DataprocClusterCreateOperator</a>, here an extract of the DAG</p>
  
  <pre><code>from airflow.contrib.operators import dataproc_operator  
  
  create_cluster=dataproc_operator.DataprocClusterCreateOperator(
          task_id='create-' + CLUSTER_NAME, 
          cluster_name=CLUSTER_NAME,
          project_id=PROJECT_ID,
          num_workers=3,
          num_masters=1,
          master_machine_type='n1-standard-2',
          worker_machine_type='n1-standard-2',
          master_disk_size=100,
          worker_disk_size=100,
          storage_bucket='test-dataproc-jupyter', 
          region='europe-west4', 
          zone='europe-west4-a',
          auto_delete_ttl=21600, 
          optional_components=['JUPYTER', 'ANACONDA']
      )
  </code></pre>
  
  <p>However I can not managed to specifify the needed <code>enable-component-gateway</code> parameter. Looking at the source code, it seems the parameters is not intended (both in the <a href="https://github.com/apache/airflow/blob/master/airflow/contrib/operators/dataproc_operator.py" rel="noreferrer">deprecated</a> or the  <a href="https://github.com/apache/airflow/blob/master/airflow/providers/google/cloud/operators/dataproc.py" rel="noreferrer">last stable</a> operator). </p>
  
  <p>I know the REST API provides the <code>endpointConfig.enableHttpPortAccess</code>, but I would rather use the official operator. 
  Does anyone has an idea how to achieved that?</p>