@@ -81,17 +81,6 @@ struct GrpcNumChannelsOption {
8181 * values in different options as gRPC will use the first value set for some
8282 * channel arguments, and the last value set for others.
8383 *
84- * @par Example
85- * To configure gRPC's maximum metadata size to 32MiB (which can be useful
86- * to avoid `RESOURCE_EXHAUSTED` errors when exporting gRPC metrics),
87- * you can use:
88- * @code
89- * google::cloud::Options options;
90- * grpc::ChannelArguments args;
91- * args.SetInt(GRPC_ARG_MAX_METADATA_SIZE, 32 * 1024 * 1024);
92- * options.set<google::cloud::GrpcChannelArgumentsNativeOption>(args);
93- * @endcode
94- *
9584 * @see https://grpc.github.io/grpc/cpp/classgrpc_1_1_channel_arguments.html
9685 * @see https://grpc.github.io/grpc/core/group__grpc__arg__keys.html
9786 *
@@ -115,6 +104,17 @@ struct GrpcChannelArgumentsOption {
115104 * use the first value set for some channel arguments, and the last value set
116105 * for others.
117106 *
107+ * @par Example
108+ * To configure gRPC's maximum metadata size to 32MiB (which can be useful
109+ * to avoid `RESOURCE_EXHAUSTED` errors when exporting gRPC metrics),
110+ * you can use:
111+ * @code
112+ * google::cloud::Options options;
113+ * grpc::ChannelArguments args;
114+ * args.SetInt(GRPC_ARG_MAX_METADATA_SIZE, 32 * 1024 * 1024);
115+ * options.set<google::cloud::GrpcChannelArgumentsNativeOption>(args);
116+ * @endcode
117+ *
118118 * @see https://grpc.github.io/grpc/cpp/classgrpc_1_1_channel_arguments.html
119119 * @see https://grpc.github.io/grpc/core/group__grpc__arg__keys.html
120120 *
0 commit comments