Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
namara / lib / rpc / authorization / authorization_pb.rb
Size: Mime:
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: authorization.proto

require 'google/protobuf'

Google::Protobuf::DescriptorPool.generated_pool.build do
  add_message "authorization.AuthorizationRequest" do
    repeated :authorizations, :message, 1, "authorization.Authorization"
  end
  add_message "authorization.AuthorizationResponse" do
    repeated :authorizations, :message, 1, "authorization.Authorization"
  end
  add_message "authorization.Authorization" do
    optional :resource, :message, 1, "authorization.Resource"
    optional :action, :string, 2
    optional :permitted, :bool, 3
  end
  add_message "authorization.Resource" do
    optional :id, :string, 1
    optional :type, :string, 2
  end
  add_message "authorization.Empty" do
  end
end

module Authorization
  AuthorizationRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("authorization.AuthorizationRequest").msgclass
  AuthorizationResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("authorization.AuthorizationResponse").msgclass
  Authorization = Google::Protobuf::DescriptorPool.generated_pool.lookup("authorization.Authorization").msgclass
  Resource = Google::Protobuf::DescriptorPool.generated_pool.lookup("authorization.Resource").msgclass
  Empty = Google::Protobuf::DescriptorPool.generated_pool.lookup("authorization.Empty").msgclass
end