From 3b26cde39bd3fca0ae424ca48828c85d58980a96 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Mon, 3 Feb 2025 19:34:14 +0100 Subject: [PATCH 1/5] chore(deps): update dependency certifi to v2025 (#8065) --- .kokoro/docs/docker/requirements.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.kokoro/docs/docker/requirements.txt b/.kokoro/docs/docker/requirements.txt index a6366292ca8..9109d56d71a 100644 --- a/.kokoro/docs/docker/requirements.txt +++ b/.kokoro/docs/docker/requirements.txt @@ -8,9 +8,9 @@ cachetools==5.4.0 \ --hash=sha256:3ae3b49a3d5e28a77a0be2b37dbcb89005058959cb2323858c2657c4a8cab474 \ --hash=sha256:b8adc2e7c07f105ced7bc56dbb6dfbe7c4a00acce20e2227b3f355be89bc6827 # via google-auth -certifi==2024.7.4 \ - --hash=sha256:5a1e7645bc0ec61a09e26c36f6106dd4cf40c6db3a1fb6352b0244e7fb057c7b \ - --hash=sha256:c198e21b1289c2ab85ee4e67bb4b4ef3ead0892059901a8d5b622f24a1101e90 +certifi==2025.1.31 \ + --hash=sha256:3d5da6925056f6f18f119200434a4780a94263f10d1c21d032a6f6b2baa20651 \ + --hash=sha256:ca78db4565a652026a4db2bcdf68f2fb589ea80d0be70e03929ed730746b84fe # via requests charset-normalizer==2.1.1 \ --hash=sha256:5a3d016c7c547f69d6f81fb0db9449ce888b418b5b9952cc5e6e66843e9dd845 \ From 5f631eee28da5c929791a37c4fd4fe4bad88148e Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 3 Feb 2025 15:47:57 -0800 Subject: [PATCH 2/5] chore(main): release 0.274.0 (#8057) * chore(main): release 0.274.0 --------- Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> --- AdsAdManager/VERSION | 2 +- AdsMarketingPlatformAdmin/VERSION | 2 +- AdvisoryNotifications/VERSION | 2 +- AiPlatform/VERSION | 2 +- AlloyDb/VERSION | 2 +- AnalyticsAdmin/VERSION | 2 +- ApiHub/VERSION | 2 +- AppHub/VERSION | 2 +- AppsChat/VERSION | 2 +- AppsEventsSubscriptions/VERSION | 2 +- AppsMeet/VERSION | 2 +- BackupDr/VERSION | 2 +- Bigtable/VERSION | 2 +- CHANGELOG.md | 714 ++++++++++++++++++++++++++ CommerceConsumerProcurement/VERSION | 2 +- CommonProtos/VERSION | 2 +- CommonProtos/composer.json | 2 +- Compute/VERSION | 2 +- ConfidentialComputing/VERSION | 2 +- Config/VERSION | 2 +- Container/VERSION | 2 +- ControlsPartner/VERSION | 2 +- DataCatalogLineage/VERSION | 2 +- DeveloperConnect/VERSION | 2 +- DialogflowCx/VERSION | 2 +- DiscoveryEngine/VERSION | 2 +- EdgeNetwork/VERSION | 2 +- ErrorReporting/VERSION | 2 +- KmsInventory/VERSION | 2 +- ManagedKafka/VERSION | 2 +- MapsFleetEngine/VERSION | 2 +- MapsFleetEngineDelivery/VERSION | 2 +- MapsRouteOptimization/VERSION | 2 +- Memorystore/VERSION | 2 +- MigrationCenter/VERSION | 2 +- Monitoring/VERSION | 2 +- NetApp/VERSION | 2 +- NetworkServices/VERSION | 2 +- OracleDatabase/VERSION | 2 +- Parallelstore/VERSION | 2 +- PolicySimulator/VERSION | 2 +- PolicyTroubleshooterIam/VERSION | 2 +- PrivilegedAccessManager/VERSION | 2 +- PubSub/VERSION | 2 +- PubSub/src/PubSubClient.php | 2 +- Quotas/VERSION | 2 +- RapidMigrationAssessment/VERSION | 2 +- RedisCluster/VERSION | 2 +- Scheduler/VERSION | 2 +- SecureSourceManager/VERSION | 2 +- SecurityCenterManagement/VERSION | 2 +- ServiceHealth/VERSION | 2 +- ShoppingCss/VERSION | 2 +- ShoppingMerchantAccounts/VERSION | 2 +- ShoppingMerchantConversions/VERSION | 2 +- ShoppingMerchantDataSources/VERSION | 2 +- ShoppingMerchantInventories/VERSION | 2 +- ShoppingMerchantLfp/VERSION | 2 +- ShoppingMerchantNotifications/VERSION | 2 +- ShoppingMerchantProducts/VERSION | 2 +- ShoppingMerchantPromotions/VERSION | 2 +- ShoppingMerchantQuota/VERSION | 2 +- ShoppingMerchantReports/VERSION | 2 +- ShoppingMerchantReviews/VERSION | 2 +- Spanner/VERSION | 2 +- Spanner/src/SpannerClient.php | 2 +- StorageControl/VERSION | 2 +- StorageInsights/VERSION | 2 +- Support/VERSION | 2 +- TelcoAutomation/VERSION | 2 +- Translate/VERSION | 2 +- composer.json | 134 ++--- 72 files changed, 851 insertions(+), 137 deletions(-) diff --git a/AdsAdManager/VERSION b/AdsAdManager/VERSION index b1e80bb2480..0ea3a944b39 100644 --- a/AdsAdManager/VERSION +++ b/AdsAdManager/VERSION @@ -1 +1 @@ -0.1.3 +0.2.0 diff --git a/AdsMarketingPlatformAdmin/VERSION b/AdsMarketingPlatformAdmin/VERSION index 845639eef26..0ea3a944b39 100644 --- a/AdsMarketingPlatformAdmin/VERSION +++ b/AdsMarketingPlatformAdmin/VERSION @@ -1 +1 @@ -0.1.4 +0.2.0 diff --git a/AdvisoryNotifications/VERSION b/AdvisoryNotifications/VERSION index 21e8796a09d..9084fa2f716 100644 --- a/AdvisoryNotifications/VERSION +++ b/AdvisoryNotifications/VERSION @@ -1 +1 @@ -1.0.3 +1.1.0 diff --git a/AiPlatform/VERSION b/AiPlatform/VERSION index 141f2e805be..15b989e398f 100644 --- a/AiPlatform/VERSION +++ b/AiPlatform/VERSION @@ -1 +1 @@ -1.15.0 +1.16.0 diff --git a/AlloyDb/VERSION b/AlloyDb/VERSION index 781dcb07cd8..26aaba0e866 100644 --- a/AlloyDb/VERSION +++ b/AlloyDb/VERSION @@ -1 +1 @@ -1.1.3 +1.2.0 diff --git a/AnalyticsAdmin/VERSION b/AnalyticsAdmin/VERSION index 166c9e29b70..4e8f395fa5e 100644 --- a/AnalyticsAdmin/VERSION +++ b/AnalyticsAdmin/VERSION @@ -1 +1 @@ -0.25.2 +0.26.0 diff --git a/ApiHub/VERSION b/ApiHub/VERSION index 845639eef26..0ea3a944b39 100644 --- a/ApiHub/VERSION +++ b/ApiHub/VERSION @@ -1 +1 @@ -0.1.4 +0.2.0 diff --git a/AppHub/VERSION b/AppHub/VERSION index c946ee6160c..0ea3a944b39 100644 --- a/AppHub/VERSION +++ b/AppHub/VERSION @@ -1 +1 @@ -0.1.6 +0.2.0 diff --git a/AppsChat/VERSION b/AppsChat/VERSION index 7486fdbc50b..a3df0a6959e 100644 --- a/AppsChat/VERSION +++ b/AppsChat/VERSION @@ -1 +1 @@ -0.7.2 +0.8.0 diff --git a/AppsEventsSubscriptions/VERSION b/AppsEventsSubscriptions/VERSION index c946ee6160c..0ea3a944b39 100644 --- a/AppsEventsSubscriptions/VERSION +++ b/AppsEventsSubscriptions/VERSION @@ -1 +1 @@ -0.1.6 +0.2.0 diff --git a/AppsMeet/VERSION b/AppsMeet/VERSION index 53a75d67355..0d91a54c7d4 100644 --- a/AppsMeet/VERSION +++ b/AppsMeet/VERSION @@ -1 +1 @@ -0.2.6 +0.3.0 diff --git a/BackupDr/VERSION b/BackupDr/VERSION index 4b9fcbec101..a918a2aa18d 100644 --- a/BackupDr/VERSION +++ b/BackupDr/VERSION @@ -1 +1 @@ -0.5.1 +0.6.0 diff --git a/Bigtable/VERSION b/Bigtable/VERSION index ec1cf33c3f6..24ba9a38de6 100644 --- a/Bigtable/VERSION +++ b/Bigtable/VERSION @@ -1 +1 @@ -2.6.3 +2.7.0 diff --git a/CHANGELOG.md b/CHANGELOG.md index 840bd57b7c2..b622be7d104 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,719 @@ # Changelog +## 0.274.0 + +
googleads/ad-manager 0.2.0 + + + +### Features + +* **dev:** Add samples to README ([#7964](https://github.com/googleapis/google-cloud-php/issues/7964)) ([48737ab](https://github.com/googleapis/google-cloud-php/commit/48737abb8ecec895e79fa808267e3ada4bb35c43)) + +
+ +
googleads/marketingplatform-admin 0.2.0 + + + +### Features + +* **dev:** Add samples to README ([#7964](https://github.com/googleapis/google-cloud-php/issues/7964)) ([48737ab](https://github.com/googleapis/google-cloud-php/commit/48737abb8ecec895e79fa808267e3ada4bb35c43)) + +
+ +
google/cloud-advisorynotifications 1.1.0 + + + +### Features + +* **dev:** Add samples to README ([#7964](https://github.com/googleapis/google-cloud-php/issues/7964)) ([48737ab](https://github.com/googleapis/google-cloud-php/commit/48737abb8ecec895e79fa808267e3ada4bb35c43)) + +
+ +
google/cloud-ai-platform 1.16.0 + + + +### Features + +* Add optimized config in v1 API ([#8048](https://github.com/googleapis/google-cloud-php/issues/8048)) ([e3b9130](https://github.com/googleapis/google-cloud-php/commit/e3b9130e5585ad4c30d7b5e9c8b8bf9811ec3ea9)) + + +### Documentation + +* Update comments for NumericFilter and Operator ([e3b9130](https://github.com/googleapis/google-cloud-php/commit/e3b9130e5585ad4c30d7b5e9c8b8bf9811ec3ea9)) + +
+ +
google/cloud-alloydb 1.2.0 + + + +### Features + +* **dev:** Add samples to README ([#7964](https://github.com/googleapis/google-cloud-php/issues/7964)) ([48737ab](https://github.com/googleapis/google-cloud-php/commit/48737abb8ecec895e79fa808267e3ada4bb35c43)) + +
+ +
google/analytics-admin 0.26.0 + + + +### Features + +* Add `user_data_retention` field to `DataRetentionSettings` and mark as `REQUIRED` ([f945842](https://github.com/googleapis/google-cloud-php/commit/f945842defe547644e6d2562250b62840d4c7449)) +* Add `user_data_retention` field to `DataRetentionSettings` and mark as `REQUIRED` ([f945842](https://github.com/googleapis/google-cloud-php/commit/f945842defe547644e6d2562250b62840d4c7449)) + + +### Bug Fixes + +* Mark `event_data_retention` field in `DataRetentionSettings` as `REQUIRED` ([f945842](https://github.com/googleapis/google-cloud-php/commit/f945842defe547644e6d2562250b62840d4c7449)) + + +### Documentation + +* Replace "GA4" with "Google Analytics" or "GA" in all comments ([#8055](https://github.com/googleapis/google-cloud-php/issues/8055)) ([f945842](https://github.com/googleapis/google-cloud-php/commit/f945842defe547644e6d2562250b62840d4c7449)) + +
+ +
google/cloud-apihub 0.2.0 + + + +### Features + +* **dev:** Add samples to README ([#7964](https://github.com/googleapis/google-cloud-php/issues/7964)) ([48737ab](https://github.com/googleapis/google-cloud-php/commit/48737abb8ecec895e79fa808267e3ada4bb35c43)) + +
+ +
google/cloud-apphub 0.2.0 + + + +### Features + +* **dev:** Add samples to README ([#7964](https://github.com/googleapis/google-cloud-php/issues/7964)) ([48737ab](https://github.com/googleapis/google-cloud-php/commit/48737abb8ecec895e79fa808267e3ada4bb35c43)) + +
+ +
google/apps-chat 0.8.0 + + + +### Features + +* A new field `custom_emoji_metadata` is added to message `.google.chat.v1.Annotation` ([#8054](https://github.com/googleapis/google-cloud-php/issues/8054)) ([fce46dc](https://github.com/googleapis/google-cloud-php/commit/fce46dc1eb67bab1b3c9c5fe0504cf33952a2311)) +* A new message `CustomEmojiMetadata` is added ([fce46dc](https://github.com/googleapis/google-cloud-php/commit/fce46dc1eb67bab1b3c9c5fe0504cf33952a2311)) +* A new value `CUSTOM_EMOJI` is added to enum `AnnotationType` ([fce46dc](https://github.com/googleapis/google-cloud-php/commit/fce46dc1eb67bab1b3c9c5fe0504cf33952a2311)) +* **dev:** Add samples to README ([#7964](https://github.com/googleapis/google-cloud-php/issues/7964)) ([48737ab](https://github.com/googleapis/google-cloud-php/commit/48737abb8ecec895e79fa808267e3ada4bb35c43)) + + +### Documentation + +* A comment for field `custom_emoji` in message `.google.chat.v1.Emoji` is changed ([fce46dc](https://github.com/googleapis/google-cloud-php/commit/fce46dc1eb67bab1b3c9c5fe0504cf33952a2311)) +* A comment for method `CreateReaction` in service `ChatService` is changed ([fce46dc](https://github.com/googleapis/google-cloud-php/commit/fce46dc1eb67bab1b3c9c5fe0504cf33952a2311)) +* A comment for method `DeleteReaction` in service `ChatService` is changed ([fce46dc](https://github.com/googleapis/google-cloud-php/commit/fce46dc1eb67bab1b3c9c5fe0504cf33952a2311)) + +
+ +
google/apps-events-subscriptions 0.2.0 + + + +### Features + +* **dev:** Add samples to README ([#7964](https://github.com/googleapis/google-cloud-php/issues/7964)) ([48737ab](https://github.com/googleapis/google-cloud-php/commit/48737abb8ecec895e79fa808267e3ada4bb35c43)) + +
+ +
google/apps-meet 0.3.0 + + + +### Features + +* Add methods for [configuring meeting spaces and members](https://developers.google.com/meet/api/guides/beta/configuration-beta) ([3bda909](https://github.com/googleapis/google-cloud-php/commit/3bda909e931b7e36c23c606edf3afa7146a8c51d)) +* Add new OAuth scope `https://www.googleapis.com/auth/meetings.space.settings` to service `SpacesService` ([3bda909](https://github.com/googleapis/google-cloud-php/commit/3bda909e931b7e36c23c606edf3afa7146a8c51d)) +* **dev:** Add samples to README ([#7964](https://github.com/googleapis/google-cloud-php/issues/7964)) ([48737ab](https://github.com/googleapis/google-cloud-php/commit/48737abb8ecec895e79fa808267e3ada4bb35c43)) + + +### Documentation + +* Improve docs for GetSpaceRequest, EndActiveConferenceRequest, ListConferenceRecordsRequest ([#8051](https://github.com/googleapis/google-cloud-php/issues/8051)) ([3bda909](https://github.com/googleapis/google-cloud-php/commit/3bda909e931b7e36c23c606edf3afa7146a8c51d)) + +
+ +
google/cloud-backupdr 0.6.0 + + + +### Features + +* **dev:** Add samples to README ([#7964](https://github.com/googleapis/google-cloud-php/issues/7964)) ([48737ab](https://github.com/googleapis/google-cloud-php/commit/48737abb8ecec895e79fa808267e3ada4bb35c43)) + +
+ +
google/cloud-bigtable 2.7.0 + + + +### Features + +* **tests:** [Bigtable] add conformance tests and proxy ([#7959](https://github.com/googleapis/google-cloud-php/issues/7959)) ([f3b954c](https://github.com/googleapis/google-cloud-php/commit/f3b954cda30e99d076c1382cc271d0cbb5f54cf1)) + +
+ +
google/cloud-commerce-consumer-procurement 1.2.0 + + + +### Features + +* **dev:** Add samples to README ([#7964](https://github.com/googleapis/google-cloud-php/issues/7964)) ([48737ab](https://github.com/googleapis/google-cloud-php/commit/48737abb8ecec895e79fa808267e3ada4bb35c43)) + +
+ +
google/common-protos 4.10.0 + + + +### Features + +* Add support for field generate_omitted_as_internal in selective gapic generation ([#8064](https://github.com/googleapis/google-cloud-php/issues/8064)) ([8931351](https://github.com/googleapis/google-cloud-php/commit/89313515423f44408a24368909f1991eb1cceda5)) + +
+ +
google/cloud-compute 1.24.0 + + + +### Features + +* Update Compute Engine API to revision 20250119 ([#981](https://github.com/googleapis/google-cloud-php/issues/981)) ([#8062](https://github.com/googleapis/google-cloud-php/issues/8062)) ([53b8e6c](https://github.com/googleapis/google-cloud-php/commit/53b8e6cfb91e7019dbee282d214b02469e4044bf)) + +
+ +
google/cloud-confidentialcomputing 1.3.0 + + + +### Features + +* **dev:** Add samples to README ([#7964](https://github.com/googleapis/google-cloud-php/issues/7964)) ([48737ab](https://github.com/googleapis/google-cloud-php/commit/48737abb8ecec895e79fa808267e3ada4bb35c43)) + +
+ +
google/cloud-config 1.3.0 + + + +### Features + +* **dev:** Add samples to README ([#7964](https://github.com/googleapis/google-cloud-php/issues/7964)) ([48737ab](https://github.com/googleapis/google-cloud-php/commit/48737abb8ecec895e79fa808267e3ada4bb35c43)) + +
+ +
google/cloud-container 2.3.3 + + + +### Documentation + +* Broken (or ambiguous) markdown link ([#8050](https://github.com/googleapis/google-cloud-php/issues/8050)) ([b75b6bd](https://github.com/googleapis/google-cloud-php/commit/b75b6bdda579923bf4e601d16657bd9128ba86e5)) + +
+ +
google/cloud-cloudcontrolspartner 0.4.0 + + + +### Features + +* **dev:** Add samples to README ([#7964](https://github.com/googleapis/google-cloud-php/issues/7964)) ([48737ab](https://github.com/googleapis/google-cloud-php/commit/48737abb8ecec895e79fa808267e3ada4bb35c43)) + +
+ +
google/cloud-datacatalog-lineage 1.1.0 + + + +### Features + +* **dev:** Add samples to README ([#7964](https://github.com/googleapis/google-cloud-php/issues/7964)) ([48737ab](https://github.com/googleapis/google-cloud-php/commit/48737abb8ecec895e79fa808267e3ada4bb35c43)) + +
+ +
google/cloud-developerconnect 0.3.0 + + + +### Features + +* **dev:** Add samples to README ([#7964](https://github.com/googleapis/google-cloud-php/issues/7964)) ([48737ab](https://github.com/googleapis/google-cloud-php/commit/48737abb8ecec895e79fa808267e3ada4bb35c43)) + +
+ +
google/cloud-dialogflow-cx 0.6.0 + + + +### Features + +* **dev:** Add samples to README ([#7964](https://github.com/googleapis/google-cloud-php/issues/7964)) ([48737ab](https://github.com/googleapis/google-cloud-php/commit/48737abb8ecec895e79fa808267e3ada4bb35c43)) + +
+ +
google/cloud-discoveryengine 1.4.0 + + + +### Features + +* **dev:** Add samples to README ([#7964](https://github.com/googleapis/google-cloud-php/issues/7964)) ([48737ab](https://github.com/googleapis/google-cloud-php/commit/48737abb8ecec895e79fa808267e3ada4bb35c43)) + +
+ +
google/cloud-edgenetwork 1.2.0 + + + +### Features + +* **dev:** Add samples to README ([#7964](https://github.com/googleapis/google-cloud-php/issues/7964)) ([48737ab](https://github.com/googleapis/google-cloud-php/commit/48737abb8ecec895e79fa808267e3ada4bb35c43)) + +
+ +
google/cloud-error-reporting 0.23.0 + + + +### Features + +* **dev:** Add samples to README ([#7964](https://github.com/googleapis/google-cloud-php/issues/7964)) ([48737ab](https://github.com/googleapis/google-cloud-php/commit/48737abb8ecec895e79fa808267e3ada4bb35c43)) + +
+ +
google/cloud-kms-inventory 1.1.0 + + + +### Features + +* **dev:** Add samples to README ([#7964](https://github.com/googleapis/google-cloud-php/issues/7964)) ([48737ab](https://github.com/googleapis/google-cloud-php/commit/48737abb8ecec895e79fa808267e3ada4bb35c43)) + +
+ +
google/cloud-managedkafka 0.3.0 + + + +### Features + +* **dev:** Add samples to README ([#7964](https://github.com/googleapis/google-cloud-php/issues/7964)) ([48737ab](https://github.com/googleapis/google-cloud-php/commit/48737abb8ecec895e79fa808267e3ada4bb35c43)) + +
+ +
google/maps-fleetengine 0.2.0 + + + +### Features + +* **dev:** Add samples to README ([#7964](https://github.com/googleapis/google-cloud-php/issues/7964)) ([48737ab](https://github.com/googleapis/google-cloud-php/commit/48737abb8ecec895e79fa808267e3ada4bb35c43)) + +
+ +
google/maps-fleetengine-delivery 0.2.0 + + + +### Features + +* **dev:** Add samples to README ([#7964](https://github.com/googleapis/google-cloud-php/issues/7964)) ([48737ab](https://github.com/googleapis/google-cloud-php/commit/48737abb8ecec895e79fa808267e3ada4bb35c43)) + +
+ +
google/maps-routeoptimization 0.4.0 + + + +### Features + +* **dev:** Add samples to README ([#7964](https://github.com/googleapis/google-cloud-php/issues/7964)) ([48737ab](https://github.com/googleapis/google-cloud-php/commit/48737abb8ecec895e79fa808267e3ada4bb35c43)) + +
+ +
google/cloud-memorystore 0.2.0 + + + +### Features + +* **dev:** Add samples to README ([#7964](https://github.com/googleapis/google-cloud-php/issues/7964)) ([48737ab](https://github.com/googleapis/google-cloud-php/commit/48737abb8ecec895e79fa808267e3ada4bb35c43)) + +
+ +
google/cloud-migrationcenter 1.1.0 + + + +### Features + +* **dev:** Add samples to README ([#7964](https://github.com/googleapis/google-cloud-php/issues/7964)) ([48737ab](https://github.com/googleapis/google-cloud-php/commit/48737abb8ecec895e79fa808267e3ada4bb35c43)) + +
+ +
google/cloud-monitoring 2.1.0 + + + +### Features + +* Add filter field to snooze proto ([61056a5](https://github.com/googleapis/google-cloud-php/commit/61056a5c8627086de31d18f395f7273efefae93a)) +* Remove extra fenced code block markers ([#8067](https://github.com/googleapis/google-cloud-php/issues/8067)) ([61056a5](https://github.com/googleapis/google-cloud-php/commit/61056a5c8627086de31d18f395f7273efefae93a)) + +
+ +
google/cloud-netapp 1.4.0 + + + +### Features + +* Add ipAddress field to MountOption ([1709b97](https://github.com/googleapis/google-cloud-php/commit/1709b97e4922d847744806255228cf77b76c6d5d)) +* Add support for Quota Rule apis ([#8066](https://github.com/googleapis/google-cloud-php/issues/8066)) ([1709b97](https://github.com/googleapis/google-cloud-php/commit/1709b97e4922d847744806255228cf77b76c6d5d)) +* **dev:** Add samples to README ([#7964](https://github.com/googleapis/google-cloud-php/issues/7964)) ([48737ab](https://github.com/googleapis/google-cloud-php/commit/48737abb8ecec895e79fa808267e3ada4bb35c43)) + +
+ +
google/cloud-networkservices 0.3.0 + + + +### Features + +* **dev:** Add samples to README ([#7964](https://github.com/googleapis/google-cloud-php/issues/7964)) ([48737ab](https://github.com/googleapis/google-cloud-php/commit/48737abb8ecec895e79fa808267e3ada4bb35c43)) + +
+ +
google/cloud-oracledatabase 0.3.0 + + + +### Features + +* **dev:** Add samples to README ([#7964](https://github.com/googleapis/google-cloud-php/issues/7964)) ([48737ab](https://github.com/googleapis/google-cloud-php/commit/48737abb8ecec895e79fa808267e3ada4bb35c43)) + +
+ +
google/cloud-parallelstore 0.9.0 + + + +### Features + +* **dev:** Add samples to README ([#7964](https://github.com/googleapis/google-cloud-php/issues/7964)) ([48737ab](https://github.com/googleapis/google-cloud-php/commit/48737abb8ecec895e79fa808267e3ada4bb35c43)) + +
+ +
google/cloud-policysimulator 1.1.0 + + + +### Features + +* **dev:** Add samples to README ([#7964](https://github.com/googleapis/google-cloud-php/issues/7964)) ([48737ab](https://github.com/googleapis/google-cloud-php/commit/48737abb8ecec895e79fa808267e3ada4bb35c43)) + +
+ +
google/cloud-policytroubleshooter-iam 0.3.0 + + + +### Features + +* **dev:** Add samples to README ([#7964](https://github.com/googleapis/google-cloud-php/issues/7964)) ([48737ab](https://github.com/googleapis/google-cloud-php/commit/48737abb8ecec895e79fa808267e3ada4bb35c43)) + +
+ +
google/cloud-privilegedaccessmanager 0.2.0 + + + +### Features + +* **dev:** Add samples to README ([#7964](https://github.com/googleapis/google-cloud-php/issues/7964)) ([48737ab](https://github.com/googleapis/google-cloud-php/commit/48737abb8ecec895e79fa808267e3ada4bb35c43)) + +
+ +
google/cloud-pubsub 2.10.0 + + + +### Features + +* Add support for message transforms to Topic and Subscription ([#8060](https://github.com/googleapis/google-cloud-php/issues/8060)) ([3d83164](https://github.com/googleapis/google-cloud-php/commit/3d83164503f514190f7f8b4c0c834b97bee24a79)) + + +### Documentation + +* Fix link for AnalyticsHubSubscriptionInfo ([3d83164](https://github.com/googleapis/google-cloud-php/commit/3d83164503f514190f7f8b4c0c834b97bee24a79)) + +
+ +
google/cloud-quotas 1.3.0 + + + +### Features + +* **dev:** Add samples to README ([#7964](https://github.com/googleapis/google-cloud-php/issues/7964)) ([48737ab](https://github.com/googleapis/google-cloud-php/commit/48737abb8ecec895e79fa808267e3ada4bb35c43)) + +
+ +
google/cloud-rapidmigrationassessment 1.1.0 + + + +### Features + +* **dev:** Add samples to README ([#7964](https://github.com/googleapis/google-cloud-php/issues/7964)) ([48737ab](https://github.com/googleapis/google-cloud-php/commit/48737abb8ecec895e79fa808267e3ada4bb35c43)) + +
+ +
google/cloud-redis-cluster 0.5.0 + + + +### Features + +* **dev:** Add samples to README ([#7964](https://github.com/googleapis/google-cloud-php/issues/7964)) ([48737ab](https://github.com/googleapis/google-cloud-php/commit/48737abb8ecec895e79fa808267e3ada4bb35c43)) + +
+ +
google/cloud-scheduler 2.0.4 + + + +### Documentation + +* Annotate output-only fields as such ([40f1a1c](https://github.com/googleapis/google-cloud-php/commit/40f1a1ce41e48a7679a6bebf4e3c7dce2af77cb0)) +* Update comments ([#8049](https://github.com/googleapis/google-cloud-php/issues/8049)) ([40f1a1c](https://github.com/googleapis/google-cloud-php/commit/40f1a1ce41e48a7679a6bebf4e3c7dce2af77cb0)) + +
+ +
google/cloud-securesourcemanager 1.4.0 + + + +### Features + +* **dev:** Add samples to README ([#7964](https://github.com/googleapis/google-cloud-php/issues/7964)) ([48737ab](https://github.com/googleapis/google-cloud-php/commit/48737abb8ecec895e79fa808267e3ada4bb35c43)) + +
+ +
google/cloud-securitycentermanagement 1.2.0 + + + +### Features + +* **dev:** Add samples to README ([#7964](https://github.com/googleapis/google-cloud-php/issues/7964)) ([48737ab](https://github.com/googleapis/google-cloud-php/commit/48737abb8ecec895e79fa808267e3ada4bb35c43)) + +
+ +
google/cloud-servicehealth 0.3.0 + + + +### Features + +* **dev:** Add samples to README ([#7964](https://github.com/googleapis/google-cloud-php/issues/7964)) ([48737ab](https://github.com/googleapis/google-cloud-php/commit/48737abb8ecec895e79fa808267e3ada4bb35c43)) + +
+ +
google/shopping-css 0.5.0 + + + +### Features + +* **dev:** Add samples to README ([#7964](https://github.com/googleapis/google-cloud-php/issues/7964)) ([48737ab](https://github.com/googleapis/google-cloud-php/commit/48737abb8ecec895e79fa808267e3ada4bb35c43)) + +
+ +
google/shopping-merchant-accounts 0.4.0 + + + +### Features + +* **dev:** Add samples to README ([#7964](https://github.com/googleapis/google-cloud-php/issues/7964)) ([48737ab](https://github.com/googleapis/google-cloud-php/commit/48737abb8ecec895e79fa808267e3ada4bb35c43)) + +
+ +
google/shopping-merchant-conversions 0.2.0 + + + +### Features + +* **dev:** Add samples to README ([#7964](https://github.com/googleapis/google-cloud-php/issues/7964)) ([48737ab](https://github.com/googleapis/google-cloud-php/commit/48737abb8ecec895e79fa808267e3ada4bb35c43)) + +
+ +
google/shopping-merchant-datasources 0.4.0 + + + +### Features + +* **dev:** Add samples to README ([#7964](https://github.com/googleapis/google-cloud-php/issues/7964)) ([48737ab](https://github.com/googleapis/google-cloud-php/commit/48737abb8ecec895e79fa808267e3ada4bb35c43)) + +
+ +
google/shopping-merchant-inventories 0.6.0 + + + +### Features + +* **dev:** Add samples to README ([#7964](https://github.com/googleapis/google-cloud-php/issues/7964)) ([48737ab](https://github.com/googleapis/google-cloud-php/commit/48737abb8ecec895e79fa808267e3ada4bb35c43)) + +
+ +
google/shopping-merchant-lfp 0.2.0 + + + +### Features + +* **dev:** Add samples to README ([#7964](https://github.com/googleapis/google-cloud-php/issues/7964)) ([48737ab](https://github.com/googleapis/google-cloud-php/commit/48737abb8ecec895e79fa808267e3ada4bb35c43)) + +
+ +
google/shopping-merchant-notifications 0.2.0 + + + +### Features + +* **dev:** Add samples to README ([#7964](https://github.com/googleapis/google-cloud-php/issues/7964)) ([48737ab](https://github.com/googleapis/google-cloud-php/commit/48737abb8ecec895e79fa808267e3ada4bb35c43)) + +
+ +
google/shopping-merchant-products 0.3.0 + + + +### Features + +* **dev:** Add samples to README ([#7964](https://github.com/googleapis/google-cloud-php/issues/7964)) ([48737ab](https://github.com/googleapis/google-cloud-php/commit/48737abb8ecec895e79fa808267e3ada4bb35c43)) + +
+ +
google/shopping-merchant-promotions 0.2.0 + + + +### Features + +* **dev:** Add samples to README ([#7964](https://github.com/googleapis/google-cloud-php/issues/7964)) ([48737ab](https://github.com/googleapis/google-cloud-php/commit/48737abb8ecec895e79fa808267e3ada4bb35c43)) + +
+ +
google/shopping-merchant-quota 0.2.0 + + + +### Features + +* **dev:** Add samples to README ([#7964](https://github.com/googleapis/google-cloud-php/issues/7964)) ([48737ab](https://github.com/googleapis/google-cloud-php/commit/48737abb8ecec895e79fa808267e3ada4bb35c43)) + +
+ +
google/shopping-merchant-reports 0.9.0 + + + +### Features + +* **dev:** Add samples to README ([#7964](https://github.com/googleapis/google-cloud-php/issues/7964)) ([48737ab](https://github.com/googleapis/google-cloud-php/commit/48737abb8ecec895e79fa808267e3ada4bb35c43)) + +
+ +
google/shopping-merchant-reviews 0.2.0 + + + +### Features + +* **dev:** Add samples to README ([#7964](https://github.com/googleapis/google-cloud-php/issues/7964)) ([48737ab](https://github.com/googleapis/google-cloud-php/commit/48737abb8ecec895e79fa808267e3ada4bb35c43)) + +
+ +
google/cloud-spanner 1.93.0 + + + +### Features + +* Add AddSplitPoints API ([#8059](https://github.com/googleapis/google-cloud-php/issues/8059)) ([f00dd0b](https://github.com/googleapis/google-cloud-php/commit/f00dd0b1ebc523483400455839ca1d073c206f1d)) + +
+ +
google/cloud-storage-control 1.1.0 + + + +### Features + +* **dev:** Add samples to README ([#7964](https://github.com/googleapis/google-cloud-php/issues/7964)) ([48737ab](https://github.com/googleapis/google-cloud-php/commit/48737abb8ecec895e79fa808267e3ada4bb35c43)) + +
+ +
google/cloud-storageinsights 1.1.0 + + + +### Features + +* **dev:** Add samples to README ([#7964](https://github.com/googleapis/google-cloud-php/issues/7964)) ([48737ab](https://github.com/googleapis/google-cloud-php/commit/48737abb8ecec895e79fa808267e3ada4bb35c43)) + +
+ +
google/cloud-support 1.1.0 + + + +### Features + +* **dev:** Add samples to README ([#7964](https://github.com/googleapis/google-cloud-php/issues/7964)) ([48737ab](https://github.com/googleapis/google-cloud-php/commit/48737abb8ecec895e79fa808267e3ada4bb35c43)) + +
+ +
google/cloud-telcoautomation 1.1.0 + + + +### Features + +* **dev:** Add samples to README ([#7964](https://github.com/googleapis/google-cloud-php/issues/7964)) ([48737ab](https://github.com/googleapis/google-cloud-php/commit/48737abb8ecec895e79fa808267e3ada4bb35c43)) + +
+ +
google/cloud-translate 1.21.0 + + + +### Features + +* **dev:** Add samples to README ([#7964](https://github.com/googleapis/google-cloud-php/issues/7964)) ([48737ab](https://github.com/googleapis/google-cloud-php/commit/48737abb8ecec895e79fa808267e3ada4bb35c43)) + +
+ ## 0.273.0
google/cloud-access-approval 2.0.4 diff --git a/CommerceConsumerProcurement/VERSION b/CommerceConsumerProcurement/VERSION index 781dcb07cd8..26aaba0e866 100644 --- a/CommerceConsumerProcurement/VERSION +++ b/CommerceConsumerProcurement/VERSION @@ -1 +1 @@ -1.1.3 +1.2.0 diff --git a/CommonProtos/VERSION b/CommonProtos/VERSION index 6ed7776bf32..2da4316236a 100644 --- a/CommonProtos/VERSION +++ b/CommonProtos/VERSION @@ -1 +1 @@ -4.9.0 +4.10.0 diff --git a/CommonProtos/composer.json b/CommonProtos/composer.json index 6c2da72121a..f2e9f8c9029 100644 --- a/CommonProtos/composer.json +++ b/CommonProtos/composer.json @@ -2,7 +2,7 @@ "name": "google/common-protos", "type": "library", "description": "Google API Common Protos for PHP", - "version": "4.9.0", + "version": "4.10.0", "keywords": [ "google" ], diff --git a/Compute/VERSION b/Compute/VERSION index a6c2798a482..53cc1a6f929 100644 --- a/Compute/VERSION +++ b/Compute/VERSION @@ -1 +1 @@ -1.23.0 +1.24.0 diff --git a/ConfidentialComputing/VERSION b/ConfidentialComputing/VERSION index 23aa8390630..f0bb29e7638 100644 --- a/ConfidentialComputing/VERSION +++ b/ConfidentialComputing/VERSION @@ -1 +1 @@ -1.2.2 +1.3.0 diff --git a/Config/VERSION b/Config/VERSION index 6085e946503..f0bb29e7638 100644 --- a/Config/VERSION +++ b/Config/VERSION @@ -1 +1 @@ -1.2.1 +1.3.0 diff --git a/Container/VERSION b/Container/VERSION index f90b1afc082..0bee604df76 100644 --- a/Container/VERSION +++ b/Container/VERSION @@ -1 +1 @@ -2.3.2 +2.3.3 diff --git a/ControlsPartner/VERSION b/ControlsPartner/VERSION index 0d91a54c7d4..1d0ba9ea182 100644 --- a/ControlsPartner/VERSION +++ b/ControlsPartner/VERSION @@ -1 +1 @@ -0.3.0 +0.4.0 diff --git a/DataCatalogLineage/VERSION b/DataCatalogLineage/VERSION index 21e8796a09d..9084fa2f716 100644 --- a/DataCatalogLineage/VERSION +++ b/DataCatalogLineage/VERSION @@ -1 +1 @@ -1.0.3 +1.1.0 diff --git a/DeveloperConnect/VERSION b/DeveloperConnect/VERSION index ee1372d33a2..0d91a54c7d4 100644 --- a/DeveloperConnect/VERSION +++ b/DeveloperConnect/VERSION @@ -1 +1 @@ -0.2.2 +0.3.0 diff --git a/DialogflowCx/VERSION b/DialogflowCx/VERSION index cb0c939a936..a918a2aa18d 100644 --- a/DialogflowCx/VERSION +++ b/DialogflowCx/VERSION @@ -1 +1 @@ -0.5.2 +0.6.0 diff --git a/DiscoveryEngine/VERSION b/DiscoveryEngine/VERSION index 31e5c843497..88c5fb891dc 100644 --- a/DiscoveryEngine/VERSION +++ b/DiscoveryEngine/VERSION @@ -1 +1 @@ -1.3.3 +1.4.0 diff --git a/EdgeNetwork/VERSION b/EdgeNetwork/VERSION index 65087b4f5ec..26aaba0e866 100644 --- a/EdgeNetwork/VERSION +++ b/EdgeNetwork/VERSION @@ -1 +1 @@ -1.1.4 +1.2.0 diff --git a/ErrorReporting/VERSION b/ErrorReporting/VERSION index 0eda0deba4f..ca222b7cf39 100644 --- a/ErrorReporting/VERSION +++ b/ErrorReporting/VERSION @@ -1 +1 @@ -0.22.10 +0.23.0 diff --git a/KmsInventory/VERSION b/KmsInventory/VERSION index ee90284c27f..9084fa2f716 100644 --- a/KmsInventory/VERSION +++ b/KmsInventory/VERSION @@ -1 +1 @@ -1.0.4 +1.1.0 diff --git a/ManagedKafka/VERSION b/ManagedKafka/VERSION index 7179039691c..0d91a54c7d4 100644 --- a/ManagedKafka/VERSION +++ b/ManagedKafka/VERSION @@ -1 +1 @@ -0.2.3 +0.3.0 diff --git a/MapsFleetEngine/VERSION b/MapsFleetEngine/VERSION index c946ee6160c..0ea3a944b39 100644 --- a/MapsFleetEngine/VERSION +++ b/MapsFleetEngine/VERSION @@ -1 +1 @@ -0.1.6 +0.2.0 diff --git a/MapsFleetEngineDelivery/VERSION b/MapsFleetEngineDelivery/VERSION index 699c6c6d4e0..0ea3a944b39 100644 --- a/MapsFleetEngineDelivery/VERSION +++ b/MapsFleetEngineDelivery/VERSION @@ -1 +1 @@ -0.1.8 +0.2.0 diff --git a/MapsRouteOptimization/VERSION b/MapsRouteOptimization/VERSION index 1c09c74e221..1d0ba9ea182 100644 --- a/MapsRouteOptimization/VERSION +++ b/MapsRouteOptimization/VERSION @@ -1 +1 @@ -0.3.3 +0.4.0 diff --git a/Memorystore/VERSION b/Memorystore/VERSION index 17e51c385ea..0ea3a944b39 100644 --- a/Memorystore/VERSION +++ b/Memorystore/VERSION @@ -1 +1 @@ -0.1.1 +0.2.0 diff --git a/MigrationCenter/VERSION b/MigrationCenter/VERSION index 21e8796a09d..9084fa2f716 100644 --- a/MigrationCenter/VERSION +++ b/MigrationCenter/VERSION @@ -1 +1 @@ -1.0.3 +1.1.0 diff --git a/Monitoring/VERSION b/Monitoring/VERSION index 38f77a65b30..7ec1d6db408 100644 --- a/Monitoring/VERSION +++ b/Monitoring/VERSION @@ -1 +1 @@ -2.0.1 +2.1.0 diff --git a/NetApp/VERSION b/NetApp/VERSION index 3a3cd8cc8b0..88c5fb891dc 100644 --- a/NetApp/VERSION +++ b/NetApp/VERSION @@ -1 +1 @@ -1.3.1 +1.4.0 diff --git a/NetworkServices/VERSION b/NetworkServices/VERSION index 7179039691c..0d91a54c7d4 100644 --- a/NetworkServices/VERSION +++ b/NetworkServices/VERSION @@ -1 +1 @@ -0.2.3 +0.3.0 diff --git a/OracleDatabase/VERSION b/OracleDatabase/VERSION index 0c62199f16a..0d91a54c7d4 100644 --- a/OracleDatabase/VERSION +++ b/OracleDatabase/VERSION @@ -1 +1 @@ -0.2.1 +0.3.0 diff --git a/Parallelstore/VERSION b/Parallelstore/VERSION index ee94dd834b5..ac39a106c48 100644 --- a/Parallelstore/VERSION +++ b/Parallelstore/VERSION @@ -1 +1 @@ -0.8.3 +0.9.0 diff --git a/PolicySimulator/VERSION b/PolicySimulator/VERSION index 21e8796a09d..9084fa2f716 100644 --- a/PolicySimulator/VERSION +++ b/PolicySimulator/VERSION @@ -1 +1 @@ -1.0.3 +1.1.0 diff --git a/PolicyTroubleshooterIam/VERSION b/PolicyTroubleshooterIam/VERSION index 1866a362b7b..0d91a54c7d4 100644 --- a/PolicyTroubleshooterIam/VERSION +++ b/PolicyTroubleshooterIam/VERSION @@ -1 +1 @@ -0.2.9 +0.3.0 diff --git a/PrivilegedAccessManager/VERSION b/PrivilegedAccessManager/VERSION index 845639eef26..0ea3a944b39 100644 --- a/PrivilegedAccessManager/VERSION +++ b/PrivilegedAccessManager/VERSION @@ -1 +1 @@ -0.1.4 +0.2.0 diff --git a/PubSub/VERSION b/PubSub/VERSION index dedcc7d4335..10c2c0c3d62 100644 --- a/PubSub/VERSION +++ b/PubSub/VERSION @@ -1 +1 @@ -2.9.1 +2.10.0 diff --git a/PubSub/src/PubSubClient.php b/PubSub/src/PubSubClient.php index ca3fa0599e2..aab58748d5b 100644 --- a/PubSub/src/PubSubClient.php +++ b/PubSub/src/PubSubClient.php @@ -98,7 +98,7 @@ class PubSubClient use ApiHelperTrait; use ClientOptionsTrait; - const VERSION = '2.9.1'; + const VERSION = '2.10.0'; const FULL_CONTROL_SCOPE = 'https://www.googleapis.com/auth/pubsub'; diff --git a/Quotas/VERSION b/Quotas/VERSION index 6085e946503..f0bb29e7638 100644 --- a/Quotas/VERSION +++ b/Quotas/VERSION @@ -1 +1 @@ -1.2.1 +1.3.0 diff --git a/RapidMigrationAssessment/VERSION b/RapidMigrationAssessment/VERSION index 21e8796a09d..9084fa2f716 100644 --- a/RapidMigrationAssessment/VERSION +++ b/RapidMigrationAssessment/VERSION @@ -1 +1 @@ -1.0.3 +1.1.0 diff --git a/RedisCluster/VERSION b/RedisCluster/VERSION index 267577d47e4..8f0916f768f 100644 --- a/RedisCluster/VERSION +++ b/RedisCluster/VERSION @@ -1 +1 @@ -0.4.1 +0.5.0 diff --git a/Scheduler/VERSION b/Scheduler/VERSION index 50ffc5aa7f6..2165f8f9b6a 100644 --- a/Scheduler/VERSION +++ b/Scheduler/VERSION @@ -1 +1 @@ -2.0.3 +2.0.4 diff --git a/SecureSourceManager/VERSION b/SecureSourceManager/VERSION index 31e5c843497..88c5fb891dc 100644 --- a/SecureSourceManager/VERSION +++ b/SecureSourceManager/VERSION @@ -1 +1 @@ -1.3.3 +1.4.0 diff --git a/SecurityCenterManagement/VERSION b/SecurityCenterManagement/VERSION index 781dcb07cd8..26aaba0e866 100644 --- a/SecurityCenterManagement/VERSION +++ b/SecurityCenterManagement/VERSION @@ -1 +1 @@ -1.1.3 +1.2.0 diff --git a/ServiceHealth/VERSION b/ServiceHealth/VERSION index 7179039691c..0d91a54c7d4 100644 --- a/ServiceHealth/VERSION +++ b/ServiceHealth/VERSION @@ -1 +1 @@ -0.2.3 +0.3.0 diff --git a/ShoppingCss/VERSION b/ShoppingCss/VERSION index 267577d47e4..8f0916f768f 100644 --- a/ShoppingCss/VERSION +++ b/ShoppingCss/VERSION @@ -1 +1 @@ -0.4.1 +0.5.0 diff --git a/ShoppingMerchantAccounts/VERSION b/ShoppingMerchantAccounts/VERSION index 1c09c74e221..1d0ba9ea182 100644 --- a/ShoppingMerchantAccounts/VERSION +++ b/ShoppingMerchantAccounts/VERSION @@ -1 +1 @@ -0.3.3 +0.4.0 diff --git a/ShoppingMerchantConversions/VERSION b/ShoppingMerchantConversions/VERSION index 9faa1b7a733..0ea3a944b39 100644 --- a/ShoppingMerchantConversions/VERSION +++ b/ShoppingMerchantConversions/VERSION @@ -1 +1 @@ -0.1.5 +0.2.0 diff --git a/ShoppingMerchantDataSources/VERSION b/ShoppingMerchantDataSources/VERSION index 9e11b32fcaa..1d0ba9ea182 100644 --- a/ShoppingMerchantDataSources/VERSION +++ b/ShoppingMerchantDataSources/VERSION @@ -1 +1 @@ -0.3.1 +0.4.0 diff --git a/ShoppingMerchantInventories/VERSION b/ShoppingMerchantInventories/VERSION index be14282b7ff..a918a2aa18d 100644 --- a/ShoppingMerchantInventories/VERSION +++ b/ShoppingMerchantInventories/VERSION @@ -1 +1 @@ -0.5.3 +0.6.0 diff --git a/ShoppingMerchantLfp/VERSION b/ShoppingMerchantLfp/VERSION index b1e80bb2480..0ea3a944b39 100644 --- a/ShoppingMerchantLfp/VERSION +++ b/ShoppingMerchantLfp/VERSION @@ -1 +1 @@ -0.1.3 +0.2.0 diff --git a/ShoppingMerchantNotifications/VERSION b/ShoppingMerchantNotifications/VERSION index b1e80bb2480..0ea3a944b39 100644 --- a/ShoppingMerchantNotifications/VERSION +++ b/ShoppingMerchantNotifications/VERSION @@ -1 +1 @@ -0.1.3 +0.2.0 diff --git a/ShoppingMerchantProducts/VERSION b/ShoppingMerchantProducts/VERSION index 0c62199f16a..0d91a54c7d4 100644 --- a/ShoppingMerchantProducts/VERSION +++ b/ShoppingMerchantProducts/VERSION @@ -1 +1 @@ -0.2.1 +0.3.0 diff --git a/ShoppingMerchantPromotions/VERSION b/ShoppingMerchantPromotions/VERSION index b1e80bb2480..0ea3a944b39 100644 --- a/ShoppingMerchantPromotions/VERSION +++ b/ShoppingMerchantPromotions/VERSION @@ -1 +1 @@ -0.1.3 +0.2.0 diff --git a/ShoppingMerchantQuota/VERSION b/ShoppingMerchantQuota/VERSION index c946ee6160c..0ea3a944b39 100644 --- a/ShoppingMerchantQuota/VERSION +++ b/ShoppingMerchantQuota/VERSION @@ -1 +1 @@ -0.1.6 +0.2.0 diff --git a/ShoppingMerchantReports/VERSION b/ShoppingMerchantReports/VERSION index b60d71966ae..ac39a106c48 100644 --- a/ShoppingMerchantReports/VERSION +++ b/ShoppingMerchantReports/VERSION @@ -1 +1 @@ -0.8.4 +0.9.0 diff --git a/ShoppingMerchantReviews/VERSION b/ShoppingMerchantReviews/VERSION index d917d3e26ad..0ea3a944b39 100644 --- a/ShoppingMerchantReviews/VERSION +++ b/ShoppingMerchantReviews/VERSION @@ -1 +1 @@ -0.1.2 +0.2.0 diff --git a/Spanner/VERSION b/Spanner/VERSION index 6c9c661b497..95784efddbc 100644 --- a/Spanner/VERSION +++ b/Spanner/VERSION @@ -1 +1 @@ -1.92.1 +1.93.0 diff --git a/Spanner/src/SpannerClient.php b/Spanner/src/SpannerClient.php index 0d5e9b7a5a6..48dee9af67a 100644 --- a/Spanner/src/SpannerClient.php +++ b/Spanner/src/SpannerClient.php @@ -117,7 +117,7 @@ class SpannerClient use LROTrait; use ValidateTrait; - const VERSION = '1.92.1'; + const VERSION = '1.93.0'; const FULL_CONTROL_SCOPE = 'https://www.googleapis.com/auth/spanner.data'; const ADMIN_SCOPE = 'https://www.googleapis.com/auth/spanner.admin'; diff --git a/StorageControl/VERSION b/StorageControl/VERSION index 21e8796a09d..9084fa2f716 100644 --- a/StorageControl/VERSION +++ b/StorageControl/VERSION @@ -1 +1 @@ -1.0.3 +1.1.0 diff --git a/StorageInsights/VERSION b/StorageInsights/VERSION index 21e8796a09d..9084fa2f716 100644 --- a/StorageInsights/VERSION +++ b/StorageInsights/VERSION @@ -1 +1 @@ -1.0.3 +1.1.0 diff --git a/Support/VERSION b/Support/VERSION index 21e8796a09d..9084fa2f716 100644 --- a/Support/VERSION +++ b/Support/VERSION @@ -1 +1 @@ -1.0.3 +1.1.0 diff --git a/TelcoAutomation/VERSION b/TelcoAutomation/VERSION index 21e8796a09d..9084fa2f716 100644 --- a/TelcoAutomation/VERSION +++ b/TelcoAutomation/VERSION @@ -1 +1 @@ -1.0.3 +1.1.0 diff --git a/Translate/VERSION b/Translate/VERSION index 769e37e159d..3500250a4b0 100644 --- a/Translate/VERSION +++ b/Translate/VERSION @@ -1 +1 @@ -1.20.2 +1.21.0 diff --git a/composer.json b/composer.json index 7e954d1a896..5bf3e81dc8c 100644 --- a/composer.json +++ b/composer.json @@ -68,27 +68,27 @@ }, "replace": { "google/access-context-manager": "1.0.3", - "google/analytics-admin": "0.25.2", + "google/analytics-admin": "0.26.0", "google/analytics-data": "0.22.2", - "google/apps-chat": "0.7.2", - "google/apps-events-subscriptions": "0.1.6", - "google/apps-meet": "0.2.6", + "google/apps-chat": "0.8.0", + "google/apps-events-subscriptions": "0.2.0", + "google/apps-meet": "0.3.0", "google/cloud-access-approval": "2.0.4", - "google/cloud-advisorynotifications": "1.0.3", - "google/cloud-ai-platform": "1.15.0", - "google/cloud-alloydb": "1.1.3", + "google/cloud-advisorynotifications": "1.1.0", + "google/cloud-ai-platform": "1.16.0", + "google/cloud-alloydb": "1.2.0", "google/cloud-api-gateway": "2.0.3", "google/cloud-api-keys": "1.0.4", "google/cloud-apigee-connect": "2.0.4", "google/cloud-apigee-registry": "1.0.3", - "google/cloud-apihub": "0.1.4", + "google/cloud-apihub": "0.2.0", "google/cloud-appengine-admin": "2.0.3", - "google/cloud-apphub": "0.1.6", + "google/cloud-apphub": "0.2.0", "google/cloud-artifact-registry": "1.1.3", "google/cloud-asset": "2.1.3", "google/cloud-assured-workloads": "1.0.3", "google/cloud-automl": "2.0.4", - "google/cloud-backupdr": "0.5.1", + "google/cloud-backupdr": "0.6.0", "google/cloud-bare-metal-solution": "1.0.3", "google/cloud-batch": "1.1.7", "google/cloud-beyondcorp-appconnections": "1.0.4", @@ -105,26 +105,26 @@ "google/cloud-bigquery-reservation": "2.1.2", "google/cloud-bigquery-storage": "2.1.3", "google/cloud-bigquerydatatransfer": "2.1.3", - "google/cloud-bigtable": "2.6.3", + "google/cloud-bigtable": "2.7.0", "google/cloud-billing": "2.1.2", "google/cloud-billing-budgets": "2.0.4", "google/cloud-binary-authorization": "1.0.4", "google/cloud-build": "1.0.3", "google/cloud-certificate-manager": "1.0.3", "google/cloud-channel": "2.1.3", - "google/cloud-cloudcontrolspartner": "0.3.0", - "google/cloud-commerce-consumer-procurement": "1.1.3", + "google/cloud-cloudcontrolspartner": "0.4.0", + "google/cloud-commerce-consumer-procurement": "1.2.0", "google/cloud-common-protos": "0.7.0", - "google/cloud-compute": "1.23.0", - "google/cloud-confidentialcomputing": "1.2.2", - "google/cloud-config": "1.2.1", + "google/cloud-compute": "1.24.0", + "google/cloud-confidentialcomputing": "1.3.0", + "google/cloud-config": "1.3.0", "google/cloud-contact-center-insights": "2.3.1", - "google/cloud-container": "2.3.2", + "google/cloud-container": "2.3.3", "google/cloud-container-analysis": "1.0.4", "google/cloud-core": "1.61.0", "google/cloud-data-catalog": "2.2.3", "google/cloud-data-fusion": "1.0.3", - "google/cloud-datacatalog-lineage": "1.0.3", + "google/cloud-datacatalog-lineage": "1.1.0", "google/cloud-dataflow": "0.7.1", "google/cloud-dataform": "0.5.1", "google/cloud-datalabeling": "0.6.1", @@ -136,16 +136,16 @@ "google/cloud-datastream": "2.2.0", "google/cloud-debugger": "1.9.4", "google/cloud-deploy": "1.5.2", - "google/cloud-developerconnect": "0.2.2", + "google/cloud-developerconnect": "0.3.0", "google/cloud-dialogflow": "2.0.1", - "google/cloud-dialogflow-cx": "0.5.2", - "google/cloud-discoveryengine": "1.3.3", + "google/cloud-dialogflow-cx": "0.6.0", + "google/cloud-discoveryengine": "1.4.0", "google/cloud-dlp": "2.2.3", "google/cloud-dms": "2.0.4", "google/cloud-document-ai": "2.1.3", "google/cloud-domains": "1.0.3", - "google/cloud-edgenetwork": "1.1.4", - "google/cloud-error-reporting": "0.22.10", + "google/cloud-edgenetwork": "1.2.0", + "google/cloud-error-reporting": "0.23.0", "google/cloud-essential-contacts": "1.0.4", "google/cloud-eventarc": "2.1.4", "google/cloud-eventarc-publishing": "1.1.3", @@ -162,77 +162,77 @@ "google/cloud-iap": "2.0.3", "google/cloud-ids": "1.0.3", "google/cloud-kms": "2.1.6", - "google/cloud-kms-inventory": "1.0.4", + "google/cloud-kms-inventory": "1.1.0", "google/cloud-language": "0.34.3", "google/cloud-life-sciences": "0.7.1", "google/cloud-logging": "1.32.1", "google/cloud-managed-identities": "2.0.4", - "google/cloud-managedkafka": "0.2.3", + "google/cloud-managedkafka": "0.3.0", "google/cloud-media-translation": "0.5.1", "google/cloud-memcache": "2.0.3", - "google/cloud-memorystore": "0.1.1", - "google/cloud-migrationcenter": "1.0.3", - "google/cloud-monitoring": "2.0.1", - "google/cloud-netapp": "1.3.1", + "google/cloud-memorystore": "0.2.0", + "google/cloud-migrationcenter": "1.1.0", + "google/cloud-monitoring": "2.1.0", + "google/cloud-netapp": "1.4.0", "google/cloud-network-connectivity": "2.1.2", "google/cloud-network-management": "2.3.1", "google/cloud-network-security": "1.0.3", - "google/cloud-networkservices": "0.2.3", + "google/cloud-networkservices": "0.3.0", "google/cloud-notebooks": "1.0.3", "google/cloud-optimization": "1.0.3", - "google/cloud-oracledatabase": "0.2.1", + "google/cloud-oracledatabase": "0.3.0", "google/cloud-orchestration-airflow": "2.1.4", "google/cloud-org-policy": "1.1.3", "google/cloud-osconfig": "2.0.3", "google/cloud-oslogin": "2.0.4", - "google/cloud-parallelstore": "0.8.3", + "google/cloud-parallelstore": "0.9.0", "google/cloud-parametermanager": "0.1.1", "google/cloud-policy-troubleshooter": "2.0.4", - "google/cloud-policysimulator": "1.0.3", - "google/cloud-policytroubleshooter-iam": "0.2.9", + "google/cloud-policysimulator": "1.1.0", + "google/cloud-policytroubleshooter-iam": "0.3.0", "google/cloud-private-catalog": "0.5.1", - "google/cloud-privilegedaccessmanager": "0.1.4", + "google/cloud-privilegedaccessmanager": "0.2.0", "google/cloud-profiler": "2.0.3", - "google/cloud-pubsub": "2.9.1", - "google/cloud-quotas": "1.2.1", - "google/cloud-rapidmigrationassessment": "1.0.3", + "google/cloud-pubsub": "2.10.0", + "google/cloud-quotas": "1.3.0", + "google/cloud-rapidmigrationassessment": "1.1.0", "google/cloud-recaptcha-enterprise": "2.0.1", "google/cloud-recommendations-ai": "0.8.1", "google/cloud-recommender": "2.0.4", "google/cloud-redis": "2.1.4", - "google/cloud-redis-cluster": "0.4.1", + "google/cloud-redis-cluster": "0.5.0", "google/cloud-resource-manager": "1.0.3", "google/cloud-resource-settings": "2.0.4", "google/cloud-retail": "2.1.3", "google/cloud-run": "1.5.2", - "google/cloud-scheduler": "2.0.3", + "google/cloud-scheduler": "2.0.4", "google/cloud-secret-manager": "2.0.2", - "google/cloud-securesourcemanager": "1.3.3", + "google/cloud-securesourcemanager": "1.4.0", "google/cloud-security-center": "2.0.4", "google/cloud-security-private-ca": "2.0.3", "google/cloud-security-public-ca": "1.0.3", - "google/cloud-securitycentermanagement": "1.1.3", + "google/cloud-securitycentermanagement": "1.2.0", "google/cloud-service-control": "2.0.3", "google/cloud-service-directory": "2.0.4", "google/cloud-service-management": "2.0.3", "google/cloud-service-usage": "2.0.3", - "google/cloud-servicehealth": "0.2.3", + "google/cloud-servicehealth": "0.3.0", "google/cloud-shell": "2.0.4", - "google/cloud-spanner": "1.92.1", + "google/cloud-spanner": "1.93.0", "google/cloud-speech": "1.20.1", "google/cloud-sql-admin": "1.2.3", "google/cloud-storage": "1.46.0", - "google/cloud-storage-control": "1.0.3", + "google/cloud-storage-control": "1.1.0", "google/cloud-storage-transfer": "2.1.1", - "google/cloud-storageinsights": "1.0.3", - "google/cloud-support": "1.0.3", + "google/cloud-storageinsights": "1.1.0", + "google/cloud-support": "1.1.0", "google/cloud-talent": "2.1.1", "google/cloud-tasks": "2.0.1", - "google/cloud-telcoautomation": "1.0.3", + "google/cloud-telcoautomation": "1.1.0", "google/cloud-text-to-speech": "2.0.1", "google/cloud-tpu": "2.1.1", "google/cloud-trace": "1.8.9", - "google/cloud-translate": "1.20.2", + "google/cloud-translate": "1.21.0", "google/cloud-video-live-stream": "1.1.3", "google/cloud-video-stitcher": "1.0.3", "google/cloud-video-transcoder": "1.0.3", @@ -244,28 +244,28 @@ "google/cloud-web-risk": "2.0.3", "google/cloud-web-security-scanner": "1.0.3", "google/cloud-workflows": "1.0.3", - "google/common-protos": "4.9.0", + "google/common-protos": "4.10.0", "google/geo-common-protos": "0.2.0", "google/grafeas": "1.1.3", "google/longrunning": "0.4.7", - "google/maps-fleetengine": "0.1.6", - "google/maps-fleetengine-delivery": "0.1.8", - "google/maps-routeoptimization": "0.3.3", + "google/maps-fleetengine": "0.2.0", + "google/maps-fleetengine-delivery": "0.2.0", + "google/maps-routeoptimization": "0.4.0", "google/shopping-common-protos": "0.4.0", - "google/shopping-css": "0.4.1", - "google/shopping-merchant-accounts": "0.3.3", - "google/shopping-merchant-conversions": "0.1.5", - "google/shopping-merchant-datasources": "0.3.1", - "google/shopping-merchant-inventories": "0.5.3", - "google/shopping-merchant-lfp": "0.1.3", - "google/shopping-merchant-notifications": "0.1.3", - "google/shopping-merchant-products": "0.2.1", - "google/shopping-merchant-promotions": "0.1.3", - "google/shopping-merchant-quota": "0.1.6", - "google/shopping-merchant-reports": "0.8.4", - "google/shopping-merchant-reviews": "0.1.2", - "googleads/ad-manager": "0.1.3", - "googleads/marketingplatform-admin": "0.1.4" + "google/shopping-css": "0.5.0", + "google/shopping-merchant-accounts": "0.4.0", + "google/shopping-merchant-conversions": "0.2.0", + "google/shopping-merchant-datasources": "0.4.0", + "google/shopping-merchant-inventories": "0.6.0", + "google/shopping-merchant-lfp": "0.2.0", + "google/shopping-merchant-notifications": "0.2.0", + "google/shopping-merchant-products": "0.3.0", + "google/shopping-merchant-promotions": "0.2.0", + "google/shopping-merchant-quota": "0.2.0", + "google/shopping-merchant-reports": "0.9.0", + "google/shopping-merchant-reviews": "0.2.0", + "googleads/ad-manager": "0.2.0", + "googleads/marketingplatform-admin": "0.2.0" }, "suggest": { "opis/closure": "May be used to serialize closures to process jobs in the batch daemon. Please require version ^3.", From bc9ba086496b75d6f57ae4b93b092f6ca120af67 Mon Sep 17 00:00:00 2001 From: skuruppu Date: Sat, 8 Feb 2025 07:13:49 +1100 Subject: [PATCH 3/5] tests(Spanner): enable PG tests to run on emulator (#7572) --- Spanner/tests/System/PgBatchTest.php | 2 +- Spanner/tests/System/PgBatchWriteTest.php | 2 ++ Spanner/tests/System/PgPartitionedDmlTest.php | 5 +++++ Spanner/tests/System/PgQueryTest.php | 10 +++++++++ Spanner/tests/System/PgReadTest.php | 1 + Spanner/tests/System/PgWriteTest.php | 2 ++ Spanner/tests/System/SpannerPgTestCase.php | 22 +++++++++++++------ 7 files changed, 36 insertions(+), 8 deletions(-) diff --git a/Spanner/tests/System/PgBatchTest.php b/Spanner/tests/System/PgBatchTest.php index 131ba743a08..082af61e5f4 100644 --- a/Spanner/tests/System/PgBatchTest.php +++ b/Spanner/tests/System/PgBatchTest.php @@ -86,7 +86,7 @@ public static function setUpTestFixtures(): void */ public function testBatchWithDbRole($dbRole, $expected) { - // Emulator does not support FGAC + // Emulator does not support FGAC for the PG dialect. $this->skipEmulatorTests(); $error = null; diff --git a/Spanner/tests/System/PgBatchWriteTest.php b/Spanner/tests/System/PgBatchWriteTest.php index d7563bbe5cc..ba794177214 100644 --- a/Spanner/tests/System/PgBatchWriteTest.php +++ b/Spanner/tests/System/PgBatchWriteTest.php @@ -31,6 +31,8 @@ class PgBatchWriteTest extends SpannerPgTestCase */ public static function setUpTestFixtures(): void { + // The BatchWrite tests are skipped for the GSQL dialect when running + // against the emulator. self::skipEmulatorTests(); parent::setUpTestFixtures(); diff --git a/Spanner/tests/System/PgPartitionedDmlTest.php b/Spanner/tests/System/PgPartitionedDmlTest.php index 6906090f51b..847a7384975 100644 --- a/Spanner/tests/System/PgPartitionedDmlTest.php +++ b/Spanner/tests/System/PgPartitionedDmlTest.php @@ -30,6 +30,11 @@ class PgPartitionedDmlTest extends SpannerPgTestCase public function testPdml() { + // Skipping temporarily while we figure out the issue with + // `executePartitionedUpdate` not accepting parameters in + // PG format. + $this->skipEmulatorTests(); + $db = self::$database; $db->updateDdl('CREATE TABLE ' . self::PDML_TABLE . '( diff --git a/Spanner/tests/System/PgQueryTest.php b/Spanner/tests/System/PgQueryTest.php index 6e1a247a1da..3d37529df6b 100644 --- a/Spanner/tests/System/PgQueryTest.php +++ b/Spanner/tests/System/PgQueryTest.php @@ -208,6 +208,8 @@ public function testBindFloat64Parameter() public function testBindFloat32Parameter() { + // Emulator as an issue with FLOAT32 for PG. + $this->skipEmulatorTests(); $db = self::$database; $res = $db->execute('SELECT * FROM ' . self::TABLE_NAME . ' WHERE weight = $1', [ @@ -547,6 +549,8 @@ public function testBindJsonbParameterNull() public function testBindPgOidParameter() { + // Emulator support for PG.OID is pending. + $this->skipEmulatorTests(); $db = self::$database; $res = $db->execute('SELECT $1', [ @@ -562,6 +566,8 @@ public function testBindPgOidParameter() public function testBindPgOidParameterNull() { + // Emulator support for PG.OID is pending. + $this->skipEmulatorTests(); $db = self::$database; $res = $db->execute('SELECT $1', [ @@ -729,6 +735,8 @@ public function arrayTypesEmptyProvider() */ public function testBindEmptyArrayOfType($type) { + // Emulator support for PG.OID is pending. + $this->skipEmulatorTests(); $db = self::$database; $res = $db->execute('SELECT $1 as foo', [ @@ -767,6 +775,8 @@ public function arrayTypesNullProvider() */ public function testBindNullArrayOfType($type) { + // Emulator support for PG.OID is pending. + $this->skipEmulatorTests(); $db = self::$database; $res = $db->execute('SELECT $1 as foo', [ diff --git a/Spanner/tests/System/PgReadTest.php b/Spanner/tests/System/PgReadTest.php index 30ce4c48dd1..f5d1193a9bb 100644 --- a/Spanner/tests/System/PgReadTest.php +++ b/Spanner/tests/System/PgReadTest.php @@ -423,6 +423,7 @@ public function testReadFailsOnDeadlineExceeded() { $this->expectException(DeadlineExceededException::class); + // The equiavalent test for the GSQL dialect is also skipped. $this->skipEmulatorTests(); $db = self::$database; $keyset = new KeySet(['all' => true]); diff --git a/Spanner/tests/System/PgWriteTest.php b/Spanner/tests/System/PgWriteTest.php index 037efa24ead..3eee888fe28 100644 --- a/Spanner/tests/System/PgWriteTest.php +++ b/Spanner/tests/System/PgWriteTest.php @@ -47,6 +47,8 @@ class PgWriteTest extends SpannerPgTestCase */ public static function setUpTestFixtures(): void { + // The equiavalent tests for the GSQL dialect are also skipped. + self::skipEmulatorTests(); parent::setUpTestFixtures(); self::$database->updateDdlBatch([ diff --git a/Spanner/tests/System/SpannerPgTestCase.php b/Spanner/tests/System/SpannerPgTestCase.php index 5787afd0a69..d80cf4786a9 100644 --- a/Spanner/tests/System/SpannerPgTestCase.php +++ b/Spanner/tests/System/SpannerPgTestCase.php @@ -56,7 +56,6 @@ public static function setUpTestFixtures(): void return; } - self::skipEmulatorTests(); self::getClient(); self::$instance = self::$client->instance(self::INSTANCE_NAME); @@ -86,15 +85,24 @@ public static function setUpTestFixtures(): void name varchar(1024) NOT NULL, birthday date )', - 'CREATE ROLE ' . self::DATABASE_ROLE, - 'CREATE ROLE ' . self::RESTRICTIVE_DATABASE_ROLE, - 'GRANT SELECT ON TABLE ' . self::TEST_TABLE_NAME . - ' TO ' . self::DATABASE_ROLE, - 'GRANT SELECT(id, name), INSERT(id, name), UPDATE(id, name) ON TABLE ' - . self::TEST_TABLE_NAME . ' TO ' . self::RESTRICTIVE_DATABASE_ROLE, ] )->pollUntilComplete(); + // Currently, the emulator doesn't support setting roles for the PG + // dialect. + if (!getenv("SPANNER_EMULATOR_HOST")) { + $db->updateDdlBatch( + [ + 'CREATE ROLE ' . self::DATABASE_ROLE, + 'CREATE ROLE ' . self::RESTRICTIVE_DATABASE_ROLE, + 'GRANT SELECT ON TABLE ' . self::TEST_TABLE_NAME . + ' TO ' . self::DATABASE_ROLE, + 'GRANT SELECT(id, name), INSERT(id, name), UPDATE(id, name) ON TABLE ' + . self::TEST_TABLE_NAME . ' TO ' . self::RESTRICTIVE_DATABASE_ROLE, + ] + )->pollUntilComplete(); + } + self::$hasSetUp = true; } From b3927a4971f9a655e910d9da881c9109ba6a4424 Mon Sep 17 00:00:00 2001 From: Brent Shaffer Date: Fri, 7 Feb 2025 12:15:53 -0800 Subject: [PATCH 4/5] feat(docs): add product neutral guides (#8077) * feat(docs): add product neutral guides * remove unused param --- .kokoro/docs/publish.sh | 7 ++ dev/src/Command/DocFxCommand.php | 106 +++++++++++++++----- dev/tests/Unit/Command/DocFxCommandTest.php | 18 ++++ 3 files changed, 106 insertions(+), 25 deletions(-) diff --git a/.kokoro/docs/publish.sh b/.kokoro/docs/publish.sh index 8e053f31e88..f6d78f1989d 100755 --- a/.kokoro/docs/publish.sh +++ b/.kokoro/docs/publish.sh @@ -60,6 +60,13 @@ $PROJECT_DIR/dev/google-cloud docfx \ $STAGING_FLAG \ $VERBOSITY_FLAG +# Add product-neutral guides +$PROJECT_DIR/dev/google-cloud docfx \ + --generate-product-neutral-guides \ + --metadata-version 1.0.0 \ + $STAGING_FLAG \ + $VERBOSITY_FLAG + # If this run after a release, store the released artifacts. if [ "$KOKORO_GITHUB_COMMIT" != "" ]; then # Move to the project directory diff --git a/dev/src/Command/DocFxCommand.php b/dev/src/Command/DocFxCommand.php index 348621f6b39..8e2d894268b 100644 --- a/dev/src/Command/DocFxCommand.php +++ b/dev/src/Command/DocFxCommand.php @@ -50,6 +50,12 @@ class DocFxCommand extends Command => 'ConfigServiceV2Client::getViewAsync()' ]; + private static array $productNeutralGuides = [ + 'AUTHENTICATION.md' => 'Authentication', + 'DEBUG.md' => 'Debug Logging', + 'MIGRATING.md' => 'Migrating to V2', + ]; + protected function configure() { $this->setName('docfx') @@ -61,6 +67,7 @@ protected function configure() ->addOption('staging-bucket', '', InputOption::VALUE_REQUIRED, 'Upload to the specified staging bucket using docuploader.') ->addOption('path', '', InputOption::VALUE_OPTIONAL, 'Specify the path to the composer package to generate.') ->addOption('--with-cache', '', InputOption::VALUE_NONE, 'Cache expensive proto namespace lookups to a file') + ->addOption('--generate-product-neutral-guides', '', InputOption::VALUE_NONE, 'Instead of a component, generate product-neutral guides.') ; } @@ -70,12 +77,67 @@ protected function execute(InputInterface $input, OutputInterface $output) throw new RuntimeException('This command must be run on PHP 8.0 or above'); } + // YAML dump configuration + $inline = 11; // The level where you switch to inline YAML + $indent = 2; // The amount of spaces to use for indentation of nested nodes + $flags = Yaml::DUMP_MULTI_LINE_LITERAL_BLOCK; + + $outDir = $input->getOption('out'); + if (!is_dir($outDir)) { + if (!mkdir($outDir)) { + throw new RuntimeException('out directory doesn\'t exist and cannot be created'); + } + } + + if ($input->getOption('generate-product-neutral-guides')) { + $output->writeln('Generating product neutral guides'); + $tocItems = []; + foreach (self::$productNeutralGuides as $file => $name) { + file_put_contents( + $outDir . '/' . strtolower($file), + file_get_contents(Component::ROOT_DIR . '/' . $file) + ); + $tocItems[] = ['name' => $name, 'href' => strtolower($file)]; + } + // Write the TOC to a file + $guideToc = array_filter([ + 'uid' => 'product-neutral-guides', + 'name' => 'Client library help', + 'items' => $tocItems, + ]); + $tocYaml = Yaml::dump([$guideToc], $inline, $indent, $flags); + $outFile = sprintf('%s/toc.yml', $outDir); + file_put_contents($outFile, $tocYaml); + + $output->writeln('Done.'); + + if ($metadataVersion = $input->getOption('metadata-version')) { + $output->write(sprintf('Writing docs.metadata with version %s... ', $metadataVersion)); + $process = new Process([ + 'docuploader', 'create-metadata', + '--name', 'help', + '--version', $metadataVersion, + '--language', 'php', + $outDir . '/docs.metadata' + ]); + $process->mustRun(); + $output->writeln('Done.'); + } + + if ($stagingBucket = $input->getOption('staging-bucket')) { + $output->write(sprintf('Running docuploader to upload to staging bucket %s... ', $stagingBucket)); + $this->uploadToStagingBucket($outDir, $stagingBucket); + $output->writeln('Done.'); + } + + return 0; + } + $componentPath = $input->getOption('path'); $componentName = rtrim($input->getOption('component'), '/') ?: basename($componentPath ?: getcwd()); $component = new Component($componentName, $componentPath); $output->writeln(sprintf('Generating documentation for %s', $componentName)); $xml = $input->getOption('xml'); - $outDir = $input->getOption('out'); if (empty($xml)) { $output->write('Running phpdoc to generate structure.xml... '); // Run "phpdoc" @@ -89,19 +151,8 @@ protected function execute(InputInterface $input, OutputInterface $output) : sprintf('Default structure.xml file "%s" not found.', $xml)); } - if (!is_dir($outDir)) { - if (!mkdir($outDir)) { - throw new RuntimeException('out directory doesn\'t exist and cannot be created'); - } - } - $output->write(sprintf('Writing output to %s... ', $outDir)); - // YAML dump configuration - $inline = 11; // The level where you switch to inline YAML - $indent = 2; // The amount of spaces to use for indentation of nested nodes - $flags = Yaml::DUMP_MULTI_LINE_LITERAL_BLOCK; - $valid = true; $tocItems = []; $packageDescription = $component->getDescription(); @@ -196,19 +247,7 @@ protected function execute(InputInterface $input, OutputInterface $output) if ($stagingBucket = $input->getOption('staging-bucket')) { $output->write(sprintf('Running docuploader to upload to staging bucket %s... ', $stagingBucket)); - $process = new Process([ - 'docuploader', - 'upload', - $outDir, - '--staging-bucket', - $stagingBucket, - '--destination-prefix', - 'docfx-', - '--metadata-file', - // use "realdir" until https://github.com/googleapis/docuploader/issues/132 is fixed - realpath($outDir) . '/docs.metadata' - ]); - $process->mustRun(); + $this->uploadToStagingBucket($outDir, $stagingBucket); $output->writeln('Done.'); } @@ -284,4 +323,21 @@ private function getProtoPackageToNamespaceMap(bool $useFileCache): array return $item->get(); } + + private function uploadToStagingBucket(string $outDir, string $stagingBucket): void + { + $process = new Process([ + 'docuploader', + 'upload', + $outDir, + '--staging-bucket', + $stagingBucket, + '--destination-prefix', + 'docfx-', + '--metadata-file', + // use "realdir" until https://github.com/googleapis/docuploader/issues/132 is fixed + realpath($outDir) . '/docs.metadata' + ]); + $process->mustRun(); + } } diff --git a/dev/tests/Unit/Command/DocFxCommandTest.php b/dev/tests/Unit/Command/DocFxCommandTest.php index 8ecb56e004c..bc0b2ca7f72 100644 --- a/dev/tests/Unit/Command/DocFxCommandTest.php +++ b/dev/tests/Unit/Command/DocFxCommandTest.php @@ -194,6 +194,24 @@ public function testNewClientMagicMethods() $this->assertGreaterThan(0, count($asyncMethods)); } + public function testProductNeutralGuides() + { + self::getCommandTester()->execute([ + '--generate-product-neutral-guides' => true, + '--out' => $tmpDir = sys_get_temp_dir() . '/' . rand(), + '--metadata-version' => '1.0.0', + ]); + + $generatedFiles = array_diff(scandir($tmpDir), ['..', '.']); + $this->assertEquals([ + 'authentication.md', + 'debug.md', + 'docs.metadata', + 'migrating.md', + 'toc.yml', + ], array_values($generatedFiles)); + } + private function assertFileEqualsWithDiff(string $left, string $right, bool $updateFixtures = false) { if (file_get_contents($left) !== file_get_contents($right)) { From 254c52c51344d2bce78522022bc6fcb64bd6913f Mon Sep 17 00:00:00 2001 From: Brent Shaffer Date: Fri, 7 Feb 2025 12:18:37 -0800 Subject: [PATCH 5/5] docs: Update README for Vertex AI (#8071) --- AiPlatform/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AiPlatform/README.md b/AiPlatform/README.md index 6305082eb34..acfe59adaf9 100644 --- a/AiPlatform/README.md +++ b/AiPlatform/README.md @@ -1,6 +1,6 @@ # Google Cloud Vertex AI for PHP -> Idiomatic PHP client for [Google Cloud Vertex AI](https://cloud.google.com/ai-platform). +> Idiomatic PHP client for [Google Cloud Vertex AI](https://cloud.google.com/vertex-ai). [![Latest Stable Version](https://poser.pugx.org/google/cloud-ai-platform/v/stable)](https://packagist.org/packages/google/cloud-ai-platform) [![Packagist](https://img.shields.io/packagist/dm/google/cloud-ai-platform.svg)](https://packagist.org/packages/google/cloud-ai-platform) @@ -40,4 +40,4 @@ any minor or patch releases. We will address issues and requests with the highes ### Next Steps -1. Understand the [official documentation](https://cloud.google.com/ai-platform/docs). +1. Understand the [official documentation](https://cloud.google.com/vertex-ai/docs).