Agent class

Creates an agent in the specified location. Note: You should always train flows prior to sending them queries. See the training documentation.

Constructors

Agent(String name, {AgentArgs? args, CustomResourceOptions? options})
Creates a new Agent. name The Pulumi resource name. args Arguments used to configure this Agent. The set of arguments for Agent. options Resource options controlling this resource's behavior.

Properties

advancedSettings ↔ Output<GoogleCloudDialogflowCxV3AdvancedSettingsResponse>
Hierarchical advanced settings for this agent. The settings exposed at the lower level overrides the settings exposed at the higher level.
latefinal
answerFeedbackSettings ↔ Output<GoogleCloudDialogflowCxV3AgentAnswerFeedbackSettingsResponse>
Optional. Answer feedback collection settings.
latefinal
avatarUri ↔ Output<String>
The URI of the agent's avatar. Avatars are used throughout the Dialogflow console and in the self-hosted Web Demo integration.
latefinal
childResources → Set<Resource>
finalinherited
completionSources ↔ Map<String, IOutputCompletionSource>
latefinalinherited
defaultLanguageCode ↔ Output<String>
Immutable. 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 set by the Agents.UpdateAgent method.
latefinal
description ↔ Output<String>
The description of the agent. The maximum length is 500 characters. If exceeded, the request is rejected.
latefinal
displayName ↔ Output<String>
The human-readable name of the agent, unique within the location.
latefinal
enableSpellCorrection ↔ Output<bool>
Indicates if automatic spell correction is enabled in detect intent requests.
latefinal
enableStackdriverLogging ↔ Output<bool>
Indicates if stackdriver logging is enabled for the agent. Please use agent.advanced_settings instead.
latefinal
genAppBuilderSettings ↔ Output<GoogleCloudDialogflowCxV3AgentGenAppBuilderSettingsResponse>
Gen App Builder-related agent-level settings.
latefinal
gitIntegrationSettings ↔ Output<GoogleCloudDialogflowCxV3AgentGitIntegrationSettingsResponse>
Git integration settings for this agent.
latefinal
hashCode → int
The hash code for this object.
no setterinherited
id ↔ Output<String>
getter/setter pairinherited
isCustom → bool
Returns whether this resource is provider-managed.
no setterinherited
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
location ↔ Output<String>
latefinal
locked ↔ Output<bool>
Indicates whether the agent is locked for changes. If the agent is locked, modifications to the agent will be rejected except for RestoreAgent.
latefinal
name ↔ Output<String>
The unique identifier of the agent. Required for the Agents.UpdateAgent method. Agents.CreateAgent populates the name automatically. Format: projects//locations//agents/.
latefinal
project ↔ Output<String>
latefinal
resourceTransforms → List<ResourceTransform>
Inherited/explicit async transforms.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
securitySettings ↔ Output<String>
Name of the SecuritySettings reference for the agent. Format: projects//locations//securitySettings/.
latefinal
speechToTextSettings ↔ Output<GoogleCloudDialogflowCxV3SpeechToTextSettingsResponse>
Speech recognition related settings.
latefinal
startFlow ↔ Output<String>
Immutable. Name of the start flow in this agent. A start flow will be automatically created when the agent is created, and can only be deleted by deleting the agent. Format: projects//locations//agents//flows/.
latefinal
supportedLanguageCodes ↔ Output<List<String>>
The list of all languages supported by the agent (except for the default_language_code).
latefinal
textToSpeechSettings ↔ Output<GoogleCloudDialogflowCxV3TextToSpeechSettingsResponse>
Settings on instructing the speech synthesizer on how to generate the output audio content.
latefinal
timeZone ↔ Output<String>
The time zone of the agent from the time zone database, e.g., America/New_York, Europe/Paris.
latefinal
transformations → List<ResourceTransformation>
Inherited/explicit legacy transformations.
no setterinherited
urn ↔ Output<String>
latefinalinherited

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