Install golang-google-cloud-compute-metadata-dev by entering the following commands in the terminal:
sudo apt update sudo apt install golang-google-cloud-compute-metadata-dev
Description:
Google Cloud Platform APIs (only cloud/compute/metadata)
This package contains only google.golang.org/cloud/compute/metadata, which is required by other packages (such as golang-golang-x-oauth2-dev), hence useful to split out to break circular dependencies. . Provides both the old google.golang.org/cloud and the new cloud.google.com/go trees.
Homepage: https://cloud.google.com/go/home
Version: 0.9.0-5
Section: universe/devel