Skip to content

Commit 3940560

Browse files
ddelgrosso1scotthartpanerorenn9541cuiy0006renovate-bot
committed
chore: merge from public circa 2025-02-07 (#98)
* ci: disable deprecated warnings for windows GHA builds (#14875) * feat(spanner): add samples for MR CMEK (#14674) * docs(release): update changelog for the 2024-12 release (#14876) * docs(release): update changelog for the 2024-12 release * add lastest changes to release * add latest changelog * chore: update version to v2.33.0-rc (#14877) * chore(deps): update dependency rules_python to v1 (#14880) * chore(deps): update dependency google_cloud_cpp to v2.32.0 (#14879) * ci: fix spanner samples integration tests (#14883) * ci: fix spanner samples (#14885) * chore(deps): update dependency build_bazel_rules_apple to v3.16.0 (#14881) * chore(deps): update dependency curl to v8.8.0.bcr.2 (#14882) * ci: specify bazel version for quickstarts used in the quickstart-bazel build (#14892) * docs(storage): Update build instructions for gcs+grpc (#14833) * docs(storage): Update build instructions for gcs+grpc * and end mark * spacing + feedback on prometheus * checkers * cleanup(cmake): REGAPIC helper (#14894) * impl(bigquerycontrol): promote from experimental to transitional (#14887) * bazel: update gapic.bzl to work with REST transport (#14895) * fix(gkeconnect): service only supports REST endpoint (#14897) * impl(gkeconnect): only needs proto target (#14898) * ci: add 3PI(workforce) to SA impersonation integration tests for universe domain (#14878) * ci: add 3PI(workforce) to SA impersonation integration tests for universe domain * format * disable SC2046 * chore(deps): update dependency build_bazel_rules_apple to v3.16.1 (#14899) * impl(otel): include algorithm header (#14900) * chore(deps): update protobuf to v29.2 (#14903) * chore: update googleapis SHA circa 2024-12-13 (#14905) * chore: update googleapis SHA circa 2024-12-13 PiperOrigin-RevId: 706010293 * docs(release): update changelog for the second 2024-12 release (#14906) * chore: version bump to 2.34.0-rc (#14907) * chore(deps): update dependency zlib to v1.3.1.bcr.4 (#14909) * ci: fix renovate script (#14911) * docs: remove references to ADC environment variable (#14914) * ci: fix bazel/deps-cache.py (#14912) * chore(compute): regenerate protos in 2025 (#14916) * chore(deps): update dependency google_cloud_cpp to v2.33.0 (#14908) * chore(deps): update grpc to v1.69.0 (#14888) * chore(deps): update dependency mozilla/sccache to v0.9.1 (#14889) * impl(bigquery): Json parsing changes for custom BigQuery library (#14918) * chore(deps): update protobuf to v29.3 (#14919) * chore(deps): update dependency rules_proto to v7.1.0 (#14904) * chore(deps): update rules_cc to v0.0.17 (#14921) * impl(rest): support LRO operation types without name method (#14924) * chore(deps): update dependency com_github_zeux_pugixml to v1.15 (#14928) * chore: update googleapis SHA circa 2025-01-10 (#14926) PiperOrigin-RevId: 714068635 * chore(deps): update dependency platforms to v0.0.11 (#14927) * chore: update auth links (#14931) * chore: update auth links * manual changes * chore(compute): update discovery doc circa 20241231 (#14933) * feat(otel): copy service labels into GCM Metric (#14930) * chore(deps): update dependency google_benchmark to v1.9.0 (#14935) * chore(deps): update dependency pugixml to v1.15 (#14934) * feat(storage): add MoveObject functionality to JSON and gRPC (#14936) * feat(storage): add MoveObject functionality to JSON and gRPC * add moveobject integration test and update testbench version * checkers * add patchbucket call to integration test * use folder enabled bucket * create folder bucket in emulator * make non-pure virtual to fix abi issue * impl(bigquery): Fixed jobs and tables response for empty use case (#14938) * fix(otel): Exporter creating Monitored Resource with task_id for Cloud Run (#14923) When inside a Cloud Run environment, the `MonitoredResource` in a `CreateTimeSeriesRequest` to the Cloud Monitoring API does not include the necessary fields for the `generic_task` resource type, and is rejected. Should follow the well-tested Golang implementation where the `faas.instance` OTel Resource Attribute is mapped to `MonitoredResource` `task_id`. As the `service.namespace` OTel Resource Attribute is not set by the Resource Detector from within Cloud Run, it should be mapped as an empty string, rather than being left absent. https://github.com/GoogleCloudPlatform/opentelemetry-operations-go/blob/8da0f42dab085c916987891419461d583a2aa96e/internal/resourcemapping/resourcemapping.go#L153 * docs(release): update changelog for the 2025-01 release (#14939) * chore: version bump to 2.35.0-rc (#14943) * chore(deps): update dependency rules_python to v1.1.0 (#14946) * ci(spanner): use enterprise edition in instance autoscaler sample (#14949) * doc: update documentation to point to security best practice (#14942) * chore(otel): prepare for otel-cpp 1.19 (#14950) * chore(deps): update dependency google_cloud_cpp to v2.34.0 (#14945) * chore(deps): update dependency google_benchmark to v1.9.1 (#14937) * ci(optimization): pass quickstart if service is unavailable (#14955) * docs(pubsub): Add Pub/Sub ingestion from Kafka samples (#14954) * ci(gha): update sccache version and windows destination dir (#14956) * chore(deps): update abseil to v20240722.1 (#14952) * chore(deps): update opentelemetry to v1.19.0 (#14948) * fix: Make bool_flag public (#14961) * chore(deps): update dependency opentelemetry-cpp to v1.19.0 (#14960) * docs: add code formatting to `msbuild` (#14962) * chore: update googleapis SHA circa 2025-01-28 (#14964) * chore: update googleapis SHA circa 2025-01-28 PiperOrigin-RevId: 720741557 * ci: disable execution of resourcesettings quickstart (#14966) * docs(release): update changelog for the 2025-02 release (#14965) * chore: version bump to 2.36.0-rc (#14968) * cleanup: disable modernize-type-traits in .clang-tidy (#14973) * feat(parametermanager): generate library (#14971) * cleanup: changes following clang-tidy suggestions (#14976) * cleanup: changes following clang-tidy suggestions * fix * fix * chore(deps): update dependency google_cloud_cpp to v2.35.0 (#14970) * chore(deps): update dependency c-ares to v1.19.1 (#14975) * chore(deps): update dependency build_bazel_rules_apple to v3.17.1 (#14953) * chore(deps): update dependency bazel to v7.5.0 (#14959) * chore(deps): update dependency zlib to v1.3.1.bcr.5 (#14963) * cleanup: changes following clang-tidy suggestions (#14977) * chore(deps): update abseil to v20250127 (#14957) Co-authored-by: Yao Cui <[email protected]> * remove patches from builds, merge fixes --------- Co-authored-by: Scott Hart <[email protected]> Co-authored-by: panerorenn9541 <[email protected]> Co-authored-by: Yao Cui <[email protected]> Co-authored-by: Mend Renovate <[email protected]> Co-authored-by: Darren Bolduc <[email protected]> Co-authored-by: Carlos O'Ryan <[email protected]> Co-authored-by: jsrinnn <[email protected]> Co-authored-by: Douglas Heriot <[email protected]> Co-authored-by: Mike Prieto <[email protected]> Co-authored-by: Sven Grossmann <[email protected]>
1 parent 53e81ec commit 3940560

File tree

178 files changed

+5391
-10096
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

178 files changed

+5391
-10096
lines changed
-66 Bytes
Binary file not shown.

cmake/GoogleCloudCppFeatures.cmake

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,11 @@ set(GOOGLE_CLOUD_CPP_NO_GRPC_FEATURES
3333

3434
set(GOOGLE_CLOUD_CPP_EXPERIMENTAL_LIBRARIES
3535
# cmake-format: sort
36-
"bigquerycontrol" # Some proto RPC comments indicate experimental methods.
3736
"pubsublite" # This is WIP, it needs a number of hand-crafted APIs.
3837
)
3938

4039
set(GOOGLE_CLOUD_CPP_TRANSITION_LIBRARIES # cmake-format: sort
41-
"storage_grpc")
40+
"bigquerycontrol" "storage_grpc")
4241

4342
set(GOOGLE_CLOUD_CPP_GA_LIBRARIES
4443
# cmake-format: sort

external/googleapis/protodeps/storage.deps

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,6 @@
1111
@com_google_googleapis//google/iam/v1:resource_policy_member_proto
1212
@com_google_googleapis//google/rpc:status_proto
1313
@com_google_googleapis//google/iam/v1:resource_policy_member_proto
14+
@com_google_googleapis//google/rpc:status_proto
1415
@com_google_googleapis//google/type:date_proto
1516
@com_google_googleapis//google/type:expr_proto

google/cloud/backupdr/v1/internal/backup_dr_auth_decorator.cc

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -545,6 +545,34 @@ StatusOr<google::longrunning::Operation> BackupDRAuth::TriggerBackup(
545545
return child_->TriggerBackup(context, options, request);
546546
}
547547

548+
future<StatusOr<google::longrunning::Operation>>
549+
BackupDRAuth::AsyncInitializeService(
550+
google::cloud::CompletionQueue& cq,
551+
std::shared_ptr<grpc::ClientContext> context,
552+
google::cloud::internal::ImmutableOptions options,
553+
google::cloud::backupdr::v1::InitializeServiceRequest const& request) {
554+
using ReturnType = StatusOr<google::longrunning::Operation>;
555+
return auth_->AsyncConfigureContext(std::move(context))
556+
.then([cq, child = child_, options = std::move(options),
557+
request](future<StatusOr<std::shared_ptr<grpc::ClientContext>>>
558+
f) mutable {
559+
auto context = f.get();
560+
if (!context) {
561+
return make_ready_future(ReturnType(std::move(context).status()));
562+
}
563+
return child->AsyncInitializeService(cq, *std::move(context),
564+
std::move(options), request);
565+
});
566+
}
567+
568+
StatusOr<google::longrunning::Operation> BackupDRAuth::InitializeService(
569+
grpc::ClientContext& context, Options options,
570+
google::cloud::backupdr::v1::InitializeServiceRequest const& request) {
571+
auto status = auth_->ConfigureContext(context);
572+
if (!status.ok()) return status;
573+
return child_->InitializeService(context, options, request);
574+
}
575+
548576
StatusOr<google::cloud::location::ListLocationsResponse>
549577
BackupDRAuth::ListLocations(
550578
grpc::ClientContext& context, Options const& options,

google/cloud/backupdr/v1/internal/backup_dr_logging_decorator.cc

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -641,6 +641,37 @@ StatusOr<google::longrunning::Operation> BackupDRLogging::TriggerBackup(
641641
context, options, request, __func__, tracing_options_);
642642
}
643643

644+
future<StatusOr<google::longrunning::Operation>>
645+
BackupDRLogging::AsyncInitializeService(
646+
google::cloud::CompletionQueue& cq,
647+
std::shared_ptr<grpc::ClientContext> context,
648+
google::cloud::internal::ImmutableOptions options,
649+
google::cloud::backupdr::v1::InitializeServiceRequest const& request) {
650+
return google::cloud::internal::LogWrapper(
651+
[this](google::cloud::CompletionQueue& cq,
652+
std::shared_ptr<grpc::ClientContext> context,
653+
google::cloud::internal::ImmutableOptions options,
654+
google::cloud::backupdr::v1::InitializeServiceRequest const&
655+
request) {
656+
return child_->AsyncInitializeService(cq, std::move(context),
657+
std::move(options), request);
658+
},
659+
cq, std::move(context), std::move(options), request, __func__,
660+
tracing_options_);
661+
}
662+
663+
StatusOr<google::longrunning::Operation> BackupDRLogging::InitializeService(
664+
grpc::ClientContext& context, Options options,
665+
google::cloud::backupdr::v1::InitializeServiceRequest const& request) {
666+
return google::cloud::internal::LogWrapper(
667+
[this](grpc::ClientContext& context, Options const& options,
668+
google::cloud::backupdr::v1::InitializeServiceRequest const&
669+
request) {
670+
return child_->InitializeService(context, options, request);
671+
},
672+
context, options, request, __func__, tracing_options_);
673+
}
674+
644675
StatusOr<google::cloud::location::ListLocationsResponse>
645676
BackupDRLogging::ListLocations(
646677
grpc::ClientContext& context, Options const& options,

google/cloud/backupdr/v1/internal/backup_dr_metadata_decorator.cc

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -457,6 +457,26 @@ StatusOr<google::longrunning::Operation> BackupDRMetadata::TriggerBackup(
457457
return child_->TriggerBackup(context, options, request);
458458
}
459459

460+
future<StatusOr<google::longrunning::Operation>>
461+
BackupDRMetadata::AsyncInitializeService(
462+
google::cloud::CompletionQueue& cq,
463+
std::shared_ptr<grpc::ClientContext> context,
464+
google::cloud::internal::ImmutableOptions options,
465+
google::cloud::backupdr::v1::InitializeServiceRequest const& request) {
466+
SetMetadata(*context, *options,
467+
absl::StrCat("name=", internal::UrlEncode(request.name())));
468+
return child_->AsyncInitializeService(cq, std::move(context),
469+
std::move(options), request);
470+
}
471+
472+
StatusOr<google::longrunning::Operation> BackupDRMetadata::InitializeService(
473+
grpc::ClientContext& context, Options options,
474+
google::cloud::backupdr::v1::InitializeServiceRequest const& request) {
475+
SetMetadata(context, options,
476+
absl::StrCat("name=", internal::UrlEncode(request.name())));
477+
return child_->InitializeService(context, options, request);
478+
}
479+
460480
StatusOr<google::cloud::location::ListLocationsResponse>
461481
BackupDRMetadata::ListLocations(
462482
grpc::ClientContext& context, Options const& options,

google/cloud/backupdr/v1/internal/backup_dr_stub.cc

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -624,6 +624,36 @@ StatusOr<google::longrunning::Operation> DefaultBackupDRStub::TriggerBackup(
624624
return response;
625625
}
626626

627+
future<StatusOr<google::longrunning::Operation>>
628+
DefaultBackupDRStub::AsyncInitializeService(
629+
google::cloud::CompletionQueue& cq,
630+
std::shared_ptr<grpc::ClientContext> context,
631+
google::cloud::internal::ImmutableOptions,
632+
google::cloud::backupdr::v1::InitializeServiceRequest const& request) {
633+
return internal::MakeUnaryRpcImpl<
634+
google::cloud::backupdr::v1::InitializeServiceRequest,
635+
google::longrunning::Operation>(
636+
cq,
637+
[this](
638+
grpc::ClientContext* context,
639+
google::cloud::backupdr::v1::InitializeServiceRequest const& request,
640+
grpc::CompletionQueue* cq) {
641+
return grpc_stub_->AsyncInitializeService(context, request, cq);
642+
},
643+
request, std::move(context));
644+
}
645+
646+
StatusOr<google::longrunning::Operation> DefaultBackupDRStub::InitializeService(
647+
grpc::ClientContext& context, Options,
648+
google::cloud::backupdr::v1::InitializeServiceRequest const& request) {
649+
google::longrunning::Operation response;
650+
auto status = grpc_stub_->InitializeService(&context, request, &response);
651+
if (!status.ok()) {
652+
return google::cloud::MakeStatusFromRpcError(status);
653+
}
654+
return response;
655+
}
656+
627657
StatusOr<google::cloud::location::ListLocationsResponse>
628658
DefaultBackupDRStub::ListLocations(
629659
grpc::ClientContext& context, Options const&,

google/cloud/backupdr/v1/internal/backup_dr_tracing_stub.cc

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -564,6 +564,32 @@ StatusOr<google::longrunning::Operation> BackupDRTracingStub::TriggerBackup(
564564
child_->TriggerBackup(context, options, request));
565565
}
566566

567+
future<StatusOr<google::longrunning::Operation>>
568+
BackupDRTracingStub::AsyncInitializeService(
569+
google::cloud::CompletionQueue& cq,
570+
std::shared_ptr<grpc::ClientContext> context,
571+
google::cloud::internal::ImmutableOptions options,
572+
google::cloud::backupdr::v1::InitializeServiceRequest const& request) {
573+
auto span = internal::MakeSpanGrpc("google.cloud.backupdr.v1.BackupDR",
574+
"InitializeService");
575+
internal::OTelScope scope(span);
576+
internal::InjectTraceContext(*context, *propagator_);
577+
auto f =
578+
child_->AsyncInitializeService(cq, context, std::move(options), request);
579+
return internal::EndSpan(std::move(context), std::move(span), std::move(f));
580+
}
581+
582+
StatusOr<google::longrunning::Operation> BackupDRTracingStub::InitializeService(
583+
grpc::ClientContext& context, Options options,
584+
google::cloud::backupdr::v1::InitializeServiceRequest const& request) {
585+
auto span = internal::MakeSpanGrpc("google.cloud.backupdr.v1.BackupDR",
586+
"InitializeService");
587+
auto scope = opentelemetry::trace::Scope(span);
588+
internal::InjectTraceContext(context, *propagator_);
589+
return internal::EndSpan(
590+
context, *span, child_->InitializeService(context, options, request));
591+
}
592+
567593
StatusOr<google::cloud::location::ListLocationsResponse>
568594
BackupDRTracingStub::ListLocations(
569595
grpc::ClientContext& context, Options const& options,

google/cloud/bigquerycontrol/config.cmake.in

Lines changed: 0 additions & 42 deletions
This file was deleted.

google/cloud/bigtable/test_proxy/BUILD.bazel

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ cc_library(
2222
testonly = True,
2323
srcs = ["cbt_test_proxy.cc"],
2424
hdrs = ["cbt_test_proxy.h"],
25-
copts = ["-Wno-deprecated-declarations"],
2625
deps = [
2726
"//:bigtable",
2827
"//protos:system_includes",

0 commit comments

Comments
 (0)