8000 Small fixes to README.md (#1139) · TillHaenisch/python-docs-samples@b2d417f · GitHub 8000
[go: up one dir, main page]

Skip to content

Commit b2d417f

Browse files
marciwJon Wayne Parrott
authored andcommitted
Small fixes to README.md (GoogleCloudPlatform#1139)
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 586624e commit b2d417f

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
@@ -3,29 +3,29 @@ This folder contains Python samples that demonstrate an overview of the
33
Google Cloud IoT Core platform.
44

55
## Quickstart
6-
1. Install the gCloud CLI as described in [the device manager guide](https://cloud.google.com/iot/docs/device_manager_guide).
6+
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).
77
2. Create a PubSub topic:
88

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

11-
3. Add the service account `cloud-iot@system.gserviceaccount.com` to that
11+
3. Add the service account `cloud-iot@system.gserviceaccount.com` with the role `Publisher` to that
1212
PubSub topic from the [Cloud Developer Console](https://console.cloud.google.com)
1313
or by using the helper script in the /scripts folder.
1414

1515
4. Create a registry:
1616

17-
gcloud alpha iot registries create my-registry \
17+
gcloud beta iot registries create my-registry \
1818
--project=my-iot-project \
1919
--region=us-central1 \
20-
--pubsub-topic=projects/my-iot-project/topics/device-events
20+
--event-pubsub-topic=projects/my-iot-project/topics/device-events
2121

2222
5. Use the `generate_keys.sh` script to generate your signing keys:
2323

2424
./generate_keys.sh
2525

2626
6. Register a device:
2727

28-
gcloud alpha iot devices create my-python-device \
28+
gcloud beta iot devices create my-python-device \
2929
--project=my-iot-project \
3030
--region=us-central1 \
3131
--registry=my-registry \

0 commit comments

Comments
 (0)
0