Skip to content

Commit 6ea88b1

Browse files
authored
chore!: promote AdvisoryNotifications, ApiKeys, BareMetalSolution, BigQueryAnalyticsHub, BigQueryMigration (#7429)
1 parent c9d59a0 commit 6ea88b1

227 files changed

Lines changed: 1788 additions & 18540 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.repo-metadata-full.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"AdvisoryNotifications": {
1919
"language": "php",
2020
"distribution_name": "google/cloud-advisorynotifications",
21-
"release_level": "preview",
21+
"release_level": "stable",
2222
"client_documentation": "https://cloud.google.com/php/docs/reference/cloud-advisorynotifications/latest",
2323
"library_type": "GAPIC_AUTO",
2424
"api_shortname": "advisorynotifications"
@@ -66,7 +66,7 @@
6666
"ApiKeys": {
6767
"language": "php",
6868
"distribution_name": "google/cloud-api-keys",
69-
"release_level": "preview",
69+
"release_level": "stable",
7070
"client_documentation": "https://cloud.google.com/php/docs/reference/cloud-api-keys/latest",
7171
"library_type": "GAPIC_AUTO",
7272
"product_documentation": "https://cloud.google.com/api-keys/docs",
@@ -172,7 +172,7 @@
172172
"BareMetalSolution": {
173173
"language": "php",
174174
"distribution_name": "google/cloud-bare-metal-solution",
175-
"release_level": "preview",
175+
"release_level": "stable",
176176
"client_documentation": "https://cloud.google.com/php/docs/reference/cloud-bare-metal-solution/latest",
177177
"library_type": "GAPIC_AUTO",
178178
"api_shortname": "baremetalsolution"
@@ -240,7 +240,7 @@
240240
"BigQueryAnalyticsHub": {
241241
"language": "php",
242242
"distribution_name": "google/cloud-bigquery-analyticshub",
243-
"release_level": "preview",
243+
"release_level": "stable",
244244
"client_documentation": "https://cloud.google.com/php/docs/reference/cloud-bigquery-analyticshub/latest",
245245
"library_type": "GAPIC_AUTO",
246246
"product_documentation": "https://cloud.google.com/analytics-hub",
@@ -284,7 +284,7 @@
284284
"BigQueryMigration": {
285285
"language": "php",
286286
"distribution_name": "google/cloud-bigquery-migration",
287-
"release_level": "preview",
287+
"release_level": "stable",
288288
"client_documentation": "https://cloud.google.com/php/docs/reference/cloud-bigquery-migration/latest",
289289
"library_type": "GAPIC_AUTO",
290290
"product_documentation": "https://cloud.google.com/bigquery/docs/migration-intro/docs",

AdvisoryNotifications/.OwlBot.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
deep-copy-regex:
2-
- source: /google/cloud/advisorynotifications/v1/.*-php/(.*)
3-
dest: /owl-bot-staging/AdvisoryNotifications/v1/$1
2+
- source: /google/cloud/advisorynotifications/(v1)/.*-php/(.*)
3+
dest: /owl-bot-staging/AdvisoryNotifications/$1/$2
44
api-name: AdvisoryNotifications

AdvisoryNotifications/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ See the [samples directory](https://github.com/googleapis/google-cloud-php-advis
3838

3939
### Version
4040

41-
This component is considered alpha. As such, it is still a work-in-progress and is more likely to get backwards-incompatible updates.
41+
This component is considered GA (generally available). As such, it will not introduce backwards-incompatible changes in
42+
any minor or patch releases. We will address issues and requests with the highest priority.
4243

4344
### Next Steps
4445

AdvisoryNotifications/owlbot.py

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,7 @@
3030
# Added so that we can pass copy_excludes in the owlbot_main() call
3131
_tracked_paths.add(src)
3232

33-
php.owlbot_main(
34-
src=src,
35-
dest=dest,
36-
copy_excludes=[
37-
src / "**/[A-Z]*_*.php",
38-
src / "**/*GrpcClient.php"
39-
]
40-
)
33+
php.owlbot_main(src=src, dest=dest)
4134

4235
# remove class_alias code
4336
s.replace(
@@ -56,8 +49,8 @@
5649
'--package=@prettier/plugin-php@^0.16',
5750
'--',
5851
'prettier',
59-
'**/Gapic/*',
52+
'**/Client/*',
6053
'--write',
6154
'--parser=php',
6255
'--single-quote',
63-
'--print-width=80'])
56+
'--print-width=120'])

AdvisoryNotifications/src/V1/AdvisoryNotificationsServiceClient.php

Lines changed: 0 additions & 34 deletions
This file was deleted.

AdvisoryNotifications/src/V1/Client/AdvisoryNotificationsServiceClient.php

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/*
3-
* Copyright 2023 Google LLC
3+
* Copyright 2024 Google LLC
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License");
66
* you may not use this file except in compliance with the License.
@@ -82,9 +82,7 @@ final class AdvisoryNotificationsServiceClient
8282
private const CODEGEN_NAME = 'gapic';
8383

8484
/** The default scopes required by the service. */
85-
public static $serviceScopes = [
86-
'https://www.googleapis.com/auth/cloud-platform',
87-
];
85+
public static $serviceScopes = ['https://www.googleapis.com/auth/cloud-platform'];
8886

8987
private static function getClientDefaults()
9088
{
@@ -99,7 +97,8 @@ private static function getClientDefaults()
9997
],
10098
'transportConfig' => [
10199
'rest' => [
102-
'restClientConfigPath' => __DIR__ . '/../resources/advisory_notifications_service_rest_client_config.php',
100+
'restClientConfigPath' =>
101+
__DIR__ . '/../resources/advisory_notifications_service_rest_client_config.php',
103102
],
104103
],
105104
];
@@ -168,8 +167,11 @@ public static function organizationLocationName(string $organization, string $lo
168167
*
169168
* @return string The formatted organization_location_notification resource.
170169
*/
171-
public static function organizationLocationNotificationName(string $organization, string $location, string $notification): string
172-
{
170+
public static function organizationLocationNotificationName(
171+
string $organization,
172+
string $location,
173+
string $notification
174+
): string {
173175
return self::getPathTemplate('organizationLocationNotification')->render([
174176
'organization' => $organization,
175177
'location' => $location,
@@ -221,8 +223,11 @@ public static function projectLocationName(string $project, string $location): s
221223
*
222224
* @return string The formatted project_location_notification resource.
223225
*/
224-
public static function projectLocationNotificationName(string $project, string $location, string $notification): string
225-
{
226+
public static function projectLocationNotificationName(
227+
string $project,
228+
string $location,
229+
string $notification
230+
): string {
226231
return self::getPathTemplate('projectLocationNotification')->render([
227232
'project' => $project,
228233
'location' => $location,

0 commit comments

Comments
 (0)