Skip to content

Commit 8317092

Browse files
marciwlesv
authored andcommitted
Small fixes to README.md (#871)
1. gcloud alpha should be gcloud beta 2. --pubsub-topic should be --event-pubsub-topic 3. Updated the link to the docs 4. Added info about the Publisher role for the Pub/Sub topic
1 parent a1a3ded commit 8317092

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

iot/api-client/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,29 +4,29 @@ Google Cloud IoT Core platform.
44

55
## Quickstart
66

7-
1. Install the gCloud CLI as described in [the device manager guide](https://cloud.google.com/iot/docs/device_manager_guide).
7+
1. Install the gCloud CLI as described in [the Cloud IoT Core documentation](https://cloud.google.com/iot/docs/how-tos/getting-started#set_up_the_google_cloud_sdk_and_gcloud).
88
2. Create a PubSub topic:
99

1010
gcloud beta pubsub topics create projects/my-iot-project/topics/device-events
1111

12-
3. Add the special account `[email protected]` to that
12+
3. Add the special account `[email protected]` with the role `Publisher` to that
1313
PubSub topic from the [Cloud Developer Console](https://console.cloud.google.com)
1414
or by using the helper script in the [/scripts](./scripts) folder.
1515

1616
4. Create a registry:
1717

18-
gcloud alpha iot registries create my-registry \
18+
gcloud beta iot registries create my-registry \
1919
--project=my-iot-project \
2020
--region=us-central1 \
21-
--pubsub-topic=projects/my-iot-project/topics/device-events
21+
--event-pubsub-topic=projects/my-iot-project/topics/device-events
2222

2323
5. Use the [`generate_keys.sh`](generate_keys.sh) script to generate your signing keys:
2424

2525
./generate_keys.sh
2626

2727
6. Create a device.
2828

29-
gcloud alpha iot devices create my-java-device \
29+
gcloud beta iot devices create my-java-device \
3030
--project=my-iot-project \
3131
--region=us-central1 \
3232
--registry=my-registry \

0 commit comments

Comments
 (0)