Arcade Re-Trail: Vaults & Vectors
Solution for Arcade Re-Trail: Vaults & Vectors. 1 lab: GSP095. Fast copy-paste commands for Google Cloud.
GSP095 — Pub/Sub: Qwik Start - Command Line
Estimated time: 10 minutes
# 🚀 Google Cloud Pub/Sub: Qwik Start - Command Line > ⚠️ **Disclaimer:** This is an independent, community-made walkthrough created for educational purposes, hands-on practice, and Google Cloud certification preparation. This guide is designed to help learners understand asynchronous messaging, Pub/Sub topics, subscriptions, and practical Google Cloud workflows through hands-on exercises. Always attempt the lab yourself first and follow Google Cloud Skills Boost / Qwiklabs Terms of Service. Th
# ==============================================================================
# ORBIT OF OPS - GSP095 (COMMAND 1 OF 1)
# ==============================================================================
GREEN='\e[1;32m'
CYAN='\e[1;36m'
YELLOW='\e[1;33m'
MAGENTA='\e[1;35m'
RESET='\e[0m'
BOLD='\e[1m'
clear
echo -e "${CYAN}${BOLD}"
cat << "EOF"
____ _ _ _ __ ___
/ __ \ | | (_) | / _| / _ \
| | | |_ __| |__ _| |_ ___ | |_ | | | |_ __ ___
| | | | '__| '_ \| | __| / _ \ | _| | | | | '_ \/ __|
| |__| | | | |_) | | |_ | (_) || | | |_| | |_) \__ \
\____/|_| |_.__/|_|\__| \___/ |_| \___/| .__/|___/
| |
|_|
EOF
echo -e "${RESET}"
echo -e "${MAGENTA}${BOLD}>>> ORBIT OF OPS: GSP095 INITIATED <<<${RESET}\n"
echo -e "${YELLOW}${BOLD}[Orbit of Ops] Task 1: Creating Pub/Sub Topics...${RESET}"
gcloud pubsub topics create myTopic --quiet
gcloud pubsub topics create Test1 --quiet
gcloud pubsub topics create Test2 --quiet
echo -e "${CYAN}${BOLD}[Orbit of Ops] Task 1: Listing Topics (Verification)...${RESET}"
gcloud pubsub topics list
echo -e "${MAGENTA}${BOLD}[Orbit of Ops] Task 1: Cleaning up Test Topics...${RESET}"
gcloud pubsub topics delete Test1 --quiet
gcloud pubsub topics delete Test2 --quiet
echo -e "${YELLOW}${BOLD}[Orbit of Ops] Task 2: Creating Pub/Sub Subscription...${RESET}"
gcloud pubsub subscriptions create --topic myTopic mySubscription --quiet
echo -e "\n${GREEN}${BOLD}🎉 COMMAND 1 COMPLETE!${RESET}"
echo -e "${CYAN}${BOLD}You can now safely click 'Check my progress' on all tasks in your lab manual.${RESET}"