Class AgentState
Inherited Members
Namespace: Pulumi.Gcp.Diagflow
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class AgentState : ResourceArgs
Constructors
View SourceAgentState()
Declaration
public AgentState()
Properties
View SourceApiVersion
API version displayed in Dialogflow console. If not specified, V2 API is assumed. Clients are free to query different service endpoints for different API versions. However, bots connectors and webhook calls will follow the specified API version.
- API_VERSION_V1: Legacy V1 API.
- API_VERSION_V2: V2 API.
- API_VERSION_V2_BETA_1: V2beta1 API.
Declaration
public Input<string> ApiVersion { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
AvatarUri
The URI of the agent's avatar, which are used throughout the Dialogflow console. When an image URL is entered into this field, the Dialogflow will save the image in the backend. The address of the backend image returned from the API will be shown in the [avatarUriBackend] field.
Declaration
public Input<string> AvatarUri { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
AvatarUriBackend
The URI of the agent's avatar as returned from the API. Output only. To provide an image URL for the agent avatar, the [avatarUri] field can be used.
Declaration
public Input<string> AvatarUriBackend { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ClassificationThreshold
To filter out false positive results and still get variety in matched natural language inputs for your agent, you can tune the machine learning classification threshold. If the returned score value is less than the threshold value, then a fallback intent will be triggered or, if there are no fallback intents defined, no intent will be triggered. The score values range from 0.0 (completely uncertain) to 1.0 (completely certain). If set to 0.0, the default of 0.3 is used.
Declaration
public Input<double> ClassificationThreshold { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Double> |
DefaultLanguageCode
The default language of the agent as a language tag. See Language Support for a list of the currently supported language codes. This field cannot be updated after creation.
Declaration
public Input<string> DefaultLanguageCode { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Description
The description of this agent. The maximum length is 500 characters. If exceeded, the request is rejected.
Declaration
public Input<string> Description { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
DisplayName
The name of this agent.
Declaration
public Input<string> DisplayName { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
EnableLogging
Determines whether this agent should log conversation queries.
Declaration
public Input<bool> EnableLogging { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
MatchMode
Determines how intents are detected from user queries.
- MATCH_MODE_HYBRID: Best for agents with a small number of examples in intents and/or wide use of templates syntax and composite entities.
- MATCH_MODE_ML_ONLY: Can be used for agents with a large number of examples in intents, especially the ones using @sys.any or very large developer entities.
Declaration
public Input<string> MatchMode { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Project
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
Declaration
public Input<string> Project { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
SupportedLanguageCodes
The list of all languages supported by this agent (except for the defaultLanguageCode).
Declaration
public InputList<string> SupportedLanguageCodes { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
Tier
The agent tier. If not specified, TIER_STANDARD is assumed.
- TIER_STANDARD: Standard tier.
- TIER_ENTERPRISE: Enterprise tier (Essentials).
- TIER_ENTERPRISE_PLUS: Enterprise tier (Plus). NOTE: Due to consistency issues, the provider will not read this field from the API. Drift is possible between the the provider state and Dialogflow if the agent tier is changed outside of the provider.
Declaration
public Input<string> Tier { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
TimeZone
The time zone of this agent from the time zone database, e.g., America/New_York, Europe/Paris.
Declaration
public Input<string> TimeZone { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |