gapic-generator/lib/gapic/schema/service_config_parser.rb
def parse_http http_yaml
          http = Google::Api::Http.new

          if http_yaml.key? HTTP_RULES_KEY
            http.rules = http_yaml[HTTP_RULES_KEY].map { |rule_yaml| parse_http_rule rule_yaml }
          end

          http
        end
# Parses a http section of the service yaml
# only supports a limited amount of fields
# @return [::Google::Api::Http]
Parses a http section of the service yaml
only supports a limited amount of fields
Parses a http section of the service yaml only supports a limited amount of fields
def parse_http http_yaml
          http = Google::Api::Http.new
          if http_yaml.key? HTTP_RULES_KEY
            http.rules = http_yaml[HTTP_RULES_KEY].map { |rule_yaml| parse_http_rule rule_yaml }
          end
          http
        end
def parse_http http_yaml http = Google :: Api :: Http . new if http_yaml . key? HTTP_RULES_KEY http . rules = http_yaml [ HTTP_RULES_KEY ] . map { | rule_yaml | parse_http_rule rule_yaml } end http end
Parses a http section of the service yaml
only supports a limited amount of fields
Parses a http section of the service yaml only supports a limited amount of fields
None
::Google::Api::Http
http_yaml