SDK reference / Models / Flags

FlagSet

Kind: class

Namespace: Egulu.Sdk.Models.Flags

A versioned set of feature flags (or app configuration entries) in one project and location (OPS-15).entries is the current version's content: for FLAGS a map of flag key to flag definition (type boolean, string, number or object;variants; defaultVariant; enabled; rules with when and serve or rollout; a fallthrough rollout); for CONFIG a map of key to{type: string|number|boolean|json|secretRef, value} or {type: secretRef, secret: {name, version}}.

Properties

NameTypeJSON nameDescription
CreateTimeDateTimeOffset?createTimeThe createTime property
Descriptionstring?descriptionThe description property
DisplayNamestring?displayNameThe displayName property
EntriesModels.Flags.FlagSet_entries?entriesThe current content (see the model description).
EntryCountint?entryCountThe entryCount property
Etagstring?etagThe version's ETag: the digest of its content. Bulk evaluation and the config read answer with it.
KindModels.Flags.FlagSetKind?kindWhat a set holds: feature flags (served through OFREP) or app configuration (key-value settings).
Namestring?nameprojects/{project}/locations/{location}/flagSets/{flagSet} (or configSets).
UpdateTimeDateTimeOffset?updateTimeThe updateTime property
Versionint?versionThe current version, 1 or more; a new set starts at version 1 with no entries.