Skip to content

Commit 6b12774

Browse files
authored
feat(apiregistry): generate library (#15936)
1 parent de9b5a0 commit 6b12774

File tree

57 files changed

+3990
-0
lines changed

Some content is hidden

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

57 files changed

+3990
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ breaking changes in the upcoming 3.x release. This release is scheduled for
1111
We are happy to announce the following GA libraries. Unless specifically noted,
1212
the APIs in these libraries are stable, and are ready for production use.
1313

14+
- [Cloud API Registry](google/cloud/apiregistry/README.md)
1415
- [Audit Manager](/google/cloud/auditmanager/README.md)
1516

1617
## v2.46.0 - 2026-01

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,9 @@ See each library's `README.md` file for more information about:
119119
- [API Keys API](google/cloud/apikeys/README.md)
120120
[[quickstart]](google/cloud/apikeys/quickstart/README.md)
121121
[[reference]](https://cloud.google.com/cpp/docs/reference/apikeys/latest)
122+
- [Cloud API Registry API](google/cloud/apiregistry/README.md)
123+
[[quickstart]](google/cloud/apiregistry/quickstart/README.md)
124+
[[reference]](https://cloud.google.com/cpp/docs/reference/apiregistry/latest)
122125
- [App Engine Admin API](google/cloud/appengine/README.md)
123126
[[quickstart]](google/cloud/appengine/quickstart/README.md)
124127
[[reference]](https://cloud.google.com/cpp/docs/reference/appengine/latest)
368 KB
Binary file not shown.

ci/etc/expected_install_directories

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@
5757
./include/google/cloud/apikeys/v2
5858
./include/google/cloud/apikeys/v2/internal
5959
./include/google/cloud/apikeys/v2/mocks
60+
./include/google/cloud/apiregistry
61+
./include/google/cloud/apiregistry/v1
62+
./include/google/cloud/apiregistry/v1/internal
63+
./include/google/cloud/apiregistry/v1/mocks
6064
./include/google/cloud/appengine
6165
./include/google/cloud/appengine/mocks
6266
./include/google/cloud/appengine/v1
@@ -1363,6 +1367,8 @@
13631367
./lib64/cmake/google_cloud_cpp_apigeeconnect_mocks
13641368
./lib64/cmake/google_cloud_cpp_apikeys
13651369
./lib64/cmake/google_cloud_cpp_apikeys_mocks
1370+
./lib64/cmake/google_cloud_cpp_apiregistry
1371+
./lib64/cmake/google_cloud_cpp_apiregistry_mocks
13661372
./lib64/cmake/google_cloud_cpp_appengine
13671373
./lib64/cmake/google_cloud_cpp_appengine_mocks
13681374
./lib64/cmake/google_cloud_cpp_apphub

cmake/GoogleCloudCppFeatures.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ set(GOOGLE_CLOUD_CPP_GA_LIBRARIES
4949
"apigateway"
5050
"apigeeconnect"
5151
"apikeys"
52+
"apiregistry"
5253
"appengine"
5354
"apphub"
5455
"artifactregistry"
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
@com_google_googleapis//google/api:annotations_proto
2+
@com_google_googleapis//google/api:client_proto
3+
@com_google_googleapis//google/api:field_behavior_proto
4+
@com_google_googleapis//google/api:http_proto
5+
@com_google_googleapis//google/api:launch_stage_proto
6+
@com_google_googleapis//google/api:resource_proto
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
@com_google_googleapis//google/cloud/apiregistry/v1:common.proto
2+
@com_google_googleapis//google/cloud/apiregistry/v1:resources.proto
3+
@com_google_googleapis//google/cloud/apiregistry/v1:service.proto

external/googleapis/update_libraries.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ declare -A -r LIBRARIES=(
3636
["apigateway"]="@com_google_googleapis//google/cloud/apigateway/v1:apigateway_cc_grpc"
3737
["apigeeconnect"]="@com_google_googleapis//google/cloud/apigeeconnect/v1:apigeeconnect_cc_grpc"
3838
["apikeys"]="@com_google_googleapis//google/api/apikeys/v2:apikeys_cc_grpc"
39+
["apiregistry"]="@com_google_googleapis//google/cloud/apiregistry/v1:apiregistry_cc_grpc"
3940
["appengine"]="$(
4041
printf ",%s" \
4142
"@com_google_googleapis//google/appengine/v1:appengine_cc_grpc" \

generator/generator_config.textproto

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,14 @@ service {
295295
retryable_status_codes: ["kUnavailable"]
296296
}
297297

298+
# API Registry
299+
service {
300+
service_proto_path: "google/cloud/apiregistry/v1/service.proto"
301+
product_path: "google/cloud/apiregistry/v1"
302+
initial_copyright_year: "2026"
303+
retryable_status_codes: ["kUnavailable"]
304+
}
305+
298306
# App Engine Admin
299307
service {
300308
service_proto_path: "google/appengine/v1/appengine.proto"
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Copyright 2026 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# https://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
load("//bazel:gapic.bzl", "cc_gapic_library")
16+
17+
package(default_visibility = ["//visibility:private"])
18+
19+
licenses(["notice"]) # Apache 2.0
20+
21+
service_dirs = ["v1/"]
22+
23+
googleapis_deps = [
24+
"@com_google_googleapis//google/cloud/apiregistry/v1:apiregistry_cc_grpc",
25+
]
26+
27+
cc_gapic_library(
28+
name = "apiregistry",
29+
googleapis_deps = googleapis_deps,
30+
service_dirs = service_dirs,
31+
)

0 commit comments

Comments
 (0)