All of the Google API's protocol buffer files
Read more about the client libraries for Cloud APIs, including the older Google APIs Client Libraries, in Client Libraries Explained.
Table of contents:
Installing the client library
npm install google-proto-files
Using the API
const protoFiles =
Get a directory path by executing as a function
Get a path to the entry proto file for a specific API version
Load a proto which depends on google common protos.
const root = protoFiles;const MyService = root;
The Google APIs Proto Files Node.js Client API Reference documentation also contains samples.
This library follows Semantic Versioning.
This library is considered to be General Availability (GA). This means it is stable; the code surface will not change in backwards-incompatible ways unless absolutely necessary (e.g. because of critical security issues) or with an extensive deprecation period. Issues and requests against GA libraries are addressed with the highest priority.
More Information: Google Cloud Platform Launch Stages
Contributions welcome! See the Contributing Guide.
Apache Version 2.0