cerbos 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -1
- data/lib/cerbos/protobuf/cerbos/engine/v1/engine_pb.rb +0 -127
- data/lib/cerbos/protobuf/cerbos/request/v1/request_pb.rb +0 -90
- data/lib/cerbos/protobuf/cerbos/response/v1/response_pb.rb +0 -99
- data/lib/cerbos/protobuf/cerbos/schema/v1/schema_pb.rb +0 -9
- data/lib/cerbos/protobuf/cerbos/svc/v1/svc_pb.rb +2 -0
- data/lib/cerbos/protobuf/cerbos/svc/v1/svc_services_pb.rb +0 -43
- data/lib/cerbos/protobuf/google/api/http_pb.rb +0 -5
- data/lib/cerbos/protobuf/protoc-gen-openapiv2/options/openapiv2_pb.rb +6 -0
- data/lib/cerbos/version.rb +1 -1
- metadata +4 -9
- data/lib/cerbos/protobuf/cerbos/audit/v1/audit_pb.rb +0 -64
- data/lib/cerbos/protobuf/cerbos/policy/v1/policy_pb.rb +0 -247
- data/lib/cerbos/protobuf/cerbos/telemetry/v1/telemetry_pb.rb +0 -123
- data/lib/cerbos/protobuf/google/api/expr/v1alpha1/checked_pb.rb +0 -117
- data/lib/cerbos/protobuf/google/api/expr/v1alpha1/syntax_pb.rb +0 -113
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cerbos
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cerbos
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-03-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: grpc
|
@@ -55,19 +55,14 @@ files:
|
|
55
55
|
- lib/cerbos/output/server_info.rb
|
56
56
|
- lib/cerbos/output/validation_error.rb
|
57
57
|
- lib/cerbos/protobuf.rb
|
58
|
-
- lib/cerbos/protobuf/cerbos/audit/v1/audit_pb.rb
|
59
58
|
- lib/cerbos/protobuf/cerbos/effect/v1/effect_pb.rb
|
60
59
|
- lib/cerbos/protobuf/cerbos/engine/v1/engine_pb.rb
|
61
|
-
- lib/cerbos/protobuf/cerbos/policy/v1/policy_pb.rb
|
62
60
|
- lib/cerbos/protobuf/cerbos/request/v1/request_pb.rb
|
63
61
|
- lib/cerbos/protobuf/cerbos/response/v1/response_pb.rb
|
64
62
|
- lib/cerbos/protobuf/cerbos/schema/v1/schema_pb.rb
|
65
63
|
- lib/cerbos/protobuf/cerbos/svc/v1/svc_pb.rb
|
66
64
|
- lib/cerbos/protobuf/cerbos/svc/v1/svc_services_pb.rb
|
67
|
-
- lib/cerbos/protobuf/cerbos/telemetry/v1/telemetry_pb.rb
|
68
65
|
- lib/cerbos/protobuf/google/api/annotations_pb.rb
|
69
|
-
- lib/cerbos/protobuf/google/api/expr/v1alpha1/checked_pb.rb
|
70
|
-
- lib/cerbos/protobuf/google/api/expr/v1alpha1/syntax_pb.rb
|
71
66
|
- lib/cerbos/protobuf/google/api/field_behavior_pb.rb
|
72
67
|
- lib/cerbos/protobuf/google/api/http_pb.rb
|
73
68
|
- lib/cerbos/protobuf/protoc-gen-openapiv2/options/annotations_pb.rb
|
@@ -82,7 +77,7 @@ licenses:
|
|
82
77
|
metadata:
|
83
78
|
bug_tracker_uri: https://github.com/cerbos/cerbos-sdk-ruby/issues
|
84
79
|
changelog_uri: https://github.com/cerbos/cerbos-sdk-ruby/blob/main/CHANGELOG.md
|
85
|
-
documentation_uri: https://www.rubydoc.info/gems/cerbos/0.6.
|
80
|
+
documentation_uri: https://www.rubydoc.info/gems/cerbos/0.6.1
|
86
81
|
homepage_uri: https://github.com/cerbos/cerbos-sdk-ruby
|
87
82
|
source_code_uri: https://github.com/cerbos/cerbos-sdk-ruby
|
88
83
|
rubygems_mfa_required: 'true'
|
@@ -101,7 +96,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
101
96
|
- !ruby/object:Gem::Version
|
102
97
|
version: '0'
|
103
98
|
requirements: []
|
104
|
-
rubygems_version: 3.
|
99
|
+
rubygems_version: 3.4.9
|
105
100
|
signing_key:
|
106
101
|
specification_version: 4
|
107
102
|
summary: Client library for authorization via Cerbos
|
@@ -1,64 +0,0 @@
|
|
1
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
-
# source: cerbos/audit/v1/audit.proto
|
3
|
-
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
|
-
require 'cerbos/protobuf/cerbos/engine/v1/engine_pb'
|
7
|
-
require 'google/protobuf/timestamp_pb'
|
8
|
-
|
9
|
-
Google::Protobuf::DescriptorPool.generated_pool.build do
|
10
|
-
add_file("cerbos/audit/v1/audit.proto", :syntax => :proto3) do
|
11
|
-
add_message "cerbos.audit.v1.AccessLogEntry" do
|
12
|
-
optional :call_id, :string, 1, json_name: "callId"
|
13
|
-
optional :timestamp, :message, 2, "google.protobuf.Timestamp", json_name: "timestamp"
|
14
|
-
optional :peer, :message, 3, "cerbos.audit.v1.Peer", json_name: "peer"
|
15
|
-
map :metadata, :string, :message, 4, "cerbos.audit.v1.MetaValues"
|
16
|
-
optional :method, :string, 5, json_name: "method"
|
17
|
-
optional :status_code, :uint32, 6, json_name: "statusCode"
|
18
|
-
end
|
19
|
-
add_message "cerbos.audit.v1.DecisionLogEntry" do
|
20
|
-
optional :call_id, :string, 1, json_name: "callId"
|
21
|
-
optional :timestamp, :message, 2, "google.protobuf.Timestamp", json_name: "timestamp"
|
22
|
-
optional :peer, :message, 3, "cerbos.audit.v1.Peer", json_name: "peer"
|
23
|
-
repeated :inputs, :message, 4, "cerbos.engine.v1.CheckInput", json_name: "inputs"
|
24
|
-
repeated :outputs, :message, 5, "cerbos.engine.v1.CheckOutput", json_name: "outputs"
|
25
|
-
optional :error, :string, 6, json_name: "error"
|
26
|
-
oneof :method do
|
27
|
-
optional :check_resources, :message, 7, "cerbos.audit.v1.DecisionLogEntry.CheckResources", json_name: "checkResources"
|
28
|
-
optional :plan_resources, :message, 8, "cerbos.audit.v1.DecisionLogEntry.PlanResources", json_name: "planResources"
|
29
|
-
end
|
30
|
-
end
|
31
|
-
add_message "cerbos.audit.v1.DecisionLogEntry.CheckResources" do
|
32
|
-
repeated :inputs, :message, 1, "cerbos.engine.v1.CheckInput", json_name: "inputs"
|
33
|
-
repeated :outputs, :message, 2, "cerbos.engine.v1.CheckOutput", json_name: "outputs"
|
34
|
-
optional :error, :string, 3, json_name: "error"
|
35
|
-
end
|
36
|
-
add_message "cerbos.audit.v1.DecisionLogEntry.PlanResources" do
|
37
|
-
optional :input, :message, 1, "cerbos.engine.v1.PlanResourcesInput", json_name: "input"
|
38
|
-
optional :output, :message, 2, "cerbos.engine.v1.PlanResourcesOutput", json_name: "output"
|
39
|
-
optional :error, :string, 3, json_name: "error"
|
40
|
-
end
|
41
|
-
add_message "cerbos.audit.v1.MetaValues" do
|
42
|
-
repeated :values, :string, 1, json_name: "values"
|
43
|
-
end
|
44
|
-
add_message "cerbos.audit.v1.Peer" do
|
45
|
-
optional :address, :string, 1, json_name: "address"
|
46
|
-
optional :auth_info, :string, 2, json_name: "authInfo"
|
47
|
-
optional :user_agent, :string, 3, json_name: "userAgent"
|
48
|
-
optional :forwarded_for, :string, 4, json_name: "forwardedFor"
|
49
|
-
end
|
50
|
-
end
|
51
|
-
end
|
52
|
-
|
53
|
-
module Cerbos::Protobuf::Cerbos
|
54
|
-
module Audit
|
55
|
-
module V1
|
56
|
-
AccessLogEntry = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cerbos.audit.v1.AccessLogEntry").msgclass
|
57
|
-
DecisionLogEntry = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cerbos.audit.v1.DecisionLogEntry").msgclass
|
58
|
-
DecisionLogEntry::CheckResources = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cerbos.audit.v1.DecisionLogEntry.CheckResources").msgclass
|
59
|
-
DecisionLogEntry::PlanResources = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cerbos.audit.v1.DecisionLogEntry.PlanResources").msgclass
|
60
|
-
MetaValues = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cerbos.audit.v1.MetaValues").msgclass
|
61
|
-
Peer = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cerbos.audit.v1.Peer").msgclass
|
62
|
-
end
|
63
|
-
end
|
64
|
-
end
|
@@ -1,247 +0,0 @@
|
|
1
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
-
# source: cerbos/policy/v1/policy.proto
|
3
|
-
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
|
-
require 'cerbos/protobuf/cerbos/effect/v1/effect_pb'
|
7
|
-
require 'cerbos/protobuf/cerbos/engine/v1/engine_pb'
|
8
|
-
require 'google/protobuf/wrappers_pb'
|
9
|
-
require 'cerbos/protobuf/validate/validate_pb'
|
10
|
-
|
11
|
-
Google::Protobuf::DescriptorPool.generated_pool.build do
|
12
|
-
add_file("cerbos/policy/v1/policy.proto", :syntax => :proto3) do
|
13
|
-
add_message "cerbos.policy.v1.Policy" do
|
14
|
-
optional :api_version, :string, 1, json_name: "apiVersion"
|
15
|
-
optional :disabled, :bool, 2, json_name: "disabled"
|
16
|
-
optional :description, :string, 3, json_name: "description"
|
17
|
-
optional :metadata, :message, 4, "cerbos.policy.v1.Metadata", json_name: "metadata"
|
18
|
-
map :variables, :string, :string, 8
|
19
|
-
oneof :policy_type do
|
20
|
-
optional :resource_policy, :message, 5, "cerbos.policy.v1.ResourcePolicy", json_name: "resourcePolicy"
|
21
|
-
optional :principal_policy, :message, 6, "cerbos.policy.v1.PrincipalPolicy", json_name: "principalPolicy"
|
22
|
-
optional :derived_roles, :message, 7, "cerbos.policy.v1.DerivedRoles", json_name: "derivedRoles"
|
23
|
-
end
|
24
|
-
end
|
25
|
-
add_message "cerbos.policy.v1.Metadata" do
|
26
|
-
optional :source_file, :string, 1, json_name: "sourceFile"
|
27
|
-
map :annotations, :string, :string, 2
|
28
|
-
optional :hash, :message, 3, "google.protobuf.UInt64Value", json_name: "hash"
|
29
|
-
optional :store_identifer, :string, 4, json_name: "storeIdentifer"
|
30
|
-
end
|
31
|
-
add_message "cerbos.policy.v1.ResourcePolicy" do
|
32
|
-
optional :resource, :string, 1, json_name: "resource"
|
33
|
-
optional :version, :string, 2, json_name: "version"
|
34
|
-
repeated :import_derived_roles, :string, 3, json_name: "importDerivedRoles"
|
35
|
-
repeated :rules, :message, 4, "cerbos.policy.v1.ResourceRule", json_name: "rules"
|
36
|
-
optional :scope, :string, 5, json_name: "scope"
|
37
|
-
optional :schemas, :message, 6, "cerbos.policy.v1.Schemas", json_name: "schemas"
|
38
|
-
end
|
39
|
-
add_message "cerbos.policy.v1.ResourceRule" do
|
40
|
-
repeated :actions, :string, 1, json_name: "actions"
|
41
|
-
repeated :derived_roles, :string, 2, json_name: "derivedRoles"
|
42
|
-
repeated :roles, :string, 3, json_name: "roles"
|
43
|
-
optional :condition, :message, 4, "cerbos.policy.v1.Condition", json_name: "condition"
|
44
|
-
optional :effect, :enum, 5, "cerbos.effect.v1.Effect", json_name: "effect"
|
45
|
-
optional :name, :string, 6, json_name: "name"
|
46
|
-
end
|
47
|
-
add_message "cerbos.policy.v1.PrincipalPolicy" do
|
48
|
-
optional :principal, :string, 1, json_name: "principal"
|
49
|
-
optional :version, :string, 2, json_name: "version"
|
50
|
-
repeated :rules, :message, 3, "cerbos.policy.v1.PrincipalRule", json_name: "rules"
|
51
|
-
optional :scope, :string, 4, json_name: "scope"
|
52
|
-
end
|
53
|
-
add_message "cerbos.policy.v1.PrincipalRule" do
|
54
|
-
optional :resource, :string, 1, json_name: "resource"
|
55
|
-
repeated :actions, :message, 2, "cerbos.policy.v1.PrincipalRule.Action", json_name: "actions"
|
56
|
-
end
|
57
|
-
add_message "cerbos.policy.v1.PrincipalRule.Action" do
|
58
|
-
optional :action, :string, 1, json_name: "action"
|
59
|
-
optional :condition, :message, 2, "cerbos.policy.v1.Condition", json_name: "condition"
|
60
|
-
optional :effect, :enum, 3, "cerbos.effect.v1.Effect", json_name: "effect"
|
61
|
-
optional :name, :string, 4, json_name: "name"
|
62
|
-
end
|
63
|
-
add_message "cerbos.policy.v1.DerivedRoles" do
|
64
|
-
optional :name, :string, 1, json_name: "name"
|
65
|
-
repeated :definitions, :message, 2, "cerbos.policy.v1.RoleDef", json_name: "definitions"
|
66
|
-
end
|
67
|
-
add_message "cerbos.policy.v1.RoleDef" do
|
68
|
-
optional :name, :string, 1, json_name: "name"
|
69
|
-
repeated :parent_roles, :string, 2, json_name: "parentRoles"
|
70
|
-
optional :condition, :message, 3, "cerbos.policy.v1.Condition", json_name: "condition"
|
71
|
-
end
|
72
|
-
add_message "cerbos.policy.v1.Condition" do
|
73
|
-
oneof :condition do
|
74
|
-
optional :match, :message, 1, "cerbos.policy.v1.Match", json_name: "match"
|
75
|
-
optional :script, :string, 2, json_name: "script"
|
76
|
-
end
|
77
|
-
end
|
78
|
-
add_message "cerbos.policy.v1.Match" do
|
79
|
-
oneof :op do
|
80
|
-
optional :all, :message, 1, "cerbos.policy.v1.Match.ExprList", json_name: "all"
|
81
|
-
optional :any, :message, 2, "cerbos.policy.v1.Match.ExprList", json_name: "any"
|
82
|
-
optional :none, :message, 3, "cerbos.policy.v1.Match.ExprList", json_name: "none"
|
83
|
-
optional :expr, :string, 4, json_name: "expr"
|
84
|
-
end
|
85
|
-
end
|
86
|
-
add_message "cerbos.policy.v1.Match.ExprList" do
|
87
|
-
repeated :of, :message, 1, "cerbos.policy.v1.Match", json_name: "of"
|
88
|
-
end
|
89
|
-
add_message "cerbos.policy.v1.Schemas" do
|
90
|
-
optional :principal_schema, :message, 1, "cerbos.policy.v1.Schemas.Schema", json_name: "principalSchema"
|
91
|
-
optional :resource_schema, :message, 2, "cerbos.policy.v1.Schemas.Schema", json_name: "resourceSchema"
|
92
|
-
end
|
93
|
-
add_message "cerbos.policy.v1.Schemas.IgnoreWhen" do
|
94
|
-
repeated :actions, :string, 1, json_name: "actions"
|
95
|
-
end
|
96
|
-
add_message "cerbos.policy.v1.Schemas.Schema" do
|
97
|
-
optional :ref, :string, 1, json_name: "ref"
|
98
|
-
optional :ignore_when, :message, 2, "cerbos.policy.v1.Schemas.IgnoreWhen", json_name: "ignoreWhen"
|
99
|
-
end
|
100
|
-
add_message "cerbos.policy.v1.TestFixture" do
|
101
|
-
end
|
102
|
-
add_message "cerbos.policy.v1.TestFixture.Principals" do
|
103
|
-
map :principals, :string, :message, 1, "cerbos.engine.v1.Principal"
|
104
|
-
end
|
105
|
-
add_message "cerbos.policy.v1.TestFixture.Resources" do
|
106
|
-
map :resources, :string, :message, 1, "cerbos.engine.v1.Resource"
|
107
|
-
end
|
108
|
-
add_message "cerbos.policy.v1.TestFixture.AuxData" do
|
109
|
-
map :aux_data, :string, :message, 1, "cerbos.engine.v1.AuxData"
|
110
|
-
end
|
111
|
-
add_message "cerbos.policy.v1.TestSuite" do
|
112
|
-
optional :name, :string, 1, json_name: "name"
|
113
|
-
optional :description, :string, 2, json_name: "description"
|
114
|
-
optional :skip, :bool, 3, json_name: "skip"
|
115
|
-
optional :skip_reason, :string, 4, json_name: "skipReason"
|
116
|
-
repeated :tests, :message, 5, "cerbos.policy.v1.TestTable", json_name: "tests"
|
117
|
-
map :principals, :string, :message, 6, "cerbos.engine.v1.Principal"
|
118
|
-
map :resources, :string, :message, 7, "cerbos.engine.v1.Resource"
|
119
|
-
map :aux_data, :string, :message, 8, "cerbos.engine.v1.AuxData"
|
120
|
-
end
|
121
|
-
add_message "cerbos.policy.v1.TestTable" do
|
122
|
-
optional :name, :string, 1, json_name: "name"
|
123
|
-
optional :description, :string, 2, json_name: "description"
|
124
|
-
optional :skip, :bool, 3, json_name: "skip"
|
125
|
-
optional :skip_reason, :string, 4, json_name: "skipReason"
|
126
|
-
optional :input, :message, 5, "cerbos.policy.v1.TestTable.Input", json_name: "input"
|
127
|
-
repeated :expected, :message, 6, "cerbos.policy.v1.TestTable.Expectation", json_name: "expected"
|
128
|
-
end
|
129
|
-
add_message "cerbos.policy.v1.TestTable.Input" do
|
130
|
-
repeated :principals, :string, 1, json_name: "principals"
|
131
|
-
repeated :resources, :string, 2, json_name: "resources"
|
132
|
-
repeated :actions, :string, 3, json_name: "actions"
|
133
|
-
optional :aux_data, :string, 4, json_name: "auxData"
|
134
|
-
end
|
135
|
-
add_message "cerbos.policy.v1.TestTable.Expectation" do
|
136
|
-
optional :principal, :string, 1, json_name: "principal"
|
137
|
-
optional :resource, :string, 2, json_name: "resource"
|
138
|
-
map :actions, :string, :enum, 3, "cerbos.effect.v1.Effect"
|
139
|
-
end
|
140
|
-
add_message "cerbos.policy.v1.Test" do
|
141
|
-
optional :name, :message, 1, "cerbos.policy.v1.Test.TestName", json_name: "name"
|
142
|
-
optional :description, :string, 2, json_name: "description"
|
143
|
-
optional :skip, :bool, 3, json_name: "skip"
|
144
|
-
optional :skip_reason, :string, 4, json_name: "skipReason"
|
145
|
-
optional :input, :message, 5, "cerbos.engine.v1.CheckInput", json_name: "input"
|
146
|
-
map :expected, :string, :enum, 6, "cerbos.effect.v1.Effect"
|
147
|
-
end
|
148
|
-
add_message "cerbos.policy.v1.Test.TestName" do
|
149
|
-
optional :test_table_name, :string, 1, json_name: "testTableName"
|
150
|
-
optional :principal_key, :string, 2, json_name: "principalKey"
|
151
|
-
optional :resource_key, :string, 3, json_name: "resourceKey"
|
152
|
-
end
|
153
|
-
add_message "cerbos.policy.v1.TestResults" do
|
154
|
-
repeated :suites, :message, 1, "cerbos.policy.v1.TestResults.Suite", json_name: "suites"
|
155
|
-
optional :summary, :message, 2, "cerbos.policy.v1.TestResults.Summary", json_name: "summary"
|
156
|
-
end
|
157
|
-
add_message "cerbos.policy.v1.TestResults.Tally" do
|
158
|
-
optional :result, :enum, 1, "cerbos.policy.v1.TestResults.Result", json_name: "result"
|
159
|
-
optional :count, :uint32, 2, json_name: "count"
|
160
|
-
end
|
161
|
-
add_message "cerbos.policy.v1.TestResults.Summary" do
|
162
|
-
optional :overall_result, :enum, 1, "cerbos.policy.v1.TestResults.Result", json_name: "overallResult"
|
163
|
-
optional :tests_count, :uint32, 2, json_name: "testsCount"
|
164
|
-
repeated :result_counts, :message, 3, "cerbos.policy.v1.TestResults.Tally", json_name: "resultCounts"
|
165
|
-
end
|
166
|
-
add_message "cerbos.policy.v1.TestResults.Suite" do
|
167
|
-
optional :file, :string, 1, json_name: "file"
|
168
|
-
optional :name, :string, 2, json_name: "name"
|
169
|
-
repeated :principals, :message, 3, "cerbos.policy.v1.TestResults.Principal", json_name: "principals"
|
170
|
-
optional :summary, :message, 4, "cerbos.policy.v1.TestResults.Summary", json_name: "summary"
|
171
|
-
optional :error, :string, 5, json_name: "error"
|
172
|
-
end
|
173
|
-
add_message "cerbos.policy.v1.TestResults.Principal" do
|
174
|
-
optional :name, :string, 1, json_name: "name"
|
175
|
-
repeated :resources, :message, 2, "cerbos.policy.v1.TestResults.Resource", json_name: "resources"
|
176
|
-
end
|
177
|
-
add_message "cerbos.policy.v1.TestResults.Resource" do
|
178
|
-
optional :name, :string, 1, json_name: "name"
|
179
|
-
repeated :actions, :message, 2, "cerbos.policy.v1.TestResults.Action", json_name: "actions"
|
180
|
-
end
|
181
|
-
add_message "cerbos.policy.v1.TestResults.Action" do
|
182
|
-
optional :name, :string, 1, json_name: "name"
|
183
|
-
optional :details, :message, 2, "cerbos.policy.v1.TestResults.Details", json_name: "details"
|
184
|
-
end
|
185
|
-
add_message "cerbos.policy.v1.TestResults.Details" do
|
186
|
-
optional :result, :enum, 1, "cerbos.policy.v1.TestResults.Result", json_name: "result"
|
187
|
-
repeated :engine_trace, :message, 4, "cerbos.engine.v1.Trace", json_name: "engineTrace"
|
188
|
-
oneof :outcome do
|
189
|
-
optional :failure, :message, 2, "cerbos.policy.v1.TestResults.Failure", json_name: "failure"
|
190
|
-
optional :error, :string, 3, json_name: "error"
|
191
|
-
end
|
192
|
-
end
|
193
|
-
add_message "cerbos.policy.v1.TestResults.Failure" do
|
194
|
-
optional :expected, :enum, 1, "cerbos.effect.v1.Effect", json_name: "expected"
|
195
|
-
optional :actual, :enum, 2, "cerbos.effect.v1.Effect", json_name: "actual"
|
196
|
-
end
|
197
|
-
add_enum "cerbos.policy.v1.TestResults.Result" do
|
198
|
-
value :RESULT_UNSPECIFIED, 0
|
199
|
-
value :RESULT_SKIPPED, 1
|
200
|
-
value :RESULT_PASSED, 2
|
201
|
-
value :RESULT_FAILED, 3
|
202
|
-
value :RESULT_ERRORED, 4
|
203
|
-
end
|
204
|
-
end
|
205
|
-
end
|
206
|
-
|
207
|
-
module Cerbos::Protobuf::Cerbos
|
208
|
-
module Policy
|
209
|
-
module V1
|
210
|
-
Policy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cerbos.policy.v1.Policy").msgclass
|
211
|
-
Metadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cerbos.policy.v1.Metadata").msgclass
|
212
|
-
ResourcePolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cerbos.policy.v1.ResourcePolicy").msgclass
|
213
|
-
ResourceRule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cerbos.policy.v1.ResourceRule").msgclass
|
214
|
-
PrincipalPolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cerbos.policy.v1.PrincipalPolicy").msgclass
|
215
|
-
PrincipalRule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cerbos.policy.v1.PrincipalRule").msgclass
|
216
|
-
PrincipalRule::Action = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cerbos.policy.v1.PrincipalRule.Action").msgclass
|
217
|
-
DerivedRoles = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cerbos.policy.v1.DerivedRoles").msgclass
|
218
|
-
RoleDef = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cerbos.policy.v1.RoleDef").msgclass
|
219
|
-
Condition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cerbos.policy.v1.Condition").msgclass
|
220
|
-
Match = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cerbos.policy.v1.Match").msgclass
|
221
|
-
Match::ExprList = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cerbos.policy.v1.Match.ExprList").msgclass
|
222
|
-
Schemas = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cerbos.policy.v1.Schemas").msgclass
|
223
|
-
Schemas::IgnoreWhen = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cerbos.policy.v1.Schemas.IgnoreWhen").msgclass
|
224
|
-
Schemas::Schema = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cerbos.policy.v1.Schemas.Schema").msgclass
|
225
|
-
TestFixture = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cerbos.policy.v1.TestFixture").msgclass
|
226
|
-
TestFixture::Principals = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cerbos.policy.v1.TestFixture.Principals").msgclass
|
227
|
-
TestFixture::Resources = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cerbos.policy.v1.TestFixture.Resources").msgclass
|
228
|
-
TestFixture::AuxData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cerbos.policy.v1.TestFixture.AuxData").msgclass
|
229
|
-
TestSuite = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cerbos.policy.v1.TestSuite").msgclass
|
230
|
-
TestTable = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cerbos.policy.v1.TestTable").msgclass
|
231
|
-
TestTable::Input = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cerbos.policy.v1.TestTable.Input").msgclass
|
232
|
-
TestTable::Expectation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cerbos.policy.v1.TestTable.Expectation").msgclass
|
233
|
-
Test = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cerbos.policy.v1.Test").msgclass
|
234
|
-
Test::TestName = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cerbos.policy.v1.Test.TestName").msgclass
|
235
|
-
TestResults = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cerbos.policy.v1.TestResults").msgclass
|
236
|
-
TestResults::Tally = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cerbos.policy.v1.TestResults.Tally").msgclass
|
237
|
-
TestResults::Summary = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cerbos.policy.v1.TestResults.Summary").msgclass
|
238
|
-
TestResults::Suite = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cerbos.policy.v1.TestResults.Suite").msgclass
|
239
|
-
TestResults::Principal = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cerbos.policy.v1.TestResults.Principal").msgclass
|
240
|
-
TestResults::Resource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cerbos.policy.v1.TestResults.Resource").msgclass
|
241
|
-
TestResults::Action = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cerbos.policy.v1.TestResults.Action").msgclass
|
242
|
-
TestResults::Details = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cerbos.policy.v1.TestResults.Details").msgclass
|
243
|
-
TestResults::Failure = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cerbos.policy.v1.TestResults.Failure").msgclass
|
244
|
-
TestResults::Result = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cerbos.policy.v1.TestResults.Result").enummodule
|
245
|
-
end
|
246
|
-
end
|
247
|
-
end
|
@@ -1,123 +0,0 @@
|
|
1
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
-
# source: cerbos/telemetry/v1/telemetry.proto
|
3
|
-
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
|
-
require 'google/protobuf/duration_pb'
|
7
|
-
|
8
|
-
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
|
-
add_file("cerbos/telemetry/v1/telemetry.proto", :syntax => :proto3) do
|
10
|
-
add_message "cerbos.telemetry.v1.ServerLaunch" do
|
11
|
-
optional :version, :string, 1, json_name: "version"
|
12
|
-
optional :source, :message, 2, "cerbos.telemetry.v1.ServerLaunch.Source", json_name: "source"
|
13
|
-
optional :features, :message, 3, "cerbos.telemetry.v1.ServerLaunch.Features", json_name: "features"
|
14
|
-
optional :stats, :message, 4, "cerbos.telemetry.v1.ServerLaunch.Stats", json_name: "stats"
|
15
|
-
end
|
16
|
-
add_message "cerbos.telemetry.v1.ServerLaunch.Cerbos" do
|
17
|
-
optional :version, :string, 1, json_name: "version"
|
18
|
-
optional :commit, :string, 2, json_name: "commit"
|
19
|
-
optional :build_date, :string, 3, json_name: "buildDate"
|
20
|
-
optional :module_version, :string, 4, json_name: "moduleVersion"
|
21
|
-
optional :module_checksum, :string, 5, json_name: "moduleChecksum"
|
22
|
-
end
|
23
|
-
add_message "cerbos.telemetry.v1.ServerLaunch.Source" do
|
24
|
-
optional :cerbos, :message, 1, "cerbos.telemetry.v1.ServerLaunch.Cerbos", json_name: "cerbos"
|
25
|
-
optional :os, :string, 2, json_name: "os"
|
26
|
-
optional :arch, :string, 3, json_name: "arch"
|
27
|
-
optional :num_cpus, :uint32, 4, json_name: "numCpus"
|
28
|
-
end
|
29
|
-
add_message "cerbos.telemetry.v1.ServerLaunch.Features" do
|
30
|
-
optional :audit, :message, 1, "cerbos.telemetry.v1.ServerLaunch.Features.Audit", json_name: "audit"
|
31
|
-
optional :schema, :message, 2, "cerbos.telemetry.v1.ServerLaunch.Features.Schema", json_name: "schema"
|
32
|
-
optional :admin_api, :message, 3, "cerbos.telemetry.v1.ServerLaunch.Features.AdminApi", json_name: "adminApi"
|
33
|
-
optional :storage, :message, 4, "cerbos.telemetry.v1.ServerLaunch.Features.Storage", json_name: "storage"
|
34
|
-
end
|
35
|
-
add_message "cerbos.telemetry.v1.ServerLaunch.Features.Audit" do
|
36
|
-
optional :enabled, :bool, 1, json_name: "enabled"
|
37
|
-
optional :backend, :string, 2, json_name: "backend"
|
38
|
-
end
|
39
|
-
add_message "cerbos.telemetry.v1.ServerLaunch.Features.Schema" do
|
40
|
-
optional :enforcement, :string, 1, json_name: "enforcement"
|
41
|
-
end
|
42
|
-
add_message "cerbos.telemetry.v1.ServerLaunch.Features.AdminApi" do
|
43
|
-
optional :enabled, :bool, 1, json_name: "enabled"
|
44
|
-
end
|
45
|
-
add_message "cerbos.telemetry.v1.ServerLaunch.Features.Storage" do
|
46
|
-
optional :driver, :string, 1, json_name: "driver"
|
47
|
-
oneof :store do
|
48
|
-
optional :disk, :message, 2, "cerbos.telemetry.v1.ServerLaunch.Features.Storage.Disk", json_name: "disk"
|
49
|
-
optional :git, :message, 3, "cerbos.telemetry.v1.ServerLaunch.Features.Storage.Git", json_name: "git"
|
50
|
-
optional :blob, :message, 4, "cerbos.telemetry.v1.ServerLaunch.Features.Storage.Blob", json_name: "blob"
|
51
|
-
end
|
52
|
-
end
|
53
|
-
add_message "cerbos.telemetry.v1.ServerLaunch.Features.Storage.Disk" do
|
54
|
-
optional :watch, :bool, 1, json_name: "watch"
|
55
|
-
end
|
56
|
-
add_message "cerbos.telemetry.v1.ServerLaunch.Features.Storage.Git" do
|
57
|
-
optional :protocol, :string, 1, json_name: "protocol"
|
58
|
-
optional :auth, :bool, 2, json_name: "auth"
|
59
|
-
optional :poll_interval, :message, 3, "google.protobuf.Duration", json_name: "pollInterval"
|
60
|
-
end
|
61
|
-
add_message "cerbos.telemetry.v1.ServerLaunch.Features.Storage.Blob" do
|
62
|
-
optional :provider, :string, 1, json_name: "provider"
|
63
|
-
optional :poll_interval, :message, 2, "google.protobuf.Duration", json_name: "pollInterval"
|
64
|
-
end
|
65
|
-
add_message "cerbos.telemetry.v1.ServerLaunch.Stats" do
|
66
|
-
optional :policy, :message, 1, "cerbos.telemetry.v1.ServerLaunch.Stats.Policy", json_name: "policy"
|
67
|
-
optional :schema, :message, 2, "cerbos.telemetry.v1.ServerLaunch.Stats.Schema", json_name: "schema"
|
68
|
-
end
|
69
|
-
add_message "cerbos.telemetry.v1.ServerLaunch.Stats.Policy" do
|
70
|
-
map :count, :string, :uint32, 1
|
71
|
-
map :avg_rule_count, :string, :double, 2
|
72
|
-
map :avg_condition_count, :string, :double, 3
|
73
|
-
end
|
74
|
-
add_message "cerbos.telemetry.v1.ServerLaunch.Stats.Schema" do
|
75
|
-
optional :count, :uint32, 1, json_name: "count"
|
76
|
-
end
|
77
|
-
add_message "cerbos.telemetry.v1.ServerStop" do
|
78
|
-
optional :version, :string, 1, json_name: "version"
|
79
|
-
optional :uptime, :message, 2, "google.protobuf.Duration", json_name: "uptime"
|
80
|
-
optional :requests_total, :uint64, 3, json_name: "requestsTotal"
|
81
|
-
end
|
82
|
-
add_message "cerbos.telemetry.v1.Event" do
|
83
|
-
oneof :data do
|
84
|
-
optional :api_activity, :message, 1, "cerbos.telemetry.v1.Event.ApiActivity", json_name: "apiActivity"
|
85
|
-
end
|
86
|
-
end
|
87
|
-
add_message "cerbos.telemetry.v1.Event.CountStat" do
|
88
|
-
optional :key, :string, 1, json_name: "key"
|
89
|
-
optional :count, :uint64, 2, json_name: "count"
|
90
|
-
end
|
91
|
-
add_message "cerbos.telemetry.v1.Event.ApiActivity" do
|
92
|
-
optional :version, :string, 1, json_name: "version"
|
93
|
-
optional :uptime, :message, 2, "google.protobuf.Duration", json_name: "uptime"
|
94
|
-
repeated :method_calls, :message, 3, "cerbos.telemetry.v1.Event.CountStat", json_name: "methodCalls"
|
95
|
-
repeated :user_agents, :message, 4, "cerbos.telemetry.v1.Event.CountStat", json_name: "userAgents"
|
96
|
-
end
|
97
|
-
end
|
98
|
-
end
|
99
|
-
|
100
|
-
module Cerbos::Protobuf::Cerbos
|
101
|
-
module Telemetry
|
102
|
-
module V1
|
103
|
-
ServerLaunch = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cerbos.telemetry.v1.ServerLaunch").msgclass
|
104
|
-
ServerLaunch::Cerbos = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cerbos.telemetry.v1.ServerLaunch.Cerbos").msgclass
|
105
|
-
ServerLaunch::Source = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cerbos.telemetry.v1.ServerLaunch.Source").msgclass
|
106
|
-
ServerLaunch::Features = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cerbos.telemetry.v1.ServerLaunch.Features").msgclass
|
107
|
-
ServerLaunch::Features::Audit = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cerbos.telemetry.v1.ServerLaunch.Features.Audit").msgclass
|
108
|
-
ServerLaunch::Features::Schema = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cerbos.telemetry.v1.ServerLaunch.Features.Schema").msgclass
|
109
|
-
ServerLaunch::Features::AdminApi = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cerbos.telemetry.v1.ServerLaunch.Features.AdminApi").msgclass
|
110
|
-
ServerLaunch::Features::Storage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cerbos.telemetry.v1.ServerLaunch.Features.Storage").msgclass
|
111
|
-
ServerLaunch::Features::Storage::Disk = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cerbos.telemetry.v1.ServerLaunch.Features.Storage.Disk").msgclass
|
112
|
-
ServerLaunch::Features::Storage::Git = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cerbos.telemetry.v1.ServerLaunch.Features.Storage.Git").msgclass
|
113
|
-
ServerLaunch::Features::Storage::Blob = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cerbos.telemetry.v1.ServerLaunch.Features.Storage.Blob").msgclass
|
114
|
-
ServerLaunch::Stats = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cerbos.telemetry.v1.ServerLaunch.Stats").msgclass
|
115
|
-
ServerLaunch::Stats::Policy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cerbos.telemetry.v1.ServerLaunch.Stats.Policy").msgclass
|
116
|
-
ServerLaunch::Stats::Schema = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cerbos.telemetry.v1.ServerLaunch.Stats.Schema").msgclass
|
117
|
-
ServerStop = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cerbos.telemetry.v1.ServerStop").msgclass
|
118
|
-
Event = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cerbos.telemetry.v1.Event").msgclass
|
119
|
-
Event::CountStat = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cerbos.telemetry.v1.Event.CountStat").msgclass
|
120
|
-
Event::ApiActivity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("cerbos.telemetry.v1.Event.ApiActivity").msgclass
|
121
|
-
end
|
122
|
-
end
|
123
|
-
end
|
@@ -1,117 +0,0 @@
|
|
1
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
-
# source: google/api/expr/v1alpha1/checked.proto
|
3
|
-
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
|
-
require 'cerbos/protobuf/google/api/expr/v1alpha1/syntax_pb'
|
7
|
-
require 'google/protobuf/empty_pb'
|
8
|
-
require 'google/protobuf/struct_pb'
|
9
|
-
|
10
|
-
Google::Protobuf::DescriptorPool.generated_pool.build do
|
11
|
-
add_file("google/api/expr/v1alpha1/checked.proto", :syntax => :proto3) do
|
12
|
-
add_message "google.api.expr.v1alpha1.CheckedExpr" do
|
13
|
-
map :reference_map, :int64, :message, 2, "google.api.expr.v1alpha1.Reference"
|
14
|
-
map :type_map, :int64, :message, 3, "google.api.expr.v1alpha1.Type"
|
15
|
-
optional :source_info, :message, 5, "google.api.expr.v1alpha1.SourceInfo", json_name: "sourceInfo"
|
16
|
-
optional :expr_version, :string, 6, json_name: "exprVersion"
|
17
|
-
optional :expr, :message, 4, "google.api.expr.v1alpha1.Expr", json_name: "expr"
|
18
|
-
end
|
19
|
-
add_message "google.api.expr.v1alpha1.Type" do
|
20
|
-
oneof :type_kind do
|
21
|
-
optional :dyn, :message, 1, "google.protobuf.Empty", json_name: "dyn"
|
22
|
-
optional :null, :enum, 2, "google.protobuf.NullValue", json_name: "null"
|
23
|
-
optional :primitive, :enum, 3, "google.api.expr.v1alpha1.Type.PrimitiveType", json_name: "primitive"
|
24
|
-
optional :wrapper, :enum, 4, "google.api.expr.v1alpha1.Type.PrimitiveType", json_name: "wrapper"
|
25
|
-
optional :well_known, :enum, 5, "google.api.expr.v1alpha1.Type.WellKnownType", json_name: "wellKnown"
|
26
|
-
optional :list_type, :message, 6, "google.api.expr.v1alpha1.Type.ListType", json_name: "listType"
|
27
|
-
optional :map_type, :message, 7, "google.api.expr.v1alpha1.Type.MapType", json_name: "mapType"
|
28
|
-
optional :function, :message, 8, "google.api.expr.v1alpha1.Type.FunctionType", json_name: "function"
|
29
|
-
optional :message_type, :string, 9, json_name: "messageType"
|
30
|
-
optional :type_param, :string, 10, json_name: "typeParam"
|
31
|
-
optional :type, :message, 11, "google.api.expr.v1alpha1.Type", json_name: "type"
|
32
|
-
optional :error, :message, 12, "google.protobuf.Empty", json_name: "error"
|
33
|
-
optional :abstract_type, :message, 14, "google.api.expr.v1alpha1.Type.AbstractType", json_name: "abstractType"
|
34
|
-
end
|
35
|
-
end
|
36
|
-
add_message "google.api.expr.v1alpha1.Type.ListType" do
|
37
|
-
optional :elem_type, :message, 1, "google.api.expr.v1alpha1.Type", json_name: "elemType"
|
38
|
-
end
|
39
|
-
add_message "google.api.expr.v1alpha1.Type.MapType" do
|
40
|
-
optional :key_type, :message, 1, "google.api.expr.v1alpha1.Type", json_name: "keyType"
|
41
|
-
optional :value_type, :message, 2, "google.api.expr.v1alpha1.Type", json_name: "valueType"
|
42
|
-
end
|
43
|
-
add_message "google.api.expr.v1alpha1.Type.FunctionType" do
|
44
|
-
optional :result_type, :message, 1, "google.api.expr.v1alpha1.Type", json_name: "resultType"
|
45
|
-
repeated :arg_types, :message, 2, "google.api.expr.v1alpha1.Type", json_name: "argTypes"
|
46
|
-
end
|
47
|
-
add_message "google.api.expr.v1alpha1.Type.AbstractType" do
|
48
|
-
optional :name, :string, 1, json_name: "name"
|
49
|
-
repeated :parameter_types, :message, 2, "google.api.expr.v1alpha1.Type", json_name: "parameterTypes"
|
50
|
-
end
|
51
|
-
add_enum "google.api.expr.v1alpha1.Type.PrimitiveType" do
|
52
|
-
value :PRIMITIVE_TYPE_UNSPECIFIED, 0
|
53
|
-
value :BOOL, 1
|
54
|
-
value :INT64, 2
|
55
|
-
value :UINT64, 3
|
56
|
-
value :DOUBLE, 4
|
57
|
-
value :STRING, 5
|
58
|
-
value :BYTES, 6
|
59
|
-
end
|
60
|
-
add_enum "google.api.expr.v1alpha1.Type.WellKnownType" do
|
61
|
-
value :WELL_KNOWN_TYPE_UNSPECIFIED, 0
|
62
|
-
value :ANY, 1
|
63
|
-
value :TIMESTAMP, 2
|
64
|
-
value :DURATION, 3
|
65
|
-
end
|
66
|
-
add_message "google.api.expr.v1alpha1.Decl" do
|
67
|
-
optional :name, :string, 1, json_name: "name"
|
68
|
-
oneof :decl_kind do
|
69
|
-
optional :ident, :message, 2, "google.api.expr.v1alpha1.Decl.IdentDecl", json_name: "ident"
|
70
|
-
optional :function, :message, 3, "google.api.expr.v1alpha1.Decl.FunctionDecl", json_name: "function"
|
71
|
-
end
|
72
|
-
end
|
73
|
-
add_message "google.api.expr.v1alpha1.Decl.IdentDecl" do
|
74
|
-
optional :type, :message, 1, "google.api.expr.v1alpha1.Type", json_name: "type"
|
75
|
-
optional :value, :message, 2, "google.api.expr.v1alpha1.Constant", json_name: "value"
|
76
|
-
optional :doc, :string, 3, json_name: "doc"
|
77
|
-
end
|
78
|
-
add_message "google.api.expr.v1alpha1.Decl.FunctionDecl" do
|
79
|
-
repeated :overloads, :message, 1, "google.api.expr.v1alpha1.Decl.FunctionDecl.Overload", json_name: "overloads"
|
80
|
-
end
|
81
|
-
add_message "google.api.expr.v1alpha1.Decl.FunctionDecl.Overload" do
|
82
|
-
optional :overload_id, :string, 1, json_name: "overloadId"
|
83
|
-
repeated :params, :message, 2, "google.api.expr.v1alpha1.Type", json_name: "params"
|
84
|
-
repeated :type_params, :string, 3, json_name: "typeParams"
|
85
|
-
optional :result_type, :message, 4, "google.api.expr.v1alpha1.Type", json_name: "resultType"
|
86
|
-
optional :is_instance_function, :bool, 5, json_name: "isInstanceFunction"
|
87
|
-
optional :doc, :string, 6, json_name: "doc"
|
88
|
-
end
|
89
|
-
add_message "google.api.expr.v1alpha1.Reference" do
|
90
|
-
optional :name, :string, 1, json_name: "name"
|
91
|
-
repeated :overload_id, :string, 3, json_name: "overloadId"
|
92
|
-
optional :value, :message, 4, "google.api.expr.v1alpha1.Constant", json_name: "value"
|
93
|
-
end
|
94
|
-
end
|
95
|
-
end
|
96
|
-
|
97
|
-
module Cerbos::Protobuf::Google
|
98
|
-
module Api
|
99
|
-
module Expr
|
100
|
-
module V1alpha1
|
101
|
-
CheckedExpr = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.expr.v1alpha1.CheckedExpr").msgclass
|
102
|
-
Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.expr.v1alpha1.Type").msgclass
|
103
|
-
Type::ListType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.expr.v1alpha1.Type.ListType").msgclass
|
104
|
-
Type::MapType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.expr.v1alpha1.Type.MapType").msgclass
|
105
|
-
Type::FunctionType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.expr.v1alpha1.Type.FunctionType").msgclass
|
106
|
-
Type::AbstractType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.expr.v1alpha1.Type.AbstractType").msgclass
|
107
|
-
Type::PrimitiveType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.expr.v1alpha1.Type.PrimitiveType").enummodule
|
108
|
-
Type::WellKnownType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.expr.v1alpha1.Type.WellKnownType").enummodule
|
109
|
-
Decl = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.expr.v1alpha1.Decl").msgclass
|
110
|
-
Decl::IdentDecl = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.expr.v1alpha1.Decl.IdentDecl").msgclass
|
111
|
-
Decl::FunctionDecl = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.expr.v1alpha1.Decl.FunctionDecl").msgclass
|
112
|
-
Decl::FunctionDecl::Overload = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.expr.v1alpha1.Decl.FunctionDecl.Overload").msgclass
|
113
|
-
Reference = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.expr.v1alpha1.Reference").msgclass
|
114
|
-
end
|
115
|
-
end
|
116
|
-
end
|
117
|
-
end
|