Skip to content

Commit 6b6d763

Browse files
authored
feat(storagebatchoperations): generate library (#15069)
* feat(storagebatchoperations): generate library * Run generators and format their outputs * Add API baseline * Manually update READMEs, quickstart, and top-level stuff
1 parent aeef182 commit 6b6d763

File tree

56 files changed

+5815
-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.

56 files changed

+5815
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ 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

1414
- [Financial Services API](/google/cloud/financialservices/README.md)
15+
- [Storage Batch Operations API](/google/cloud/storagebatchoperations/README.md)
1516

1617
### Updated Libraries
1718

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -437,6 +437,9 @@ See each library's `README.md` file for more information about:
437437
- [Google Cloud Storage](google/cloud/storage/README.md)
438438
[[quickstart]](google/cloud/storage/quickstart/README.md)
439439
[[reference]](https://cloud.google.com/cpp/docs/reference/storage/latest)
440+
- [Storage Batch Operations API](google/cloud/storagebatchoperations/README.md)
441+
[[quickstart]](google/cloud/storagebatchoperations/quickstart/README.md)
442+
[[reference]](https://cloud.google.com/cpp/docs/reference/storagebatchoperations/latest)
440443
- [Storage Control API](google/cloud/storagecontrol/README.md)
441444
[[quickstart]](google/cloud/storagecontrol/quickstart/README.md)
442445
[[reference]](https://cloud.google.com/cpp/docs/reference/storagecontrol/latest)
Binary file not shown.

ci/etc/expected_install_directories

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1095,6 +1095,10 @@
10951095
./include/google/cloud/sql/v1/mocks
10961096
./include/google/cloud/storage
10971097
./include/google/cloud/storage/internal
1098+
./include/google/cloud/storagebatchoperations
1099+
./include/google/cloud/storagebatchoperations/v1
1100+
./include/google/cloud/storagebatchoperations/v1/internal
1101+
./include/google/cloud/storagebatchoperations/v1/mocks
10981102
./include/google/cloud/storagecontrol
10991103
./include/google/cloud/storagecontrol/v2
11001104
./include/google/cloud/storagecontrol/v2/internal
@@ -1509,6 +1513,8 @@
15091513
./lib64/cmake/google_cloud_cpp_sql
15101514
./lib64/cmake/google_cloud_cpp_sql_mocks
15111515
./lib64/cmake/google_cloud_cpp_storage
1516+
./lib64/cmake/google_cloud_cpp_storagebatchoperations
1517+
./lib64/cmake/google_cloud_cpp_storagebatchoperations_mocks
15121518
./lib64/cmake/google_cloud_cpp_storagecontrol
15131519
./lib64/cmake/google_cloud_cpp_storagecontrol_mocks
15141520
./lib64/cmake/google_cloud_cpp_storageinsights

cmake/GoogleCloudCppFeatures.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ set(GOOGLE_CLOUD_CPP_GA_LIBRARIES
159159
"speech"
160160
"sql"
161161
"storage"
162+
"storagebatchoperations"
162163
"storagecontrol"
163164
"storageinsights"
164165
"storagetransfer"
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
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
7+
@com_google_googleapis//google/longrunning:operations_proto
8+
@com_google_googleapis//google/rpc:code_proto
9+
@com_google_googleapis//google/rpc:status_proto
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
@com_google_googleapis//google/cloud/storagebatchoperations/v1:storage_batch_operations.proto
2+
@com_google_googleapis//google/cloud/storagebatchoperations/v1:storage_batch_operations_types.proto

external/googleapis/update_libraries.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,7 @@ declare -A -r LIBRARIES=(
287287
)"
288288
["sql"]="@com_google_googleapis//google/cloud/sql/v1:sql_cc_proto"
289289
["storage"]="@com_google_googleapis//google/storage/v2:storage_cc_grpc"
290+
["storagebatchoperations"]="@com_google_googleapis//google/cloud/storagebatchoperations/v1:storagebatchoperations_cc_grpc"
290291
["storagecontrol"]="@com_google_googleapis//google/storage/control/v2:control_cc_grpc"
291292
["storageinsights"]="@com_google_googleapis//google/cloud/storageinsights/v1:storageinsights_cc_grpc"
292293
["storagetransfer"]="@com_google_googleapis//google/storagetransfer/v1:storagetransfer_cc_grpc"

generator/generator_config.textproto

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3728,6 +3728,14 @@ service {
37283728
]
37293729
}
37303730
3731+
# Storage Batch Operations
3732+
service {
3733+
service_proto_path: "google/cloud/storagebatchoperations/v1/storage_batch_operations.proto"
3734+
product_path: "google/cloud/storagebatchoperations/v1"
3735+
initial_copyright_year: "2025"
3736+
retryable_status_codes: ["kUnavailable"]
3737+
}
3738+
37313739
# Storage Control
37323740
service {
37333741
service_proto_path: "google/storage/control/v2/storage_control.proto"
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Copyright 2025 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/storagebatchoperations/v1:storagebatchoperations_cc_grpc",
25+
]
26+
27+
cc_gapic_library(
28+
name = "storagebatchoperations",
29+
googleapis_deps = googleapis_deps,
30+
service_dirs = service_dirs,
31+
)

0 commit comments

Comments
 (0)