Skip to content

Commit bf6fc77

Browse files
authored
feat(workloadmanager): generate library (#16011)
PiperOrigin-RevId: 869327994
1 parent fc02353 commit bf6fc77

57 files changed

Lines changed: 9110 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: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ for details on updating existing applications using v1.x.y or v2.x.y.
1414
We are happy to announce the following GA libraries. Unless specifically noted,
1515
the APIs in these libraries are stable, and are ready for production use.
1616

17+
- [Gemini Enterprise for Customer Experience API](google/cloud/ces/README.md)
1718
- [Vision AI API](/google/cloud/visionai/README.md)
19+
- [Workload Manager](/google/cloud/workloadmanager/README.md)
1820

1921
## v3.2.0 - 2026-02
2022

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -563,6 +563,9 @@ See each library's `README.md` file for more information about:
563563
- [Workflow Executions API](google/cloud/workflows/README.md)
564564
[[quickstart]](google/cloud/workflows/quickstart/README.md)
565565
[[reference]](https://cloud.google.com/cpp/docs/reference/workflows/latest)
566+
- [Workload Manager API](google/cloud/workloadmanager/README.md)
567+
[[quickstart]](google/cloud/workloadmanager/quickstart/README.md)
568+
[[reference]](https://cloud.google.com/cpp/docs/reference/workloadmanager/latest)
566569
- [Cloud Workstations API](google/cloud/workstations/README.md)
567570
[[quickstart]](google/cloud/workstations/quickstart/README.md)
568571
[[reference]](https://cloud.google.com/cpp/docs/reference/workstations/latest)
Binary file not shown.

ci/etc/expected_install_directories

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1216,6 +1216,10 @@
12161216
./include/google/cloud/workflows/v1
12171217
./include/google/cloud/workflows/v1/internal
12181218
./include/google/cloud/workflows/v1/mocks
1219+
./include/google/cloud/workloadmanager
1220+
./include/google/cloud/workloadmanager/v1
1221+
./include/google/cloud/workloadmanager/v1/internal
1222+
./include/google/cloud/workloadmanager/v1/mocks
12191223
./include/google/cloud/workstations
12201224
./include/google/cloud/workstations/v1
12211225
./include/google/cloud/workstations/v1/internal
@@ -1586,5 +1590,7 @@
15861590
./lib64/cmake/google_cloud_cpp_websecurityscanner_mocks
15871591
./lib64/cmake/google_cloud_cpp_workflows
15881592
./lib64/cmake/google_cloud_cpp_workflows_mocks
1593+
./lib64/cmake/google_cloud_cpp_workloadmanager
1594+
./lib64/cmake/google_cloud_cpp_workloadmanager_mocks
15891595
./lib64/cmake/google_cloud_cpp_workstations
15901596
./lib64/cmake/google_cloud_cpp_workstations_mocks

cmake/GoogleCloudCppFeatures.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,7 @@ set(GOOGLE_CLOUD_CPP_GA_LIBRARIES
196196
"webrisk"
197197
"websecurityscanner"
198198
"workflows"
199+
"workloadmanager"
199200
"workstations")
200201

201202
set(GOOGLE_CLOUD_CPP_COMPUTE_LIBRARIES
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/workloadmanager/v1:service.proto

external/googleapis/update_libraries.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,7 @@ declare -A -r LIBRARIES=(
351351
"@googleapis//google/cloud/workflows/type:type_cc_grpc" \
352352
"@googleapis//google/cloud/workflows/executions/v1:executions_cc_grpc"
353353
)"
354+
["workloadmanager"]="@googleapis//google/cloud/workloadmanager/v1:workloadmanager_cc_grpc"
354355
["workstations"]="$(
355356
printf ",%s" \
356357
"@googleapis//google/cloud/workstations/logging/v1:logging_cc_grpc" \

generator/generator_config.textproto

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4165,6 +4165,14 @@ service {
41654165
retryable_status_codes: ["kUnavailable"]
41664166
}
41674167
4168+
# Workload Manager
4169+
service {
4170+
service_proto_path: "google/cloud/workloadmanager/v1/service.proto"
4171+
product_path: "google/cloud/workloadmanager/v1"
4172+
initial_copyright_year: "2026"
4173+
retryable_status_codes: ["kUnavailable"]
4174+
}
4175+
41684176
# Workstations
41694177
service {
41704178
service_proto_path: "google/cloud/workstations/v1/workstations.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/workloadmanager/v1:workloadmanager_cc_grpc",
25+
]
26+
27+
cc_gapic_library(
28+
name = "workloadmanager",
29+
googleapis_deps = googleapis_deps,
30+
service_dirs = service_dirs,
31+
)

0 commit comments

Comments
 (0)