1. Packages
  2. Google Cloud Native
  3. API Docs
  4. dialogflow
  5. dialogflow/v3beta1
  6. Intent

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.dialogflow/v3beta1.Intent

Explore with Pulumi AI

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

Creates an intent in the specified agent. Note: You should always train a flow prior to sending it queries. See the training documentation.

Create Intent Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new Intent(name: string, args: IntentArgs, opts?: CustomResourceOptions);
@overload
def Intent(resource_name: str,
           args: IntentArgs,
           opts: Optional[ResourceOptions] = None)

@overload
def Intent(resource_name: str,
           opts: Optional[ResourceOptions] = None,
           agent_id: Optional[str] = None,
           display_name: Optional[str] = None,
           description: Optional[str] = None,
           is_fallback: Optional[bool] = None,
           labels: Optional[Mapping[str, str]] = None,
           language_code: Optional[str] = None,
           location: Optional[str] = None,
           name: Optional[str] = None,
           parameters: Optional[Sequence[GoogleCloudDialogflowCxV3beta1IntentParameterArgs]] = None,
           priority: Optional[int] = None,
           project: Optional[str] = None,
           training_phrases: Optional[Sequence[GoogleCloudDialogflowCxV3beta1IntentTrainingPhraseArgs]] = None)
func NewIntent(ctx *Context, name string, args IntentArgs, opts ...ResourceOption) (*Intent, error)
public Intent(string name, IntentArgs args, CustomResourceOptions? opts = null)
public Intent(String name, IntentArgs args)
public Intent(String name, IntentArgs args, CustomResourceOptions options)
type: google-native:dialogflow/v3beta1:Intent
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. IntentArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. IntentArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. IntentArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. IntentArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. IntentArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var exampleintentResourceResourceFromDialogflowv3beta1 = new GoogleNative.Dialogflow.V3Beta1.Intent("exampleintentResourceResourceFromDialogflowv3beta1", new()
{
    AgentId = "string",
    DisplayName = "string",
    Description = "string",
    IsFallback = false,
    Labels = 
    {
        { "string", "string" },
    },
    LanguageCode = "string",
    Location = "string",
    Name = "string",
    Parameters = new[]
    {
        new GoogleNative.Dialogflow.V3Beta1.Inputs.GoogleCloudDialogflowCxV3beta1IntentParameterArgs
        {
            EntityType = "string",
            Id = "string",
            IsList = false,
            Redact = false,
        },
    },
    Priority = 0,
    Project = "string",
    TrainingPhrases = new[]
    {
        new GoogleNative.Dialogflow.V3Beta1.Inputs.GoogleCloudDialogflowCxV3beta1IntentTrainingPhraseArgs
        {
            Parts = new[]
            {
                new GoogleNative.Dialogflow.V3Beta1.Inputs.GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePartArgs
                {
                    Text = "string",
                    ParameterId = "string",
                },
            },
            RepeatCount = 0,
        },
    },
});
Copy
example, err := dialogflowv3beta1.NewIntent(ctx, "exampleintentResourceResourceFromDialogflowv3beta1", &dialogflowv3beta1.IntentArgs{
	AgentId:     pulumi.String("string"),
	DisplayName: pulumi.String("string"),
	Description: pulumi.String("string"),
	IsFallback:  pulumi.Bool(false),
	Labels: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	LanguageCode: pulumi.String("string"),
	Location:     pulumi.String("string"),
	Name:         pulumi.String("string"),
	Parameters: dialogflow.GoogleCloudDialogflowCxV3beta1IntentParameterArray{
		&dialogflow.GoogleCloudDialogflowCxV3beta1IntentParameterArgs{
			EntityType: pulumi.String("string"),
			Id:         pulumi.String("string"),
			IsList:     pulumi.Bool(false),
			Redact:     pulumi.Bool(false),
		},
	},
	Priority: pulumi.Int(0),
	Project:  pulumi.String("string"),
	TrainingPhrases: dialogflow.GoogleCloudDialogflowCxV3beta1IntentTrainingPhraseArray{
		&dialogflow.GoogleCloudDialogflowCxV3beta1IntentTrainingPhraseArgs{
			Parts: dialogflow.GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePartArray{
				&dialogflow.GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePartArgs{
					Text:        pulumi.String("string"),
					ParameterId: pulumi.String("string"),
				},
			},
			RepeatCount: pulumi.Int(0),
		},
	},
})
Copy
var exampleintentResourceResourceFromDialogflowv3beta1 = new Intent("exampleintentResourceResourceFromDialogflowv3beta1", IntentArgs.builder()
    .agentId("string")
    .displayName("string")
    .description("string")
    .isFallback(false)
    .labels(Map.of("string", "string"))
    .languageCode("string")
    .location("string")
    .name("string")
    .parameters(GoogleCloudDialogflowCxV3beta1IntentParameterArgs.builder()
        .entityType("string")
        .id("string")
        .isList(false)
        .redact(false)
        .build())
    .priority(0)
    .project("string")
    .trainingPhrases(GoogleCloudDialogflowCxV3beta1IntentTrainingPhraseArgs.builder()
        .parts(GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePartArgs.builder()
            .text("string")
            .parameterId("string")
            .build())
        .repeatCount(0)
        .build())
    .build());
Copy
exampleintent_resource_resource_from_dialogflowv3beta1 = google_native.dialogflow.v3beta1.Intent("exampleintentResourceResourceFromDialogflowv3beta1",
    agent_id="string",
    display_name="string",
    description="string",
    is_fallback=False,
    labels={
        "string": "string",
    },
    language_code="string",
    location="string",
    name="string",
    parameters=[{
        "entity_type": "string",
        "id": "string",
        "is_list": False,
        "redact": False,
    }],
    priority=0,
    project="string",
    training_phrases=[{
        "parts": [{
            "text": "string",
            "parameter_id": "string",
        }],
        "repeat_count": 0,
    }])
Copy
const exampleintentResourceResourceFromDialogflowv3beta1 = new google_native.dialogflow.v3beta1.Intent("exampleintentResourceResourceFromDialogflowv3beta1", {
    agentId: "string",
    displayName: "string",
    description: "string",
    isFallback: false,
    labels: {
        string: "string",
    },
    languageCode: "string",
    location: "string",
    name: "string",
    parameters: [{
        entityType: "string",
        id: "string",
        isList: false,
        redact: false,
    }],
    priority: 0,
    project: "string",
    trainingPhrases: [{
        parts: [{
            text: "string",
            parameterId: "string",
        }],
        repeatCount: 0,
    }],
});
Copy
type: google-native:dialogflow/v3beta1:Intent
properties:
    agentId: string
    description: string
    displayName: string
    isFallback: false
    labels:
        string: string
    languageCode: string
    location: string
    name: string
    parameters:
        - entityType: string
          id: string
          isList: false
          redact: false
    priority: 0
    project: string
    trainingPhrases:
        - parts:
            - parameterId: string
              text: string
          repeatCount: 0
Copy

Intent Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The Intent resource accepts the following input properties:

AgentId
This property is required.
Changes to this property will trigger replacement.
string
DisplayName This property is required. string
The human-readable name of the intent, unique within the agent.
Description string
Human readable description for better understanding an intent like its scope, content, result etc. Maximum character limit: 140 characters.
IsFallback bool
Indicates whether this is a fallback intent. Currently only default fallback intent is allowed in the agent, which is added upon agent creation. Adding training phrases to fallback intent is useful in the case of requests that are mistakenly matched, since training phrases assigned to fallback intents act as negative examples that triggers no-match event.
Labels Dictionary<string, string>
The key/value metadata to label an intent. Labels can contain lowercase letters, digits and the symbols '-' and '_'. International characters are allowed, including letters from unicase alphabets. Keys must start with a letter. Keys and values can be no longer than 63 characters and no more than 128 bytes. Prefix "sys-" is reserved for Dialogflow defined labels. Currently allowed Dialogflow defined labels include: * sys-head * sys-contextual The above labels do not require value. "sys-head" means the intent is a head intent. "sys-contextual" means the intent is a contextual intent.
LanguageCode string
The language of the following fields in intent: * Intent.training_phrases.parts.text If not specified, the agent's default language is used. Many languages are supported. Note: languages must be enabled in the agent before they can be used.
Location Changes to this property will trigger replacement. string
Name string
The unique identifier of the intent. Required for the Intents.UpdateIntent method. Intents.CreateIntent populates the name automatically. Format: projects//locations//agents//intents/.
Parameters List<Pulumi.GoogleNative.Dialogflow.V3Beta1.Inputs.GoogleCloudDialogflowCxV3beta1IntentParameter>
The collection of parameters associated with the intent.
Priority int
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 Changes to this property will trigger replacement. string
TrainingPhrases List<Pulumi.GoogleNative.Dialogflow.V3Beta1.Inputs.GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase>
The collection of training phrases the agent is trained on to identify the intent.
AgentId
This property is required.
Changes to this property will trigger replacement.
string
DisplayName This property is required. string
The human-readable name of the intent, unique within the agent.
Description string
Human readable description for better understanding an intent like its scope, content, result etc. Maximum character limit: 140 characters.
IsFallback bool
Indicates whether this is a fallback intent. Currently only default fallback intent is allowed in the agent, which is added upon agent creation. Adding training phrases to fallback intent is useful in the case of requests that are mistakenly matched, since training phrases assigned to fallback intents act as negative examples that triggers no-match event.
Labels map[string]string
The key/value metadata to label an intent. Labels can contain lowercase letters, digits and the symbols '-' and '_'. International characters are allowed, including letters from unicase alphabets. Keys must start with a letter. Keys and values can be no longer than 63 characters and no more than 128 bytes. Prefix "sys-" is reserved for Dialogflow defined labels. Currently allowed Dialogflow defined labels include: * sys-head * sys-contextual The above labels do not require value. "sys-head" means the intent is a head intent. "sys-contextual" means the intent is a contextual intent.
LanguageCode string
The language of the following fields in intent: * Intent.training_phrases.parts.text If not specified, the agent's default language is used. Many languages are supported. Note: languages must be enabled in the agent before they can be used.
Location Changes to this property will trigger replacement. string
Name string
The unique identifier of the intent. Required for the Intents.UpdateIntent method. Intents.CreateIntent populates the name automatically. Format: projects//locations//agents//intents/.
Parameters []GoogleCloudDialogflowCxV3beta1IntentParameterArgs
The collection of parameters associated with the intent.
Priority int
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 Changes to this property will trigger replacement. string
TrainingPhrases []GoogleCloudDialogflowCxV3beta1IntentTrainingPhraseArgs
The collection of training phrases the agent is trained on to identify the intent.
agentId
This property is required.
Changes to this property will trigger replacement.
String
displayName This property is required. String
The human-readable name of the intent, unique within the agent.
description String
Human readable description for better understanding an intent like its scope, content, result etc. Maximum character limit: 140 characters.
isFallback Boolean
Indicates whether this is a fallback intent. Currently only default fallback intent is allowed in the agent, which is added upon agent creation. Adding training phrases to fallback intent is useful in the case of requests that are mistakenly matched, since training phrases assigned to fallback intents act as negative examples that triggers no-match event.
labels Map<String,String>
The key/value metadata to label an intent. Labels can contain lowercase letters, digits and the symbols '-' and '_'. International characters are allowed, including letters from unicase alphabets. Keys must start with a letter. Keys and values can be no longer than 63 characters and no more than 128 bytes. Prefix "sys-" is reserved for Dialogflow defined labels. Currently allowed Dialogflow defined labels include: * sys-head * sys-contextual The above labels do not require value. "sys-head" means the intent is a head intent. "sys-contextual" means the intent is a contextual intent.
languageCode String
The language of the following fields in intent: * Intent.training_phrases.parts.text If not specified, the agent's default language is used. Many languages are supported. Note: languages must be enabled in the agent before they can be used.
location Changes to this property will trigger replacement. String
name String
The unique identifier of the intent. Required for the Intents.UpdateIntent method. Intents.CreateIntent populates the name automatically. Format: projects//locations//agents//intents/.
parameters List<GoogleCloudDialogflowCxV3beta1IntentParameter>
The collection of parameters associated with the intent.
priority Integer
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 Changes to this property will trigger replacement. String
trainingPhrases List<GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase>
The collection of training phrases the agent is trained on to identify the intent.
agentId
This property is required.
Changes to this property will trigger replacement.
string
displayName This property is required. string
The human-readable name of the intent, unique within the agent.
description string
Human readable description for better understanding an intent like its scope, content, result etc. Maximum character limit: 140 characters.
isFallback boolean
Indicates whether this is a fallback intent. Currently only default fallback intent is allowed in the agent, which is added upon agent creation. Adding training phrases to fallback intent is useful in the case of requests that are mistakenly matched, since training phrases assigned to fallback intents act as negative examples that triggers no-match event.
labels {[key: string]: string}
The key/value metadata to label an intent. Labels can contain lowercase letters, digits and the symbols '-' and '_'. International characters are allowed, including letters from unicase alphabets. Keys must start with a letter. Keys and values can be no longer than 63 characters and no more than 128 bytes. Prefix "sys-" is reserved for Dialogflow defined labels. Currently allowed Dialogflow defined labels include: * sys-head * sys-contextual The above labels do not require value. "sys-head" means the intent is a head intent. "sys-contextual" means the intent is a contextual intent.
languageCode string
The language of the following fields in intent: * Intent.training_phrases.parts.text If not specified, the agent's default language is used. Many languages are supported. Note: languages must be enabled in the agent before they can be used.
location Changes to this property will trigger replacement. string
name string
The unique identifier of the intent. Required for the Intents.UpdateIntent method. Intents.CreateIntent populates the name automatically. Format: projects//locations//agents//intents/.
parameters GoogleCloudDialogflowCxV3beta1IntentParameter[]
The collection of parameters associated with the intent.
priority 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.
project Changes to this property will trigger replacement. string
trainingPhrases GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase[]
The collection of training phrases the agent is trained on to identify the intent.
agent_id
This property is required.
Changes to this property will trigger replacement.
str
display_name This property is required. str
The human-readable name of the intent, unique within the agent.
description str
Human readable description for better understanding an intent like its scope, content, result etc. Maximum character limit: 140 characters.
is_fallback bool
Indicates whether this is a fallback intent. Currently only default fallback intent is allowed in the agent, which is added upon agent creation. Adding training phrases to fallback intent is useful in the case of requests that are mistakenly matched, since training phrases assigned to fallback intents act as negative examples that triggers no-match event.
labels Mapping[str, str]
The key/value metadata to label an intent. Labels can contain lowercase letters, digits and the symbols '-' and '_'. International characters are allowed, including letters from unicase alphabets. Keys must start with a letter. Keys and values can be no longer than 63 characters and no more than 128 bytes. Prefix "sys-" is reserved for Dialogflow defined labels. Currently allowed Dialogflow defined labels include: * sys-head * sys-contextual The above labels do not require value. "sys-head" means the intent is a head intent. "sys-contextual" means the intent is a contextual intent.
language_code str
The language of the following fields in intent: * Intent.training_phrases.parts.text If not specified, the agent's default language is used. Many languages are supported. Note: languages must be enabled in the agent before they can be used.
location Changes to this property will trigger replacement. str
name str
The unique identifier of the intent. Required for the Intents.UpdateIntent method. Intents.CreateIntent populates the name automatically. Format: projects//locations//agents//intents/.
parameters Sequence[GoogleCloudDialogflowCxV3beta1IntentParameterArgs]
The collection of parameters associated with the intent.
priority int
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 Changes to this property will trigger replacement. str
training_phrases Sequence[GoogleCloudDialogflowCxV3beta1IntentTrainingPhraseArgs]
The collection of training phrases the agent is trained on to identify the intent.
agentId
This property is required.
Changes to this property will trigger replacement.
String
displayName This property is required. String
The human-readable name of the intent, unique within the agent.
description String
Human readable description for better understanding an intent like its scope, content, result etc. Maximum character limit: 140 characters.
isFallback Boolean
Indicates whether this is a fallback intent. Currently only default fallback intent is allowed in the agent, which is added upon agent creation. Adding training phrases to fallback intent is useful in the case of requests that are mistakenly matched, since training phrases assigned to fallback intents act as negative examples that triggers no-match event.
labels Map<String>
The key/value metadata to label an intent. Labels can contain lowercase letters, digits and the symbols '-' and '_'. International characters are allowed, including letters from unicase alphabets. Keys must start with a letter. Keys and values can be no longer than 63 characters and no more than 128 bytes. Prefix "sys-" is reserved for Dialogflow defined labels. Currently allowed Dialogflow defined labels include: * sys-head * sys-contextual The above labels do not require value. "sys-head" means the intent is a head intent. "sys-contextual" means the intent is a contextual intent.
languageCode String
The language of the following fields in intent: * Intent.training_phrases.parts.text If not specified, the agent's default language is used. Many languages are supported. Note: languages must be enabled in the agent before they can be used.
location Changes to this property will trigger replacement. String
name String
The unique identifier of the intent. Required for the Intents.UpdateIntent method. Intents.CreateIntent populates the name automatically. Format: projects//locations//agents//intents/.
parameters List<Property Map>
The collection of parameters associated with the intent.
priority 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.
project Changes to this property will trigger replacement. String
trainingPhrases List<Property Map>
The collection of training phrases the agent is trained on to identify the intent.

Outputs

All input properties are implicitly available as output properties. Additionally, the Intent resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Supporting Types

GoogleCloudDialogflowCxV3beta1IntentParameter
, GoogleCloudDialogflowCxV3beta1IntentParameterArgs

EntityType This property is required. string
The entity type of the parameter. Format: projects/-/locations/-/agents/-/entityTypes/ for system entity types (for example, projects/-/locations/-/agents/-/entityTypes/sys.date), or projects//locations//agents//entityTypes/ for developer entity types.
Id This property is required. string
The unique identifier of the parameter. This field is used by training phrases to annotate their parts.
IsList bool
Indicates whether the parameter represents a list of values.
Redact bool
Indicates whether the parameter content should be redacted in log. If redaction is enabled, the parameter content will be replaced by parameter name during logging. Note: the parameter content is subject to redaction if either parameter level redaction or entity type level redaction is enabled.
EntityType This property is required. string
The entity type of the parameter. Format: projects/-/locations/-/agents/-/entityTypes/ for system entity types (for example, projects/-/locations/-/agents/-/entityTypes/sys.date), or projects//locations//agents//entityTypes/ for developer entity types.
Id This property is required. string
The unique identifier of the parameter. This field is used by training phrases to annotate their parts.
IsList bool
Indicates whether the parameter represents a list of values.
Redact bool
Indicates whether the parameter content should be redacted in log. If redaction is enabled, the parameter content will be replaced by parameter name during logging. Note: the parameter content is subject to redaction if either parameter level redaction or entity type level redaction is enabled.
entityType This property is required. String
The entity type of the parameter. Format: projects/-/locations/-/agents/-/entityTypes/ for system entity types (for example, projects/-/locations/-/agents/-/entityTypes/sys.date), or projects//locations//agents//entityTypes/ for developer entity types.
id This property is required. String
The unique identifier of the parameter. This field is used by training phrases to annotate their parts.
isList Boolean
Indicates whether the parameter represents a list of values.
redact Boolean
Indicates whether the parameter content should be redacted in log. If redaction is enabled, the parameter content will be replaced by parameter name during logging. Note: the parameter content is subject to redaction if either parameter level redaction or entity type level redaction is enabled.
entityType This property is required. string
The entity type of the parameter. Format: projects/-/locations/-/agents/-/entityTypes/ for system entity types (for example, projects/-/locations/-/agents/-/entityTypes/sys.date), or projects//locations//agents//entityTypes/ for developer entity types.
id This property is required. string
The unique identifier of the parameter. This field is used by training phrases to annotate their parts.
isList boolean
Indicates whether the parameter represents a list of values.
redact boolean
Indicates whether the parameter content should be redacted in log. If redaction is enabled, the parameter content will be replaced by parameter name during logging. Note: the parameter content is subject to redaction if either parameter level redaction or entity type level redaction is enabled.
entity_type This property is required. str
The entity type of the parameter. Format: projects/-/locations/-/agents/-/entityTypes/ for system entity types (for example, projects/-/locations/-/agents/-/entityTypes/sys.date), or projects//locations//agents//entityTypes/ for developer entity types.
id This property is required. str
The unique identifier of the parameter. This field is used by training phrases to annotate their parts.
is_list bool
Indicates whether the parameter represents a list of values.
redact bool
Indicates whether the parameter content should be redacted in log. If redaction is enabled, the parameter content will be replaced by parameter name during logging. Note: the parameter content is subject to redaction if either parameter level redaction or entity type level redaction is enabled.
entityType This property is required. String
The entity type of the parameter. Format: projects/-/locations/-/agents/-/entityTypes/ for system entity types (for example, projects/-/locations/-/agents/-/entityTypes/sys.date), or projects//locations//agents//entityTypes/ for developer entity types.
id This property is required. String
The unique identifier of the parameter. This field is used by training phrases to annotate their parts.
isList Boolean
Indicates whether the parameter represents a list of values.
redact Boolean
Indicates whether the parameter content should be redacted in log. If redaction is enabled, the parameter content will be replaced by parameter name during logging. Note: the parameter content is subject to redaction if either parameter level redaction or entity type level redaction is enabled.

GoogleCloudDialogflowCxV3beta1IntentParameterResponse
, GoogleCloudDialogflowCxV3beta1IntentParameterResponseArgs

EntityType This property is required. string
The entity type of the parameter. Format: projects/-/locations/-/agents/-/entityTypes/ for system entity types (for example, projects/-/locations/-/agents/-/entityTypes/sys.date), or projects//locations//agents//entityTypes/ for developer entity types.
IsList This property is required. bool
Indicates whether the parameter represents a list of values.
Redact This property is required. bool
Indicates whether the parameter content should be redacted in log. If redaction is enabled, the parameter content will be replaced by parameter name during logging. Note: the parameter content is subject to redaction if either parameter level redaction or entity type level redaction is enabled.
EntityType This property is required. string
The entity type of the parameter. Format: projects/-/locations/-/agents/-/entityTypes/ for system entity types (for example, projects/-/locations/-/agents/-/entityTypes/sys.date), or projects//locations//agents//entityTypes/ for developer entity types.
IsList This property is required. bool
Indicates whether the parameter represents a list of values.
Redact This property is required. bool
Indicates whether the parameter content should be redacted in log. If redaction is enabled, the parameter content will be replaced by parameter name during logging. Note: the parameter content is subject to redaction if either parameter level redaction or entity type level redaction is enabled.
entityType This property is required. String
The entity type of the parameter. Format: projects/-/locations/-/agents/-/entityTypes/ for system entity types (for example, projects/-/locations/-/agents/-/entityTypes/sys.date), or projects//locations//agents//entityTypes/ for developer entity types.
isList This property is required. Boolean
Indicates whether the parameter represents a list of values.
redact This property is required. Boolean
Indicates whether the parameter content should be redacted in log. If redaction is enabled, the parameter content will be replaced by parameter name during logging. Note: the parameter content is subject to redaction if either parameter level redaction or entity type level redaction is enabled.
entityType This property is required. string
The entity type of the parameter. Format: projects/-/locations/-/agents/-/entityTypes/ for system entity types (for example, projects/-/locations/-/agents/-/entityTypes/sys.date), or projects//locations//agents//entityTypes/ for developer entity types.
isList This property is required. boolean
Indicates whether the parameter represents a list of values.
redact This property is required. boolean
Indicates whether the parameter content should be redacted in log. If redaction is enabled, the parameter content will be replaced by parameter name during logging. Note: the parameter content is subject to redaction if either parameter level redaction or entity type level redaction is enabled.
entity_type This property is required. str
The entity type of the parameter. Format: projects/-/locations/-/agents/-/entityTypes/ for system entity types (for example, projects/-/locations/-/agents/-/entityTypes/sys.date), or projects//locations//agents//entityTypes/ for developer entity types.
is_list This property is required. bool
Indicates whether the parameter represents a list of values.
redact This property is required. bool
Indicates whether the parameter content should be redacted in log. If redaction is enabled, the parameter content will be replaced by parameter name during logging. Note: the parameter content is subject to redaction if either parameter level redaction or entity type level redaction is enabled.
entityType This property is required. String
The entity type of the parameter. Format: projects/-/locations/-/agents/-/entityTypes/ for system entity types (for example, projects/-/locations/-/agents/-/entityTypes/sys.date), or projects//locations//agents//entityTypes/ for developer entity types.
isList This property is required. Boolean
Indicates whether the parameter represents a list of values.
redact This property is required. Boolean
Indicates whether the parameter content should be redacted in log. If redaction is enabled, the parameter content will be replaced by parameter name during logging. Note: the parameter content is subject to redaction if either parameter level redaction or entity type level redaction is enabled.

GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase
, GoogleCloudDialogflowCxV3beta1IntentTrainingPhraseArgs

Parts This property is required. List<Pulumi.GoogleNative.Dialogflow.V3Beta1.Inputs.GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart>
The ordered list of training phrase parts. The parts are concatenated in order to form the training phrase. Note: The API does not automatically annotate training phrases like the Dialogflow Console does. Note: Do not forget to include whitespace at part boundaries, so the training phrase is well formatted when the parts are concatenated. If the training phrase does not need to be annotated with parameters, you just need a single part with only the Part.text field set. If you want to annotate the training phrase, you must create multiple parts, where the fields of each part are populated in one of two ways: - Part.text is set to a part of the phrase that has no parameters. - Part.text is set to a part of the phrase that you want to annotate, and the parameter_id field is set.
RepeatCount int
Indicates how many times this example was added to the intent.
Parts This property is required. []GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart
The ordered list of training phrase parts. The parts are concatenated in order to form the training phrase. Note: The API does not automatically annotate training phrases like the Dialogflow Console does. Note: Do not forget to include whitespace at part boundaries, so the training phrase is well formatted when the parts are concatenated. If the training phrase does not need to be annotated with parameters, you just need a single part with only the Part.text field set. If you want to annotate the training phrase, you must create multiple parts, where the fields of each part are populated in one of two ways: - Part.text is set to a part of the phrase that has no parameters. - Part.text is set to a part of the phrase that you want to annotate, and the parameter_id field is set.
RepeatCount int
Indicates how many times this example was added to the intent.
parts This property is required. List<GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart>
The ordered list of training phrase parts. The parts are concatenated in order to form the training phrase. Note: The API does not automatically annotate training phrases like the Dialogflow Console does. Note: Do not forget to include whitespace at part boundaries, so the training phrase is well formatted when the parts are concatenated. If the training phrase does not need to be annotated with parameters, you just need a single part with only the Part.text field set. If you want to annotate the training phrase, you must create multiple parts, where the fields of each part are populated in one of two ways: - Part.text is set to a part of the phrase that has no parameters. - Part.text is set to a part of the phrase that you want to annotate, and the parameter_id field is set.
repeatCount Integer
Indicates how many times this example was added to the intent.
parts This property is required. GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart[]
The ordered list of training phrase parts. The parts are concatenated in order to form the training phrase. Note: The API does not automatically annotate training phrases like the Dialogflow Console does. Note: Do not forget to include whitespace at part boundaries, so the training phrase is well formatted when the parts are concatenated. If the training phrase does not need to be annotated with parameters, you just need a single part with only the Part.text field set. If you want to annotate the training phrase, you must create multiple parts, where the fields of each part are populated in one of two ways: - Part.text is set to a part of the phrase that has no parameters. - Part.text is set to a part of the phrase that you want to annotate, and the parameter_id field is set.
repeatCount number
Indicates how many times this example was added to the intent.
parts This property is required. Sequence[GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart]
The ordered list of training phrase parts. The parts are concatenated in order to form the training phrase. Note: The API does not automatically annotate training phrases like the Dialogflow Console does. Note: Do not forget to include whitespace at part boundaries, so the training phrase is well formatted when the parts are concatenated. If the training phrase does not need to be annotated with parameters, you just need a single part with only the Part.text field set. If you want to annotate the training phrase, you must create multiple parts, where the fields of each part are populated in one of two ways: - Part.text is set to a part of the phrase that has no parameters. - Part.text is set to a part of the phrase that you want to annotate, and the parameter_id field is set.
repeat_count int
Indicates how many times this example was added to the intent.
parts This property is required. List<Property Map>
The ordered list of training phrase parts. The parts are concatenated in order to form the training phrase. Note: The API does not automatically annotate training phrases like the Dialogflow Console does. Note: Do not forget to include whitespace at part boundaries, so the training phrase is well formatted when the parts are concatenated. If the training phrase does not need to be annotated with parameters, you just need a single part with only the Part.text field set. If you want to annotate the training phrase, you must create multiple parts, where the fields of each part are populated in one of two ways: - Part.text is set to a part of the phrase that has no parameters. - Part.text is set to a part of the phrase that you want to annotate, and the parameter_id field is set.
repeatCount Number
Indicates how many times this example was added to the intent.

GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart
, GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePartArgs

Text This property is required. string
The text for this part.
ParameterId string
The parameter used to annotate this part of the training phrase. This field is required for annotated parts of the training phrase.
Text This property is required. string
The text for this part.
ParameterId string
The parameter used to annotate this part of the training phrase. This field is required for annotated parts of the training phrase.
text This property is required. String
The text for this part.
parameterId String
The parameter used to annotate this part of the training phrase. This field is required for annotated parts of the training phrase.
text This property is required. string
The text for this part.
parameterId string
The parameter used to annotate this part of the training phrase. This field is required for annotated parts of the training phrase.
text This property is required. str
The text for this part.
parameter_id str
The parameter used to annotate this part of the training phrase. This field is required for annotated parts of the training phrase.
text This property is required. String
The text for this part.
parameterId String
The parameter used to annotate this part of the training phrase. This field is required for annotated parts of the training phrase.

GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePartResponse
, GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePartResponseArgs

ParameterId This property is required. string
The parameter used to annotate this part of the training phrase. This field is required for annotated parts of the training phrase.
Text This property is required. string
The text for this part.
ParameterId This property is required. string
The parameter used to annotate this part of the training phrase. This field is required for annotated parts of the training phrase.
Text This property is required. string
The text for this part.
parameterId This property is required. String
The parameter used to annotate this part of the training phrase. This field is required for annotated parts of the training phrase.
text This property is required. String
The text for this part.
parameterId This property is required. string
The parameter used to annotate this part of the training phrase. This field is required for annotated parts of the training phrase.
text This property is required. string
The text for this part.
parameter_id This property is required. str
The parameter used to annotate this part of the training phrase. This field is required for annotated parts of the training phrase.
text This property is required. str
The text for this part.
parameterId This property is required. String
The parameter used to annotate this part of the training phrase. This field is required for annotated parts of the training phrase.
text This property is required. String
The text for this part.

GoogleCloudDialogflowCxV3beta1IntentTrainingPhraseResponse
, GoogleCloudDialogflowCxV3beta1IntentTrainingPhraseResponseArgs

Parts This property is required. List<Pulumi.GoogleNative.Dialogflow.V3Beta1.Inputs.GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePartResponse>
The ordered list of training phrase parts. The parts are concatenated in order to form the training phrase. Note: The API does not automatically annotate training phrases like the Dialogflow Console does. Note: Do not forget to include whitespace at part boundaries, so the training phrase is well formatted when the parts are concatenated. If the training phrase does not need to be annotated with parameters, you just need a single part with only the Part.text field set. If you want to annotate the training phrase, you must create multiple parts, where the fields of each part are populated in one of two ways: - Part.text is set to a part of the phrase that has no parameters. - Part.text is set to a part of the phrase that you want to annotate, and the parameter_id field is set.
RepeatCount This property is required. int
Indicates how many times this example was added to the intent.
Parts This property is required. []GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePartResponse
The ordered list of training phrase parts. The parts are concatenated in order to form the training phrase. Note: The API does not automatically annotate training phrases like the Dialogflow Console does. Note: Do not forget to include whitespace at part boundaries, so the training phrase is well formatted when the parts are concatenated. If the training phrase does not need to be annotated with parameters, you just need a single part with only the Part.text field set. If you want to annotate the training phrase, you must create multiple parts, where the fields of each part are populated in one of two ways: - Part.text is set to a part of the phrase that has no parameters. - Part.text is set to a part of the phrase that you want to annotate, and the parameter_id field is set.
RepeatCount This property is required. int
Indicates how many times this example was added to the intent.
parts This property is required. List<GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePartResponse>
The ordered list of training phrase parts. The parts are concatenated in order to form the training phrase. Note: The API does not automatically annotate training phrases like the Dialogflow Console does. Note: Do not forget to include whitespace at part boundaries, so the training phrase is well formatted when the parts are concatenated. If the training phrase does not need to be annotated with parameters, you just need a single part with only the Part.text field set. If you want to annotate the training phrase, you must create multiple parts, where the fields of each part are populated in one of two ways: - Part.text is set to a part of the phrase that has no parameters. - Part.text is set to a part of the phrase that you want to annotate, and the parameter_id field is set.
repeatCount This property is required. Integer
Indicates how many times this example was added to the intent.
parts This property is required. GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePartResponse[]
The ordered list of training phrase parts. The parts are concatenated in order to form the training phrase. Note: The API does not automatically annotate training phrases like the Dialogflow Console does. Note: Do not forget to include whitespace at part boundaries, so the training phrase is well formatted when the parts are concatenated. If the training phrase does not need to be annotated with parameters, you just need a single part with only the Part.text field set. If you want to annotate the training phrase, you must create multiple parts, where the fields of each part are populated in one of two ways: - Part.text is set to a part of the phrase that has no parameters. - Part.text is set to a part of the phrase that you want to annotate, and the parameter_id field is set.
repeatCount This property is required. number
Indicates how many times this example was added to the intent.
parts This property is required. Sequence[GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePartResponse]
The ordered list of training phrase parts. The parts are concatenated in order to form the training phrase. Note: The API does not automatically annotate training phrases like the Dialogflow Console does. Note: Do not forget to include whitespace at part boundaries, so the training phrase is well formatted when the parts are concatenated. If the training phrase does not need to be annotated with parameters, you just need a single part with only the Part.text field set. If you want to annotate the training phrase, you must create multiple parts, where the fields of each part are populated in one of two ways: - Part.text is set to a part of the phrase that has no parameters. - Part.text is set to a part of the phrase that you want to annotate, and the parameter_id field is set.
repeat_count This property is required. int
Indicates how many times this example was added to the intent.
parts This property is required. List<Property Map>
The ordered list of training phrase parts. The parts are concatenated in order to form the training phrase. Note: The API does not automatically annotate training phrases like the Dialogflow Console does. Note: Do not forget to include whitespace at part boundaries, so the training phrase is well formatted when the parts are concatenated. If the training phrase does not need to be annotated with parameters, you just need a single part with only the Part.text field set. If you want to annotate the training phrase, you must create multiple parts, where the fields of each part are populated in one of two ways: - Part.text is set to a part of the phrase that has no parameters. - Part.text is set to a part of the phrase that you want to annotate, and the parameter_id field is set.
repeatCount This property is required. Number
Indicates how many times this example was added to the intent.

Package Details

Repository
Google Cloud Native pulumi/pulumi-google-native
License
Apache-2.0

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi