the installation fails at
|
curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key --keyring /usr/share/keyrings/cloud.google.gpg add - |
the installation implements the for "For older distributions" steps while it should support the newer distributions (Debian 9+ or Ubuntu 18.04+) as mentioned here https://docs.cloud.google.com/sdk/docs/install-sdk#deb