-
Notifications
You must be signed in to change notification settings - Fork 123
/
request.proto
656 lines (593 loc) · 20.5 KB
/
request.proto
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
// Copyright 2021-2023 Zenauth Ltd.
// SPDX-License-Identifier: Apache-2.0
syntax = "proto3";
package cerbos.request.v1;
import "cerbos/engine/v1/engine.proto";
import "cerbos/policy/v1/policy.proto";
import "cerbos/schema/v1/schema.proto";
import "google/api/field_behavior.proto";
import "google/protobuf/duration.proto";
import "google/protobuf/struct.proto";
import "google/protobuf/timestamp.proto";
import "protoc-gen-openapiv2/options/annotations.proto";
import "validate/validate.proto";
option csharp_namespace = "Cerbos.Api.V1.Request";
option go_package = "github.com/cerbos/cerbos/api/genpb/cerbos/request/v1;requestv1";
option java_package = "dev.cerbos.api.v1.request";
message PlanResourcesRequest {
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = {
json_schema: {description: "PDP Resources Query Plan Request"}
};
string request_id = 1 [(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
description: "Optional application-specific ID useful for correlating logs for analysis."
example: "\"c2db17b8-4f9f-4fb1-acfd-9162a02be42b\""
}];
string action = 2 [
(validate.rules).string.min_len = 1,
(google.api.field_behavior) = REQUIRED,
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
description: "Action to be applied to each resource in the list."
example: "\"view:public\""
}
];
cerbos.engine.v1.Principal principal = 3 [
(validate.rules).message.required = true,
(google.api.field_behavior) = REQUIRED
];
cerbos.engine.v1.PlanResourcesInput.Resource resource = 4 [
(validate.rules).message.required = true,
(google.api.field_behavior) = REQUIRED
];
AuxData aux_data = 5 [(google.api.field_behavior) = OPTIONAL];
bool include_meta = 6 [(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {description: "Opt to receive request processing metadata in the response."}];
}
// Deprecated. See CheckResourcesRequest.
message CheckResourceSetRequest {
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = {
json_schema: {description: "PDP Request"}
};
string request_id = 1 [(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
description: "Optional application-specific ID useful for correlating logs for analysis."
example: "\"c2db17b8-4f9f-4fb1-acfd-9162a02be42b\""
}];
repeated string actions = 2 [
(validate.rules).repeated = {
unique: true,
min_items: 1,
items {
string {min_len: 1}
}
},
(google.api.field_behavior) = REQUIRED,
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
description: "List of actions being performed on the set of resources."
min_items: 1
unique_items: true
example: "[\"view:public\", \"comment\"]"
}
];
cerbos.engine.v1.Principal principal = 3 [
(validate.rules).message.required = true,
(google.api.field_behavior) = REQUIRED
];
ResourceSet resource = 4 [
(validate.rules).message.required = true,
(google.api.field_behavior) = REQUIRED
];
bool include_meta = 5 [(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {description: "Opt to receive request processing metadata in the response."}];
AuxData aux_data = 6 [(google.api.field_behavior) = OPTIONAL];
}
message ResourceSet {
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = {
json_schema: {description: "Set of resources to check"}
};
string kind = 1 [
(validate.rules).string = {
pattern: "^[[:alpha:]][[:word:]\\@\\.\\-/]*(\\:[[:alpha:]][[:word:]\\@\\.\\-/]*)*$",
min_len: 1
},
(google.api.field_behavior) = REQUIRED,
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
description: "Resource kind."
example: "\"album:object\""
pattern: "^[[:alpha:]][[:word:]\\@\\.\\-]*(\\:[[:alpha:]][[:word:]\\@\\.\\-]*)*$"
}
];
string policy_version = 2 [
(validate.rules).string.pattern = "^[[:word:]]*$",
(google.api.field_behavior) = OPTIONAL,
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
description: "The policy version to use to evaluate this request. If not specified, will default to the server-configured default version.",
pattern: "^[[:word:]]*$"
example: "\"default\""
}
];
map<string, AttributesMap> instances = 3 [
(validate.rules).map = {
min_pairs: 1,
no_sparse: true
},
(google.api.field_behavior) = REQUIRED,
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
description: "Set of resource instances to check. Each instance must be keyed by an application-specific unique identifier.",
min_properties: 1
example: "{\"XX125\":{\"attr\":{\"owner\":\"bugs_bunny\", \"public\": false, \"flagged\": false}}, \"XX225\":{\"attr\":{\"owner\":\"daffy_duck\", \"public\": true, \"flagged\": false}}}"
}
];
string scope = 4 [
(validate.rules).string.pattern = "^([[:alnum:]][[:word:]\\-]*(\\.[[:word:]\\-]*)*)*$",
(google.api.field_behavior) = OPTIONAL,
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
description: "A dot-separated scope that describes the hierarchy these resources belong to. This is used for determining policy inheritance."
pattern: "^([[:alnum:]][[:word:]\\-]*(\\.[[:word:]\\-]*)*)*$"
}
];
}
message AttributesMap {
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = {
json_schema: {description: "Unique identifier for the resource instance."}
};
map<string, google.protobuf.Value> attr = 1 [
(validate.rules).map.no_sparse = true,
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {description: "Key-value pairs of contextual data about this instance that should be used during policy evaluation."}
];
}
// Deprecated. See CheckResourcesRequest.
message CheckResourceBatchRequest {
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = {
json_schema: {description: "PDP Request"}
};
message BatchEntry {
repeated string actions = 1 [
(validate.rules).repeated = {
unique: true,
min_items: 1,
items {
string {min_len: 1}
}
},
(google.api.field_behavior) = REQUIRED,
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
description: "List of actions being performed on the resource."
min_items: 1
unique_items: true
example: "[\"view:public\", \"comment\"]"
}
];
cerbos.engine.v1.Resource resource = 2 [
(validate.rules).message.required = true,
(google.api.field_behavior) = REQUIRED
];
}
string request_id = 1 [(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
description: "Optional application-specific ID useful for correlating logs for analysis."
example: "\"c2db17b8-4f9f-4fb1-acfd-9162a02be42b\""
}];
cerbos.engine.v1.Principal principal = 2 [
(validate.rules).message.required = true,
(google.api.field_behavior) = REQUIRED
];
repeated BatchEntry resources = 3 [
(validate.rules).repeated = {min_items: 1},
(google.api.field_behavior) = REQUIRED,
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
description: "List of resources and actions."
min_items: 1
unique_items: true
example: "[{\"actions\":[\"view\",\"comment\"], \"resource\":{\"kind\":\"album:object\",\"policyVersion\":\"default\",\"id\":\"XX125\",\"attr\":{\"owner\":\"bugs_bunny\", \"public\": false, \"flagged\": false}}}]"
}
];
AuxData aux_data = 4;
}
// Structure of the request for the check resources API call.
message CheckResourcesRequest {
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = {
json_schema: {description: "Check resources request"}
};
message ResourceEntry {
repeated string actions = 1 [
(validate.rules).repeated = {
unique: true,
min_items: 1,
items {
string {min_len: 1}
}
},
(google.api.field_behavior) = REQUIRED,
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
description: "List of actions being performed on the resource."
min_items: 1
unique_items: true
example: "[\"view:public\", \"comment\"]"
}
];
cerbos.engine.v1.Resource resource = 2 [
(validate.rules).message.required = true,
(google.api.field_behavior) = REQUIRED
];
}
string request_id = 1 [(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
description: "Optional application-specific ID useful for correlating logs for analysis."
example: "\"c2db17b8-4f9f-4fb1-acfd-9162a02be42b\""
}];
bool include_meta = 2 [(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {description: "Add request processing metadata to the response."}];
cerbos.engine.v1.Principal principal = 3 [
(validate.rules).message.required = true,
(google.api.field_behavior) = REQUIRED
];
repeated ResourceEntry resources = 4 [
(validate.rules).repeated = {min_items: 1},
(google.api.field_behavior) = REQUIRED,
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
description: "List of resources and actions."
min_items: 1
unique_items: true
example: "[{\"actions\":[\"view\",\"comment\"], \"resource\":{\"kind\":\"album:object\",\"policyVersion\":\"default\",\"id\":\"XX125\",\"attr\":{\"owner\":\"bugs_bunny\", \"public\": false, \"flagged\": false}}}]"
}
];
AuxData aux_data = 5;
}
message AuxData {
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = {
json_schema: {description: "Structured auxiliary data useful for evaluating the request"}
};
message JWT {
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = {
json_schema: {description: "JWT from the original request"}
};
string token = 1 [
(validate.rules).string = {min_len: 1},
(google.api.field_behavior) = REQUIRED,
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
description: "JWT from the original request"
example: "\"eyJhbGciOiJFUzM4NCIsImtpZCI6IjE5TGZaYXRFZGc4M1lOYzVyMjNndU1KcXJuND0iLCJ0eXAiOiJKV1QifQ.eyJhdWQiOlsiY2VyYm9zLWp3dC10ZXN0cyJdLCJjdXN0b21BcnJheSI6WyJBIiwiQiIsIkMiXSwiY3VzdG9tSW50Ijo0MiwiY3VzdG9tTWFwIjp7IkEiOiJBQSIsIkIiOiJCQiIsIkMiOiJDQyJ9LCJjdXN0b21TdHJpbmciOiJmb29iYXIiLCJleHAiOjE5NDk5MzQwMzksImlzcyI6ImNlcmJvcy10ZXN0LXN1aXRlIn0.WN_tOScSpd_EI-P5EI1YlagxEgExSfBjAtcrgcF6lyWj1lGpR_GKx9goZEp2p_t5AVWXN_bjz_sMUmJdJa4cVd55Qm1miR-FKu6oNRHnSEWdMFmnArwPw-YDJWfylLFX\""
}
];
string key_set_id = 2 [(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
description: "Key ID to use when decoding the token (defined in the Cerbos server configuration)"
example: "\"my-keyset\""
}];
}
JWT jwt = 1;
}
message File {
string file_name = 1 [
(validate.rules).string.min_len = 1,
(google.api.field_behavior) = REQUIRED
];
bytes contents = 2 [
(validate.rules).bytes = {
min_len: 1,
max_len: 1048576
},
(google.api.field_behavior) = REQUIRED
];
}
message PlaygroundValidateRequest {
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = {
json_schema: {description: "Playground validate request"}
};
string playground_id = 1;
repeated File files = 2 [
(validate.rules).repeated = {
min_items: 1,
max_items: 30
},
(google.api.field_behavior) = REQUIRED,
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
description: "List of files."
min_items: 1
max_items: 30
}
];
}
message PlaygroundTestRequest {
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = {
json_schema: {description: "Playground test request"}
};
string playground_id = 1;
repeated File files = 2 [
(validate.rules).repeated = {
min_items: 1,
max_items: 30
},
(google.api.field_behavior) = REQUIRED,
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
description: "List of files."
min_items: 1
max_items: 30
}
];
}
message PlaygroundEvaluateRequest {
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = {
json_schema: {description: "Playground evaluate request"}
};
string playground_id = 1;
repeated File files = 2 [
(validate.rules).repeated = {
min_items: 1,
max_items: 30
},
(google.api.field_behavior) = REQUIRED,
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
description: "List of files."
min_items: 1
max_items: 30
}
];
cerbos.engine.v1.Principal principal = 3 [
(validate.rules).message.required = true,
(google.api.field_behavior) = REQUIRED
];
cerbos.engine.v1.Resource resource = 4 [
(validate.rules).message.required = true,
(google.api.field_behavior) = REQUIRED
];
repeated string actions = 5 [
(validate.rules).repeated = {
unique: true,
min_items: 1,
max_items: 50,
items {
string {min_len: 1}
}
},
(google.api.field_behavior) = REQUIRED,
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
description: "List of actions being performed on the resource."
min_items: 1
max_items: 50
unique_items: true
}
];
AuxData aux_data = 6;
}
message PlaygroundProxyRequest {
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = {
json_schema: {description: "Playground proxy request"}
};
string playground_id = 1;
repeated File files = 2 [
(validate.rules).repeated = {
min_items: 1,
max_items: 30
},
(google.api.field_behavior) = REQUIRED,
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
description: "List of files."
min_items: 1
max_items: 30
}
];
oneof proxy_request {
option (validate.required) = true;
CheckResourceSetRequest check_resource_set = 3;
CheckResourceBatchRequest check_resource_batch = 4;
PlanResourcesRequest plan_resources = 5;
CheckResourcesRequest check_resources = 6;
}
}
message AddOrUpdatePolicyRequest {
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = {
json_schema: {description: "Add/update policy request"}
};
repeated cerbos.policy.v1.Policy policies = 1 [
(validate.rules).repeated = {
min_items: 1,
max_items: 10
},
(google.api.field_behavior) = REQUIRED,
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
description: "List of policies."
min_items: 1
max_items: 10
}
];
}
message ListAuditLogEntriesRequest {
enum Kind {
KIND_UNSPECIFIED = 0;
KIND_ACCESS = 1;
KIND_DECISION = 2;
}
message TimeRange {
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = {
json_schema: {description: "Entries between a time range."}
};
google.protobuf.Timestamp start = 1 [
(validate.rules).timestamp = {
required: true,
lt_now: true,
},
(google.api.field_behavior) = REQUIRED,
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
description: "Start date in ISO 8601 format."
example: "\"2021-07-05T07:27:01+00:00\""
}
];
google.protobuf.Timestamp end = 2 [
(validate.rules).timestamp = {
required: true,
lt_now: true,
},
(google.api.field_behavior) = REQUIRED,
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
description: "End date in ISO 8601 format."
example: "\"2021-07-05T07:27:01+00:00\""
}
];
}
Kind kind = 1 [
(validate.rules).enum = {
in: [
1,
2
]
},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
description: "Kind of log entry"
enum: [
"KIND_ACCESS",
"KIND_DECISION"
]
}
];
oneof filter {
option (validate.required) = true;
uint32 tail = 2 [
(validate.rules).uint32.lte = 1000,
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
description: "Last N entries."
minimum: 1
maximum: 1000
}
];
TimeRange between = 3;
google.protobuf.Duration since = 4 [(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {description: "Entries since N hours/minutes ago"}];
string lookup = 5 [
(validate.rules).string = {pattern: "^[0123456789ABCDEFGHJKMNPQRSTVWXYZ]{26}$"},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
description: "By Call ID"
pattern: "^[0123456789ABCDEFGHJKMNPQRSTVWXYZ]{26}$"
}
];
}
}
message ServerInfoRequest {
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = {
json_schema: {description: "Server info request"}
};
}
message ListPoliciesRequest {
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = {
json_schema: {description: "List policies request"}
};
bool include_disabled = 1 [
(google.api.field_behavior) = OPTIONAL,
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {description: "Include disabled policies"}
];
}
message GetPolicyRequest {
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = {
json_schema: {description: "Get policy request"}
};
repeated string id = 1 [
(google.api.field_behavior) = REQUIRED,
(validate.rules).repeated = {
unique: true,
min_items: 1,
max_items: 25,
items {
string {
min_len: 1,
max_len: 1280
}
}
},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
description: "For blob, disk, git stores use file name (<filename>.yaml). For mysql, postgres, sqlite3 use id (<kind>.<name>.<version>) of the policy"
example: "\"principal.sarah.vdefault\""
}
];
}
message DisablePolicyRequest {
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = {
json_schema: {description: "Disable policy request"}
};
repeated string id = 1 [
(google.api.field_behavior) = REQUIRED,
(validate.rules).repeated = {
unique: true,
min_items: 1,
max_items: 25,
items {
string {
min_len: 1,
max_len: 1280
}
}
},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
description: "Unique identifier for the policy"
example: "\"principal.sarah.vdefault\""
}
];
}
message AddOrUpdateSchemaRequest {
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = {
json_schema: {description: "Add/update schema request"}
};
repeated cerbos.schema.v1.Schema schemas = 1 [
(google.api.field_behavior) = REQUIRED,
(validate.rules).repeated = {
min_items: 1,
max_items: 10
},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
description: "List of schemas."
min_items: 1
max_items: 10
}
];
}
message ListSchemasRequest {
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = {
json_schema: {description: "List schema ids request"}
};
}
message GetSchemaRequest {
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = {
json_schema: {description: "Get schema(s) request"}
};
repeated string id = 1 [
(google.api.field_behavior) = REQUIRED,
(validate.rules).repeated = {
unique: true,
min_items: 1,
max_items: 25,
items {
string {
min_len: 1,
max_len: 255
}
}
},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
description: "Unique identifier for the schema"
example: "\"principal.json\""
}
];
}
message DeleteSchemaRequest {
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = {
json_schema: {description: "Delete schema(s) request"}
};
repeated string id = 1 [
(google.api.field_behavior) = REQUIRED,
(validate.rules).repeated = {
unique: true,
min_items: 1,
max_items: 25,
items {
string {
min_len: 1,
max_len: 255
}
}
},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
description: "Unique identifier for the schema"
example: "\"principal.json\""
}
];
}
message ReloadStoreRequest {
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = {
json_schema: {description: "Reload store request"}
};
bool wait = 1 [
(google.api.field_behavior) = OPTIONAL,
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {description: "Wait until the reloading process finalizes"}
];
}