Repository URL to install this package:
|
Version:
2.2.0 ▾
|
# 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