Google Cloud PHP Common Protos

Beta

This library is covered by thePre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see thelaunch stage descriptions.

NOTE: This repository is part ofGoogle Cloud PHP. Anysupport requests, bug reports, or development contributions should be directed tothat project.

This repository is a home for theprotocol buffer types which areshared by multiple Google Cloud APIs, generated for PHP.The protobuf definitions for these generated PHP classes are provided in theGoogleapis repository.

Using these generated classes

These classes are made available under an Apache license (seeLICENSE) andyou are free to depend on them within your applications. They areconsidered stable and will not change in backwards-incompaible ways.

They are distributed as thegoogle/cloud-common-protoscomposer package, available onPackagist.

In order to depend on these classes, add the following line to yourcomposer.json file in therequires section:

  "google/cloud-common-protos": "^0.1"

Or else use composer from the command line:

composer require google/cloud-common-protos

License

These classes are licensed using the Apache 2.0 software license, apermissive, copyfree license. You are free to use them in your applicationsprovided the license terms are honored.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2026-02-04 UTC.