Skip to content

Upgrade `google-apis` dependencies

Sri Rang requested to merge upgrade-google-apis-dependency into master

What does this MR do and why?

Fixes #385405 (closed)

Upgrade google-apis dependencies

We use google-api-client that has not been maintained since Jan 18 2021.

Google instead publishes individual gems that are maintained properly.

This commit replaces google-api-client with:

gem 'google-apis-core', '~> 0.10.0'
gem 'google-apis-compute_v1', '~> 0.57.0'
gem 'google-apis-container_v1', '~> 0.43.0'
gem 'google-apis-container_v1beta1', '~> 0.43.0'
gem 'google-apis-cloudbilling_v1', '~> 0.21.0'
gem 'google-apis-cloudresourcemanager_v1', '~> 0.31.0'
gem 'google-apis-iam_v1', '~> 0.36.0'
gem 'google-apis-serviceusage_v1', '~> 0.28.0'
gem 'google-apis-sqladmin_v1beta4', '~> 0.41.0'

All of these are official gems published and maintained by Google Cloud.

Screenshots or screen recordings

None

How to set up and validate locally

  1. Tests should pass
  2. Everything "Google related" should be manually tested
    • Google OAuth2 login
    • Cloud Seed capabilities
      • Generate service account and key
      • Enable Cloud Run and related services
      • Enable Cloud SQL and related services
    • Other Google Cloud related capabilities?

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Matthias Käppler

Merge request reports