The google-cloud-sdk repo file for Red Hat Enterprise Linux 7 and CentOS 7 contains two gpgkey URLs. This is what the repo file looks like:
[google-cloud-sdk]
name=Google Cloud SDK
baseurl=https://packages.cloud.google.com/yum/repos/cloud-sdk-el7-x86_64
enabled=1
gpgcheck=1
repo_gpgcheck=1
gpgkey=https://packages.cloud.google.com/yum/doc/yum-key.gpg
https://packages.cloud.google.com/yum/doc/rpm-package-key.gpg
Source: https://cloud.google.com/sdk/downloads
The package managers DNF and YUM are able to use this repo. Other default applications which use repo files such as PackageKit-command-not-found
and gnome-software
receive the following 404 error:
Failed to search for file: Status code: 404 for https://packages.cloud.google.com/yum/doc/yum-key.gpg;https:/packages.cloud.google.com/yum/doc/rpm-package-key.gpg