googleapis / googleapis/google-cloud-node

Can I set my own custom header for each request?

Open
#7,758 0 comments 0 reactions 0 assignees View on GitHub
library: google-cloud-node-core priority: p3 type: question
Dominant language
TypeScript
Stars
3.2k
Forks
712
Avg merge
2d 3h
Merged PRs (30d)
99

Description

The question may be a bit silly because I do not have a deep understanding of gax-nodejs and aip.

According to the generated code, it seems that the header is fixed with `x-goog-api-client` internally and Metadata is created with the header via `metadataBuilder`. Is it impossible to add other headers?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.