I am using Google Cloud SDK CLI (gcloud
command), and the command is great! Although I'd like to output Google Compute Engine's instances list in JSON format (by running gcloud compute instances list --format json
) and filter it using jq JSON processor, the command sometimes outputs a message below:
Updates are available for some Cloud SDK components. To install
them, please run:
$ gcloud components update
I know the message is important, but I'd like to treat the JSON output as well-formed. Is there a way to suppress the message? Both -q
and --verbosity none
option didn't work.