Skip to content

Commit df9464a

Browse files
authored
doc(storage): UserIp option is deprecated (#8468)
1 parent b9a7239 commit df9464a

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

google/cloud/internal/rest_options.h

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,13 @@ namespace cloud {
2626
namespace rest_internal {
2727
GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_BEGIN
2828

29-
/// Configure the UserIp query parameter.
30-
/// For use with GPC services that manage quota per ip address.
29+
/**
30+
* Configure the UserIp query parameter.
31+
*
32+
* This can be used to separate quota usage by source IP address.
33+
*
34+
* @deprecated prefer using `google::cloud::QuotaUser`.
35+
*/
3136
struct UserIpOption {
3237
using Type = std::string;
3338
};

0 commit comments

Comments
 (0)