Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Unable to understand certain Cloud Storage cp command

In the following page/section:

What does the following command signify:

gcloud storage cp gs://gcp-external-http-lb-with-bucket/three-cats.jpg gs://BUCKET_1_NAME/never-fetch/


1. What is `gs://gcp-external-http-lb-with-bucket/three-cats.jpg`. Where did `gcp-external-http-lb-with-bucket` come from. there was no reference to it in the tutorial.

2. Why does BUCKET_1_Name has the suffix `/never-fetch`?

I am looking at the following cp reference documentation as well, but unable to quite understand.
https://cloud.google.com/sdk/gcloud/reference/storage/cp

2 1 359
1 REPLY 1

The bucket name `gcp-external-http-lb-with-bucket` is likely a placeholder or example name (bucket name should be globally unique) used in the documentation, and it may not be explicitly referenced elsewhere in the tutorial. The name `never-fetch` of bucket prefix is arbitrary and could be used to organize files or indicate that the files in this directory should not be accessed frequently.