message

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

FieldNumberTypeCardinalityValidationDescription
id1stringoptional
string.min_length=1
—
Details
  • JSON name: id
  • Presence: EXPLICIT
(cybozu.validate.rules) = {
  string: {
    min_length: 1
  }
}
name2stringoptional
string.min_length=1string.max_length=80
—
Details
  • JSON name: name
  • Presence: EXPLICIT
(cybozu.validate.rules) = {
  string: {
    min_length: 1
    max_length: 80
  }
}
enabled3booloptional——
Details
  • JSON name: enabled
  • Presence: EXPLICIT
metadata4map<string, string>map
map.max_items=20
—
Details
  • JSON name: metadata
  • Presence: IMPLICIT
(cybozu.validate.rules) = {
  map: {
    max_items: 20
  }
}
owner
oneof
—oneofrequired
required

Exactly one of team, user.

Details
(cybozu.validate.required) = true
team5stringoptional——
Details
  • JSON name: team
  • Presence: EXPLICIT
user6stringoptional
string.email
—
Details
  • JSON name: user
  • Presence: EXPLICIT
(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: ALLOW
    inherited from acme/experiment/v1/flags

Used by

What will be affected if this symbol changes.