Remove unused pubsub module

Bug: None
Change-Id: Ib17357bea33686d6fe522ca407c52024304e285a
Reviewed-on: https://flutter-review.googlesource.com/c/recipes/+/55160
Commit-Queue: Casey Hillers <chillers@google.com>
Reviewed-by: Keyong Han <keyonghan@google.com>
diff --git a/recipe_modules/pubsub/__init__.py b/recipe_modules/pubsub/__init__.py
deleted file mode 100644
index ff8f0f4..0000000
--- a/recipe_modules/pubsub/__init__.py
+++ /dev/null
@@ -1,8 +0,0 @@
-# Copyright 2022 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-DEPS = [
-    'flutter/gcloud',
-    'recipe_engine/step',
-]
diff --git a/recipe_modules/pubsub/api.py b/recipe_modules/pubsub/api.py
deleted file mode 100644
index 33b9762..0000000
--- a/recipe_modules/pubsub/api.py
+++ /dev/null
@@ -1,22 +0,0 @@
-# Copyright 2022 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-from recipe_engine import recipe_api
-
-
-class PubSubApi(recipe_api.RecipeApi):
-
-  def publish_message(
-      self, topic, message, step_name='Publish message to pubsub'
-  ):
-    """Publish a message to a pubsub topic
-
-    Args:
-      topic(str): gcloud topic to publish the message to.
-      message(str): the message to publish to pubsub.
-      step_name(str): an optional custom step name.
-    """
-    with self.m.step.nest(step_name):
-      cmd = ['pubsub', 'topics', 'publish', topic, '--message=%s' % message]
-      self.m.gcloud(*cmd, infra_step=True)
diff --git a/recipe_modules/pubsub/examples/full.expected/basic.json b/recipe_modules/pubsub/examples/full.expected/basic.json
deleted file mode 100644
index 3256765..0000000
--- a/recipe_modules/pubsub/examples/full.expected/basic.json
+++ /dev/null
@@ -1,60 +0,0 @@
-[
-  {
-    "cmd": [],
-    "name": "Test step"
-  },
-  {
-    "cmd": [],
-    "name": "Test step.ensure gcloud",
-    "~followup_annotations": [
-      "@@@STEP_NEST_LEVEL@1@@@"
-    ]
-  },
-  {
-    "cmd": [
-      "cipd",
-      "ensure",
-      "-root",
-      "[START_DIR]/gcloud",
-      "-ensure-file",
-      "infra/3pp/tools/gcloud/${platform} version:2@428.0.0.chromium.3",
-      "-max-threads",
-      "0",
-      "-json-output",
-      "/path/to/tmp/json"
-    ],
-    "name": "Test step.ensure gcloud.ensure_installed",
-    "~followup_annotations": [
-      "@@@STEP_NEST_LEVEL@2@@@",
-      "@@@STEP_LOG_LINE@json.output@{@@@",
-      "@@@STEP_LOG_LINE@json.output@  \"result\": {@@@",
-      "@@@STEP_LOG_LINE@json.output@    \"\": [@@@",
-      "@@@STEP_LOG_LINE@json.output@      {@@@",
-      "@@@STEP_LOG_LINE@json.output@        \"instance_id\": \"resolved-instance_id-of-version:2@428.0.\",@@@",
-      "@@@STEP_LOG_LINE@json.output@        \"package\": \"infra/3pp/tools/gcloud/resolved-platform\"@@@",
-      "@@@STEP_LOG_LINE@json.output@      }@@@",
-      "@@@STEP_LOG_LINE@json.output@    ]@@@",
-      "@@@STEP_LOG_LINE@json.output@  }@@@",
-      "@@@STEP_LOG_LINE@json.output@}@@@",
-      "@@@STEP_LOG_END@json.output@@@"
-    ]
-  },
-  {
-    "cmd": [
-      "[START_DIR]/gcloud/bin/gcloud",
-      "pubsub",
-      "topics",
-      "publish",
-      "custom/pubsub/url",
-      "--message=message"
-    ],
-    "infra_step": true,
-    "name": "Test step.gcloud pubsub",
-    "~followup_annotations": [
-      "@@@STEP_NEST_LEVEL@1@@@"
-    ]
-  },
-  {
-    "name": "$result"
-  }
-]
\ No newline at end of file
diff --git a/recipe_modules/pubsub/examples/full.py b/recipe_modules/pubsub/examples/full.py
deleted file mode 100644
index d961feb..0000000
--- a/recipe_modules/pubsub/examples/full.py
+++ /dev/null
@@ -1,13 +0,0 @@
-# Copyright 2020 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-DEPS = ['flutter/pubsub']
-
-
-def RunSteps(api):
-  api.pubsub.publish_message('custom/pubsub/url', 'message', 'Test step')
-
-
-def GenTests(api):
-  yield api.test('basic')