Skip to content

Commit 656e75a

Browse files
fix: remove optional tag on input parameter (GoogleCloudPlatform#5148)
* fix: remove optional tag on input parameter * nit: numbering in readme
1 parent fb5a0bf commit 656e75a

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

pubsublite/streaming-analytics/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -133,24 +133,24 @@ gcloud dataflow flex-template run "pubsublite-to-gcs-`date +%Y%m%d`" \
133133

134134
1. Stop the pipeline. If you use `DirectRunner`, `Ctrl+C` to cancel. If you use `DataflowRunner`, [click](https://console.cloud.google.com/dataflow/jobs) on the job you want to stop, then choose "Cancel".
135135

136-
1. Delete the Lite topic and subscription.
136+
2. Delete the Lite topic and subscription.
137137
```sh
138138
gcloud pubsub lite-topics delete $TOPIC
139139
gcloud pubsub lite-subscription delete $SUBSCRIPTION
140140
```
141141

142-
1. Delete the Cloud Storage objects:
142+
3. Delete the Cloud Storage objects:
143143
```sh
144144
gsutil -m rm -rf "gs://$BUCKET/samples/output*"
145145
```
146146

147-
1. Delete the template image in Cloud Registry and delete the Flex template if you have created them.
147+
4. Delete the template image in Cloud Registry and delete the Flex template if you have created them.
148148
```sh
149149
gcloud container images delete $TEMPLATE_IMAGE
150150
gsutil rm $TEMPLATE_PATH
151151
```
152152

153-
1. Delete the Cloud Storage bucket:
153+
5. Delete the Cloud Storage bucket:
154154
```sh
155155
gsutil rb "gs://$BUCKET"
156156
```
@@ -162,4 +162,4 @@ gsutil rb "gs://$BUCKET"
162162
[Publish]: https://cloud.google.com/pubsub/lite/docs/publishing/
163163
[Pub/Sub Lite location]: https://cloud.google.com/pubsub/lite/docs/locations/
164164
[Dataflow region]: https://cloud.google.com/dataflow/docs/concepts/regional-endpoints/
165-
[Dataflow Flex template]: https://cloud.google.com/dataflow/docs/guides/templates/using-flex-templates
165+
[Dataflow Flex template]: https://cloud.google.com/dataflow/docs/guides/templates/using-flex-templates

pubsublite/streaming-analytics/metadata.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,9 @@
1919
"name": "output",
2020
"label": "Filename prefix of output files including the file path",
2121
"helpText": "Filename prefix of output files including the file path, e.g. gs://my-bucket/my-filename-prefix.",
22-
"isOptional": true,
2322
"regexes": [
2423
"^gs:\\/\\/.*$"
2524
]
2625
}
2726
]
28-
}
27+
}

0 commit comments

Comments
 (0)