Class Form.Types.Parameter (1.0.0)

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

Represents a form parameter.

Inheritance

System.Object > Form.Types.Parameter

Implements

Google.Protobuf.IMessage<Form.Types.Parameter>, System.IEquatable<Form.Types.Parameter>, Google.Protobuf.IDeepCloneable<Form.Types.Parameter>, Google.Protobuf.IBufferMessage, Google.Protobuf.IMessage

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
Google.Protobuf.WellKnownTypes.Value

DisplayName

public string DisplayName { get; set; }

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

Property Value
TypeDescription
System.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
System.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
System.Boolean

Redact

public bool Redact { get; set; }

Indicates whether the parameter content is logged in text and audio. If it is set to true, the parameter content will be replaced to parameter name in both request and response. The default value is false.

Property Value
TypeDescription
System.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
System.Boolean