{"id":177417,"date":"2021-04-17T07:32:07","date_gmt":"2021-04-17T14:32:07","guid":{"rendered":"https:\/\/m2msupport.net\/m2msupport\/?page_id=177417"},"modified":"2021-04-17T08:22:06","modified_gmt":"2021-04-17T15:22:06","slug":"add-topics-in-google-cloud-platform-gcp-using-iot-cloud-tester","status":"publish","type":"page","link":"https:\/\/m2msupport.net\/m2msupport\/add-topics-in-google-cloud-platform-gcp-using-iot-cloud-tester\/","title":{"rendered":"Add topics in Google Cloud Platform (GCP) using IoT Cloud Tester"},"content":{"rendered":"<p>Topics are created in Google Cloud and are used by publishers to send messages. Subscriber entities can subscribe to the topic and get the messages when they are published.<\/p>\n<p><a href=\"https:\/\/m2msupport.net\/m2msupport\/download-iot-cloud-tester\/\">IoT Cloud Tester<\/a>\u00a0 application provides an easy interface to create topic in Google Cloud platform.<\/p>\n<h1>To create a topic in Google Cloud project,<\/h1>\n<ul>\n<li>Select the project.<\/li>\n<li>In the &#8216;Topics&#8217; tab, press &#8216;Add Topic&#8217;.<\/li>\n<li>Topic ID is automatically generated but that can be changed.<\/li>\n<\/ul>\n<p><a href=\"https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2021\/04\/add_topic_2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-177421\" src=\"https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2021\/04\/add_topic_2.png\" alt=\"\" width=\"850\" height=\"728\" srcset=\"https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2021\/04\/add_topic_2.png 850w, https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2021\/04\/add_topic_2-300x257.png 300w, https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2021\/04\/add_topic_2-768x658.png 768w, https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2021\/04\/add_topic_2-600x514.png 600w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2021\/04\/add_topic_1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-177422\" src=\"https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2021\/04\/add_topic_1.png\" alt=\"\" width=\"1259\" height=\"913\" srcset=\"https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2021\/04\/add_topic_1.png 1259w, https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2021\/04\/add_topic_1-300x218.png 300w, https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2021\/04\/add_topic_1-768x557.png 768w, https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2021\/04\/add_topic_1-1024x743.png 1024w, https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2021\/04\/add_topic_1-600x435.png 600w\" sizes=\"auto, (max-width: 1259px) 100vw, 1259px\" \/><\/a><br \/>\n<code><\/code><\/p>\n<p>In this example, the topic is created under the selected project.<\/p>\n<p><code>projects\/iot-cloud-tutorial\/topics\/topic_93910<\/code><\/p>\n<p><code><\/code><code>[name: \"projects\/iot-cloud-tutorial\/topics\/topic_93910<\/code><code>\"]<br \/>\n<\/code><\/p>\n<p>The added project can be viewed in the Google Cloud console.<\/p>\n<p>https:\/\/console.cloud.google.com\/cloudpubsub\/topic\/list?project=iot-cloud-tutorial<\/p>\n<p><a href=\"https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2021\/04\/add_topic_3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-177435\" src=\"https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2021\/04\/add_topic_3.png\" alt=\"\" width=\"1518\" height=\"944\" srcset=\"https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2021\/04\/add_topic_3.png 1518w, https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2021\/04\/add_topic_3-300x187.png 300w, https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2021\/04\/add_topic_3-768x478.png 768w, https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2021\/04\/add_topic_3-1024x637.png 1024w, https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2021\/04\/add_topic_3-600x373.png 600w\" sizes=\"auto, (max-width: 1518px) 100vw, 1518px\" \/><\/a><\/p>\n<div class=\"video-responsive\"><iframe loading=\"lazy\" id=\"youTubePlayer\" src=\"https:\/\/www.youtube.com\/embed\/OHcgmBfyR5I?hd=1\" width=\"750\" height=\"421\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Topics are created in Google Cloud and are used by publishers to send messages. Subscriber entities can subscribe to the topic and get the messages when they are published. IoT Cloud Tester\u00a0 application provides an easy interface to create topic &hellip; <a href=\"https:\/\/m2msupport.net\/m2msupport\/add-topics-in-google-cloud-platform-gcp-using-iot-cloud-tester\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"iot_tutorial_template.php","meta":{"footnotes":""},"class_list":["post-177417","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/pages\/177417","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/comments?post=177417"}],"version-history":[{"count":6,"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/pages\/177417\/revisions"}],"predecessor-version":[{"id":177437,"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/pages\/177417\/revisions\/177437"}],"wp:attachment":[{"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/media?parent=177417"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}