FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Add X-Goog-Api-Client header by chingor13 · Pull Request #1146 · googleapis/google-api-java-client · GitHub

Add X-Goog-Api-Client header - #1146

Merged
chingor13 merged 2 commits into
googleapis:devfrom
chingor13:api-version-header
Aug 23, 2018
Merged

Add X-Goog-Api-Client header#1146
chingor13 merged 2 commits into
googleapis:devfrom
chingor13:api-version-header

Conversation

chingor13 commented Aug 8, 2018
edited
Loading

Copy link
Copy Markdown
Collaborator

To get better visibility into which Java versions/environments users are using, we want to add a header to all API requests that identify the client's language version (and other relevant environment versions).

See https://cloud.google.com/apis/docs/system-parameters

chingor13 requested a review from a team August 8, 2018 22:44
private static final String OS_VERSION = formatSemver(System.getProperty("os.version"));

private static String build(AbstractGoogleClient client) {
// TODO(chingor): add the API version from the generated client

This comment was marked as spam.

chingor13 merged commit 873e8d7 into googleapis:dev Aug 23, 2018
chingor13 deleted the api-version-header branch August 23, 2018 22:18
chingor13 mentioned this pull request Oct 12, 2018
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL