1 Answers
You can set multiple labels for a bucket by using a label file in JSON format, together with gsutil label
command.
The label file content looks like this:
{
"your_label_key": "your_label_value",
"your_other_label_key": "your_other_label_value"
}
Then you can set those labels defined in a JSON file with gsutil label set labels.json gs://your-unique-bucket
.
The regular syntax gsutil label ch -l your_label_key:your_label_value gs://your-unique-bucket
only accepts one label at a time.