Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions dataflow/encryption-keys/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Additionally, for this sample you need the following:

```sh
export BUCKET=your-gcs-bucket
gsutil mb gs://$BUCKET
gcloud storage buckets create gs://$BUCKET
```

1. [Create a symmetric key ring](https://cloud.google.com/kms/docs/creating-keys).
Expand Down Expand Up @@ -151,10 +151,10 @@ To avoid incurring charges to your GCP account for the resources used:

```sh
# Remove only the files created by this sample.
gsutil -m rm -rf "gs://$BUCKET/samples/dataflow/kms"
gcloud storage rm --recursive --continue-on-error "gs://$BUCKET/samples/dataflow/kms"

# [optional] Remove the Cloud Storage bucket.
gsutil rb gs://$BUCKET
gcloud storage buckets delete gs://$BUCKET

# Remove the BigQuery table.
bq rm -f -t $PROJECT:$DATASET.$TABLE
Expand Down
6 changes: 3 additions & 3 deletions dataflow/flex-templates/kafka_to_bigquery/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Additionally, for this sample you need the following:

```sh
export BUCKET="your-gcs-bucket"
gsutil mb gs://$BUCKET
gcloud storage buckets create gs://$BUCKET
```

1. Create a [BigQuery dataset](https://cloud.google.com/bigquery/docs/datasets).
Expand Down Expand Up @@ -381,7 +381,7 @@ The following sections describe how to delete or turn off these resources.
1. Delete the template spec file from Cloud Storage.

```sh
gsutil rm $TEMPLATE_PATH
gcloud storage rm $TEMPLATE_PATH
```

1. Delete the Flex Template container images from Container Registry.
Expand Down Expand Up @@ -439,5 +439,5 @@ The following sections describe how to delete or turn off these resources.
> These objects cannot be recovered.
>
> ```sh
> gsutil rm -r gs://$BUCKET
> gcloud storage rm --recursive gs://$BUCKET
> ```
6 changes: 3 additions & 3 deletions dataflow/flex-templates/streaming_beam_sql/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Additionally, for this sample you need the following:

```sh
export BUCKET="your-gcs-bucket"
gsutil mb gs://$BUCKET
gcloud storage buckets create gs://$BUCKET
```

1. Create a
Expand Down Expand Up @@ -241,7 +241,7 @@ The following sections describe how to delete or turn off these resources.
1. Delete the template spec file from Cloud Storage.

```sh
gsutil rm $TEMPLATE_PATH
gcloud storage rm $TEMPLATE_PATH
```

1. Delete the Flex Template container image from Container Registry.
Expand Down Expand Up @@ -287,7 +287,7 @@ The following sections describe how to delete or turn off these resources.
> These objects cannot be recovered.
>
> ```sh
> gsutil rm -r gs://$BUCKET
> gcloud storage rm --recursive gs://$BUCKET
> ```

## Limitations
Expand Down
10 changes: 5 additions & 5 deletions dataflow/templates/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Additionally, for this sample you need the following:

```sh
export BUCKET=your-gcs-bucket
gsutil mb gs://$BUCKET
gcloud storage buckets create gs://$BUCKET
```

1. Clone the `java-docs-samples` repository.
Expand Down Expand Up @@ -64,7 +64,7 @@ mvn compile exec:java \
--runner=DataflowRunner"

# Upload the metadata file.
gsutil cp WordCount_metadata "$TEMPLATE_LOCATION"_metadata
gcloud storage cp WordCount_metadata "$TEMPLATE_LOCATION"_metadata
```

> For more information, see
Expand Down Expand Up @@ -94,9 +94,9 @@ To avoid incurring charges to your GCP account for the resources used:

```bash
# Remove only the files created by this sample.
gsutil -m rm -rf "$TEMPLATE_LOCATION*"
gsutil -m rm -rf "gs://$BUCKET/samples/dataflow/wordcount/"
gcloud storage rm --recursive --continue-on-error "$TEMPLATE_LOCATION*"
gcloud storage rm --recursive --continue-on-error "gs://$BUCKET/samples/dataflow/wordcount/"

# [optional] Remove the Cloud Storage bucket.
gsutil rb gs://$BUCKET
gcloud storage buckets delete gs://$BUCKET
```