library
turbot/gcp
Get Involved
Version
Pipeline: List Pub/Sub Topics
Lists all of the Cloud Pub/Sub topics that exist in a given project that match the given topic name filter.
Run the pipeline
To run this pipeline from your terminal:
flowpipe pipeline run gcp.pipeline.list_pubsub_topics \ --arg 'project_id=<string>'
Use this pipeline
To call this pipeline from your pipeline, use a step:
step "pipeline" "step_name" { pipeline = gcp.pipeline.list_pubsub_topics args = { project_id = <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. | - |
Outputs
Name | Description |
---|---|
topics | Information about the Pub/Sub topics in the project. |