This is a question looking for a different syntax aside from the following three:
curl https://sdk.cloud.google.com | bash -s arg1 arg2
curl https://sdk.cloud.google.com | bash /dev/stdin arg1 arg2
bash <( curl https://sdk.cloud.google.com ) arg1 arg2
for passing arguments to a script fetched via curl ... because none of the ones listed work with the gcloud
script that I'm trying to install silently onto a VM.
I've already looked into these but didn't find a 4th alternative to try out: