kaxil commented on a change in pull request #4354: [AIRFLOW-3446] Add Google Cloud BigTable operators URL: https://github.com/apache/incubator-airflow/pull/4354#discussion_r244886482
########## File path: docs/howto/operator.rst ########## @@ -361,6 +361,135 @@ More information See `Google Compute Engine API documentation <https://cloud.google.com/compute/docs/reference/rest/v1/instanceGroupManagers>`_. +Google Cloud Bigtable Operators +-------------------------------- + +Arguments +""""""""" + +All examples below rely on the following variables, which can be passed via environment variables. + +.. literalinclude:: ../../airflow/contrib/example_dags/example_gcp_bigtable_operators.py + :language: python + :start-after: [START howto_operator_gcp_bigtable_args] + :end-before: [END howto_operator_gcp_bigtable_args] + + +BigtableInstanceCreateOperator +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +Use the :class:`~airflow.contrib.operators.gcp_bigtable_operator.BigtableInstanceCreateOperator` +to create a Google Cloud Bigtable instance. + +If the Cloud Bigtable instance with the given ID exists, the operator does not compare its configuration +and immediately succeeds. No changes are made to the existing instance. + +Using the operator +"""""""""""""""""" + +.. literalinclude:: ../../airflow/contrib/example_dags/example_gcp_bigtable_operators.py + :language: python + :dedent: 4 + :start-after: [START howto_operator_gcp_bigtable_instance_create] + :end-before: [END howto_operator_gcp_bigtable_instance_create] + + +BigtableInstanceDeleteOperator +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Review comment: remove extra `^` ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services