IntentDialogflowV2beta1 class
Creates an intent in the specified agent. Note: You should always train an agent prior to sending it queries. See the training documentation. Auto-naming is currently not supported for this resource.
Constructors
- IntentDialogflowV2beta1(String name, {IntentDialogflowV2beta1Args? args, CustomResourceOptions? options})
-
Creates a new IntentDialogflowV2beta1.
nameThe Pulumi resource name.argsArguments used to configure this IntentDialogflowV2beta1. The set of arguments for Intent.optionsResource options controlling this resource's behavior.
Properties
-
action
↔ Output<
String> -
Optional. The name of the action associated with the intent. Note: The action name must not contain whitespaces.
latefinal
-
childResources
→ Set<
Resource> -
finalinherited
-
completionSources
↔ Map<
String, IOutputCompletionSource> -
latefinalinherited
-
defaultResponsePlatforms
↔ Output<
List< String> > -
Optional. The list of platforms for which the first responses will be copied from the messages in PLATFORM_UNSPECIFIED (i.e. default platform).
latefinal
-
displayName
↔ Output<
String> -
The name of this intent.
latefinal
-
endInteraction
↔ Output<
bool> -
Optional. Indicates that this intent ends an interaction. Some integrations (e.g., Actions on Google or Dialogflow phone gateway) use this information to close interaction with an end user. Default is false.
latefinal
-
events
↔ Output<
List< String> > -
Optional. The collection of event names that trigger the intent. If the collection of input contexts is not empty, all of the contexts must be present in the active user session for an event to trigger this intent. Event names are limited to 150 characters.
latefinal
-
followupIntentInfo
↔ Output<
List< Map< >String, dynamic> > -
Information about all followup intents that have this intent as a direct or indirect parent. We populate this field only in the output.
latefinal
- hashCode → int
-
The hash code for this object.
no setterinherited
-
id
↔ Output<
String> -
getter/setter pairinherited
-
inputContextNames
↔ Output<
List< String> > -
Optional. The list of context names required for this intent to be triggered. Formats: -
projects//agent/sessions/-/contexts/-projects//locations//agent/sessions/-/contexts/latefinal -
intentView
↔ Output<
String?> -
Optional. The resource view to apply to the returned intent.
latefinal
- isCustom → bool
-
Returns whether this resource is provider-managed.
no setterinherited
-
isFallback
↔ Output<
bool> -
Optional. Indicates whether this is a fallback intent.
latefinal
- isProtected → bool
-
Returns whether this resource is protected from deletion.
no setterinherited
- isRemote → bool
-
Whether this resource is registered as remote.
no setterinherited
- isResourceReference → bool
-
Whether this instance represents a resource value returned over RPC.
finalinherited
-
languageCode
↔ Output<
String?> -
Optional. The language used to access language-specific data. If not specified, the agent's default language is used. For more information, see Multilingual intent and entity data.
latefinal
-
liveAgentHandoff
↔ Output<
bool> -
Optional. Indicates that a live agent should be brought in to handle the interaction with the user. In most cases, when you set this flag to true, you would also want to set end_interaction to true as well. Default is false.
latefinal
-
location
↔ Output<
String> -
latefinal
-
messages
↔ Output<
List< Map< >String, dynamic> > -
Optional. The collection of rich messages corresponding to the
Responsefield in the Dialogflow console.latefinal -
mlDisabled
↔ Output<
bool> -
Optional. Indicates whether Machine Learning is disabled for the intent. Note: If
ml_disabledsetting is set to true, then this intent is not taken into account during inference inML ONLYmatch mode. Also, auto-markup in the UI is turned off.latefinal -
mlEnabled
↔ Output<
bool> -
Optional. Indicates whether Machine Learning is enabled for the intent. Note: If
ml_enabledsetting is set to false, then this intent is not taken into account during inference inML ONLYmatch mode. Also, auto-markup in the UI is turned off. DEPRECATED! Please useml_disabledfield instead. NOTE: If bothml_enabledandml_disabledare either not set or false, then the default value is determined as follows: - Before April 15th, 2018 the default is: ml_enabled = false / ml_disabled = true. - After April 15th, 2018 the default is: ml_enabled = true / ml_disabled = false.latefinal -
name
↔ Output<
String> -
Optional. The unique identifier of this intent. Required for Intents.UpdateIntent and Intents.BatchUpdateIntents methods. Supported formats: -
projects//agent/intents/-projects//locations//agent/intents/latefinal -
outputContexts
↔ Output<
List< Map< >String, dynamic> > -
Optional. The collection of contexts that are activated when the intent is matched. Context messages in this collection should not set the parameters field. Setting the
lifespan_countto 0 will reset the context when the intent is matched. Format:projects//agent/sessions/-/contexts/.latefinal -
parameters
↔ Output<
List< Map< >String, dynamic> > -
Optional. The collection of parameters associated with the intent.
latefinal
-
parentFollowupIntentName
↔ Output<
String> -
Optional. The unique identifier of the parent intent in the chain of followup intents. You can set this field when creating an intent, for example with CreateIntent or BatchUpdateIntents, in order to make this intent a followup intent. It identifies the parent followup intent. Format:
projects//agent/intents/.latefinal -
priority
↔ Output<
int> -
Optional. The priority of this intent. Higher numbers represent higher priorities. - If the supplied value is unspecified or 0, the service translates the value to 500,000, which corresponds to the
Normalpriority in the console. - If the supplied value is negative, the intent is ignored in runtime detect intent requests.latefinal -
project
↔ Output<
String> -
latefinal
-
resetContexts
↔ Output<
bool> -
Optional. Indicates whether to delete all contexts in the current session when this intent is matched.
latefinal
-
resourceTransforms
→ List<
ResourceTransform> -
Inherited/explicit async transforms.
no setterinherited
-
rootFollowupIntentName
↔ Output<
String> -
The unique identifier of the root intent in the chain of followup intents. It identifies the correct followup intents chain for this intent. Format:
projects//agent/intents/.latefinal - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
trainingPhrases
↔ Output<
List< Map< >String, dynamic> > -
Optional. The collection of examples that the agent is trained on.
latefinal
-
transformations
→ List<
ResourceTransformation> -
Inherited/explicit legacy transformations.
no setterinherited
-
urn
↔ Output<
String> -
latefinalinherited
-
webhookState
↔ Output<
String> -
Optional. Indicates whether webhooks are enabled for the intent.
latefinal
Methods
-
failId(
Object error) → void -
Completes this resource ID with an error when registration fails.
inherited
-
failOutputs(
Object error) → void -
Completes all output properties with
error.inherited -
failUrn(
Object error) → void -
Completes this resource URN with an error when registration fails.
inherited
-
getProvider(
String moduleMember) → ProviderResource? -
Returns provider for
moduleMember's package, if configured.inherited -
getResourceName(
) → String -
Returns this resource's logical name.
inherited
-
getResourceType(
) → String -
Returns this resource's Pulumi type token.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerOutput<
T> (String propertyName, {Object? decoder(Object?)?, bool isSecret = false}) → Output< T> -
Registers a dynamic output property for this resource.
inherited
-
resolveId(
String? value, {required bool isKnown}) → void -
Resolves the provider-assigned ID for this resource.
inherited
-
resolveOutputs(
Struct outputs) → void -
Resolves all output properties from a monitor response payload.
inherited
-
resolveUrn(
String value) → void -
Resolves this resource's URN once assigned by the engine.
inherited
-
serializeProperties(
Map< String, dynamic> properties) → Future<Struct> -
Serializes resource properties for RPC transmission.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited