{"id":176663,"date":"2021-04-11T07:41:46","date_gmt":"2021-04-11T14:41:46","guid":{"rendered":"https:\/\/m2msupport.net\/m2msupport\/?page_id=176663"},"modified":"2021-04-11T07:41:47","modified_gmt":"2021-04-11T14:41:47","slug":"enable-cloud-pub-sub-api-in-google-cloud-platform-gcp","status":"publish","type":"page","link":"https:\/\/m2msupport.net\/m2msupport\/enable-cloud-pub-sub-api-in-google-cloud-platform-gcp\/","title":{"rendered":"Enable Cloud Pub\/Sub API in Google Cloud Platform (GCP)"},"content":{"rendered":"<p>To publish and subscribe to topics in the Google Cloud Platform (GCP) by applications such as <a href=\"https:\/\/m2msupport.net\/m2msupport\/download-iot-cloud-tester\/\">IoT Cloud Tester<\/a>&nbsp;, the Cloud Pub\/Sub API must be enabled.<\/p>\n<h1>Enable Cloud Pub\/Sub API in GCP<\/h1>\n<p>To enable cloud Pub\/Sub API,<\/p>\n<ul>\n<li>Verify the service account in the&nbsp;<a href=\"https:\/\/m2msupport.net\/m2msupport\/download-iot-cloud-tester\/\">IoT Cloud Tester<\/a>&nbsp;application<\/li>\n<li>Press the &#8216;Enable Cloud Pub\/Sub API&#8217; button in the app. That will launch the GCP console page to enable the Cloud Pub\/Sub API and pass the project Id as below,\n<ul>\n<li>https:\/\/console.cloud.google.com\/apis\/library\/pubsub.googleapis.com?project=iot-cloud-tutorial<\/li>\n<\/ul>\n<\/li>\n<li>Press the &#8216;Enable&#8217; button in the Google console page.<\/li>\n<\/ul>\n<p><a href=\"https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2021\/04\/enable_cloud_pubsub_api.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-176665\" src=\"https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2021\/04\/enable_cloud_pubsub_api.png\" alt=\"\" width=\"842\" height=\"732\" srcset=\"https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2021\/04\/enable_cloud_pubsub_api.png 842w, https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2021\/04\/enable_cloud_pubsub_api-300x261.png 300w, https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2021\/04\/enable_cloud_pubsub_api-768x668.png 768w, https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2021\/04\/enable_cloud_pubsub_api-600x522.png 600w\" sizes=\"auto, (max-width: 842px) 100vw, 842px\" \/><\/a><\/p>\n<div class=\"video-responsive\"><iframe loading=\"lazy\" id=\"youTubePlayer\" src=\"https:\/\/www.youtube.com\/embed\/xEuW5UaM6-o\" width=\"750\" height=\"421\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/div>\n","protected":false},"excerpt":{"rendered":"<p>To publish and subscribe to topics in the Google Cloud Platform (GCP) by applications such as IoT Cloud Tester&nbsp;, the Cloud Pub\/Sub API must be enabled. Enable Cloud Pub\/Sub API in GCP To enable cloud Pub\/Sub API, Verify the service &hellip; <a href=\"https:\/\/m2msupport.net\/m2msupport\/enable-cloud-pub-sub-api-in-google-cloud-platform-gcp\/\">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-176663","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/pages\/176663","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=176663"}],"version-history":[{"count":1,"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/pages\/176663\/revisions"}],"predecessor-version":[{"id":176721,"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/pages\/176663\/revisions\/176721"}],"wp:attachment":[{"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/media?parent=176663"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}