GoodData.UI API reference
  • All Products
  • All Products
  • GoodData.UI
  • API Reference
  • University
  • Community
  • Documentation
  • Support
  • 11.54.0
  • Code samples
  • GitHub

StringParameterConstraints

Home > @gooddata/sdk-code-schemas > v1 > StringParameterConstraints

v1.StringParameterConstraints interface

Optional restrictions the parameter value must satisfy. Length bounds and 'allowedValues' are mutually exclusive.

Signature:

export interface StringParameterConstraints 

Properties

Property

Modifiers

Type

Description

allowedValues?

[ParameterAllowedValue, ...ParameterAllowedValue[]]

(Optional) When present, the parameter value must equal one of the listed values.

maxLength?

number

(Optional) The longest accepted value length, inclusive.

minLength?

number

(Optional) The shortest accepted value length, inclusive.

  • v1.StringParameterConstraints interface
  • Properties
GoodData resources:
  • Documentation
Follow the community:
  • Community
Copyright © 2007–2026 GoodData Corporation. All Rights Reserved. Code licensed under a dual license - CC BY‑NC 4.0 for trial experience and GoodData.UI EULA for commercial use