From 80a518a357c93eec7ddc49666efcd7984135dafb Mon Sep 17 00:00:00 2001 From: Darren Bolduc Date: Mon, 14 Oct 2024 16:43:25 -0400 Subject: [PATCH] docs(storage): better suggestion for deprecated API (#14786) --- google/cloud/storage/client_options.h | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/google/cloud/storage/client_options.h b/google/cloud/storage/client_options.h index e9209f7ab8578..09f5e968aff7c 100644 --- a/google/cloud/storage/client_options.h +++ b/google/cloud/storage/client_options.h @@ -73,10 +73,12 @@ Options DefaultOptionsWithCredentials(Options opts); */ class ChannelOptions { public: - /// @deprecated Use google::cloud::Options and CAPathOption instead. + /// @deprecated Use google::cloud::Options and + /// google::cloud::CARootsFilePathOption instead. std::string ssl_root_path() const { return ssl_root_path_; } - /// @deprecated Use google::cloud::Options and CAPathOption instead. + /// @deprecated Use google::cloud::Options and + /// google::cloud::CARootsFilePathOption instead. ChannelOptions& set_ssl_root_path(std::string ssl_root_path) { ssl_root_path_ = std::move(ssl_root_path); return *this; @@ -400,10 +402,12 @@ class ClientOptions { return *this; } - /// @deprecated Use google::cloud::Options and CAPathOption instead. + /// @deprecated Use google::cloud::Options and + /// google::cloud::CARootsFilePathOption instead. ChannelOptions& channel_options() { return channel_options_; } - /// @deprecated Use google::cloud::Options and CAPathOption instead. + /// @deprecated Use google::cloud::Options and + /// google::cloud::CARootsFilePathOption instead. ChannelOptions const& channel_options() const { return channel_options_; } ///@{