Skip to content

Commit 1f7b58f

Browse files
authored
chore: update googleapis sha circa 2025-05-02 (#15127)
* chore: update googleapis SHA circa 2025-05-02 PiperOrigin-RevId: 754105940 * Update the protodeps/protolists * Regenerate libraries
1 parent 04e430b commit 1f7b58f

26 files changed

+2653
-96
lines changed

MODULE.bazel

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,12 @@ python.toolchain(
5555
bazel_dep(name = "googleapis", version = "0.0.0", repo_name = "com_google_googleapis")
5656
archive_override(
5757
module_name = "googleapis",
58-
integrity = "sha256-XQEbkyLXbAUSIcApJof3U/ts+Kh6sIBKspq1tOoNrlc=",
58+
integrity = "sha256-BUa9ungV9/7bsPxRANTzg5DuZ5MEZg/njNOIxEhNhp0=",
5959
patch_strip = 1,
6060
patches = ["//bazel:googleapis.modules.patch"],
61-
strip_prefix = "googleapis-195c3bffb661b1fba8a289afcb1c6dc3ae4f4d5b",
61+
strip_prefix = "googleapis-079e5305050859d0e3a8c0768611283ee4863c07",
6262
urls = [
63-
"https://github.com/googleapis/googleapis/archive/195c3bffb661b1fba8a289afcb1c6dc3ae4f4d5b.tar.gz",
63+
"https://github.com/googleapis/googleapis/archive/079e5305050859d0e3a8c0768611283ee4863c07.tar.gz",
6464
],
6565
)
6666

bazel/workspace0.bzl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,10 +126,10 @@ def gl_cpp_workspace0(name = None):
126126
http_archive,
127127
name = "com_google_googleapis",
128128
urls = [
129-
"https://github.com/googleapis/googleapis/archive/195c3bffb661b1fba8a289afcb1c6dc3ae4f4d5b.tar.gz",
129+
"https://github.com/googleapis/googleapis/archive/079e5305050859d0e3a8c0768611283ee4863c07.tar.gz",
130130
],
131-
sha256 = "5d011b9322d76c051221c0292687f753fb6cf8a87ab0804ab29ab5b4ea0dae57",
132-
strip_prefix = "googleapis-195c3bffb661b1fba8a289afcb1c6dc3ae4f4d5b",
131+
sha256 = "0546bdba7815f7fedbb0fc5100d4f38390ee679304660fe78cd388c4484d869d",
132+
strip_prefix = "googleapis-079e5305050859d0e3a8c0768611283ee4863c07",
133133
build_file = Label("//bazel:googleapis.BUILD"),
134134
# Scaffolding for patching googleapis after download. For example:
135135
# patches = ["googleapis.patch"]

cmake/GoogleapisConfig.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ set(GOOGLE_CLOUD_CPP_GOOGLEAPIS_SHA256
2727
mark_as_advanced(GOOGLE_CLOUD_CPP_GOOGLEAPIS_SHA256)
2828

2929
set(_GOOGLE_CLOUD_CPP_GOOGLEAPIS_COMMIT_SHA
30-
"195c3bffb661b1fba8a289afcb1c6dc3ae4f4d5b")
30+
"079e5305050859d0e3a8c0768611283ee4863c07")
3131
set(_GOOGLE_CLOUD_CPP_GOOGLEAPIS_SHA256
32-
"5d011b9322d76c051221c0292687f753fb6cf8a87ab0804ab29ab5b4ea0dae57")
32+
"0546bdba7815f7fedbb0fc5100d4f38390ee679304660fe78cd388c4484d869d")
3333

3434
set(DOXYGEN_ALIASES
3535
"googleapis_link{2}=\"[\\1](https://github.com/googleapis/googleapis/blob/${_GOOGLE_CLOUD_CPP_GOOGLEAPIS_COMMIT_SHA}/\\2)\""

external/googleapis/protolists/grafeas.list

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
@com_google_googleapis//grafeas/v1:package.proto
1414
@com_google_googleapis//grafeas/v1:provenance.proto
1515
@com_google_googleapis//grafeas/v1:sbom.proto
16+
@com_google_googleapis//grafeas/v1:secret.proto
1617
@com_google_googleapis//grafeas/v1:severity.proto
1718
@com_google_googleapis//grafeas/v1:slsa_provenance.proto
1819
@com_google_googleapis//grafeas/v1:slsa_provenance_zero_two.proto

google/cloud/containeranalysis/v1/grafeas_client.h

Lines changed: 52 additions & 52 deletions
Large diffs are not rendered by default.

google/cloud/storagecontrol/v2/internal/storage_control_auth_decorator.cc

Lines changed: 103 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,109 @@ StorageControlAuth::ListManagedFolders(
136136
return child_->ListManagedFolders(context, options, request);
137137
}
138138

139+
future<StatusOr<google::longrunning::Operation>>
140+
StorageControlAuth::AsyncCreateAnywhereCache(
141+
google::cloud::CompletionQueue& cq,
142+
std::shared_ptr<grpc::ClientContext> context,
143+
google::cloud::internal::ImmutableOptions options,
144+
google::storage::control::v2::CreateAnywhereCacheRequest const& request) {
145+
using ReturnType = StatusOr<google::longrunning::Operation>;
146+
return auth_->AsyncConfigureContext(std::move(context))
147+
.then([cq, child = child_, options = std::move(options),
148+
request](future<StatusOr<std::shared_ptr<grpc::ClientContext>>>
149+
f) mutable {
150+
auto context = f.get();
151+
if (!context) {
152+
return make_ready_future(ReturnType(std::move(context).status()));
153+
}
154+
return child->AsyncCreateAnywhereCache(cq, *std::move(context),
155+
std::move(options), request);
156+
});
157+
}
158+
159+
StatusOr<google::longrunning::Operation>
160+
StorageControlAuth::CreateAnywhereCache(
161+
grpc::ClientContext& context, Options options,
162+
google::storage::control::v2::CreateAnywhereCacheRequest const& request) {
163+
auto status = auth_->ConfigureContext(context);
164+
if (!status.ok()) return status;
165+
return child_->CreateAnywhereCache(context, options, request);
166+
}
167+
168+
future<StatusOr<google::longrunning::Operation>>
169+
StorageControlAuth::AsyncUpdateAnywhereCache(
170+
google::cloud::CompletionQueue& cq,
171+
std::shared_ptr<grpc::ClientContext> context,
172+
google::cloud::internal::ImmutableOptions options,
173+
google::storage::control::v2::UpdateAnywhereCacheRequest const& request) {
174+
using ReturnType = StatusOr<google::longrunning::Operation>;
175+
return auth_->AsyncConfigureContext(std::move(context))
176+
.then([cq, child = child_, options = std::move(options),
177+
request](future<StatusOr<std::shared_ptr<grpc::ClientContext>>>
178+
f) mutable {
179+
auto context = f.get();
180+
if (!context) {
181+
return make_ready_future(ReturnType(std::move(context).status()));
182+
}
183+
return child->AsyncUpdateAnywhereCache(cq, *std::move(context),
184+
std::move(options), request);
185+
});
186+
}
187+
188+
StatusOr<google::longrunning::Operation>
189+
StorageControlAuth::UpdateAnywhereCache(
190+
grpc::ClientContext& context, Options options,
191+
google::storage::control::v2::UpdateAnywhereCacheRequest const& request) {
192+
auto status = auth_->ConfigureContext(context);
193+
if (!status.ok()) return status;
194+
return child_->UpdateAnywhereCache(context, options, request);
195+
}
196+
197+
StatusOr<google::storage::control::v2::AnywhereCache>
198+
StorageControlAuth::DisableAnywhereCache(
199+
grpc::ClientContext& context, Options const& options,
200+
google::storage::control::v2::DisableAnywhereCacheRequest const& request) {
201+
auto status = auth_->ConfigureContext(context);
202+
if (!status.ok()) return status;
203+
return child_->DisableAnywhereCache(context, options, request);
204+
}
205+
206+
StatusOr<google::storage::control::v2::AnywhereCache>
207+
StorageControlAuth::PauseAnywhereCache(
208+
grpc::ClientContext& context, Options const& options,
209+
google::storage::control::v2::PauseAnywhereCacheRequest const& request) {
210+
auto status = auth_->ConfigureContext(context);
211+
if (!status.ok()) return status;
212+
return child_->PauseAnywhereCache(context, options, request);
213+
}
214+
215+
StatusOr<google::storage::control::v2::AnywhereCache>
216+
StorageControlAuth::ResumeAnywhereCache(
217+
grpc::ClientContext& context, Options const& options,
218+
google::storage::control::v2::ResumeAnywhereCacheRequest const& request) {
219+
auto status = auth_->ConfigureContext(context);
220+
if (!status.ok()) return status;
221+
return child_->ResumeAnywhereCache(context, options, request);
222+
}
223+
224+
StatusOr<google::storage::control::v2::AnywhereCache>
225+
StorageControlAuth::GetAnywhereCache(
226+
grpc::ClientContext& context, Options const& options,
227+
google::storage::control::v2::GetAnywhereCacheRequest const& request) {
228+
auto status = auth_->ConfigureContext(context);
229+
if (!status.ok()) return status;
230+
return child_->GetAnywhereCache(context, options, request);
231+
}
232+
233+
StatusOr<google::storage::control::v2::ListAnywhereCachesResponse>
234+
StorageControlAuth::ListAnywhereCaches(
235+
grpc::ClientContext& context, Options const& options,
236+
google::storage::control::v2::ListAnywhereCachesRequest const& request) {
237+
auto status = auth_->ConfigureContext(context);
238+
if (!status.ok()) return status;
239+
return child_->ListAnywhereCaches(context, options, request);
240+
}
241+
139242
future<StatusOr<google::longrunning::Operation>>
140243
StorageControlAuth::AsyncGetOperation(
141244
google::cloud::CompletionQueue& cq,

google/cloud/storagecontrol/v2/internal/storage_control_auth_decorator.h

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,56 @@ class StorageControlAuth : public StorageControlStub {
9494
google::storage::control::v2::ListManagedFoldersRequest const& request)
9595
override;
9696

97+
future<StatusOr<google::longrunning::Operation>> AsyncCreateAnywhereCache(
98+
google::cloud::CompletionQueue& cq,
99+
std::shared_ptr<grpc::ClientContext> context,
100+
google::cloud::internal::ImmutableOptions options,
101+
google::storage::control::v2::CreateAnywhereCacheRequest const& request)
102+
override;
103+
104+
StatusOr<google::longrunning::Operation> CreateAnywhereCache(
105+
grpc::ClientContext& context, Options options,
106+
google::storage::control::v2::CreateAnywhereCacheRequest const& request)
107+
override;
108+
109+
future<StatusOr<google::longrunning::Operation>> AsyncUpdateAnywhereCache(
110+
google::cloud::CompletionQueue& cq,
111+
std::shared_ptr<grpc::ClientContext> context,
112+
google::cloud::internal::ImmutableOptions options,
113+
google::storage::control::v2::UpdateAnywhereCacheRequest const& request)
114+
override;
115+
116+
StatusOr<google::longrunning::Operation> UpdateAnywhereCache(
117+
grpc::ClientContext& context, Options options,
118+
google::storage::control::v2::UpdateAnywhereCacheRequest const& request)
119+
override;
120+
121+
StatusOr<google::storage::control::v2::AnywhereCache> DisableAnywhereCache(
122+
grpc::ClientContext& context, Options const& options,
123+
google::storage::control::v2::DisableAnywhereCacheRequest const& request)
124+
override;
125+
126+
StatusOr<google::storage::control::v2::AnywhereCache> PauseAnywhereCache(
127+
grpc::ClientContext& context, Options const& options,
128+
google::storage::control::v2::PauseAnywhereCacheRequest const& request)
129+
override;
130+
131+
StatusOr<google::storage::control::v2::AnywhereCache> ResumeAnywhereCache(
132+
grpc::ClientContext& context, Options const& options,
133+
google::storage::control::v2::ResumeAnywhereCacheRequest const& request)
134+
override;
135+
136+
StatusOr<google::storage::control::v2::AnywhereCache> GetAnywhereCache(
137+
grpc::ClientContext& context, Options const& options,
138+
google::storage::control::v2::GetAnywhereCacheRequest const& request)
139+
override;
140+
141+
StatusOr<google::storage::control::v2::ListAnywhereCachesResponse>
142+
ListAnywhereCaches(
143+
grpc::ClientContext& context, Options const& options,
144+
google::storage::control::v2::ListAnywhereCachesRequest const& request)
145+
override;
146+
97147
future<StatusOr<google::longrunning::Operation>> AsyncGetOperation(
98148
google::cloud::CompletionQueue& cq,
99149
std::shared_ptr<grpc::ClientContext> context,

0 commit comments

Comments
 (0)