gapic-generator/lib/gapic/schema/api.rb
# Raw parsed json of the combined grpc service config files if provided
# or an empty hash if no config was provided
Raw parsed json of the combined grpc service config files if provided
or an empty hash if no config was provided
Raw parsed json of the combined grpc service config files if provided or an empty hash if no config was provided
def grpc_service_config_raw
        @grpc_service_config_raw ||= begin
          filenames = protoc_options["grpc_service_config"].to_s.split ";"
          filenames.inject({}) do |running_hash, filename|
            file_hash = JSON.parse ::File.read filename
            deep_merge running_hash, file_hash
          end
        end
      end
def grpc_service_config_raw @grpc_service_config_raw ||= begin filenames = protoc_options [ "grpc_service_config" ] . to_s . split ";" filenames . inject ( { } ) do | running_hash , filename | file_hash = JSON . parse :: File . read filename deep_merge running_hash , file_hash end end end
Raw parsed json of the combined grpc service config files if provided
or an empty hash if no config was provided
Raw parsed json of the combined grpc service config files if provided or an empty hash if no config was provided