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.
diagflow¶
This provider is a derived work of the Terraform Provider distributed under MPL 2.0. If you encounter a bug or missing feature, first check the pulumi/pulumi-gcp repo; however, if that doesn’t turn up anything, please consult the source terraform-providers/terraform-provider-google repo.
- class
pulumi_gcp.diagflow.Agent(resource_name, opts=None, api_version=None, avatar_uri=None, classification_threshold=None, default_language_code=None, description=None, display_name=None, enable_logging=None, match_mode=None, project=None, supported_language_codes=None, tier=None, time_zone=None, __props__=None, __name__=None, __opts__=None)¶ 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:
How-to Guides
import pulumi import pulumi_gcp as gcp full_agent = gcp.diagflow.Agent("fullAgent", api_version="API_VERSION_V2_BETA_1", avatar_uri="https://cloud.google.com/_static/images/cloud/icons/favicons/onecloud/super_cloud.png", classification_threshold=0.3, default_language_code="en", description="Example description.", display_name="dialogflow-agent", enable_logging=True, match_mode="MATCH_MODE_ML_ONLY", supported_language_codes=[ "fr", "de", "es", ], tier="TIER_STANDARD", time_zone="America/New_York")
- Parameters
resource_name (str) – The name of the resource.
opts (pulumi.ResourceOptions) – Options for the resource.
api_version (pulumi.Input[str]) – 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.
- Parameters
avatar_uri (pulumi.Input[str]) – 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.
classification_threshold (pulumi.Input[float]) – 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.
default_language_code (pulumi.Input[str]) – 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.
description (pulumi.Input[str]) – The description of this agent. The maximum length is 500 characters. If exceeded, the request is rejected.
display_name (pulumi.Input[str]) – The name of this agent.
enable_logging (pulumi.Input[bool]) – Determines whether this agent should log conversation queries.
match_mode (pulumi.Input[str]) – 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.
- Parameters
project (pulumi.Input[str]) – The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
supported_language_codes (pulumi.Input[list]) – The list of all languages supported by this agent (except for the defaultLanguageCode).
tier (pulumi.Input[str]) – 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.
- Parameters
time_zone (pulumi.Input[str]) – The time zone of this agent from the time zone database, e.g., America/New_York, Europe/Paris.
api_version: pulumi.Output[str] = None¶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.
avatar_uri: pulumi.Output[str] = None¶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.
avatar_uri_backend: pulumi.Output[str] = None¶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.
classification_threshold: pulumi.Output[float] = None¶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.
default_language_code: pulumi.Output[str] = None¶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.
description: pulumi.Output[str] = None¶The description of this agent. The maximum length is 500 characters. If exceeded, the request is rejected.
display_name: pulumi.Output[str] = None¶The name of this agent.
enable_logging: pulumi.Output[bool] = None¶Determines whether this agent should log conversation queries.
match_mode: pulumi.Output[str] = None¶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.
project: pulumi.Output[str] = None¶The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
supported_language_codes: pulumi.Output[list] = None¶The list of all languages supported by this agent (except for the defaultLanguageCode).
tier: pulumi.Output[str] = None¶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.
time_zone: pulumi.Output[str] = None¶The time zone of this agent from the time zone database, e.g., America/New_York, Europe/Paris.
- static
get(resource_name, id, opts=None, api_version=None, avatar_uri=None, avatar_uri_backend=None, classification_threshold=None, default_language_code=None, description=None, display_name=None, enable_logging=None, match_mode=None, project=None, supported_language_codes=None, tier=None, time_zone=None)¶ Get an existing Agent resource’s state with the given name, id, and optional extra properties used to qualify the lookup.
- Parameters
resource_name (str) – The unique name of the resulting resource.
id (str) – The unique provider ID of the resource to lookup.
opts (pulumi.ResourceOptions) – Options for the resource.
api_version (pulumi.Input[str]) – 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.
- Parameters
avatar_uri (pulumi.Input[str]) – 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.
avatar_uri_backend (pulumi.Input[str]) – 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.
classification_threshold (pulumi.Input[float]) – 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.
default_language_code (pulumi.Input[str]) –
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.
description (pulumi.Input[str]) – The description of this agent. The maximum length is 500 characters. If exceeded, the request is rejected.
display_name (pulumi.Input[str]) – The name of this agent.
enable_logging (pulumi.Input[bool]) – Determines whether this agent should log conversation queries.
match_mode (pulumi.Input[str]) – 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.
- Parameters
project (pulumi.Input[str]) – The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
supported_language_codes (pulumi.Input[list]) – The list of all languages supported by this agent (except for the defaultLanguageCode).
tier (pulumi.Input[str]) – 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.
- Parameters
time_zone (pulumi.Input[str]) –
The time zone of this agent from the time zone database, e.g., America/New_York, Europe/Paris.
translate_output_property(prop)¶Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.
- Parameters
prop (str) – A property name.
- Returns
A potentially transformed property name.
- Return type
str
translate_input_property(prop)¶Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.
- Parameters
prop (str) – A property name.
- Returns
A potentially transformed property name.
- Return type
str
- class
pulumi_gcp.diagflow.EntityType(resource_name, opts=None, display_name=None, enable_fuzzy_extraction=None, entities=None, kind=None, project=None, __props__=None, __name__=None, __opts__=None)¶ 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:
How-to Guides
import pulumi import pulumi_gcp as gcp basic_agent = gcp.diagflow.Agent("basicAgent", display_name="example_agent", default_language_code="en", time_zone="America/New_York") basic_entity_type = gcp.diagflow.EntityType("basicEntityType", display_name="", kind="KIND_MAP", entities=[ { "value": "value1", "synonyms": [ "synonym1", "synonym2", ], }, { "value": "value2", "synonyms": [ "synonym3", "synonym4", ], }, ])
- Parameters
resource_name (str) – The name of the resource.
opts (pulumi.ResourceOptions) – Options for the resource.
display_name (pulumi.Input[str]) – The name of this entity type to be displayed on the console.
enable_fuzzy_extraction (pulumi.Input[bool]) – Enables fuzzy entity extraction during classification.
entities (pulumi.Input[list]) – The collection of entity entries associated with the entity type. Structure is documented below.
kind (pulumi.Input[str]) – 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.
- Parameters
project (pulumi.Input[str]) – The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
The entities object supports the following:
synonyms(pulumi.Input[list]) - A collection of value synonyms. For example, if the entity type is vegetable, and value is scallions, a synonym could be green onions. For KIND_LIST entity types:This collection must contain exactly one synonym equal to value.
value(pulumi.Input[str]) - The primary value associated with this entity entry. For example, if the entity type is vegetable, the value could be scallions. For KIND_MAP entity types:A reference value to be used in place of synonyms. For KIND_LIST entity types:
A string that can contain references to other entity types (with or without aliases).
display_name: pulumi.Output[str] = None¶The name of this entity type to be displayed on the console.
enable_fuzzy_extraction: pulumi.Output[bool] = None¶Enables fuzzy entity extraction during classification.
entities: pulumi.Output[list] = None¶The collection of entity entries associated with the entity type. Structure is documented below.
synonyms(list) - A collection of value synonyms. For example, if the entity type is vegetable, and value is scallions, a synonym could be green onions. For KIND_LIST entity types:This collection must contain exactly one synonym equal to value.
value(str) - The primary value associated with this entity entry. For example, if the entity type is vegetable, the value could be scallions. For KIND_MAP entity types:A reference value to be used in place of synonyms. For KIND_LIST entity types:
A string that can contain references to other entity types (with or without aliases).
kind: pulumi.Output[str] = None¶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.
name: pulumi.Output[str] = None¶The unique identifier of the entity type. Format: projects/
/agent/entityTypes/ .
project: pulumi.Output[str] = None¶The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- static
get(resource_name, id, opts=None, display_name=None, enable_fuzzy_extraction=None, entities=None, kind=None, name=None, project=None)¶ Get an existing EntityType resource’s state with the given name, id, and optional extra properties used to qualify the lookup.
- Parameters
resource_name (str) – The unique name of the resulting resource.
id (str) – The unique provider ID of the resource to lookup.
opts (pulumi.ResourceOptions) – Options for the resource.
display_name (pulumi.Input[str]) – The name of this entity type to be displayed on the console.
enable_fuzzy_extraction (pulumi.Input[bool]) – Enables fuzzy entity extraction during classification.
entities (pulumi.Input[list]) – The collection of entity entries associated with the entity type. Structure is documented below.
kind (pulumi.Input[str]) – 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.
- Parameters
name (pulumi.Input[str]) – The unique identifier of the entity type. Format: projects/
/agent/entityTypes/ . project (pulumi.Input[str]) – The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
The entities object supports the following:
synonyms(pulumi.Input[list]) - A collection of value synonyms. For example, if the entity type is vegetable, and value is scallions, a synonym could be green onions. For KIND_LIST entity types:This collection must contain exactly one synonym equal to value.
value(pulumi.Input[str]) - The primary value associated with this entity entry. For example, if the entity type is vegetable, the value could be scallions. For KIND_MAP entity types:A reference value to be used in place of synonyms. For KIND_LIST entity types:
A string that can contain references to other entity types (with or without aliases).
translate_output_property(prop)¶Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.
- Parameters
prop (str) – A property name.
- Returns
A potentially transformed property name.
- Return type
str
translate_input_property(prop)¶Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.
- Parameters
prop (str) – A property name.
- Returns
A potentially transformed property name.
- Return type
str
- class
pulumi_gcp.diagflow.Intent(resource_name, opts=None, action=None, default_response_platforms=None, display_name=None, events=None, input_context_names=None, is_fallback=None, ml_disabled=None, parent_followup_intent_name=None, priority=None, project=None, reset_contexts=None, webhook_state=None, __props__=None, __name__=None, __opts__=None)¶ 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:
How-to Guides
import pulumi import pulumi_gcp as gcp basic_agent = gcp.diagflow.Agent("basicAgent", display_name="example_agent", default_language_code="en", time_zone="America/New_York") basic_intent = gcp.diagflow.Intent("basicIntent", display_name="basic-intent")
- Parameters
resource_name (str) – The name of the resource.
opts (pulumi.ResourceOptions) – Options for the resource.
action (pulumi.Input[str]) – The name of the action associated with the intent. Note: The action name must not contain whitespaces.
default_response_platforms (pulumi.Input[list]) – The list of platforms for which the first responses will be copied from the messages in PLATFORM_UNSPECIFIED (i.e. default platform).
display_name (pulumi.Input[str]) – The name of this intent to be displayed on the console.
events (pulumi.Input[list]) – 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.
input_context_names (pulumi.Input[list]) – The list of context names required for this intent to be triggered. Format: projects/
/agent/sessions/-/contexts/ . is_fallback (pulumi.Input[bool]) – Indicates whether this is a fallback intent.
ml_disabled (pulumi.Input[bool]) – 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.
parent_followup_intent_name (pulumi.Input[str]) – The unique identifier of the parent intent in the chain of followup intents. Format: projects/
/agent/intents/ . priority (pulumi.Input[float]) – 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.
- Parameters
project (pulumi.Input[str]) – The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
reset_contexts (pulumi.Input[bool]) – Indicates whether to delete all contexts in the current session when this intent is matched.
webhook_state (pulumi.Input[str]) – 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.
action: pulumi.Output[str] = None¶The name of the action associated with the intent. Note: The action name must not contain whitespaces.
default_response_platforms: pulumi.Output[list] = None¶The list of platforms for which the first responses will be copied from the messages in PLATFORM_UNSPECIFIED (i.e. default platform).
display_name: pulumi.Output[str] = None¶The name of this intent to be displayed on the console.
events: pulumi.Output[list] = None¶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.
followup_intent_infos: pulumi.Output[list] = None¶Information about all followup intents that have this intent as a direct or indirect parent. We populate this field only in the output.
followupIntentName(str)parent_followup_intent_name(str) - The unique identifier of the parent intent in the chain of followup intents. Format: projects//agent/intents/ .
input_context_names: pulumi.Output[list] = None¶The list of context names required for this intent to be triggered. Format: projects/
/agent/sessions/-/contexts/ .
is_fallback: pulumi.Output[bool] = None¶Indicates whether this is a fallback intent.
ml_disabled: pulumi.Output[bool] = None¶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.
name: pulumi.Output[str] = None¶The unique identifier of this intent. Format: projects/
/agent/intents/ .
parent_followup_intent_name: pulumi.Output[str] = None¶The unique identifier of the parent intent in the chain of followup intents. Format: projects/
/agent/intents/ .
priority: pulumi.Output[float] = None¶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.
project: pulumi.Output[str] = None¶The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
reset_contexts: pulumi.Output[bool] = None¶Indicates whether to delete all contexts in the current session when this intent is matched.
root_followup_intent_name: pulumi.Output[str] = None¶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/ .
webhook_state: pulumi.Output[str] = None¶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.
- static
get(resource_name, id, opts=None, action=None, default_response_platforms=None, display_name=None, events=None, followup_intent_infos=None, input_context_names=None, is_fallback=None, ml_disabled=None, name=None, parent_followup_intent_name=None, priority=None, project=None, reset_contexts=None, root_followup_intent_name=None, webhook_state=None)¶ Get an existing Intent resource’s state with the given name, id, and optional extra properties used to qualify the lookup.
- Parameters
resource_name (str) – The unique name of the resulting resource.
id (str) – The unique provider ID of the resource to lookup.
opts (pulumi.ResourceOptions) – Options for the resource.
action (pulumi.Input[str]) – The name of the action associated with the intent. Note: The action name must not contain whitespaces.
default_response_platforms (pulumi.Input[list]) – The list of platforms for which the first responses will be copied from the messages in PLATFORM_UNSPECIFIED (i.e. default platform).
display_name (pulumi.Input[str]) – The name of this intent to be displayed on the console.
events (pulumi.Input[list]) –
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.
followup_intent_infos (pulumi.Input[list]) – Information about all followup intents that have this intent as a direct or indirect parent. We populate this field only in the output.
input_context_names (pulumi.Input[list]) – The list of context names required for this intent to be triggered. Format: projects/
/agent/sessions/-/contexts/ . is_fallback (pulumi.Input[bool]) – Indicates whether this is a fallback intent.
ml_disabled (pulumi.Input[bool]) – 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.
name (pulumi.Input[str]) – The unique identifier of this intent. Format: projects/
/agent/intents/ . parent_followup_intent_name (pulumi.Input[str]) – The unique identifier of the parent intent in the chain of followup intents. Format: projects/
/agent/intents/ . priority (pulumi.Input[float]) – 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.
- Parameters
project (pulumi.Input[str]) – The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
reset_contexts (pulumi.Input[bool]) – Indicates whether to delete all contexts in the current session when this intent is matched.
root_followup_intent_name (pulumi.Input[str]) – 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/ . webhook_state (pulumi.Input[str]) – 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.
The followup_intent_infos object supports the following:
followupIntentName(pulumi.Input[str])parent_followup_intent_name(pulumi.Input[str]) - The unique identifier of the parent intent in the chain of followup intents. Format: projects//agent/intents/ .
translate_output_property(prop)¶Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.
- Parameters
prop (str) – A property name.
- Returns
A potentially transformed property name.
- Return type
str
translate_input_property(prop)¶Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.
- Parameters
prop (str) – A property name.
- Returns
A potentially transformed property name.
- Return type
str