Skip to content

Commit ac64c89

Browse files
authored
feat(workloadidentity): generate library (#16349)
1 parent 3762888 commit ac64c89

57 files changed

Lines changed: 4966 additions & 0 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.

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,13 @@ for details on updating existing applications using v1.x.y or v2.x.y.
99

1010
## v3.9.0 - TBD
1111

12+
### New Libraries
13+
14+
We are happy to announce the following GA libraries. Unless specifically noted,
15+
the APIs in these libraries are stable, and are ready for production use.
16+
17+
- [Workload Identity API](/google/cloud/workloadidentity/README.md)
18+
1219
## v3.8.0 - 2026-08
1320

1421
### Removed Libraries

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -575,6 +575,9 @@ See each library's `README.md` file for more information about:
575575
- [Workflow Executions API](google/cloud/workflows/README.md)
576576
[[quickstart]](google/cloud/workflows/quickstart/README.md)
577577
[[reference]](https://cloud.google.com/cpp/docs/reference/workflows/latest)
578+
- [Workload Identity API](google/cloud/workloadidentity/README.md)
579+
[[quickstart]](google/cloud/workloadidentity/quickstart/README.md)
580+
[[reference]](https://cloud.google.com/cpp/docs/reference/workloadidentity/latest)
578581
- [Workload Manager API](google/cloud/workloadmanager/README.md)
579582
[[quickstart]](google/cloud/workloadmanager/quickstart/README.md)
580583
[[reference]](https://cloud.google.com/cpp/docs/reference/workloadmanager/latest)
Binary file not shown.

ci/etc/expected_install_directories

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1232,6 +1232,10 @@
12321232
./include/google/cloud/workflows/v1
12331233
./include/google/cloud/workflows/v1/internal
12341234
./include/google/cloud/workflows/v1/mocks
1235+
./include/google/cloud/workloadidentity
1236+
./include/google/cloud/workloadidentity/v1
1237+
./include/google/cloud/workloadidentity/v1/internal
1238+
./include/google/cloud/workloadidentity/v1/mocks
12351239
./include/google/cloud/workloadmanager
12361240
./include/google/cloud/workloadmanager/v1
12371241
./include/google/cloud/workloadmanager/v1/internal
@@ -1612,6 +1616,8 @@
16121616
./lib64/cmake/google_cloud_cpp_websecurityscanner_mocks
16131617
./lib64/cmake/google_cloud_cpp_workflows
16141618
./lib64/cmake/google_cloud_cpp_workflows_mocks
1619+
./lib64/cmake/google_cloud_cpp_workloadidentity
1620+
./lib64/cmake/google_cloud_cpp_workloadidentity_mocks
16151621
./lib64/cmake/google_cloud_cpp_workloadmanager
16161622
./lib64/cmake/google_cloud_cpp_workloadmanager_mocks
16171623
./lib64/cmake/google_cloud_cpp_workstations

cmake/GoogleCloudCppFeatures.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,7 @@ set(GOOGLE_CLOUD_CPP_GA_LIBRARIES
198198
"webrisk"
199199
"websecurityscanner"
200200
"workflows"
201+
"workloadidentity"
201202
"workloadmanager"
202203
"workstations")
203204

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
@googleapis//google/api:annotations_proto
2+
@googleapis//google/api:client_proto
3+
@googleapis//google/api:field_behavior_proto
4+
@googleapis//google/api:http_proto
5+
@googleapis//google/api:launch_stage_proto
6+
@googleapis//google/api:resource_proto
7+
@googleapis//google/longrunning:operations_proto
8+
@googleapis//google/rpc:status_proto
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
@googleapis//google/cloud/workloadidentity/v1:service.proto

external/googleapis/update_libraries.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,7 @@ declare -A -r LIBRARIES=(
355355
"@googleapis//google/cloud/workflows/type:type_cc_grpc" \
356356
"@googleapis//google/cloud/workflows/executions/v1:executions_cc_grpc"
357357
)"
358+
["workloadidentity"]="@googleapis//google/cloud/workloadidentity/v1:workloadidentity_cc_grpc"
358359
["workloadmanager"]="@googleapis//google/cloud/workloadmanager/v1:workloadmanager_cc_grpc"
359360
["workstations"]="$(
360361
printf ",%s" \

generator/generator_config.textproto

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4294,6 +4294,14 @@ service {
42944294
retryable_status_codes: ["kUnavailable"]
42954295
}
42964296
4297+
# Workload Identity
4298+
service {
4299+
service_proto_path: "google/cloud/workloadidentity/v1/service.proto"
4300+
product_path: "google/cloud/workloadidentity/v1"
4301+
initial_copyright_year: "2026"
4302+
retryable_status_codes: ["kUnavailable"]
4303+
}
4304+
42974305
# Workload Manager
42984306
service {
42994307
service_proto_path: "google/cloud/workloadmanager/v1/service.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+
"@googleapis//google/cloud/workloadidentity/v1:workloadidentity_cc_grpc",
25+
]
26+
27+
cc_gapic_library(
28+
name = "workloadidentity",
29+
googleapis_deps = googleapis_deps,
30+
service_dirs = service_dirs,
31+
)

0 commit comments

Comments
 (0)