8000 chore: retire IoT samples (#10489) · davidxia/python-docs-samples@3f96856 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3f96856

Browse files
minherzchalmerlowe
authored andcommitted
chore: retire IoT samples (GoogleCloudPlatform#10489)
* chore: deprecate IoT samples Setup README with the updated deprecation notice Add `.deprecated` extensions to all test files Update CODEOWNERS file --------- Co-authored-by: Chalmer Lowe <chalmer.lowe@gmail.com>
1 parent 59dd793 commit 3f96856

9 files changed

+7
-44
lines changed

.github/CODEOWNERS

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,11 @@
106106
/healthcare/**/* @GoogleCloudPlatform/healthcare-life-sciences @GoogleCloudPlatform/python-samples-reviewers
107107
/retail/**/* @GoogleCloudPlatform/cloud-retail-team @GoogleCloudPlatform/python-samples-reviewers
108108
/billing/**/* @GoogleCloudPlatform/billing-samples-maintainers @GoogleCloudPlatform/python-samples-reviewers
109-
/iot/**/* @GoogleCloudPlatform/api-iot @GoogleCloudPlatform/python-samples-reviewers
110109
/video/stitcher/* @GoogleCloudPlatform/cloud-media-team @GoogleCloudPlatform/python-samples-reviewers
111110

111+
# Deprecated
112+
/iot/**/* @GoogleCloudPlatform/python-samples-reviewers
113+
112114
# Does not have owner
113115
/blog/**/* @GoogleCloudPlatform/python-sa 8000 mples-reviewers
114116
/iam/api-client/**/* @GoogleCloudPlatform/python-samples-reviewers

iot/api-client/README.md

Lines changed: 4 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,7 @@
1-
# Cloud IoT Core Python Samples
1+
# Deprecation Notice
22

3-
## DEPRECATION NOTICE
3+
* <h3>Google Cloud IoT Core is <a href="https://cloud.google.com/iot/docs/release-notes#August_16_2022">retired as of August 16, 2023</a>.</h3>
44

5-
Please see the [release notes](https://cloud.google.com/iot/docs/release-notes) for information on the upcoming deprecation of IoT Core
6-
7-
[![Open in Cloud Shell][shell_img]][shell_link]
8-
9-
[shell_img]: http://gstatic.com/cloudssh/images/open-btn.png
10-
[shell_link]: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/python-docs-samples&page=editor&open_in_editor=iot/api-client/README.md
11-
This folder contains Python samples that demonstrate an overview of the
12-
Google Cloud IoT Core platform.
13-
14-
## Quickstart
15-
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).
16-
2. Create a PubSub topic:
17-
18-
gcloud beta pubsub topics create projects/my-iot-project/topics/device-events
19-
20-
3. Add the service account `cloud-iot@system.gserviceaccount.com` with the role `Publisher` to that
21-
PubSub topic from the [Cloud Developer Console](https://console.cloud.google.com)
22-
or by using the helper script in the /scripts folder.
23-
24-
4. Create a registry:
25-
26-
gcloud beta iot registries create my-registry \
27-
--project=my-iot-project \
28-
--region=us-central1 \
29-
--event-pubsub-topic=projects/my-iot-project/topics/device-events
30-
31-
5. Use the `generate_keys.sh` script to generate your signing keys:
32-
33-
./generate_keys.sh
34-
35-
6. Register a device:
36-
37-
gcloud beta iot devices create my-python-device \
38-
--project=my-iot-project \
39-
--region=us-central1 \
40-
--registry=my-registry \
41-
--public-key path=rsa_cert.pem,type=rs256
42-
43-
7. Connect a sample device using the sample app in the `mqtt_example` folder.
44-
8. Learn how to manage devices programmatically with the sample app in the
45-
`manager` folder.
5+
* <h3>Hence, the samples in this directory are archived and are no longer maintained.</h3>
466

7+
* <h3>If you are customer with an assigned Google Cloud account team, contact your account team for more information.</h3>

0 commit comments

Comments
 (0)
0