cmind/ragmanager/v1/rag_quota_service.proto
Package: cmind.ragmanager.v1
Messages
SetQuotaRequest
| Field | Type | Number | Description |
|---|---|---|---|
id | string | 1 | |
tenantId | string | 2 | |
quota | string | 4 | Quota as a Kubernetes Quantity (for example, "1Gi", "500Mi"). No unit means bytes. |
SetQuotaResponse
GetQuotaRequest
| Field | Type | Number | Description |
|---|---|---|---|
id | string | 1 | |
tenantId | string | 2 |
GetQuotaResponse
| Field | Type | Number | Description |
|---|---|---|---|
id | string | 1 | |
tenantId | string | 2 | |
quotaBytes | optional int64 | 3 | |
usedBytes | int64 | 4 | |
quota | optional string | 5 | Quota as a Kubernetes Quantity (for example, "1Gi", "500Mi"). No unit means bytes. |
UnsetQuotaRequest
| Field | Type | Number | Description |
|---|---|---|---|
id | string | 1 | |
tenantId | string | 2 |
UnsetQuotaResponse
SetTenantQuotaRequest
| Field | Type | Number | Description |
|---|---|---|---|
tenantId | string | 1 | |
quota | string | 3 | Quota as a Kubernetes Quantity (for example, "1Gi", "500Mi"). No unit means bytes. |
SetTenantQuotaResponse
GetTenantQuotaRequest
| Field | Type | Number | Description |
|---|---|---|---|
tenantId | string | 1 |
GetTenantQuotaResponse
| Field | Type | Number | Description |
|---|---|---|---|
tenantId | string | 1 | |
quotaBytes | optional int64 | 2 | |
quota | optional string | 3 | Quota as a Kubernetes Quantity (for example, "1Gi", "500Mi"). No unit means bytes. |
UnsetTenantQuotaRequest
| Field | Type | Number | Description |
|---|---|---|---|
tenantId | string | 1 |
UnsetTenantQuotaResponse
SetDefaultQuotaRequest
| Field | Type | Number | Description |
|---|---|---|---|
tenantId | string | 1 | |
defaultQuota | string | 3 | Default quota as a Kubernetes Quantity (for example, "1Gi", "500Mi"). No unit means bytes. |
SetDefaultQuotaResponse
GetDefaultQuotaRequest
| Field | Type | Number | Description |
|---|---|---|---|
tenantId | string | 1 |
GetDefaultQuotaResponse
| Field | Type | Number | Description |
|---|---|---|---|
tenantId | string | 1 | |
defaultQuotaBytes | optional int64 | 2 | |
defaultQuota | optional string | 3 | Default quota as a Kubernetes Quantity (for example, "1Gi", "500Mi"). No unit means bytes. |
UnsetDefaultQuotaRequest
| Field | Type | Number | Description |
|---|---|---|---|
tenantId | string | 1 |
UnsetDefaultQuotaResponse
GetTenantUsageRequest
| Field | Type | Number | Description |
|---|---|---|---|
tenantId | string | 1 |
ServiceUsage
| Field | Type | Number | Description |
|---|---|---|---|
id | string | 1 | |
tenantId | string | 2 | |
quotaBytes | optional int64 | 3 | |
usedBytes | int64 | 4 | |
quota | optional string | 5 | Quota as a Kubernetes Quantity (for example, "1Gi", "500Mi"). No unit means bytes. |
GetTenantUsageResponse
| Field | Type | Number | Description |
|---|---|---|---|
services | repeated ServiceUsage | 1 | |
tenantQuotaBytes | optional int64 | 2 | |
tenantTotalUsedBytes | int64 | 3 | |
tenantQuota | optional string | 4 | Tenant quota as a Kubernetes Quantity (for example, "1Gi", "500Mi"). No unit means bytes. |
ListTenantsUsageRequest
TenantUsageSummary
| Field | Type | Number | Description |
|---|---|---|---|
tenantId | string | 1 | |
tenantName | string | 2 | |
serviceCount | int32 | 3 | |
totalUsedBytes | int64 | 4 | |
tenantQuotaBytes | optional int64 | 5 | |
tenantQuota | optional string | 6 | Tenant quota as a Kubernetes Quantity (for example, "1Gi", "500Mi"). No unit means bytes. |
ListTenantsUsageResponse
| Field | Type | Number | Description |
|---|---|---|---|
tenants | repeated TenantUsageSummary | 1 |
BatchSetQuotaRequest
| Field | Type | Number | Description |
|---|---|---|---|
quota | string | 1 | Quota as a Kubernetes Quantity (for example, "1Gi", "500Mi"). No unit means bytes. |
tenantId | string | 2 | |
ids | repeated string | 3 |
BatchSetQuotaResponse
BatchUnsetQuotaRequest
| Field | Type | Number | Description |
|---|---|---|---|
tenantId | string | 1 | |
ids | repeated string | 2 |
BatchUnsetQuotaResponse
Services
RagQuotaService
SetQuota
Request: SetQuotaRequest
Response: SetQuotaResponse
GetQuota
Request: GetQuotaRequest
Response: GetQuotaResponse
UnsetQuota
Request: UnsetQuotaRequest
Response: UnsetQuotaResponse
SetTenantQuota
Request: SetTenantQuotaRequest
Response: SetTenantQuotaResponse
GetTenantQuota
Request: GetTenantQuotaRequest
Response: GetTenantQuotaResponse
UnsetTenantQuota
Request: UnsetTenantQuotaRequest
Response: UnsetTenantQuotaResponse
BatchSetQuota
Request: BatchSetQuotaRequest
Response: BatchSetQuotaResponse
BatchUnsetQuota
Request: BatchUnsetQuotaRequest
Response: BatchUnsetQuotaResponse
SetDefaultQuota
Request: SetDefaultQuotaRequest
Response: SetDefaultQuotaResponse
GetDefaultQuota
Request: GetDefaultQuotaRequest
Response: GetDefaultQuotaResponse
UnsetDefaultQuota
Request: UnsetDefaultQuotaRequest
Response: UnsetDefaultQuotaResponse
GetTenantUsage
Request: GetTenantUsageRequest
Response: GetTenantUsageResponse
ListTenantsUsage
Request: ListTenantsUsageRequest
Response: ListTenantsUsageResponse