Class Allocation
Allocation defines a set of weighted flag variants, specifying how traffic is split based on the randomization unit.
Implements
Inherited Members
Namespace: Google.Apis.SaaSServiceManagement.v1beta1.Data
Assembly: Google.Apis.SaaSServiceManagement.v1beta1.dll
Syntax
public class Allocation : IDirectResponseSchema
Properties
Description
Optional. Description of the allocation. Max length: 500 bytes.
Declaration
[JsonProperty("description")]
public virtual string Description { 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 |
Id
Required. Allocation ID. Max length: 128 bytes.
Declaration
[JsonProperty("id")]
public virtual string Id { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RandomizedOn
Required. Key of the context attribute that is used for traffic splitting.
Declaration
[JsonProperty("randomizedOn")]
public virtual string RandomizedOn { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Slots
Required. Slots defines the weighted distribution of variants.
Declaration
[JsonProperty("slots")]
public virtual IList<AllocationSlot> Slots { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<AllocationSlot> |