# Discover-gce plugin and old google api libraries

**URL:** <https://discuss.elastic.co/t/discover-gce-plugin-and-old-google-api-libraries/242183>\
**Category:** Elasticsearch\
**Created:** [July 22, 2020, 12:06pm UTC](https://discuss.elastic.co/t/discover-gce-plugin-and-old-google-api-libraries/242183 "2020-07-22T12:06:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Daniel\_S](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/daniel_s/32/48390_2.png) [@Daniel\_S](https://discuss.elastic.co/u/Daniel_S)\
**Post date:** [July 22, 2020, 12:06pm UTC](https://discuss.elastic.co/t/discover-gce-plugin-and-old-google-api-libraries/242183/1 "2020-07-22T12:06:46Z")

</div>

Hi!

Google is going to deprecate (Aug 12, 2020) for [JSON-RPC and global HTTP batch endpoints](https://developers.googleblog.com/2018/03/discontinuing-support-for-json-rpc-and.html) and their recommendation for clients is to update all Google API Service packages to a version 1.23.1 or higher.

Currently, discover-gce plugin is using [version 1.23.0 of Google API libraries](https://github.com/elastic/elasticsearch/blob/master/plugins/discovery-gce/build.gradle#L9).  
I have looked into the [discover-gce code](https://github.com/elastic/elasticsearch/blob/master/plugins/discovery-gce/src/main/java/org/elasticsearch/cloud/gce/GceInstancesServiceImpl.java) and I do not see any references to batch processing, but I am not sure how this is handled by underlying google library.

Could someone please confirm that this plugin is not calling endpoints described by google and there will be no problem after google will shutdown "Global HTTP Batch endpoints"?

Thanks!  
Daniel

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [August 19, 2020, 12:06pm UTC](https://discuss.elastic.co/t/discover-gce-plugin-and-old-google-api-libraries/242183/2 "2020-08-19T12:06:50Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
