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
| Name | Type | JSON name | Description |
|---|---|---|---|
CreateTime | DateTimeOffset? | createTime | The createTime property |
Description | string? | description | The description property |
DisplayName | string? | displayName | The displayName property |
Entries | Models.Flags.FlagSet_entries? | entries | The current content (see the model description). |
EntryCount | int? | entryCount | The entryCount property |
Etag | string? | etag | The version's ETag: the digest of its content. Bulk evaluation and the config read answer with it. |
Kind | Models.Flags.FlagSetKind? | kind | What a set holds: feature flags (served through OFREP) or app configuration (key-value settings). |
Name | string? | name | projects/{project}/locations/{location}/flagSets/{flagSet} (or configSets). |
UpdateTime | DateTimeOffset? | updateTime | The updateTime property |
Version | int? | version | The current version, 1 or more; a new set starts at version 1 with no entries. |