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
@0xd5ec7c0aa378d5cb;
struct ListSchemasRequest {
token @0 :Text;
}
struct ListSchemasResponse {
schemasJson @0 :Text;
}
struct ReplaceSchemasRequest {
token @0 :Text;
schemasJson @1 :Text;
}
struct ReplaceSchemasResponse {
replaced @0 :UInt32;
}
struct TenantAssignRequest {
token @0 :Text;
tenantId @1 :Text;
shardId @2 :Text;
}
struct TenantAssignResponse {
changed @0 :Bool;
shardId @1 :Text;
}
struct TenantUnassignRequest {
token @0 :Text;
tenantId @1 :Text;
}
struct TenantUnassignResponse {
changed @0 :Bool;
}
struct TenantQuotaSetRequest {
token @0 :Text;
tenantId @1 :Text;
maxStorageMb @2 :UInt64;
}
struct TenantQuotaSetResponse {
changed @0 :Bool;
quotaMb @1 :UInt64;
hasQuota @2 :Bool;
}
struct TenantQuotaClearRequest {
token @0 :Text;
tenantId @1 :Text;
}
struct TenantQuotaClearResponse {
changed @0 :Bool;
}
struct TenantQuotaRecalcRequest {
token @0 :Text;
tenantId @1 :Text;
}
struct TenantQuotaRecalcResponse {
storageBytes @0 :UInt64;
}
struct TenantReloadRequest {
token @0 :Text;
tenantId @1 :Text;
}
struct TenantReloadResponse {
reloaded @0 :Bool;
}
struct TenantSchemaPublishRequest {
token @0 :Text;
tenantId @1 :Text;
reason @2 :Text;
hasReason @3 :Bool;
actor @4 :Text;
hasActor @5 :Bool;
labels @6 :List(Text);
activate @7 :Bool;
force @8 :Bool;
reload @9 :Bool;
}
struct TenantSchemaPublishResponse {
versionId @0 :Text;
activated @1 :Bool;
skipped @2 :Bool;
}