Skip to content

Commit

Permalink
feat: move common-protos to google-cloud-php (#7554)
Browse files Browse the repository at this point in the history
  • Loading branch information
bshaffer authored Jul 31, 2024
1 parent 63db0f8 commit a8dcfd6
Show file tree
Hide file tree
Showing 332 changed files with 31,934 additions and 15,509 deletions.
8 changes: 0 additions & 8 deletions .OwlBot.yaml

This file was deleted.

6 changes: 6 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
/.gitattributes export-ignore
/.github export-ignore
/.gitignore export-ignore
/dev export-ignore
/tests export-ignore
/phpunit.xml.dist export-ignore
87 changes: 87 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
# Changelog

## [4.5.0](https://github.com/googleapis/common-protos-php/compare/v4.4.0...v4.5.0) (2023-11-29)


### Features

* Add auto_populated_fields to google.api.MethodSettings ([#74](https://github.com/googleapis/common-protos-php/issues/74)) ([d739417](https://github.com/googleapis/common-protos-php/commit/d7394176eb95f0e92af4e93746dba8f515ba9bc2))

## [4.4.0](https://github.com/googleapis/common-protos-php/compare/v4.3.0...v4.4.0) (2023-10-02)


### Features

* Public google.api.FieldInfo type and extension ([#71](https://github.com/googleapis/common-protos-php/issues/71)) ([4002074](https://github.com/googleapis/common-protos-php/commit/40020744c65e7561dec08e1cd2994afcc51ec771))

## [4.3.0](https://github.com/googleapis/common-protos-php/compare/v4.2.0...v4.3.0) (2023-08-22)


### Features

* Add new FieldBehavior value IDENTIFIER ([#67](https://github.com/googleapis/common-protos-php/issues/67)) ([6c6c21f](https://github.com/googleapis/common-protos-php/commit/6c6c21fc4a2f4711aeddad11082ed17acaf4733c))

## [4.2.0](https://github.com/googleapis/common-protos-php/compare/v4.1.0...v4.2.0) (2023-07-25)


### Features

* Add a proto message to describe the `resource_type` and `resource_permission` for an API method ([#64](https://github.com/googleapis/common-protos-php/issues/64)) ([8a0ff5f](https://github.com/googleapis/common-protos-php/commit/8a0ff5f9ffcf3683fc4718e85e97f45a001a1925))

## [4.1.0](https://github.com/googleapis/common-protos-php/compare/v4.0.0...v4.1.0) (2023-05-06)


### Features

* Add ConfigServiceV2.CreateBucketAsync method for creating Log Buckets asynchronously ([b18d554](https://github.com/googleapis/common-protos-php/commit/b18d55421cbe1e55d62b5d149e56be23db8c4286))
* Add ConfigServiceV2.CreateLink method for creating linked datasets for Log Analytics Buckets ([b18d554](https://github.com/googleapis/common-protos-php/commit/b18d55421cbe1e55d62b5d149e56be23db8c4286))
* Add ConfigServiceV2.DeleteLink method for deleting linked datasets ([b18d554](https://github.com/googleapis/common-protos-php/commit/b18d55421cbe1e55d62b5d149e56be23db8c4286))
* Add ConfigServiceV2.GetLink methods for describing linked datasets ([b18d554](https://github.com/googleapis/common-protos-php/commit/b18d55421cbe1e55d62b5d149e56be23db8c4286))
* Add ConfigServiceV2.ListLinks method for listing linked datasets ([b18d554](https://github.com/googleapis/common-protos-php/commit/b18d55421cbe1e55d62b5d149e56be23db8c4286))
* Add ConfigServiceV2.UpdateBucketAsync method for creating Log Buckets asynchronously ([b18d554](https://github.com/googleapis/common-protos-php/commit/b18d55421cbe1e55d62b5d149e56be23db8c4286))
* Add LogBucket.analytics_enabled field that specifies whether Log Bucket's Analytics features are enabled ([b18d554](https://github.com/googleapis/common-protos-php/commit/b18d55421cbe1e55d62b5d149e56be23db8c4286))
* Add LogBucket.index_configs field that contains a list of Log Bucket's indexed fields and related configuration data ([b18d554](https://github.com/googleapis/common-protos-php/commit/b18d55421cbe1e55d62b5d149e56be23db8c4286))
* Log Analytics features of the Cloud Logging API ([#60](https://github.com/googleapis/common-protos-php/issues/60)) ([b18d554](https://github.com/googleapis/common-protos-php/commit/b18d55421cbe1e55d62b5d149e56be23db8c4286))

## [4.0.0](https://github.com/googleapis/common-protos-php/compare/v3.2.0...v4.0.0) (2023-05-01)


### ⚠ BREAKING CHANGES

* remove files unknown to owlbot ([#59](https://github.com/googleapis/common-protos-php/issues/59))
* add owlbot automated updates ([#54](https://github.com/googleapis/common-protos-php/issues/54))

### Features

* Add owlbot automated updates ([#54](https://github.com/googleapis/common-protos-php/issues/54)) ([6d9134d](https://github.com/googleapis/common-protos-php/commit/6d9134d2f927e9c4aa3165e823477e25ef8ff38f))
* Regenerate all common protos from new owlbot config ([#58](https://github.com/googleapis/common-protos-php/issues/58)) ([5dac653](https://github.com/googleapis/common-protos-php/commit/5dac653bdd60c4dbaec45e73e0ec487e5aeac9b1))


### Miscellaneous Chores

* Remove files unknown to owlbot ([#59](https://github.com/googleapis/common-protos-php/issues/59)) ([f541342](https://github.com/googleapis/common-protos-php/commit/f54134263a142e278c56f5e03e5a3d8c6f72aac3))

## [3.2.0](https://github.com/googleapis/common-protos-php/compare/v3.1.0...v3.2.0) (2023-01-12)


### Features

* Refresh types ([#49](https://github.com/googleapis/common-protos-php/issues/49)) ([bd71fc0](https://github.com/googleapis/common-protos-php/commit/bd71fc05cbca1ccd94b71a42c227f0d69c688f07))

## [3.1.0](https://github.com/googleapis/common-protos-php/compare/v3.0.0...v3.1.0) (2022-10-05)


### Features

* Make autoloader more efficient ([#45](https://github.com/googleapis/common-protos-php/issues/45)) ([cdff58a](https://github.com/googleapis/common-protos-php/commit/cdff58a3ff6c42e461f18f14c0bbd8e171456924))

## [3.0.0](https://github.com/googleapis/common-protos-php/compare/2.1.0...v3.0.0) (2022-07-29)


### ⚠ BREAKING CHANGES

* remove longrunning classes from common protos (#41)

### Miscellaneous Chores

* remove longrunning classes from common protos ([#41](https://github.com/googleapis/common-protos-php/issues/41)) ([e88dd1d](https://github.com/googleapis/common-protos-php/commit/e88dd1d5dfef93358dc0bd7f3d62d09bbfd750b6))
2 changes: 1 addition & 1 deletion CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ may be reported by opening an issue
or contacting one or more of the project maintainers.

This Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.2.0,
available at [http://contributor-covenant.org/version/1/2/0/](http://contributor-covenant.org/version/1/2/0/)
available at [http://contributor-covenant.org/version/1/2/0/](http://contributor-covenant.org/version/1/2/0/)
10 changes: 5 additions & 5 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ We are pleased that you are interested in contributing to our work.
### Generated Protocol Buffer Classes

The classes in this repository are generated by the protocol buffer
compiler, also known as protoc. As such, we can not accept contributions
compiler, as known as protoc. As such, we can not accept contributions
directly to these generated classes. Instead, changes should be
suggested upstream in the [Googleapis][googleapis]
suggested upstream in the [API Common Protos][api-common-protos]
repository.


Expand All @@ -19,12 +19,12 @@ with the ecosystem or concepts.

That means we want our documentation to be better, and welcome anyone
willing to help with this. For documentation in the generated classes, please
open a pull request against the [Googleapis][googleapis]
open a pull request against the [API Common Protos][api-common-protos]
repository.

Any improvements to READMEs or other non-generated documentation or
development scripts in this repository would be greatly appreciated - please
open a pull request.
open a pull request.


## Contributor License Agreement
Expand All @@ -42,4 +42,4 @@ we'll be able to accept your pull requests.

[individual CLA]: https://developers.google.com/open-source/cla/individual
[corporate CLA]: https://developers.google.com/open-source/cla/corporate
[googleapis]: https://github.com/googleapis/googleapis
[api-common-protos]: https://github.com/googleapis/api-common-protos
38 changes: 18 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,34 +1,32 @@
# Google Cloud PHP Common Protos
## Common Protos PHP

[![Latest Stable Version](https://poser.pugx.org/google/common-protos/v/stable)](https://packagist.org/packages/google/common-protos) [![Packagist](https://img.shields.io/packagist/dm/google/common-protos.svg)](https://packagist.org/packages/google/common-protos)

* [API documentation](https://cloud.google.com/php/docs/reference/common-protos/latest)

This repository is a home for the [protocol buffer][protobuf] types which are
common dependencies throughout the Google API ecosystem, generated for PHP.
The protobuf definitions for these generated PHP classes are provided by the
[Common Components AIP][common-components-aip] repository.

**NOTE:** This repository is part of [Google Cloud PHP](https://github.com/googleapis/google-cloud-php). Any
support requests, bug reports, or development contributions should be directed to
that project.

This repository is a home for the [protocol buffer][protobuf] types which are
shared by multiple Google Cloud APIs, generated for PHP.
The protobuf definitions for these generated PHP classes are provided in the
[Googleapis][googleapis] repository.

## Using these generated classes

These classes are made available under an Apache license (see `LICENSE`) and
you are free to depend on them within your applications. They are
considered stable and will not change in backwards-incompaible ways.

They are distributed as the [google/cloud-common-protos][packagist-cloud-common-protos]
They are distributed as the [google/common-protos][packagist-common-protos]
composer package, available on [Packagist][packagist].

In order to depend on these classes, add the following line to your
composer.json file in the `requires` section:

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

Or else use composer from the command line:
In order to depend on these classes, use composer from the command line in order
to add this package to your `composer.json` file in the `requires` section:

```bash
composer require google/cloud-common-protos
composer require google/common-protos
```

## License
Expand All @@ -37,7 +35,7 @@ These classes are licensed using the Apache 2.0 software license, a
permissive, copyfree license. You are free to use them in your applications
provided the license terms are honored.

[protobuf]: https://developers.google.com/protocol-buffers/
[googleapis]: https://github.com/googleapis/googleapis/
[packagist-cloud-common-protos]: https://packagist.org/packages/google/cloud-common-protos/
[packagist]: https://packagist.org/
[protobuf]: https://developers.google.com/protocol-buffers/
[common-components-aip]: https://google.aip.dev/213
[packagist-common-protos]: https://packagist.org/packages/google/common-protos/
[packagist]: https://packagist.org/
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.5.2
4.7.0
36 changes: 20 additions & 16 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,32 +1,36 @@
{
"name": "google/cloud-common-protos",
"name": "google/common-protos",
"type": "library",
"description": "Common Protos for Google Cloud APIs",
"keywords": [
"google"
],
"homepage": "https://github.com/googleapis/google-cloud-php-common-protos",
"description": "Google API Common Protos for PHP",
"keywords": ["google"],
"homepage": "https://github.com/googleapis/common-protos-php",
"license": "Apache-2.0",
"require": {
"google/protobuf": "^v3.25.3||^4.26.1",
"google/common-protos": "^3.0||^4.0"
"php": "^8.0",
"google/protobuf": "^3.6.1"
},
"require-dev": {
"phpunit/phpunit": "^9.0"
"phpunit/phpunit": "^9.6"
},
"autoload": {
"psr-4": {
"Google\\Cloud\\": "src",
"GPBMetadata\\Google\\Cloud\\Audit\\": "metadata/Audit",
"GPBMetadata\\Google\\Cloud\\Common\\": "metadata/Common",
"GPBMetadata\\Google\\Devtools\\": "metadata/Devtools",
"GPBMetadata\\Google\\Rpc\\": "metadata/Rpc"
"Google\\Api\\": "src/Api",
"Google\\Cloud\\": "src/Cloud",
"Google\\Iam\\": "src/Iam",
"Google\\Rpc\\": "src/Rpc",
"Google\\Type\\": "src/Type",
"GPBMetadata\\Google\\Api\\": "metadata/Api",
"GPBMetadata\\Google\\Cloud\\": "metadata/Cloud",
"GPBMetadata\\Google\\Iam\\": "metadata/Iam",
"GPBMetadata\\Google\\Logging\\": "metadata/Logging",
"GPBMetadata\\Google\\Rpc\\": "metadata/Rpc",
"GPBMetadata\\Google\\Type\\": "metadata/Type"
}
},
"extra": {
"component": {
"id": "cloud-common-protos",
"target": "googleapis/google-cloud-php-common-protos.git",
"id": "common-protos",
"target": "googleapis/common-protos-php.git",
"path": "CommonProtos",
"entry": "README.md"
}
Expand Down
29 changes: 29 additions & 0 deletions metadata/Api/Annotations.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added metadata/Api/Auth.php
Binary file not shown.
Binary file added metadata/Api/Backend.php
Binary file not shown.
33 changes: 33 additions & 0 deletions metadata/Api/Billing.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added metadata/Api/Client.php
Binary file not shown.
Binary file added metadata/Api/ConfigChange.php
Binary file not shown.
Binary file added metadata/Api/Consumer.php
Binary file not shown.
36 changes: 36 additions & 0 deletions metadata/Api/Context.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 32 additions & 0 deletions metadata/Api/Control.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added metadata/Api/Distribution.php
Binary file not shown.
Loading

0 comments on commit a8dcfd6

Please sign in to comment.