I'm using the YouTube Data API in an Apps Script project. The API docs recommend storing and sending an ETag in a If-None-Match header to cut down on API quota costs. I cannot figure out how to send this (or how to set a header) using the standard YouTube API library in the project.
Is there a way to set specific headers using the library methods? Or do I need to use UrlFetchApp calls to specify headers?