Skip to content

Commit 18c06b5

Browse files
authored
chore: update googleapis sha circa 2025 12 12 (#15827)
* chore: update googleapis SHA circa 2025-12-12 PiperOrigin-RevId: 843338117 * Update the protodeps/protolists * Regenerate libraries
1 parent c08a8b3 commit 18c06b5

35 files changed

+1418
-513
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-FmS38nQIBSC65yV3DK1nVENNQ8dXKhlFJRLrqQJz8p0=",
58+
integrity = "sha256-p8PXzb1U5D3cfETzVxpx4ATLpRnCBdoui5N0gNYIroY=",
5959
patch_strip = 1,
6060
patches = ["//bazel:googleapis.modules.patch"],
61-
strip_prefix = "googleapis-8cd3749f4b98f2eeeef511c16431979aeb3a6502",
61+
strip_prefix = "googleapis-05f65958eb7f2a8bc59db87ad40487f0fb093097",
6262
urls = [
63-
"https://github.com/googleapis/googleapis/archive/8cd3749f4b98f2eeeef511c16431979aeb3a6502.tar.gz",
63+
"https://github.com/googleapis/googleapis/archive/05f65958eb7f2a8bc59db87ad40487f0fb093097.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/8cd3749f4b98f2eeeef511c16431979aeb3a6502.tar.gz",
129+
"https://github.com/googleapis/googleapis/archive/05f65958eb7f2a8bc59db87ad40487f0fb093097.tar.gz",
130130
],
131-
sha256 = "1664b7f274080520bae725770cad6754434d43c7572a19452512eba90273f29d",
132-
strip_prefix = "googleapis-8cd3749f4b98f2eeeef511c16431979aeb3a6502",
131+
sha256 = "a7c3d7cdbd54e43ddc7c44f3571a71e004cba519c205da2e8b937480d608ae86",
132+
strip_prefix = "googleapis-05f65958eb7f2a8bc59db87ad40487f0fb093097",
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-
"8cd3749f4b98f2eeeef511c16431979aeb3a6502")
30+
"05f65958eb7f2a8bc59db87ad40487f0fb093097")
3131
set(_GOOGLE_CLOUD_CPP_GOOGLEAPIS_SHA256
32-
"1664b7f274080520bae725770cad6754434d43c7572a19452512eba90273f29d")
32+
"a7c3d7cdbd54e43ddc7c44f3571a71e004cba519c205da2e8b937480d608ae86")
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/artifactregistry.list

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
@com_google_googleapis//google/devtools/artifactregistry/v1:apt_artifact.proto
22
@com_google_googleapis//google/devtools/artifactregistry/v1:artifact.proto
33
@com_google_googleapis//google/devtools/artifactregistry/v1:attachment.proto
4+
@com_google_googleapis//google/devtools/artifactregistry/v1:export.proto
45
@com_google_googleapis//google/devtools/artifactregistry/v1:file.proto
56
@com_google_googleapis//google/devtools/artifactregistry/v1:generic.proto
67
@com_google_googleapis//google/devtools/artifactregistry/v1:go.proto

google/cloud/artifactregistry/v1/artifact_registry_client.cc

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1093,6 +1093,31 @@ ArtifactRegistryClient::DeleteAttachment(
10931093
return connection_->DeleteAttachment(operation);
10941094
}
10951095

1096+
future<StatusOr<google::devtools::artifactregistry::v1::ExportArtifactResponse>>
1097+
ArtifactRegistryClient::ExportArtifact(
1098+
google::devtools::artifactregistry::v1::ExportArtifactRequest const&
1099+
request,
1100+
Options opts) {
1101+
internal::OptionsSpan span(internal::MergeOptions(std::move(opts), options_));
1102+
return connection_->ExportArtifact(request);
1103+
}
1104+
1105+
StatusOr<google::longrunning::Operation> ArtifactRegistryClient::ExportArtifact(
1106+
NoAwaitTag,
1107+
google::devtools::artifactregistry::v1::ExportArtifactRequest const&
1108+
request,
1109+
Options opts) {
1110+
internal::OptionsSpan span(internal::MergeOptions(std::move(opts), options_));
1111+
return connection_->ExportArtifact(NoAwaitTag{}, request);
1112+
}
1113+
1114+
future<StatusOr<google::devtools::artifactregistry::v1::ExportArtifactResponse>>
1115+
ArtifactRegistryClient::ExportArtifact(
1116+
google::longrunning::Operation const& operation, Options opts) {
1117+
internal::OptionsSpan span(internal::MergeOptions(std::move(opts), options_));
1118+
return connection_->ExportArtifact(operation);
1119+
}
1120+
10961121
StreamRange<google::cloud::location::Location>
10971122
ArtifactRegistryClient::ListLocations(
10981123
google::cloud::location::ListLocationsRequest request, Options opts) {

google/cloud/artifactregistry/v1/artifact_registry_client.h

Lines changed: 82 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1133,7 +1133,7 @@ class ArtifactRegistryClient {
11331133
/// [`StatusOr`]: @ref google::cloud::StatusOr
11341134
/// [`Status`]: @ref google::cloud::Status
11351135
/// [google.devtools.artifactregistry.v1.DeleteRepositoryRequest]: @googleapis_reference_link{google/devtools/artifactregistry/v1/repository.proto#L757}
1136-
/// [google.devtools.artifactregistry.v1.OperationMetadata]: @googleapis_reference_link{google/devtools/artifactregistry/v1/service.proto#L547}
1136+
/// [google.devtools.artifactregistry.v1.OperationMetadata]: @googleapis_reference_link{google/devtools/artifactregistry/v1/service.proto#L561}
11371137
///
11381138
// clang-format on
11391139
future<StatusOr<google::devtools::artifactregistry::v1::OperationMetadata>>
@@ -1186,7 +1186,7 @@ class ArtifactRegistryClient {
11861186
/// [`StatusOr`]: @ref google::cloud::StatusOr
11871187
/// [`Status`]: @ref google::cloud::Status
11881188
/// [google.devtools.artifactregistry.v1.DeleteRepositoryRequest]: @googleapis_reference_link{google/devtools/artifactregistry/v1/repository.proto#L757}
1189-
/// [google.devtools.artifactregistry.v1.OperationMetadata]: @googleapis_reference_link{google/devtools/artifactregistry/v1/service.proto#L547}
1189+
/// [google.devtools.artifactregistry.v1.OperationMetadata]: @googleapis_reference_link{google/devtools/artifactregistry/v1/service.proto#L561}
11901190
///
11911191
// clang-format on
11921192
future<StatusOr<google::devtools::artifactregistry::v1::OperationMetadata>>
@@ -1382,7 +1382,7 @@ class ArtifactRegistryClient {
13821382
/// [`StatusOr`]: @ref google::cloud::StatusOr
13831383
/// [`Status`]: @ref google::cloud::Status
13841384
/// [google.devtools.artifactregistry.v1.DeletePackageRequest]: @googleapis_reference_link{google/devtools/artifactregistry/v1/package.proto#L147}
1385-
/// [google.devtools.artifactregistry.v1.OperationMetadata]: @googleapis_reference_link{google/devtools/artifactregistry/v1/service.proto#L547}
1385+
/// [google.devtools.artifactregistry.v1.OperationMetadata]: @googleapis_reference_link{google/devtools/artifactregistry/v1/service.proto#L561}
13861386
///
13871387
// clang-format on
13881388
future<StatusOr<google::devtools::artifactregistry::v1::OperationMetadata>>
@@ -1434,7 +1434,7 @@ class ArtifactRegistryClient {
14341434
/// [`StatusOr`]: @ref google::cloud::StatusOr
14351435
/// [`Status`]: @ref google::cloud::Status
14361436
/// [google.devtools.artifactregistry.v1.DeletePackageRequest]: @googleapis_reference_link{google/devtools/artifactregistry/v1/package.proto#L147}
1437-
/// [google.devtools.artifactregistry.v1.OperationMetadata]: @googleapis_reference_link{google/devtools/artifactregistry/v1/service.proto#L547}
1437+
/// [google.devtools.artifactregistry.v1.OperationMetadata]: @googleapis_reference_link{google/devtools/artifactregistry/v1/service.proto#L561}
14381438
///
14391439
// clang-format on
14401440
future<StatusOr<google::devtools::artifactregistry::v1::OperationMetadata>>
@@ -1630,7 +1630,7 @@ class ArtifactRegistryClient {
16301630
/// [`StatusOr`]: @ref google::cloud::StatusOr
16311631
/// [`Status`]: @ref google::cloud::Status
16321632
/// [google.devtools.artifactregistry.v1.DeleteVersionRequest]: @googleapis_reference_link{google/devtools/artifactregistry/v1/version.proto#L173}
1633-
/// [google.devtools.artifactregistry.v1.OperationMetadata]: @googleapis_reference_link{google/devtools/artifactregistry/v1/service.proto#L547}
1633+
/// [google.devtools.artifactregistry.v1.OperationMetadata]: @googleapis_reference_link{google/devtools/artifactregistry/v1/service.proto#L561}
16341634
///
16351635
// clang-format on
16361636
future<StatusOr<google::devtools::artifactregistry::v1::OperationMetadata>>
@@ -1682,7 +1682,7 @@ class ArtifactRegistryClient {
16821682
/// [`StatusOr`]: @ref google::cloud::StatusOr
16831683
/// [`Status`]: @ref google::cloud::Status
16841684
/// [google.devtools.artifactregistry.v1.DeleteVersionRequest]: @googleapis_reference_link{google/devtools/artifactregistry/v1/version.proto#L173}
1685-
/// [google.devtools.artifactregistry.v1.OperationMetadata]: @googleapis_reference_link{google/devtools/artifactregistry/v1/service.proto#L547}
1685+
/// [google.devtools.artifactregistry.v1.OperationMetadata]: @googleapis_reference_link{google/devtools/artifactregistry/v1/service.proto#L561}
16861686
///
16871687
// clang-format on
16881688
future<StatusOr<google::devtools::artifactregistry::v1::OperationMetadata>>
@@ -2067,7 +2067,7 @@ class ArtifactRegistryClient {
20672067
/// [`StatusOr`]: @ref google::cloud::StatusOr
20682068
/// [`Status`]: @ref google::cloud::Status
20692069
/// [google.devtools.artifactregistry.v1.DeleteFileRequest]: @googleapis_reference_link{google/devtools/artifactregistry/v1/file.proto#L186}
2070-
/// [google.devtools.artifactregistry.v1.OperationMetadata]: @googleapis_reference_link{google/devtools/artifactregistry/v1/service.proto#L547}
2070+
/// [google.devtools.artifactregistry.v1.OperationMetadata]: @googleapis_reference_link{google/devtools/artifactregistry/v1/service.proto#L561}
20712071
///
20722072
// clang-format on
20732073
future<StatusOr<google::devtools::artifactregistry::v1::OperationMetadata>>
@@ -2121,7 +2121,7 @@ class ArtifactRegistryClient {
21212121
/// [`StatusOr`]: @ref google::cloud::StatusOr
21222122
/// [`Status`]: @ref google::cloud::Status
21232123
/// [google.devtools.artifactregistry.v1.DeleteFileRequest]: @googleapis_reference_link{google/devtools/artifactregistry/v1/file.proto#L186}
2124-
/// [google.devtools.artifactregistry.v1.OperationMetadata]: @googleapis_reference_link{google/devtools/artifactregistry/v1/service.proto#L547}
2124+
/// [google.devtools.artifactregistry.v1.OperationMetadata]: @googleapis_reference_link{google/devtools/artifactregistry/v1/service.proto#L561}
21252125
///
21262126
// clang-format on
21272127
future<StatusOr<google::devtools::artifactregistry::v1::OperationMetadata>>
@@ -3495,7 +3495,7 @@ class ArtifactRegistryClient {
34953495
/// [`StatusOr`]: @ref google::cloud::StatusOr
34963496
/// [`Status`]: @ref google::cloud::Status
34973497
/// [google.devtools.artifactregistry.v1.DeleteAttachmentRequest]: @googleapis_reference_link{google/devtools/artifactregistry/v1/attachment.proto#L152}
3498-
/// [google.devtools.artifactregistry.v1.OperationMetadata]: @googleapis_reference_link{google/devtools/artifactregistry/v1/service.proto#L547}
3498+
/// [google.devtools.artifactregistry.v1.OperationMetadata]: @googleapis_reference_link{google/devtools/artifactregistry/v1/service.proto#L561}
34993499
///
35003500
// clang-format on
35013501
future<StatusOr<google::devtools::artifactregistry::v1::OperationMetadata>>
@@ -3548,7 +3548,7 @@ class ArtifactRegistryClient {
35483548
/// [`StatusOr`]: @ref google::cloud::StatusOr
35493549
/// [`Status`]: @ref google::cloud::Status
35503550
/// [google.devtools.artifactregistry.v1.DeleteAttachmentRequest]: @googleapis_reference_link{google/devtools/artifactregistry/v1/attachment.proto#L152}
3551-
/// [google.devtools.artifactregistry.v1.OperationMetadata]: @googleapis_reference_link{google/devtools/artifactregistry/v1/service.proto#L547}
3551+
/// [google.devtools.artifactregistry.v1.OperationMetadata]: @googleapis_reference_link{google/devtools/artifactregistry/v1/service.proto#L561}
35523552
///
35533553
// clang-format on
35543554
future<StatusOr<google::devtools::artifactregistry::v1::OperationMetadata>>
@@ -3587,6 +3587,78 @@ class ArtifactRegistryClient {
35873587
DeleteAttachment(google::longrunning::Operation const& operation,
35883588
Options opts = {});
35893589

3590+
// clang-format off
3591+
///
3592+
/// Exports an artifact.
3593+
///
3594+
/// @param request Unary RPCs, such as the one wrapped by this
3595+
/// function, receive a single `request` proto message which includes all
3596+
/// the inputs for the RPC. In this case, the proto message is a
3597+
/// [google.devtools.artifactregistry.v1.ExportArtifactRequest].
3598+
/// Proto messages are converted to C++ classes by Protobuf, using the
3599+
/// [Protobuf mapping rules].
3600+
/// @param opts Optional. Override the class-level options, such as retry and
3601+
/// backoff policies.
3602+
/// @return A [`future`] that becomes satisfied when the LRO
3603+
/// ([Long Running Operation]) completes or the polling policy in effect
3604+
/// for this call is exhausted. The future is satisfied with an error if
3605+
/// the LRO completes with an error or the polling policy is exhausted.
3606+
/// In this case the [`StatusOr`] returned by the future contains the
3607+
/// error. If the LRO completes successfully the value of the future
3608+
/// contains the LRO's result. For this RPC the result is a
3609+
/// [google.devtools.artifactregistry.v1.ExportArtifactResponse] proto message.
3610+
/// The C++ class representing this message is created by Protobuf, using
3611+
/// the [Protobuf mapping rules].
3612+
///
3613+
/// [Protobuf mapping rules]: https://protobuf.dev/reference/cpp/cpp-generated/
3614+
/// [input iterator requirements]: https://en.cppreference.com/w/cpp/named_req/InputIterator
3615+
/// [Long Running Operation]: https://google.aip.dev/151
3616+
/// [`std::string`]: https://en.cppreference.com/w/cpp/string/basic_string
3617+
/// [`future`]: @ref google::cloud::future
3618+
/// [`StatusOr`]: @ref google::cloud::StatusOr
3619+
/// [`Status`]: @ref google::cloud::Status
3620+
/// [google.devtools.artifactregistry.v1.ExportArtifactRequest]: @googleapis_reference_link{google/devtools/artifactregistry/v1/export.proto#L33}
3621+
/// [google.devtools.artifactregistry.v1.ExportArtifactResponse]: @googleapis_reference_link{google/devtools/artifactregistry/v1/export.proto#L70}
3622+
///
3623+
// clang-format on
3624+
future<
3625+
StatusOr<google::devtools::artifactregistry::v1::ExportArtifactResponse>>
3626+
ExportArtifact(
3627+
google::devtools::artifactregistry::v1::ExportArtifactRequest const&
3628+
request,
3629+
Options opts = {});
3630+
3631+
// clang-format off
3632+
///
3633+
/// @copybrief ExportArtifact
3634+
///
3635+
/// Specifying the [`NoAwaitTag`] immediately returns the
3636+
/// [`google::longrunning::Operation`] that corresponds to the Long Running
3637+
/// Operation that has been started. No polling for operation status occurs.
3638+
///
3639+
/// [`NoAwaitTag`]: @ref google::cloud::NoAwaitTag
3640+
///
3641+
// clang-format on
3642+
StatusOr<google::longrunning::Operation> ExportArtifact(
3643+
NoAwaitTag,
3644+
google::devtools::artifactregistry::v1::ExportArtifactRequest const&
3645+
request,
3646+
Options opts = {});
3647+
3648+
// clang-format off
3649+
///
3650+
/// @copybrief ExportArtifact
3651+
///
3652+
/// This method accepts a `google::longrunning::Operation` that corresponds
3653+
/// to a previously started Long Running Operation (LRO) and polls the status
3654+
/// of the LRO in the background.
3655+
///
3656+
// clang-format on
3657+
future<
3658+
StatusOr<google::devtools::artifactregistry::v1::ExportArtifactResponse>>
3659+
ExportArtifact(google::longrunning::Operation const& operation,
3660+
Options opts = {});
3661+
35903662
// clang-format off
35913663
///
35923664
/// Lists information about the supported locations for this service.

google/cloud/artifactregistry/v1/artifact_registry_connection.cc

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -535,6 +535,30 @@ ArtifactRegistryConnection::DeleteAttachment(
535535
Status(StatusCode::kUnimplemented, "not implemented"));
536536
}
537537

538+
future<StatusOr<google::devtools::artifactregistry::v1::ExportArtifactResponse>>
539+
ArtifactRegistryConnection::ExportArtifact(
540+
google::devtools::artifactregistry::v1::ExportArtifactRequest const&) {
541+
return google::cloud::make_ready_future<
542+
StatusOr<google::devtools::artifactregistry::v1::ExportArtifactResponse>>(
543+
Status(StatusCode::kUnimplemented, "not implemented"));
544+
}
545+
546+
StatusOr<google::longrunning::Operation>
547+
ArtifactRegistryConnection::ExportArtifact(
548+
NoAwaitTag,
549+
google::devtools::artifactregistry::v1::ExportArtifactRequest const&) {
550+
return StatusOr<google::longrunning::Operation>(
551+
Status(StatusCode::kUnimplemented, "not implemented"));
552+
}
553+
554+
future<StatusOr<google::devtools::artifactregistry::v1::ExportArtifactResponse>>
555+
ArtifactRegistryConnection::ExportArtifact(
556+
google::longrunning::Operation const&) {
557+
return google::cloud::make_ready_future<
558+
StatusOr<google::devtools::artifactregistry::v1::ExportArtifactResponse>>(
559+
Status(StatusCode::kUnimplemented, "not implemented"));
560+
}
561+
538562
StreamRange<google::cloud::location::Location>
539563
ArtifactRegistryConnection::ListLocations(
540564
google::cloud::location::

google/cloud/artifactregistry/v1/artifact_registry_connection.h

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -483,6 +483,21 @@ class ArtifactRegistryConnection {
483483
StatusOr<google::devtools::artifactregistry::v1::OperationMetadata>>
484484
DeleteAttachment(google::longrunning::Operation const& operation);
485485

486+
virtual future<
487+
StatusOr<google::devtools::artifactregistry::v1::ExportArtifactResponse>>
488+
ExportArtifact(
489+
google::devtools::artifactregistry::v1::ExportArtifactRequest const&
490+
request);
491+
492+
virtual StatusOr<google::longrunning::Operation> ExportArtifact(
493+
NoAwaitTag,
494+
google::devtools::artifactregistry::v1::ExportArtifactRequest const&
495+
request);
496+
497+
virtual future<
498+
StatusOr<google::devtools::artifactregistry::v1::ExportArtifactResponse>>
499+
ExportArtifact(google::longrunning::Operation const& operation);
500+
486501
virtual StreamRange<google::cloud::location::Location> ListLocations(
487502
google::cloud::location::ListLocationsRequest request);
488503

google/cloud/artifactregistry/v1/artifact_registry_connection_idempotency_policy.cc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,11 @@ Idempotency ArtifactRegistryConnectionIdempotencyPolicy::DeleteAttachment(
285285
return Idempotency::kNonIdempotent;
286286
}
287287

288+
Idempotency ArtifactRegistryConnectionIdempotencyPolicy::ExportArtifact(
289+
google::devtools::artifactregistry::v1::ExportArtifactRequest const&) {
290+
return Idempotency::kNonIdempotent;
291+
}
292+
288293
Idempotency ArtifactRegistryConnectionIdempotencyPolicy::ListLocations(
289294
google::cloud::location::ListLocationsRequest) { // NOLINT
290295
return Idempotency::kIdempotent;

google/cloud/artifactregistry/v1/artifact_registry_connection_idempotency_policy.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,10 @@ class ArtifactRegistryConnectionIdempotencyPolicy {
210210
google::devtools::artifactregistry::v1::DeleteAttachmentRequest const&
211211
request);
212212

213+
virtual google::cloud::Idempotency ExportArtifact(
214+
google::devtools::artifactregistry::v1::ExportArtifactRequest const&
215+
request);
216+
213217
virtual google::cloud::Idempotency ListLocations(
214218
google::cloud::location::ListLocationsRequest request);
215219

0 commit comments

Comments
 (0)