library
turbot/gcp
Get Involved
Version
Pipeline: Remove Labels from Pub/Sub Topic
This pipeline removes specified labels from a Google Cloud Pub/Sub topic.
Run the pipeline
To run this pipeline from your terminal:
flowpipe pipeline run gcp.pipeline.remove_specific_label_from_pubsub_topic \ --arg 'project_id=<string>' \ --arg 'topic_name=<string>' \ --arg 'label_keys=<list(string)>'
Use this pipeline
To call this pipeline from your pipeline, use a step:
step "pipeline" "step_name" { pipeline = gcp.pipeline.remove_specific_label_from_pubsub_topic args = { project_id = <string> topic_name = <string> label_keys = <list(string)> }}
Params
Name | Type | Required | Description | Default |
---|---|---|---|---|
conn | connection.gcp | Yes | Name of GCP connection to use. If not provided, the default GCP connection will be used. | connection.gcp.default |
project_id | string | Yes | The GCP project ID. | - |
topic_name | string | Yes | The name of the Pub/Sub topic. | - |
label_keys | list(string) | Yes | The GCP label keys to remove. | - |
Outputs
Name | Description |
---|---|
topic | Information about the Pub/Sub topic. |