| :py:mod:`tests.system.providers.google.cloud.tasks.example_queue` |
| ================================================================= |
| |
| .. py:module:: tests.system.providers.google.cloud.tasks.example_queue |
| |
| .. autoapi-nested-parse:: |
| |
| Example Airflow DAG that creates, gets, lists, updates, purges, pauses, resumes |
| and deletes Queues in the Google Cloud Tasks service in the Google Cloud. |
| |
| |
| |
| Module Contents |
| --------------- |
| |
| |
| Functions |
| ~~~~~~~~~ |
| |
| .. autoapisummary:: |
| |
| tests.system.providers.google.cloud.tasks.example_queue.generate_random_string |
| |
| |
| |
| Attributes |
| ~~~~~~~~~~ |
| |
| .. autoapisummary:: |
| |
| tests.system.providers.google.cloud.tasks.example_queue.ENV_ID |
| tests.system.providers.google.cloud.tasks.example_queue.DAG_ID |
| tests.system.providers.google.cloud.tasks.example_queue.LOCATION |
| tests.system.providers.google.cloud.tasks.example_queue.QUEUE_ID |
| tests.system.providers.google.cloud.tasks.example_queue.test_run |
| |
| |
| .. py:data:: ENV_ID |
| |
| |
| |
| |
| .. py:data:: DAG_ID |
| :annotation: = cloud_tasks_queue |
| |
| |
| |
| .. py:data:: LOCATION |
| :annotation: = europe-central2 |
| |
| |
| |
| .. py:data:: QUEUE_ID |
| |
| |
| |
| |
| .. py:function:: generate_random_string() |
| |
| Generate random string for queue and task names. |
| Queue name cannot be repeated in preceding 7 days and |
| task name in the last 1 hour. |
| |
| |
| .. py:data:: test_run |
| |
| |
| |
| |