Google Cloud C++ Client 2.10.1
C++ Client Library for Google Cloud Platform
Loading...
Searching...
No Matches
Public Types | List of all members
google::cloud::GrpcChannelArgumentsOption Struct Reference

A string-string map of arguments for grpc::ChannelArguments::SetString. More...

#include <google/cloud/grpc_options.h>

Public Types

using Type = std::map< std::string, std::string >
 

Detailed Description

A string-string map of arguments for grpc::ChannelArguments::SetString.

This option gives users the ability to set various arguments for the underlying grpc::ChannelArguments objects that will be created. See the gRPC documentation for more details about available channel arguments.

Note
Our library will always start with the native object from GrpcChannelArgumentsNativeOption, then add the channel arguments from this option. Users are cautioned not to set the same channel argument to different values in different options as gRPC will use the first value set for some channel arguments, and the last value set for others.
See also
https://grpc.github.io/grpc/cpp/classgrpc_1_1_channel_arguments.html
https://grpc.github.io/grpc/core/group__grpc__arg__keys.html

Member Typedef Documentation

◆ Type

using google::cloud::GrpcChannelArgumentsOption::Type = std::map<std::string, std::string>