library
turbot/gcp
Get Involved
Version
Pipeline: Update Pub/Sub Topics
This pipeline updates an existing Cloud Pub/Sub topic.
Run the pipeline
To run this pipeline from your terminal:
flowpipe pipeline run gcp.pipeline.update_pubsub_topic \ --arg 'project_id=<string>' \ --arg 'topic_name=<string>'
Use this pipeline
To call this pipeline from your pipeline, use a step:
step "pipeline" "step_name" { pipeline = gcp.pipeline.update_pubsub_topic args = { project_id = <string> topic_name = <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. | - |
remove_labels | list(string) | No | The GCP labels. | - |
update_labels | map(string) | No | The GCP labels. | - |
topic_name | string | Yes | The names of the topic to update. | - |
message_retention_duration | string | No | The duration to retain messages. | - |
Outputs
Name | Description |
---|---|
topic | Information about the updated topic. |
Tags
recommended = true