Class GoogleCloudDialogflowV2IntentParameter
Represents intent parameters.
Implements
Inherited Members
Namespace: Google.Apis.Dialogflow.v2beta1.Data
Assembly: Google.Apis.Dialogflow.v2beta1.dll
Syntax
public class GoogleCloudDialogflowV2IntentParameter : IDirectResponseSchema
Properties
DefaultValue
Optional. The default value to use when the value
yields an empty result. Default values can be extracted
from contexts by using the following syntax: #context_name.parameter_name
.
Declaration
[JsonProperty("defaultValue")]
public virtual string DefaultValue { get; set; }
Property Value
Type | Description |
---|---|
string |
DisplayName
Required. The name of the parameter.
Declaration
[JsonProperty("displayName")]
public virtual string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
EntityTypeDisplayName
Optional. The name of the entity type, prefixed with @
, that describes values of the parameter. If the
parameter is required, this must be provided.
Declaration
[JsonProperty("entityTypeDisplayName")]
public virtual string EntityTypeDisplayName { get; set; }
Property Value
Type | Description |
---|---|
string |
IsList
Optional. Indicates whether the parameter represents a list of values.
Declaration
[JsonProperty("isList")]
public virtual bool? IsList { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Mandatory
Optional. Indicates whether the parameter is required. That is, whether the intent cannot be completed without collecting the parameter value.
Declaration
[JsonProperty("mandatory")]
public virtual bool? Mandatory { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Name
The unique identifier of this parameter.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Prompts
Optional. The collection of prompts that the agent can present to the user in order to collect a value for the parameter.
Declaration
[JsonProperty("prompts")]
public virtual IList<string> Prompts { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
Value
Optional. The definition of the parameter value. It can be: - a constant string, - a parameter value defined
as $parameter_name
, - an original parameter value defined as $parameter_name.original
, - a parameter
value from some context defined as #context_name.parameter_name
.
Declaration
[JsonProperty("value")]
public virtual string Value { get; set; }
Property Value
Type | Description |
---|---|
string |