Complete the code to create a Google Cloud Storage bucket named "my-bucket".
gcloud storage buckets create [1]The command gcloud storage buckets create my-bucket creates a new storage bucket named "my-bucket" in Google Cloud Platform.
Complete the code to list running Compute Engine instances in the current project.
gcloud compute instances list --filter=[1]The filter status=RUNNING lists only the instances that are currently running.
Fix the error in the command to create an App Engine application with the correct region.
gcloud app create --region=[1]The region us-central is a valid App Engine region. Using an invalid region causes an error.
Fill both blanks to create a firewall rule allowing HTTP traffic on port 80.
gcloud compute firewall-rules create [1] --allow=[2]
The firewall rule named allow-http allows TCP traffic on port 80, which is standard for HTTP.
Fill all three blanks to create a Cloud Pub/Sub topic and publish a message.
gcloud pubsub topics create [1] gcloud pubsub topics publish [2] --message=[3]
The topic my-topic is created and then used to publish the message Hello, Cloud!.