Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Gmail API: ETags are not supported in the ruby library, but they are supported in the API

Open
#20,546 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
48/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
ruby
Domain
api

Research direction

Start with the Ruby Google::Apis::GmailV1::Filter model documented at googleapis.dev and compare it with the Gmail Filter API documentation linked in the issue. Determine how ETags are represented for filters and update the Ruby library so the GmailV1 API exposes that support; done means filter synchronization can use ETags without changing unrelated data.

Written by the indexing model from the issue text.

Description

In the GMail API, ETags are supported for Filters:

https://developers.google.com/resources/api-libraries/documentation/gmail/v1/csharp/latest/classGoogle_1_1Apis_1_1Gmail_1_1v1_1_1Data_1_1Filter.html

The Ruby API does not (yet) support that:

https://googleapis.dev/ruby/google-apis-gmail_v1/v0.2.0/Google/Apis/GmailV1/Filter.html

The problem is that maintaining external filters and syncing them to GMail is very complicated and/or consumes a lot of API. Having an eTag would make that very much easier to change only the data which needs to be changed.

Therefore I'd be grateful if the Ruby SDK would support the full GmailV1 API in that regard.

Dominant language
Ruby
Stars
2.9k
Forks
888
Avg merge
8m
Merged PRs (30d)
242

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from googleapis/google-api-ruby-client

All issues in googleapis/google-api-ruby-client

Similar issues

More Ruby issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.