Home

envoy.type.v3.FractionalPercent

Example

Disclaimer: The example is meant to show what methods are available on the object and does not necessarily constitute working code.
local types = import 'types.libsonnet';

types.envoy.type.v3.FractionalPercent
.withDenominator(types.envoy.type.v3.FractionalPercent.DenominatorType.HUNDRED)
.withNumerator(1)
._validate()

Nested Enums

Fields

Name Type One-of group Required Constraints
denominator envoy.type.v3.FractionalPercent.DenominatorType   {"Enum":{"defined_only":true}}
numerator uint32