Sha256: ebd84a33e066db2d55e34e48b39cd1bcf378f7df45bbb1aa3aad43491e06528a

Contents?: true

Size: 1.49 KB

Versions: 2

Compression:

Stored size: 1.49 KB

Contents

# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/api/backend.proto

require 'google/protobuf'

Google::Protobuf::DescriptorPool.generated_pool.build do
  add_file("google/api/backend.proto", :syntax => :proto3) do
    add_message "google.api.Backend" do
      repeated :rules, :message, 1, "google.api.BackendRule"
    end
    add_message "google.api.BackendRule" do
      optional :selector, :string, 1
      optional :address, :string, 2
      optional :deadline, :double, 3
      optional :min_deadline, :double, 4
      optional :operation_deadline, :double, 5
      optional :path_translation, :enum, 6, "google.api.BackendRule.PathTranslation"
      optional :protocol, :string, 9
      map :overrides_by_request_protocol, :string, :message, 10, "google.api.BackendRule"
      oneof :authentication do
        optional :jwt_audience, :string, 7
        optional :disable_auth, :bool, 8
      end
    end
    add_enum "google.api.BackendRule.PathTranslation" do
      value :PATH_TRANSLATION_UNSPECIFIED, 0
      value :CONSTANT_ADDRESS, 1
      value :APPEND_PATH_TO_ADDRESS, 2
    end
  end
end

module Google
  module Api
    Backend = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Backend").msgclass
    BackendRule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.BackendRule").msgclass
    BackendRule::PathTranslation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.BackendRule.PathTranslation").enummodule
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
googleapis-common-protos-types-1.7.0 lib/google/api/backend_pb.rb
googleapis-common-protos-types-1.6.0 lib/google/api/backend_pb.rb