Module diagflow

This page documents the language specification for the gcp package. If you're looking for help working with the inputs, outputs, or functions of gcp resources in a Pulumi program, please see the resource documentation for examples and API reference.

Resources

Others

Resources

Resource Agent

class Agent extends CustomResource

A Dialogflow agent is a virtual agent that handles conversations with your end-users. It is a natural language understanding module that understands the nuances of human language. Dialogflow translates end-user text or audio during a conversation to structured data that your apps and services can understand. You design and build a Dialogflow agent to handle the types of conversations required for your system.

To get more information about Agent, see:

Example Usage - Dialogflow Agent Full

import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";

const fullAgent = new gcp.diagflow.Agent("fullAgent", {
    apiVersion: "API_VERSION_V2_BETA_1",
    avatarUri: "https://cloud.google.com/_static/images/cloud/icons/favicons/onecloud/super_cloud.png",
    classificationThreshold: 0.3,
    defaultLanguageCode: "en",
    description: "Example description.",
    displayName: "dialogflow-agent",
    enableLogging: true,
    matchMode: "MATCH_MODE_ML_ONLY",
    supportedLanguageCodes: [
        "fr",
        "de",
        "es",
    ],
    tier: "TIER_STANDARD",
    timeZone: "America/New_York",
});

constructor

new Agent(name: string, args: AgentArgs, opts?: pulumi.CustomResourceOptions)

Create a Agent resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AgentState, opts?: pulumi.CustomResourceOptions): Agent

Get an existing Agent resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

public static isInstance(obj: any): obj is Agent

Returns true if the given object is an instance of Agent. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property apiVersion

public apiVersion: pulumi.Output<string>;

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.

property avatarUri

public avatarUri: pulumi.Output<string | undefined>;

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.

property avatarUriBackend

public avatarUriBackend: pulumi.Output<string>;

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.

property classificationThreshold

public classificationThreshold: pulumi.Output<number | undefined>;

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.

property defaultLanguageCode

public defaultLanguageCode: pulumi.Output<string>;

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.

property description

public description: pulumi.Output<string | undefined>;

The description of this agent. The maximum length is 500 characters. If exceeded, the request is rejected.

property displayName

public displayName: pulumi.Output<string>;

The name of this agent.

property enableLogging

public enableLogging: pulumi.Output<boolean | undefined>;

Determines whether this agent should log conversation queries.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property matchMode

public matchMode: pulumi.Output<string>;

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.

property project

public project: pulumi.Output<string>;

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

property supportedLanguageCodes

public supportedLanguageCodes: pulumi.Output<string[] | undefined>;

The list of all languages supported by this agent (except for the defaultLanguageCode).

property tier

public tier: pulumi.Output<string | undefined>;

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.

property timeZone

public timeZone: pulumi.Output<string>;

The time zone of this agent from the time zone database, e.g., America/New_York, Europe/Paris.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

Resource EntityType

class EntityType extends CustomResource

Represents an entity type. Entity types serve as a tool for extracting parameter values from natural language queries.

To get more information about EntityType, see:

Example Usage - Dialogflow Entity Type Basic

import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";

const basicAgent = new gcp.diagflow.Agent("basicAgent", {
    displayName: "exampleAgent",
    defaultLanguageCode: "en",
    timeZone: "America/New_York",
});
const basicEntityType = new gcp.diagflow.EntityType("basicEntityType", {
    displayName: "",
    kind: "KIND_MAP",
    entities: [
        {
            value: "value1",
            synonyms: [
                "synonym1",
                "synonym2",
            ],
        },
        {
            value: "value2",
            synonyms: [
                "synonym3",
                "synonym4",
            ],
        },
    ],
});

constructor

new EntityType(name: string, args: EntityTypeArgs, opts?: pulumi.CustomResourceOptions)

Create a EntityType resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: EntityTypeState, opts?: pulumi.CustomResourceOptions): EntityType

Get an existing EntityType resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

public static isInstance(obj: any): obj is EntityType

Returns true if the given object is an instance of EntityType. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property displayName

public displayName: pulumi.Output<string>;

The name of this entity type to be displayed on the console.

property enableFuzzyExtraction

public enableFuzzyExtraction: pulumi.Output<boolean | undefined>;

Enables fuzzy entity extraction during classification.

property entities

public entities: pulumi.Output<EntityTypeEntity[] | undefined>;

The collection of entity entries associated with the entity type. Structure is documented below.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property kind

public kind: pulumi.Output<string>;

Indicates the kind of entity type. * KIND_MAP: Map entity types allow mapping of a group of synonyms to a reference value. * KIND_LIST: List entity types contain a set of entries that do not map to reference values. However, list entity types can contain references to other entity types (with or without aliases). * KIND_REGEXP: Regexp entity types allow to specify regular expressions in entries values.

property name

public name: pulumi.Output<string>;

The unique identifier of the entity type. Format: projects//agent/entityTypes/.

property project

public project: pulumi.Output<string>;

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

Resource Intent

class Intent extends CustomResource

Represents a Dialogflow intent. Intents convert a number of user expressions or patterns into an action. An action is an extraction of a user command or sentence semantics.

To get more information about Intent, see:

Example Usage - Dialogflow Intent Basic

import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";

const basicAgent = new gcp.diagflow.Agent("basicAgent", {
    displayName: "exampleAgent",
    defaultLanguageCode: "en",
    timeZone: "America/New_York",
});
const basicIntent = new gcp.diagflow.Intent("basicIntent", {displayName: "basic-intent"});

constructor

new Intent(name: string, args: IntentArgs, opts?: pulumi.CustomResourceOptions)

Create a Intent resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: IntentState, opts?: pulumi.CustomResourceOptions): Intent

Get an existing Intent resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

public static isInstance(obj: any): obj is Intent

Returns true if the given object is an instance of Intent. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property action

public action: pulumi.Output<string>;

The name of the action associated with the intent. Note: The action name must not contain whitespaces.

property defaultResponsePlatforms

public defaultResponsePlatforms: pulumi.Output<string[] | undefined>;

The list of platforms for which the first responses will be copied from the messages in PLATFORM_UNSPECIFIED (i.e. default platform).

property displayName

public displayName: pulumi.Output<string>;

The name of this intent to be displayed on the console.

property events

public events: pulumi.Output<string[] | undefined>;

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. See the events reference for more details.

property followupIntentInfos

public followupIntentInfos: pulumi.Output<IntentFollowupIntentInfo[]>;

Information about all followup intents that have this intent as a direct or indirect parent. We populate this field only in the output.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property inputContextNames

public inputContextNames: pulumi.Output<string[] | undefined>;

The list of context names required for this intent to be triggered. Format: projects//agent/sessions/-/contexts/.

property isFallback

public isFallback: pulumi.Output<boolean>;

Indicates whether this is a fallback intent.

property mlDisabled

public mlDisabled: pulumi.Output<boolean>;

Indicates whether Machine Learning is disabled for the intent. Note: If mlDisabled setting is set to true, then this intent is not taken into account during inference in ML ONLY match mode. Also, auto-markup in the UI is turned off.

property name

public name: pulumi.Output<string>;

The unique identifier of this intent. Format: projects//agent/intents/.

property parentFollowupIntentName

public parentFollowupIntentName: pulumi.Output<string>;

The unique identifier of the parent intent in the chain of followup intents. Format: projects//agent/intents/.

property priority

public priority: pulumi.Output<number>;

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 Normal priority in the console. - If the supplied value is negative, the intent is ignored in runtime detect intent requests.

property project

public project: pulumi.Output<string>;

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

property resetContexts

public resetContexts: pulumi.Output<boolean>;

Indicates whether to delete all contexts in the current session when this intent is matched.

property rootFollowupIntentName

public rootFollowupIntentName: pulumi.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/.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

property webhookState

public webhookState: pulumi.Output<string>;

Indicates whether webhooks are enabled for the intent. * WEBHOOK_STATE_ENABLED: Webhook is enabled in the agent and in the intent. * WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING: Webhook is enabled in the agent and in the intent. Also, each slot filling prompt is forwarded to the webhook.

Others

interface AgentArgs

interface AgentArgs

The set of arguments for constructing a Agent resource.

property apiVersion

apiVersion?: pulumi.Input<string>;

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.

property avatarUri

avatarUri?: pulumi.Input<string>;

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.

property classificationThreshold

classificationThreshold?: pulumi.Input<number>;

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.

property defaultLanguageCode

defaultLanguageCode: pulumi.Input<string>;

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.

property description

description?: pulumi.Input<string>;

The description of this agent. The maximum length is 500 characters. If exceeded, the request is rejected.

property displayName

displayName: pulumi.Input<string>;

The name of this agent.

property enableLogging

enableLogging?: pulumi.Input<boolean>;

Determines whether this agent should log conversation queries.

property matchMode

matchMode?: pulumi.Input<string>;

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.

property project

project?: pulumi.Input<string>;

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

property supportedLanguageCodes

supportedLanguageCodes?: pulumi.Input<pulumi.Input<string>[]>;

The list of all languages supported by this agent (except for the defaultLanguageCode).

property tier

tier?: pulumi.Input<string>;

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.

property timeZone

timeZone: pulumi.Input<string>;

The time zone of this agent from the time zone database, e.g., America/New_York, Europe/Paris.

interface AgentState

interface AgentState

Input properties used for looking up and filtering Agent resources.

property apiVersion

apiVersion?: pulumi.Input<string>;

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.

property avatarUri

avatarUri?: pulumi.Input<string>;

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.

property avatarUriBackend

avatarUriBackend?: pulumi.Input<string>;

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.

property classificationThreshold

classificationThreshold?: pulumi.Input<number>;

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.

property defaultLanguageCode

defaultLanguageCode?: pulumi.Input<string>;

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.

property description

description?: pulumi.Input<string>;

The description of this agent. The maximum length is 500 characters. If exceeded, the request is rejected.

property displayName

displayName?: pulumi.Input<string>;

The name of this agent.

property enableLogging

enableLogging?: pulumi.Input<boolean>;

Determines whether this agent should log conversation queries.

property matchMode

matchMode?: pulumi.Input<string>;

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.

property project

project?: pulumi.Input<string>;

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

property supportedLanguageCodes

supportedLanguageCodes?: pulumi.Input<pulumi.Input<string>[]>;

The list of all languages supported by this agent (except for the defaultLanguageCode).

property tier

tier?: pulumi.Input<string>;

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.

property timeZone

timeZone?: pulumi.Input<string>;

The time zone of this agent from the time zone database, e.g., America/New_York, Europe/Paris.

interface EntityTypeArgs

interface EntityTypeArgs

The set of arguments for constructing a EntityType resource.

property displayName

displayName: pulumi.Input<string>;

The name of this entity type to be displayed on the console.

property enableFuzzyExtraction

enableFuzzyExtraction?: pulumi.Input<boolean>;

Enables fuzzy entity extraction during classification.

property entities

entities?: pulumi.Input<pulumi.Input<EntityTypeEntity>[]>;

The collection of entity entries associated with the entity type. Structure is documented below.

property kind

kind: pulumi.Input<string>;

Indicates the kind of entity type. * KIND_MAP: Map entity types allow mapping of a group of synonyms to a reference value. * KIND_LIST: List entity types contain a set of entries that do not map to reference values. However, list entity types can contain references to other entity types (with or without aliases). * KIND_REGEXP: Regexp entity types allow to specify regular expressions in entries values.

property project

project?: pulumi.Input<string>;

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

interface EntityTypeState

interface EntityTypeState

Input properties used for looking up and filtering EntityType resources.

property displayName

displayName?: pulumi.Input<string>;

The name of this entity type to be displayed on the console.

property enableFuzzyExtraction

enableFuzzyExtraction?: pulumi.Input<boolean>;

Enables fuzzy entity extraction during classification.

property entities

entities?: pulumi.Input<pulumi.Input<EntityTypeEntity>[]>;

The collection of entity entries associated with the entity type. Structure is documented below.

property kind

kind?: pulumi.Input<string>;

Indicates the kind of entity type. * KIND_MAP: Map entity types allow mapping of a group of synonyms to a reference value. * KIND_LIST: List entity types contain a set of entries that do not map to reference values. However, list entity types can contain references to other entity types (with or without aliases). * KIND_REGEXP: Regexp entity types allow to specify regular expressions in entries values.

property name

name?: pulumi.Input<string>;

The unique identifier of the entity type. Format: projects//agent/entityTypes/.

property project

project?: pulumi.Input<string>;

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

interface IntentArgs

interface IntentArgs

The set of arguments for constructing a Intent resource.

property action

action?: pulumi.Input<string>;

The name of the action associated with the intent. Note: The action name must not contain whitespaces.

property defaultResponsePlatforms

defaultResponsePlatforms?: pulumi.Input<pulumi.Input<string>[]>;

The list of platforms for which the first responses will be copied from the messages in PLATFORM_UNSPECIFIED (i.e. default platform).

property displayName

displayName: pulumi.Input<string>;

The name of this intent to be displayed on the console.

property events

events?: pulumi.Input<pulumi.Input<string>[]>;

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. See the events reference for more details.

property inputContextNames

inputContextNames?: pulumi.Input<pulumi.Input<string>[]>;

The list of context names required for this intent to be triggered. Format: projects//agent/sessions/-/contexts/.

property isFallback

isFallback?: pulumi.Input<boolean>;

Indicates whether this is a fallback intent.

property mlDisabled

mlDisabled?: pulumi.Input<boolean>;

Indicates whether Machine Learning is disabled for the intent. Note: If mlDisabled setting is set to true, then this intent is not taken into account during inference in ML ONLY match mode. Also, auto-markup in the UI is turned off.

property parentFollowupIntentName

parentFollowupIntentName?: pulumi.Input<string>;

The unique identifier of the parent intent in the chain of followup intents. Format: projects//agent/intents/.

property priority

priority?: pulumi.Input<number>;

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 Normal priority in the console. - If the supplied value is negative, the intent is ignored in runtime detect intent requests.

property project

project?: pulumi.Input<string>;

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

property resetContexts

resetContexts?: pulumi.Input<boolean>;

Indicates whether to delete all contexts in the current session when this intent is matched.

property webhookState

webhookState?: pulumi.Input<string>;

Indicates whether webhooks are enabled for the intent. * WEBHOOK_STATE_ENABLED: Webhook is enabled in the agent and in the intent. * WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING: Webhook is enabled in the agent and in the intent. Also, each slot filling prompt is forwarded to the webhook.

interface IntentState

interface IntentState

Input properties used for looking up and filtering Intent resources.

property action

action?: pulumi.Input<string>;

The name of the action associated with the intent. Note: The action name must not contain whitespaces.

property defaultResponsePlatforms

defaultResponsePlatforms?: pulumi.Input<pulumi.Input<string>[]>;

The list of platforms for which the first responses will be copied from the messages in PLATFORM_UNSPECIFIED (i.e. default platform).

property displayName

displayName?: pulumi.Input<string>;

The name of this intent to be displayed on the console.

property events

events?: pulumi.Input<pulumi.Input<string>[]>;

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. See the events reference for more details.

property followupIntentInfos

followupIntentInfos?: pulumi.Input<pulumi.Input<IntentFollowupIntentInfo>[]>;

Information about all followup intents that have this intent as a direct or indirect parent. We populate this field only in the output.

property inputContextNames

inputContextNames?: pulumi.Input<pulumi.Input<string>[]>;

The list of context names required for this intent to be triggered. Format: projects//agent/sessions/-/contexts/.

property isFallback

isFallback?: pulumi.Input<boolean>;

Indicates whether this is a fallback intent.

property mlDisabled

mlDisabled?: pulumi.Input<boolean>;

Indicates whether Machine Learning is disabled for the intent. Note: If mlDisabled setting is set to true, then this intent is not taken into account during inference in ML ONLY match mode. Also, auto-markup in the UI is turned off.

property name

name?: pulumi.Input<string>;

The unique identifier of this intent. Format: projects//agent/intents/.

property parentFollowupIntentName

parentFollowupIntentName?: pulumi.Input<string>;

The unique identifier of the parent intent in the chain of followup intents. Format: projects//agent/intents/.

property priority

priority?: pulumi.Input<number>;

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 Normal priority in the console. - If the supplied value is negative, the intent is ignored in runtime detect intent requests.

property project

project?: pulumi.Input<string>;

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

property resetContexts

resetContexts?: pulumi.Input<boolean>;

Indicates whether to delete all contexts in the current session when this intent is matched.

property rootFollowupIntentName

rootFollowupIntentName?: pulumi.Input<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/.

property webhookState

webhookState?: pulumi.Input<string>;

Indicates whether webhooks are enabled for the intent. * WEBHOOK_STATE_ENABLED: Webhook is enabled in the agent and in the intent. * WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING: Webhook is enabled in the agent and in the intent. Also, each slot filling prompt is forwarded to the webhook.