CxPageFormParameter

data class CxPageFormParameter(val defaultValue: String? = null, val displayName: String? = null, val entityType: String? = null, val fillBehavior: CxPageFormParameterFillBehavior? = null, val isList: Boolean? = null, val redact: Boolean? = null, val required: Boolean? = null)

Constructors

Link copied to clipboard
constructor(defaultValue: String? = null, displayName: String? = null, entityType: String? = null, fillBehavior: CxPageFormParameterFillBehavior? = null, isList: Boolean? = null, redact: Boolean? = null, required: Boolean? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val defaultValue: String? = null

The default value of an optional parameter. If the parameter is required, the default value will be ignored.

Link copied to clipboard
val displayName: String? = null

The human-readable name of the parameter, unique within the form.

Link copied to clipboard
val entityType: String? = null

The entity type of the parameter. Format: projects/-/locations/-/agents/-/entityTypes/ for system entity types (for example, projects/-/locations/-/agents/-/entityTypes/sys.date), or projects//locations//agents//entityTypes/ for developer entity types.

Link copied to clipboard

Defines fill behavior for the parameter. Structure is documented below.

Link copied to clipboard
val isList: Boolean? = null

Indicates whether the parameter represents a list of values.

Link copied to clipboard
val redact: Boolean? = null

Indicates whether the parameter content should be redacted in log. If redaction is enabled, the parameter content will be replaced by parameter name during logging. Note: the parameter content is subject to redaction if either parameter level redaction or entity type level redaction is enabled.

Link copied to clipboard
val required: Boolean? = null

Indicates whether the parameter is required. Optional parameters will not trigger prompts; however, they are filled if the user specifies them. Required parameters must be filled before form filling concludes.