The replacement is to use the single 'gcp' resource detector. See https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/10347.