Skip to content

Commit 4c68e46

Browse files
authored
chore: update googleapis SHA circa 2025-03-24 (#15047)
* chore: update googleapis SHA circa 2025-03-24 PiperOrigin-RevId: 739314382
1 parent b25d354 commit 4c68e46

29 files changed

+1479
-156
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-MZPa3PizBRb1hnXh4y5EBJCnMOi00SFoYT3/LeXfv4M=",
58+
integrity = "sha256-KnunCHPK1T8u8SUxAAU122G6qmfxADIfA4ZU+fNWXjY=",
5959
patch_strip = 1,
6060
patches = ["//bazel:googleapis.modules.patch"],
61-
strip_prefix = "googleapis-732dbc81f7dff6e93c5acb45887561a1dc3018d0",
61+
strip_prefix = "googleapis-53ca65d540dd1a7cb4746687daa87208dc9ea437",
6262
urls = [
63-
"https://github.com/googleapis/googleapis/archive/732dbc81f7dff6e93c5acb45887561a1dc3018d0.tar.gz",
63+
"https://github.com/googleapis/googleapis/archive/53ca65d540dd1a7cb4746687daa87208dc9ea437.tar.gz",
6464
],
6565
)
6666

bazel/googleapis.modules.patch

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,33 @@
11
diff --git a/BUILD.bazel b/BUILD.bazel
2-
index 95e4c12e5..a901fd573 100644
2+
index 026553f5c7..f3c6b6925c 100644
33
--- a/BUILD.bazel
44
+++ b/BUILD.bazel
5-
@@ -1,3 +1,7 @@
5+
@@ -1,11 +1,13 @@
66
+package(default_visibility = ["//visibility:public"])
77
+
88
+licenses(["notice"]) # Apache 2.0
99
+
1010
genrule(
11-
name = "build_gen",
12-
outs = ["build_gen.sh"],
13-
@@ -16,3 +20,15 @@ EOD
11+
- name = "build_gen",
12+
- srcs = glob(
13+
- ["run_build_gen.sh"],
14+
- allow_empty = True,
15+
- ),
16+
- outs = ["build_gen.sh"],
17+
- cmd = """
18+
+ name = "build_gen",
19+
+ outs = ["build_gen.sh"],
20+
+ executable = True,
21+
+ srcs = glob(["run_build_gen.sh"], allow_empty=True),
22+
+ cmd = """
23+
if test -z \"$(SRCS)\"; then
24+
cat <<EOD > $@
25+
#!/bin/sh
26+
@@ -17,5 +19,17 @@ EOD
27+
cp $(SRCS) $@
1428
fi
1529
""",
30+
- executable = True,
1631
)
1732
+
1833
+# This build file overlays on top of the BUILD files for the googleapis repo,
@@ -26,6 +41,7 @@ index 95e4c12e5..a901fd573 100644
2641
+ ".",
2742
+ ],
2843
+)
44+
+
2945
diff --git a/MODULE.bazel b/MODULE.bazel
3046
new file mode 100644
3147
index 000000000..169133e43

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/732dbc81f7dff6e93c5acb45887561a1dc3018d0.tar.gz",
129+
"https://github.com/googleapis/googleapis/archive/53ca65d540dd1a7cb4746687daa87208dc9ea437.tar.gz",
130130
],
131-
sha256 = "3193dadcf8b30516f58675e1e32e440490a730e8b4d12168613dff2de5dfbf83",
132-
strip_prefix = "googleapis-732dbc81f7dff6e93c5acb45887561a1dc3018d0",
131+
sha256 = "2a7ba70873cad53f2ef12531000535db61baaa67f100321f038654f9f3565e36",
132+
strip_prefix = "googleapis-53ca65d540dd1a7cb4746687daa87208dc9ea437",
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-
"732dbc81f7dff6e93c5acb45887561a1dc3018d0")
30+
"53ca65d540dd1a7cb4746687daa87208dc9ea437")
3131
set(_GOOGLE_CLOUD_CPP_GOOGLEAPIS_SHA256
32-
"3193dadcf8b30516f58675e1e32e440490a730e8b4d12168613dff2de5dfbf83")
32+
"2a7ba70873cad53f2ef12531000535db61baaa67f100321f038654f9f3565e36")
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/protodeps/networkconnectivity.deps

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@
66
@com_google_googleapis//google/api:launch_stage_proto
77
@com_google_googleapis//google/api:resource_proto
88
@com_google_googleapis//google/longrunning:operations_proto
9+
@com_google_googleapis//google/rpc:error_details_proto
910
@com_google_googleapis//google/rpc:status_proto
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
@com_google_googleapis//google/cloud/networkconnectivity/v1:common.proto
2+
@com_google_googleapis//google/cloud/networkconnectivity/v1:cross_network_automation.proto
23
@com_google_googleapis//google/cloud/networkconnectivity/v1:hub.proto
34
@com_google_googleapis//google/cloud/networkconnectivity/v1:policy_based_routing.proto

google/cloud/networkconnectivity/v1/hub_client.cc

Lines changed: 104 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -440,6 +440,110 @@ HubServiceClient::AcceptHubSpoke(
440440
return connection_->AcceptHubSpoke(operation);
441441
}
442442

443+
future<
444+
StatusOr<google::cloud::networkconnectivity::v1::AcceptSpokeUpdateResponse>>
445+
HubServiceClient::AcceptSpokeUpdate(std::string const& name,
446+
std::string const& spoke_uri,
447+
std::string const& spoke_etag,
448+
Options opts) {
449+
internal::OptionsSpan span(internal::MergeOptions(std::move(opts), options_));
450+
google::cloud::networkconnectivity::v1::AcceptSpokeUpdateRequest request;
451+
request.set_name(name);
452+
request.set_spoke_uri(spoke_uri);
453+
request.set_spoke_etag(spoke_etag);
454+
return connection_->AcceptSpokeUpdate(request);
455+
}
456+
457+
StatusOr<google::longrunning::Operation> HubServiceClient::AcceptSpokeUpdate(
458+
NoAwaitTag, std::string const& name, std::string const& spoke_uri,
459+
std::string const& spoke_etag, Options opts) {
460+
internal::OptionsSpan span(internal::MergeOptions(std::move(opts), options_));
461+
google::cloud::networkconnectivity::v1::AcceptSpokeUpdateRequest request;
462+
request.set_name(name);
463+
request.set_spoke_uri(spoke_uri);
464+
request.set_spoke_etag(spoke_etag);
465+
return connection_->AcceptSpokeUpdate(NoAwaitTag{}, request);
466+
}
467+
468+
future<
469+
StatusOr<google::cloud::networkconnectivity::v1::AcceptSpokeUpdateResponse>>
470+
HubServiceClient::AcceptSpokeUpdate(
471+
google::cloud::networkconnectivity::v1::AcceptSpokeUpdateRequest const&
472+
request,
473+
Options opts) {
474+
internal::OptionsSpan span(internal::MergeOptions(std::move(opts), options_));
475+
return connection_->AcceptSpokeUpdate(request);
476+
}
477+
478+
StatusOr<google::longrunning::Operation> HubServiceClient::AcceptSpokeUpdate(
479+
NoAwaitTag,
480+
google::cloud::networkconnectivity::v1::AcceptSpokeUpdateRequest const&
481+
request,
482+
Options opts) {
483+
internal::OptionsSpan span(internal::MergeOptions(std::move(opts), options_));
484+
return connection_->AcceptSpokeUpdate(NoAwaitTag{}, request);
485+
}
486+
487+
future<
488+
StatusOr<google::cloud::networkconnectivity::v1::AcceptSpokeUpdateResponse>>
489+
HubServiceClient::AcceptSpokeUpdate(
490+
google::longrunning::Operation const& operation, Options opts) {
491+
internal::OptionsSpan span(internal::MergeOptions(std::move(opts), options_));
492+
return connection_->AcceptSpokeUpdate(operation);
493+
}
494+
495+
future<
496+
StatusOr<google::cloud::networkconnectivity::v1::RejectSpokeUpdateResponse>>
497+
HubServiceClient::RejectSpokeUpdate(std::string const& name,
498+
std::string const& spoke_uri,
499+
std::string const& spoke_etag,
500+
Options opts) {
501+
internal::OptionsSpan span(internal::MergeOptions(std::move(opts), options_));
502+
google::cloud::networkconnectivity::v1::RejectSpokeUpdateRequest request;
503+
request.set_name(name);
504+
request.set_spoke_uri(spoke_uri);
505+
request.set_spoke_etag(spoke_etag);
506+
return connection_->RejectSpokeUpdate(request);
507+
}
508+
509+
StatusOr<google::longrunning::Operation> HubServiceClient::RejectSpokeUpdate(
510+
NoAwaitTag, std::string const& name, std::string const& spoke_uri,
511+
std::string const& spoke_etag, Options opts) {
512+
internal::OptionsSpan span(internal::MergeOptions(std::move(opts), options_));
513+
google::cloud::networkconnectivity::v1::RejectSpokeUpdateRequest request;
514+
request.set_name(name);
515+
request.set_spoke_uri(spoke_uri);
516+
request.set_spoke_etag(spoke_etag);
517+
return connection_->RejectSpokeUpdate(NoAwaitTag{}, request);
518+
}
519+
520+
future<
521+
StatusOr<google::cloud::networkconnectivity::v1::RejectSpokeUpdateResponse>>
522+
HubServiceClient::RejectSpokeUpdate(
523+
google::cloud::networkconnectivity::v1::RejectSpokeUpdateRequest const&
524+
request,
525+
Options opts) {
526+
internal::OptionsSpan span(internal::MergeOptions(std::move(opts), options_));
527+
return connection_->RejectSpokeUpdate(request);
528+
}
529+
530+
StatusOr<google::longrunning::Operation> HubServiceClient::RejectSpokeUpdate(
531+
NoAwaitTag,
532+
google::cloud::networkconnectivity::v1::RejectSpokeUpdateRequest const&
533+
request,
534+
Options opts) {
535+
internal::OptionsSpan span(internal::MergeOptions(std::move(opts), options_));
536+
return connection_->RejectSpokeUpdate(NoAwaitTag{}, request);
537+
}
538+
539+
future<
540+
StatusOr<google::cloud::networkconnectivity::v1::RejectSpokeUpdateResponse>>
541+
HubServiceClient::RejectSpokeUpdate(
542+
google::longrunning::Operation const& operation, Options opts) {
543+
internal::OptionsSpan span(internal::MergeOptions(std::move(opts), options_));
544+
return connection_->RejectSpokeUpdate(operation);
545+
}
546+
443547
future<StatusOr<google::cloud::networkconnectivity::v1::OperationMetadata>>
444548
HubServiceClient::DeleteSpoke(std::string const& name, Options opts) {
445549
internal::OptionsSpan span(internal::MergeOptions(std::move(opts), options_));

0 commit comments

Comments
 (0)