Class: Gapic::GrpcServiceConfig::Config
- Inherits:
-
Object
- Object
- Gapic::GrpcServiceConfig::Config
- Defined in:
- lib/gapic/grpc_service_config/config.rb
Overview
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
Instance Attribute Summary collapse
-
#service_level_configs ⇒ Object
readonly
Returns the value of attribute service_level_configs.
-
#service_method_level_configs ⇒ Object
readonly
Returns the value of attribute service_method_level_configs.
Instance Method Summary collapse
-
#initialize(service_level_configs, service_method_level_configs) ⇒ Config
constructor
Create new GrpcServiceConfig.
Constructor Details
#initialize(service_level_configs, service_method_level_configs) ⇒ Config
Create new GrpcServiceConfig.
37 38 39 40 |
# File 'lib/gapic/grpc_service_config/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 |
Instance Attribute Details
#service_level_configs ⇒ Object (readonly)
Returns the value of attribute service_level_configs.
25 26 27 |
# File 'lib/gapic/grpc_service_config/config.rb', line 25 def service_level_configs @service_level_configs end |
#service_method_level_configs ⇒ Object (readonly)
Returns the value of attribute service_method_level_configs.
26 27 28 |
# File 'lib/gapic/grpc_service_config/config.rb', line 26 def service_method_level_configs @service_method_level_configs end |