Class Form.Types.Parameter (1.9.0)

public sealed class Parameter : IMessage<Form.Types.Parameter>, IEquatable<Form.Types.Parameter>, IDeepCloneable<Form.Types.Parameter>, IBufferMessage, IMessage

Represents a form parameter.

Inheritance

Object > Form.Types.Parameter

Namespace

Google.Cloud.Dialogflow.Cx.V3

Assembly

Google.Cloud.Dialogflow.Cx.V3.dll

Constructors

Parameter()

public Parameter()

Parameter(Form.Types.Parameter)

public Parameter(Form.Types.Parameter other)
Parameter
NameDescription
otherForm.Types.Parameter

Properties

DefaultValue

public Value DefaultValue { get; set; }

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

Property Value
TypeDescription
Value

DisplayName

public string DisplayName { get; set; }

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

Property Value
TypeDescription
String

EntityType

public string EntityType { get; set; }

Required. The entity type of the parameter. Format: projects/-/locations/-/agents/-/entityTypes/&lt;System Entity Type ID> for system entity types (for example, projects/-/locations/-/agents/-/entityTypes/sys.date), or projects/&lt;Project ID>/locations/&lt;Location ID>/agents/&lt;Agent ID>/entityTypes/&lt;Entity Type ID> for developer entity types.

Property Value
TypeDescription
String

FillBehavior

public Form.Types.Parameter.Types.FillBehavior FillBehavior { get; set; }

Required. Defines fill behavior for the parameter.

Property Value
TypeDescription
Form.Types.Parameter.Types.FillBehavior

IsList

public bool IsList { get; set; }

Indicates whether the parameter represents a list of values.

Property Value
TypeDescription
Boolean

Redact

public bool Redact { get; set; }

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][google.cloud.dialogflow.cx.v3.EntityType.redact] is enabled.

Property Value
TypeDescription
Boolean

Required

public bool Required { get; set; }

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.

Property Value
TypeDescription
Boolean