Class EvaluationSpec
EvaluationSpec holds rules for evaluating the value of a flag.
Implements
Inherited Members
Namespace: Google.Apis.SaaSServiceManagement.v1beta1.Data
Assembly: Google.Apis.SaaSServiceManagement.v1beta1.dll
Syntax
public class EvaluationSpec : IDirectResponseSchema
Properties
Allocations
Optional. A list of allocations.
Declaration
[JsonProperty("allocations")]
public virtual IList<Allocation> Allocations { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<Allocation> |
Attributes
Optional. Names of the context attributes that are used in the evaluation rules and allocations.
Declaration
[JsonProperty("attributes")]
public virtual IList<string> Attributes { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<string> |
DefaultTarget
Required. Default variant or allocation of the flag.
Declaration
[JsonProperty("defaultTarget")]
public virtual string DefaultTarget { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Rules
Optional. Evaluation rules define the logic for evaluating the flag against a given context. The rules are evaluated sequentially in their specified order.
Declaration
[JsonProperty("rules")]
public virtual IList<EvaluationRule> Rules { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<EvaluationRule> |
Variants
Optional. A list of variants.
Declaration
[JsonProperty("variants")]
public virtual IList<Variant> Variants { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<Variant> |