Flag
acme.experiment.v1.Flag
Feature flags used by the experimental rollout pipeline. This file is compiled as Protobuf Editions 2023 so effective feature inheritance shows up in the generated docs.
Fields
| Field | Number | Type | Cardinality | Validation | Description |
|---|---|---|---|---|---|
| id | 1 | string | optional | string.min_length=1 | —Details
(cybozu.validate.rules) = {
string: {
min_length: 1
}
}
|
| name | 2 | string | optional | string.min_length=1string.max_length=80 | —Details
(cybozu.validate.rules) = {
string: {
min_length: 1
max_length: 80
}
}
|
| enabled | 3 | bool | optional | — | —Details
|
| metadata | 4 | map<string, string> | map | map.max_items=20 | —Details
(cybozu.validate.rules) = {
map: {
max_items: 20
}
}
|
| owner oneof | — | oneof | required | required | Details(cybozu.validate.required) = true |
| team in owner | 5 | string | optional | — | —Details
|
| user in owner | 6 | string | optional | string.email | —Details
(cybozu.validate.rules) = {
string: {
email: true
}
}
|
Example JSON
{
"id": "string",
"name": "string",
"enabled": true,
"metadata": {
"key": "string"
},
"team": "string",
"user": "string"
}Effective features
- json_format: ALLOWinherited from acme/experiment/v1/flags
Used by
What will be affected if this symbol changes.