class Gapic::GrpcServiceConfig::ServiceConfig
Representation of a GRPC service config split into the configurations applied on the service level (to all the methods) and the configurations applied to the specific methods
Attributes
service_level_configs[R]
service_method_level_configs[R]
Public Class Methods
new(service_level_configs, service_method_level_configs)
click to toggle source
Create new ServiceConfig
.
@param service_level_configs
[Hash<String, Gapic::GrpcServiceConfig::MethodConfig>] service-level configs
in a lookup hash by the service full grpc name
@param service_method_level_configs
[Hash<String, Hash<String, Gapic::GrpcServiceConfig::MethodConfig>>]
method-level configs in a double lookup hash, first by the service full grpc name then by the method name
# File lib/gapic/grpc_service_config/service_config.rb, line 37 def initialize service_level_configs, service_method_level_configs @service_level_configs = service_level_configs @service_method_level_configs = service_method_level_configs end