From commits-return-66369-archive-asf-public=cust-asf.ponee.io@airflow.apache.org Sun Sep 15 18:48:46 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 84BD91804BB for ; Sun, 15 Sep 2019 20:48:46 +0200 (CEST) Received: (qmail 76015 invoked by uid 500); 15 Sep 2019 18:48:46 -0000 Mailing-List: contact commits-help@airflow.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@airflow.apache.org Delivered-To: mailing list commits@airflow.apache.org Received: (qmail 76006 invoked by uid 99); 15 Sep 2019 18:48:45 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 15 Sep 2019 18:48:45 +0000 From: GitBox To: commits@airflow.apache.org Subject: [GitHub] [airflow] potiuk commented on a change in pull request #6086: [AIRFLOW-XXX] Display GCP integration in table Message-ID: <156857332585.9617.13573076170466869641.gitbox@gitbox.apache.org> Date: Sun, 15 Sep 2019 18:48:45 -0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit potiuk commented on a change in pull request #6086: [AIRFLOW-XXX] Display GCP integration in table URL: https://github.com/apache/airflow/pull/6086#discussion_r324475914 ########## File path: docs/integration.rst ########## @@ -237,230 +235,290 @@ Airflow can be configured to read and write task logs in Google Cloud Storage. See :ref:`write-logs-gcp`. -GoogleCloudBaseHook +Operators and Hooks ''''''''''''''''''' All hooks are based on :class:`airflow.contrib.hooks.gcp_api_base_hook.GoogleCloudBaseHook`. - -BigQuery -'''''''' - -The operators are defined in the following modules: - * :mod:`airflow.gcp.operators.bigquery` - * :mod:`airflow.gcp.sensors.bigquery` - * :mod:`airflow.operators.bigquery_to_bigquery` - * :mod:`airflow.operators.bigquery_to_gcs` - * :mod:`airflow.operators.bigquery_to_mysql` - -They also use :class:`airflow.gcp.hooks.bigquery.BigQueryHook` to communicate with Google Cloud Platform. - -BigQuery Data Transfer Service -'''''''''''''''''''''''''''''' -The operators are defined in the following module: - - * :mod:`airflow.gcp.operators.bigquery_dts` - * :mod:`airflow.gcp.sensors.bigquery_dts` - -The operator is defined in the :class:`airflow.gcp.operators.spanner` package. - -They also use :class:`airflow.gcp.hooks.bigquery_dts.BiqQueryDataTransferServiceHook` to communicate with Google Cloud Platform. - - -Cloud Spanner -''''''''''''' - -The operator is defined in the :class:`airflow.gcp.operators.spanner` package. - -They also use :class:`airflow.gcp.hooks.spanner.CloudSpannerHook` to communicate with Google Cloud Platform. - - -Cloud SQL -''''''''' - -The operator is defined in the :class:`airflow.gcp.operators.cloud_sql` package. - -They also use :class:`airflow.gcp.hooks.cloud_sql.CloudSqlDatabaseHook` and :class:`airflow.gcp.hooks.cloud_sql.CloudSqlHook` to communicate with Google Cloud Platform. - - -Cloud Bigtable -'''''''''''''' - -The operator is defined in the :class:`airflow.gcp.operators.bigtable` package. - -They also use :class:`airflow.gcp.hooks.bigtable.BigtableHook` to communicate with Google Cloud Platform. - -Cloud Build -''''''''''' - -The operator is defined in the :class:`airflow.gcp.operators.cloud_build` package. - -They also use :class:`airflow.gcp.hooks.cloud_build.CloudBuildHook` to communicate with Google Cloud Platform. - - -Compute Engine -'''''''''''''' - -The operators are defined in the :class:`airflow.gcp.operators.compute` package. - -They also use :class:`airflow.gcp.hooks.compute.GceHook` to communicate with Google Cloud Platform. - - -Cloud Functions -''''''''''''''' - -The operators are defined in the :class:`airflow.gcp.operators.functions` package. - -They also use :class:`airflow.gcp.hooks.functions.GcfHook` to communicate with Google Cloud Platform. - - -Cloud DataFlow -'''''''''''''' - -The operators are defined in the :class:`airflow.gcp.operators.dataflow` package. - -They also use :class:`airflow.gcp.hooks.dataflow.DataFlowHook` to communicate with Google Cloud Platform. - - -Cloud DataProc -'''''''''''''' - -The operators are defined in the :class:`airflow.gcp.operators.dataproc` package. - - -Cloud Datastore -''''''''''''''' - -The operators are defined in the :class:`airflow.gcp.operators.datastore` package. - -They also use :class:`airflow.gcp.hooks.datastore.DatastoreHook` to communicate with Google Cloud Platform. - - -Cloud ML Engine -''''''''''''''' - -The operators are defined in the :class:`airflow.gcp.operators.mlengine` package. - -They also use :class:`airflow.gcp.hooks.mlengine.MLEngineHook` to communicate with Google Cloud Platform. - -Cloud Storage -''''''''''''' - -The operators are defined in the following module: - - * :mod:`airflow.operators.local_to_gcs` - * :mod:`airflow.gcp.operators.gcs` - * :mod:`airflow.operators.gcs_to_bq` - * :mod:`airflow.operators.mysql_to_gcs` - * :mod:`airflow.gcp.sensors.gcs` - -They also use :class:`airflow.gcp.hooks.gcs.GoogleCloudStorageHook` to communicate with Google Cloud Platform. - - -Transfer Service -'''''''''''''''' - -The operators are defined in the following module: - - * :mod:`airflow.gcp.operators.cloud_storage_transfer_service` - * :mod:`airflow.gcp.sensors.cloud_storage_transfer_service` - -They also use :class:`airflow.gcp.hooks.cloud_storage_transfer_service.GCPTransferServiceHook` to communicate with Google Cloud Platform. - - -Cloud Vision -'''''''''''' - -The operator is defined in the :class:`airflow.gcp.operators.vision` package. - -They also use :class:`airflow.gcp.hooks.vision.CloudVisionHook` to communicate with Google Cloud Platform. - -Cloud Text to Speech -'''''''''''''''''''' - -The operator is defined in the :class:`airflow.gcp.operators.text_to_speech` package. - -They also use :class:`airflow.gcp.hooks.text_to_speech.GCPTextToSpeechHook` to communicate with Google Cloud Platform. - -Cloud Speech to Text -'''''''''''''''''''' - -The operator is defined in the :class:`airflow.gcp.operators.speech_to_text` package. - -They also use :class:`airflow.gcp.hooks.speech_to_text.GCPSpeechToTextHook` to communicate with Google Cloud Platform. - -Cloud Speech Translate -'''''''''''''''''''''' - -The operator is defined in the :class:`airflow.gcp.operators.translate_speech` package. - -They also use :class:`airflow.gcp.hooks.speech_to_text.GCPSpeechToTextHook` and - :class:`airflow.gcp.hooks.translate.CloudTranslateHook` to communicate with Google Cloud Platform. - -Cloud Translate -''''''''''''''' - -The operator is defined in the :class:`airflow.gcp.operators.translate` package. - -Cloud Video Intelligence -'''''''''''''''''''''''' - -The operators are defined in the :class:`airflow.gcp.operators.video_intelligence` package. - -They also use :class:`airflow.gcp.hooks.video_intelligence.CloudVideoIntelligenceHook` to communicate with Google Cloud Platform. - -Google Kubernetes Engine -'''''''''''''''''''''''' - -The operators are defined in the :class:`airflow.gcp.operators.kubernetes_engine` package. - -They also use :class:`airflow.gcp.hooks.kubernetes_engine.GKEClusterHook` to communicate with Google Cloud Platform. - - -Google Natural Language -''''''''''''''''''''''' - -The operators are defined in the :class:`airflow.gcp.operators.natural_language` package. - -They also use :class:`airflow.gcp.hooks.natural_language.CloudNaturalLanguageHook` to communicate with Google Cloud Platform. - - -Google Cloud Data Loss Prevention (DLP) -''''''''''''''''''''''''''''''''''''''' - -The operators are defined in the :class:`airflow.gcp.operators.dlp` package. - -They also use :class:`airflow.gcp.hooks.dlp.CloudDLPHook` to communicate with Google Cloud Platform. - - -Google Cloud Tasks -'''''''''''''''''' - -The operators are defined in the :class:`airflow.gcp.operators.tasks` package. - -They also use :class:`airflow.gcp.hooks.tasks.CloudTasksHook` to communicate with Google Cloud Platform. - -Google Natural Language -''''''''''''''''''''''' - -The operators are defined in the :class:`airflow.gcp.operators.automl` package. - -They also use :class:`airflow.gcp.hooks.automl.CloudAutoMLHook` to communicate with Google Cloud Platform. - -Google Discovery API -'''''''''''''''''''' - -Airflow also has support for requesting data from any Google Service via Google's Discovery API. - -:class:`airflow.contrib.operators.google_api_to_s3_transfer.GoogleApiToS3Transfer` - Transfers data from any Google Service into an AWS S3 Bucket. +Service operators and hooks +""""""""""""""""""""""""""" + +These integrations allow you to perform various operations within the Google Cloud Platform. + +.. + PLEASE KEEP THE ALPHABETICAL ORDER OF THE LIST BELOW, BUT OMIT THE "Cloud" PREFIX + +.. list-table:: + :header-rows: 1 + + * - Service name + - Guide + - Hook + - Operators + - Sensors + + * - `AutoML `__ + - :doc:`How to use ` + - :mod:`airflow.gcp.hooks.automl` + - + - + + * - `BigQuery `__ + - + - :mod:`airflow.gcp.hooks.bigquery` + - :mod:`airflow.gcp.operators.bigquery` + - :mod:`airflow.gcp.sensors.bigquery` + + * - `BigQuery Data Transfer Service `__ + - :doc:`How to use ` + - :mod:`airflow.gcp.hooks.bigquery_dts` + - :mod:`airflow.gcp.operators.bigquery_dts` + - :mod:`airflow.gcp.sensors.bigquery_dts` + + * - `Bigtable `__ + - :doc:`How to use ` + - :mod:`airflow.gcp.hooks.bigtable` + - :mod:`airflow.gcp.operators.bigtable` + - :mod:`airflow.gcp.sensors.bigtable` + + * - `Cloud Build `__ + - :doc:`How to use ` + - :mod:`airflow.gcp.hooks.cloud_build` + - :mod:`airflow.gcp.operators.cloud_build` + - + + * - `Compute Engine `__ + - :doc:`How to use ` + - :mod:`airflow.gcp.hooks.compute` + - :mod:`airflow.gcp.operators.compute` + - + + * - `Dataflow `__ + - + - :mod:`airflow.gcp.hooks.dataflow` + - :mod:`airflow.gcp.operators.dataflow` + - + + * - `Dataproc `__ + - + - :mod:`airflow.gcp.hooks.dataproc` + - :mod:`airflow.gcp.operators.dataproc` + - + + * - `Datastore `__ + - + - :mod:`airflow.gcp.hooks.datastore` + - :mod:`airflow.gcp.operators.datastore` + - + + * - `Cloud Data Loss Prevention (DLP) `__ + - + - :mod:`airflow.gcp.hooks.dlp` + - :mod:`airflow.gcp.operators.dlp` + - + + * - `Cloud Functions `__ + - :doc:`How to use ` + - :mod:`airflow.gcp.hooks.functions` + - :mod:`airflow.gcp.operators.functions` + - + + * - `Cloud Storage (GCS) `__ + - :doc:`How to use ` + - :mod:`airflow.gcp.hooks.gcs` + - :mod:`airflow.gcp.operators.gcs` + - :mod:`airflow.gcp.sensors.gcs` + + * - `Cloud Key Management Service (KMS) `__ + - + - :mod:`airflow.gcp.hooks.kms` + - + - + + * - `Kubernetes Engine `__ + - + - :mod:`airflow.gcp.hooks.kubernetes_engine` + - :mod:`airflow.gcp.operators.kubernetes_engine` + - + + * - `Cloud Memorystore `__ + - :doc:`How to use ` + - :mod:`airflow.gcp.hooks.cloud_memorystore` + - :mod:`airflow.gcp.operators.cloud_memorystore` + - + + * - `Machine Learning Engine `__ + - + - :mod:`airflow.gcp.hooks.mlengine` + - :mod:`airflow.gcp.operators.mlengine` + - + + * - `Natural Language `__ + - :doc:`How to use ` + - :mod:`airflow.gcp.hooks.natural_language` + - :mod:`airflow.gcp.operators.natural_language` + - + + * - `Cloud Pub/Sub `__ + - + - :mod:`airflow.gcp.hooks.pubsub` + - :mod:`airflow.gcp.operators.pubsub` + - :mod:`airflow.gcp.sensors.pubsub` + + * - `Cloud Spanner `__ + - :doc:`How to use ` + - :mod:`airflow.gcp.hooks.spanner` + - :mod:`airflow.gcp.operators.spanner` + - + + * - `Cloud Speech-to-Text `__ + - :doc:`How to use ` + - :mod:`airflow.gcp.hooks.speech_to_text` + - :mod:`airflow.gcp.operators.speech_to_text` + - + + * - `Cloud SQL `__ + - :doc:`How to use ` + - :mod:`airflow.gcp.hooks.cloud_sql` + - :mod:`airflow.gcp.operators.cloud_sql` + - + + * - `Storage Transfer Service `__ + - :doc:`How to use ` + - :mod:`airflow.gcp.hooks.cloud_storage_transfer_service` + - :mod:`airflow.gcp.operators.cloud_storage_transfer_service` + - :mod:`airflow.gcp.sensors.cloud_storage_transfer_service` + + * - `Cloud Tasks `__ + - + - :mod:`airflow.gcp.hooks.tasks` + - :mod:`airflow.gcp.operators.tasks` + - + + * - `Cloud Text-to-Speech `__ + - :doc:`How to use ` + - :mod:`airflow.gcp.hooks.text_to_speech` + - :mod:`airflow.gcp.operators.text_to_speech` + - + + * - `Cloud Translation `__ + - :doc:`How to use ` + - :mod:`airflow.gcp.hooks.translate` + - :mod:`airflow.gcp.operators.translate` + - + + * - `Cloud Video Intelligence `__ + - :doc:`How to use ` + - :mod:`airflow.gcp.hooks.video_intelligence` + - :mod:`airflow.gcp.operators.video_intelligence` + - + + * - `Cloud Vision `__ + - :doc:`How to use ` + - :mod:`airflow.gcp.hooks.vision` + - :mod:`airflow.gcp.operators.vision` + - + + +Transfer operators and hooks +"""""""""""""""""""""""""""" + +These integrations allow you to copy data from/to Google Cloud Platform. + +.. list-table:: + :header-rows: 1 + + * - Source + - Destination + - Guide + - Operators + + * - `Azure Data Lake Storage `__ + - `Google Cloud Storage (GCS) `__ + - + - :mod:`airflow.operators.adls_to_gcs` + + * - `Amazon Simple Storage Service (S3) `__ + - `Google Cloud Storage (GCS) `__ + - :doc:`How to use ` + - :mod:`airflow.operators.s3_to_gcs` + :mod:`airflow.gcp.operators.cloud_storage_transfer_service` + + * - `Google BigQuery `__ + - `Google BigQuery `__ + - + - :mod:`airflow.operators.bigquery_to_bigquery` + + * - `Google BigQuery `__ + - `Cloud Storage (GCS) `__ + - + - :mod:`airflow.operators.bigquery_to_gcs` + + * - `BigQuery `__ + - `MySQL `__ + - + - :mod:`airflow.operators.bigquery_to_mysql` + + * - `Apache Cassandra `__ + - `Google Cloud Storage (GCS) `__ + - + - :mod:`airflow.operators.cassandra_to_gcs` + + * - `Google Cloud Storage (GCS) `__ + - `Google BigQuery `__ + - + - :mod:`airflow.operators.gcs_to_bq` + + * - `Google Cloud Storage (GCS) `__ + - `Google Cloud Storage (GCS) `__ + - :doc:`How to use `, + :doc:`How to use ` + - :mod:`airflow.operators.gcs_to_gcs` + :mod:`airflow.gcp.operators.cloud_storage_transfer_service` + + * - `Google Cloud Storage (GCS) `__ + - `Amazon Simple Storage Service (S3) `__ + - + - :mod:`airflow.operators.gcs_to_s3` + + * - Local + - `Google Cloud Storage (GCS) `__ + - + - :mod:`airflow.operators.local_to_gcs` + + * - `Microsoft SQL Server (MSSQL) `__ + - `Google Cloud Storage (GCS) `__ + - + - :mod:`airflow.operators.mssql_to_gcs` + + * - `MySQL `__ + - `Google Cloud Storage (GCS) `__ + - + - :mod:`airflow.operators.mysql_to_gcs` + + * - `PostgresSQL `__ + - `Google Cloud Storage (GCS) `__ + - + - :mod:`airflow.operators.postgres_to_gcs` + + * - SQL + - `Cloud Storage (GCS) `__ + - + - :mod:`airflow.operators.sql_to_gcs` + +Google Discovery Operators +"""""""""""""""""""""""""" + +Airflow also has support for requesting data from any Google Service using +`Discovery API `__. + +The operator are defined in the :mod:`airflow.contrib.operators.google_api_to_s3_transfer` module. Review comment: I love it ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: users@infra.apache.org With regards, Apache Git Services