Skip to content

New x-goog-api-client information for gRPC-based APIs #2019

Description

@jmuk

(sorry not filed an issue so far); we are going to add x-goog-api-client header info to the gRPC-based APIs in certain format:

  • common-grpc based: "gl-node/(node version) gccl/(library version) grpc/(grpc version)"
  • APIs on top of gapic: "gl-node/(node version) gccl/(library version) gapic/(autogen version) gax/(gax version) grpc/(grpc version)"

Also the gapic autogen files will generate its own http header -- so that if the user chooses to use gapic layer directly, it has the information, but not with gccl part. This means we need to regenerate the autogen files too.

This issue tracks its progress.

The following APIs will be affected:

Activity

  1. self-assigned this
    on Feb 24, 2017
  2. jmuk commented on Feb 24, 2017

    @jmuk
    ContributorAuthor
  3. added a commit that references this issue on Feb 24, 2017
  4. added
    api: datastoreIssues related to the Datastore API.
    api: languageIssues related to the Cloud Natural Language API API.
    api: loggingIssues related to the Cloud Logging API.
    api: pubsubIssues related to the Pub/Sub API.
    api: spannerIssues related to the Spanner API.
    api: speechIssues related to the Speech-to-Text API.
    api: visionIssues related to the Cloud Vision API.
    api: bigtableIssues related to the Bigtable API.
    api: monitoringIssues related to the Cloud Monitoring API.
    on Feb 24, 2017
  5. 22 remaining items

  6. added a commit that references this issue on Mar 9, 2017
  7. jmuk commented on Mar 9, 2017

    @jmuk
    ContributorAuthor

    Now the code on master has this fully; @stephenplusplus or @callmehiphop -- please push new version of these API clients to npmjs.com, so that further API calls can contain this data.

  8. bjwatson commented on Mar 10, 2017

    @bjwatson

    Thanks @jmuk!

    @stephenplusplus and @callmehiphop please let me know when all of the client libs have been republished with these new headers.

  9. stephenplusplus commented on Mar 13, 2017

    @stephenplusplus
    Contributor

    I'll be publishing these tomorrow. It involves a bit more work than expected because of a breaking change in @google-cloud/common-grpc.

  10. stephenplusplus commented on Mar 14, 2017

    @stephenplusplus
    Contributor

    All modules have been published.

  11. added a commit that references this issue on Nov 11, 2022
  12. added a commit that references this issue on Feb 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

api: loggingIssues related to the Cloud Logging API.api: monitoringIssues related to the Cloud Monitoring API.api: pubsubIssues related to the Pub/Sub API.api: spannerIssues related to the Spanner API.priority: p0Highest priority. Critical issue. P0 implies highest priority.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions