Supported Types
Union Discrimination
Use theType field to determine which variant is active, then access the corresponding field:
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
observabilityFilterRuleGroupValue := components.CreateObservabilityFilterRuleGroupValueStr(string{/* values here */})
observabilityFilterRuleGroupValue := components.CreateObservabilityFilterRuleGroupValueNumber(float64{/* values here */})
Type field to determine which variant is active, then access the corresponding field:
switch observabilityFilterRuleGroupValue.Type {
case components.ObservabilityFilterRuleGroupValueTypeStr:
// observabilityFilterRuleGroupValue.Str is populated
case components.ObservabilityFilterRuleGroupValueTypeNumber:
// observabilityFilterRuleGroupValue.Number is populated
}