FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

docs(storage): better suggestion for deprecated API by dbolduc · Pull Request #14786 · googleapis/google-cloud-cpp · GitHub

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .h  (1) All 1 file type selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
12 changes: 8 additions & 4 deletions google/cloud/storage/client_options.h
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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_; }

///@{
Expand Down

Back | FazBrowse Home | New Git URL