airflow.providers.google.cloud.links.pubsub

This module contains Google Pub/Sub links.

Attributes

PUBSUB_BASE_LINK

PUBSUB_TOPIC_LINK

PUBSUB_SUBSCRIPTION_LINK

Classes

PubSubTopicLink

Helper class for constructing Pub/Sub Topic Link.

PubSubSubscriptionLink

Helper class for constructing Pub/Sub Subscription Link.

Module Contents

Bases: airflow.providers.google.cloud.links.base.BaseGoogleLink

Helper class for constructing Pub/Sub Topic Link.

name = 'Pub/Sub Topic'[source]

Name of the link. This will be the button name on the task UI.

key = 'pubsub_topic'[source]
format_str = '/cloudpubsub/topic/detail/{topic_id}?project={project_id}'[source]
static persist(context, task_instance, topic_id, project_id)[source]

Bases: airflow.providers.google.cloud.links.base.BaseGoogleLink

Helper class for constructing Pub/Sub Subscription Link.

name = 'Pub/Sub Subscription'[source]

Name of the link. This will be the button name on the task UI.

key = 'pubsub_subscription'[source]
format_str = '/cloudpubsub/subscription/detail/{subscription_id}?project={project_id}'[source]
static persist(context, task_instance, subscription_id, project_id)[source]

Was this entry helpful?