diagflow

package
v5.26.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 1, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Agent

type Agent struct {
	pulumi.CustomResourceState

	// 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.
	//   Possible values are `API_VERSION_V1`, `API_VERSION_V2`, and `API_VERSION_V2_BETA_1`.
	ApiVersion pulumi.StringOutput `pulumi:"apiVersion"`
	// 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.
	AvatarUri pulumi.StringPtrOutput `pulumi:"avatarUri"`
	// 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.
	AvatarUriBackend pulumi.StringOutput `pulumi:"avatarUriBackend"`
	// 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.
	ClassificationThreshold pulumi.Float64PtrOutput `pulumi:"classificationThreshold"`
	// The default language of the agent as a language tag. [See Language Support](https://cloud.google.com/dialogflow/docs/reference/language)
	// for a list of the currently supported language codes. This field cannot be updated after creation.
	DefaultLanguageCode pulumi.StringOutput `pulumi:"defaultLanguageCode"`
	// The description of this agent. The maximum length is 500 characters. If exceeded, the request is rejected.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The name of this agent.
	DisplayName pulumi.StringOutput `pulumi:"displayName"`
	// Determines whether this agent should log conversation queries.
	EnableLogging pulumi.BoolPtrOutput `pulumi:"enableLogging"`
	// 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.
	//   Possible values are `MATCH_MODE_HYBRID` and `MATCH_MODE_ML_ONLY`.
	MatchMode pulumi.StringOutput `pulumi:"matchMode"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringOutput `pulumi:"project"`
	// The list of all languages supported by this agent (except for the defaultLanguageCode).
	SupportedLanguageCodes pulumi.StringArrayOutput `pulumi:"supportedLanguageCodes"`
	// 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.
	Tier pulumi.StringPtrOutput `pulumi:"tier"`
	// The time zone of this agent from the [time zone database](https://www.iana.org/time-zones), e.g., America/New_York,
	// Europe/Paris.
	TimeZone pulumi.StringOutput `pulumi:"timeZone"`
}

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:

* [API documentation](https://cloud.google.com/dialogflow/docs/reference/rest/v2/projects/agent) * How-to Guides

## Example Usage ### Dialogflow Agent Full

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v5/go/gcp/diagflow"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := diagflow.NewAgent(ctx, "fullAgent", &diagflow.AgentArgs{
			ApiVersion:              pulumi.String("API_VERSION_V2_BETA_1"),
			AvatarUri:               pulumi.String("https://cloud.google.com/_static/images/cloud/icons/favicons/onecloud/super_cloud.png"),
			ClassificationThreshold: pulumi.Float64(0.3),
			DefaultLanguageCode:     pulumi.String("en"),
			Description:             pulumi.String("Example description."),
			DisplayName:             pulumi.String("dialogflow-agent"),
			EnableLogging:           pulumi.Bool(true),
			MatchMode:               pulumi.String("MATCH_MODE_ML_ONLY"),
			SupportedLanguageCodes: pulumi.StringArray{
				pulumi.String("fr"),
				pulumi.String("de"),
				pulumi.String("es"),
			},
			Tier:     pulumi.String("TIER_STANDARD"),
			TimeZone: pulumi.String("America/New_York"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Agent can be imported using any of these accepted formats

```sh

$ pulumi import gcp:diagflow/agent:Agent default {{project}}

```

func GetAgent

func GetAgent(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AgentState, opts ...pulumi.ResourceOption) (*Agent, error)

GetAgent gets an existing Agent resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewAgent

func NewAgent(ctx *pulumi.Context,
	name string, args *AgentArgs, opts ...pulumi.ResourceOption) (*Agent, error)

NewAgent registers a new resource with the given unique name, arguments, and options.

func (*Agent) ElementType

func (*Agent) ElementType() reflect.Type

func (*Agent) ToAgentOutput

func (i *Agent) ToAgentOutput() AgentOutput

func (*Agent) ToAgentOutputWithContext

func (i *Agent) ToAgentOutputWithContext(ctx context.Context) AgentOutput

func (*Agent) ToAgentPtrOutput

func (i *Agent) ToAgentPtrOutput() AgentPtrOutput

func (*Agent) ToAgentPtrOutputWithContext

func (i *Agent) ToAgentPtrOutputWithContext(ctx context.Context) AgentPtrOutput

type AgentArgs

type AgentArgs struct {
	// 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.
	//   Possible values are `API_VERSION_V1`, `API_VERSION_V2`, and `API_VERSION_V2_BETA_1`.
	ApiVersion pulumi.StringPtrInput
	// 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.
	AvatarUri pulumi.StringPtrInput
	// 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.
	ClassificationThreshold pulumi.Float64PtrInput
	// The default language of the agent as a language tag. [See Language Support](https://cloud.google.com/dialogflow/docs/reference/language)
	// for a list of the currently supported language codes. This field cannot be updated after creation.
	DefaultLanguageCode pulumi.StringInput
	// The description of this agent. The maximum length is 500 characters. If exceeded, the request is rejected.
	Description pulumi.StringPtrInput
	// The name of this agent.
	DisplayName pulumi.StringInput
	// Determines whether this agent should log conversation queries.
	EnableLogging pulumi.BoolPtrInput
	// 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.
	//   Possible values are `MATCH_MODE_HYBRID` and `MATCH_MODE_ML_ONLY`.
	MatchMode pulumi.StringPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// The list of all languages supported by this agent (except for the defaultLanguageCode).
	SupportedLanguageCodes pulumi.StringArrayInput
	// 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.
	Tier pulumi.StringPtrInput
	// The time zone of this agent from the [time zone database](https://www.iana.org/time-zones), e.g., America/New_York,
	// Europe/Paris.
	TimeZone pulumi.StringInput
}

The set of arguments for constructing a Agent resource.

func (AgentArgs) ElementType

func (AgentArgs) ElementType() reflect.Type

type AgentArray

type AgentArray []AgentInput

func (AgentArray) ElementType

func (AgentArray) ElementType() reflect.Type

func (AgentArray) ToAgentArrayOutput

func (i AgentArray) ToAgentArrayOutput() AgentArrayOutput

func (AgentArray) ToAgentArrayOutputWithContext

func (i AgentArray) ToAgentArrayOutputWithContext(ctx context.Context) AgentArrayOutput

type AgentArrayInput

type AgentArrayInput interface {
	pulumi.Input

	ToAgentArrayOutput() AgentArrayOutput
	ToAgentArrayOutputWithContext(context.Context) AgentArrayOutput
}

AgentArrayInput is an input type that accepts AgentArray and AgentArrayOutput values. You can construct a concrete instance of `AgentArrayInput` via:

AgentArray{ AgentArgs{...} }

type AgentArrayOutput

type AgentArrayOutput struct{ *pulumi.OutputState }

func (AgentArrayOutput) ElementType

func (AgentArrayOutput) ElementType() reflect.Type

func (AgentArrayOutput) Index

func (AgentArrayOutput) ToAgentArrayOutput

func (o AgentArrayOutput) ToAgentArrayOutput() AgentArrayOutput

func (AgentArrayOutput) ToAgentArrayOutputWithContext

func (o AgentArrayOutput) ToAgentArrayOutputWithContext(ctx context.Context) AgentArrayOutput

type AgentInput

type AgentInput interface {
	pulumi.Input

	ToAgentOutput() AgentOutput
	ToAgentOutputWithContext(ctx context.Context) AgentOutput
}

type AgentMap

type AgentMap map[string]AgentInput

func (AgentMap) ElementType

func (AgentMap) ElementType() reflect.Type

func (AgentMap) ToAgentMapOutput

func (i AgentMap) ToAgentMapOutput() AgentMapOutput

func (AgentMap) ToAgentMapOutputWithContext

func (i AgentMap) ToAgentMapOutputWithContext(ctx context.Context) AgentMapOutput

type AgentMapInput

type AgentMapInput interface {
	pulumi.Input

	ToAgentMapOutput() AgentMapOutput
	ToAgentMapOutputWithContext(context.Context) AgentMapOutput
}

AgentMapInput is an input type that accepts AgentMap and AgentMapOutput values. You can construct a concrete instance of `AgentMapInput` via:

AgentMap{ "key": AgentArgs{...} }

type AgentMapOutput

type AgentMapOutput struct{ *pulumi.OutputState }

func (AgentMapOutput) ElementType

func (AgentMapOutput) ElementType() reflect.Type

func (AgentMapOutput) MapIndex

func (AgentMapOutput) ToAgentMapOutput

func (o AgentMapOutput) ToAgentMapOutput() AgentMapOutput

func (AgentMapOutput) ToAgentMapOutputWithContext

func (o AgentMapOutput) ToAgentMapOutputWithContext(ctx context.Context) AgentMapOutput

type AgentOutput

type AgentOutput struct{ *pulumi.OutputState }

func (AgentOutput) ElementType

func (AgentOutput) ElementType() reflect.Type

func (AgentOutput) ToAgentOutput

func (o AgentOutput) ToAgentOutput() AgentOutput

func (AgentOutput) ToAgentOutputWithContext

func (o AgentOutput) ToAgentOutputWithContext(ctx context.Context) AgentOutput

func (AgentOutput) ToAgentPtrOutput

func (o AgentOutput) ToAgentPtrOutput() AgentPtrOutput

func (AgentOutput) ToAgentPtrOutputWithContext

func (o AgentOutput) ToAgentPtrOutputWithContext(ctx context.Context) AgentPtrOutput

type AgentPtrInput

type AgentPtrInput interface {
	pulumi.Input

	ToAgentPtrOutput() AgentPtrOutput
	ToAgentPtrOutputWithContext(ctx context.Context) AgentPtrOutput
}

type AgentPtrOutput

type AgentPtrOutput struct{ *pulumi.OutputState }

func (AgentPtrOutput) Elem added in v5.21.0

func (o AgentPtrOutput) Elem() AgentOutput

func (AgentPtrOutput) ElementType

func (AgentPtrOutput) ElementType() reflect.Type

func (AgentPtrOutput) ToAgentPtrOutput

func (o AgentPtrOutput) ToAgentPtrOutput() AgentPtrOutput

func (AgentPtrOutput) ToAgentPtrOutputWithContext

func (o AgentPtrOutput) ToAgentPtrOutputWithContext(ctx context.Context) AgentPtrOutput

type AgentState

type AgentState struct {
	// 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.
	//   Possible values are `API_VERSION_V1`, `API_VERSION_V2`, and `API_VERSION_V2_BETA_1`.
	ApiVersion pulumi.StringPtrInput
	// 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.
	AvatarUri pulumi.StringPtrInput
	// 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.
	AvatarUriBackend pulumi.StringPtrInput
	// 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.
	ClassificationThreshold pulumi.Float64PtrInput
	// The default language of the agent as a language tag. [See Language Support](https://cloud.google.com/dialogflow/docs/reference/language)
	// for a list of the currently supported language codes. This field cannot be updated after creation.
	DefaultLanguageCode pulumi.StringPtrInput
	// The description of this agent. The maximum length is 500 characters. If exceeded, the request is rejected.
	Description pulumi.StringPtrInput
	// The name of this agent.
	DisplayName pulumi.StringPtrInput
	// Determines whether this agent should log conversation queries.
	EnableLogging pulumi.BoolPtrInput
	// 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.
	//   Possible values are `MATCH_MODE_HYBRID` and `MATCH_MODE_ML_ONLY`.
	MatchMode pulumi.StringPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// The list of all languages supported by this agent (except for the defaultLanguageCode).
	SupportedLanguageCodes pulumi.StringArrayInput
	// 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.
	Tier pulumi.StringPtrInput
	// The time zone of this agent from the [time zone database](https://www.iana.org/time-zones), e.g., America/New_York,
	// Europe/Paris.
	TimeZone pulumi.StringPtrInput
}

func (AgentState) ElementType

func (AgentState) ElementType() reflect.Type

type CxAgent added in v5.10.0

type CxAgent struct {
	pulumi.CustomResourceState

	// The URI of the agent's avatar. Avatars are used throughout the Dialogflow console and in the self-hosted Web Demo integration.
	AvatarUri pulumi.StringPtrOutput `pulumi:"avatarUri"`
	// The default language of the agent as a language tag. [See Language Support](https://cloud.google.com/dialogflow/cx/docs/reference/language)
	// for a list of the currently supported language codes. This field cannot be updated after creation.
	DefaultLanguageCode pulumi.StringOutput `pulumi:"defaultLanguageCode"`
	// The description of this agent. The maximum length is 500 characters. If exceeded, the request is rejected.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The human-readable name of the agent, unique within the location.
	DisplayName pulumi.StringOutput `pulumi:"displayName"`
	// Indicates if automatic spell correction is enabled in detect intent requests.
	EnableSpellCorrection pulumi.BoolPtrOutput `pulumi:"enableSpellCorrection"`
	// Determines whether this agent should log conversation queries.
	EnableStackdriverLogging pulumi.BoolPtrOutput `pulumi:"enableStackdriverLogging"`
	// The name of the location this agent is located in.
	// > **Note:** The first time you are deploying an Agent in your project you must configure location settings.
	// This is a one time step but at the moment you can only [configure location settings](https://cloud.google.com/dialogflow/cx/docs/concept/region#location-settings) via the Dialogflow CX console.
	// Another options is to use global location so you don't need to manually configure location settings.
	Location pulumi.StringOutput `pulumi:"location"`
	// The unique identifier of the agent.
	Name pulumi.StringOutput `pulumi:"name"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringOutput `pulumi:"project"`
	// Name of the SecuritySettings reference for the agent. Format: projects/<Project ID>/locations/<Location ID>/securitySettings/<Security Settings ID>.
	SecuritySettings pulumi.StringPtrOutput `pulumi:"securitySettings"`
	// Settings related to speech recognition.
	// Structure is documented below.
	SpeechToTextSettings CxAgentSpeechToTextSettingsPtrOutput `pulumi:"speechToTextSettings"`
	// Name of the start flow in this agent. A start flow will be automatically created when the agent is created, and can only
	// be deleted by deleting the agent. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow
	// ID>.
	StartFlow pulumi.StringOutput `pulumi:"startFlow"`
	// The list of all languages supported by this agent (except for the default_language_code).
	SupportedLanguageCodes pulumi.StringArrayOutput `pulumi:"supportedLanguageCodes"`
	// The time zone of this agent from the [time zone database](https://www.iana.org/time-zones), e.g., America/New_York,
	// Europe/Paris.
	TimeZone pulumi.StringOutput `pulumi:"timeZone"`
}

Agents are best described as Natural Language Understanding (NLU) modules that transform user requests into actionable data. You can include agents in your app, product, or service to determine user intent and respond to the user in a natural way.

To get more information about Agent, see:

* [API documentation](https://cloud.google.com/dialogflow/cx/docs/reference/rest/v3/projects.locations.agents) * How-to Guides

## Example Usage ### Dialogflowcx Agent Full

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v5/go/gcp/diagflow"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := diagflow.NewCxAgent(ctx, "fullAgent", &diagflow.CxAgentArgs{
			AvatarUri:                pulumi.String("https://cloud.google.com/_static/images/cloud/icons/favicons/onecloud/super_cloud.png"),
			DefaultLanguageCode:      pulumi.String("en"),
			Description:              pulumi.String("Example description."),
			DisplayName:              pulumi.String("dialogflowcx-agent"),
			EnableSpellCorrection:    pulumi.Bool(true),
			EnableStackdriverLogging: pulumi.Bool(true),
			Location:                 pulumi.String("global"),
			SpeechToTextSettings: &diagflow.CxAgentSpeechToTextSettingsArgs{
				EnableSpeechAdaptation: pulumi.Bool(true),
			},
			SupportedLanguageCodes: pulumi.StringArray{
				pulumi.String("fr"),
				pulumi.String("de"),
				pulumi.String("es"),
			},
			TimeZone: pulumi.String("America/New_York"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Agent can be imported using any of these accepted formats

```sh

$ pulumi import gcp:diagflow/cxAgent:CxAgent default projects/{{project}}/locations/{{location}}/agents/{{name}}

```

```sh

$ pulumi import gcp:diagflow/cxAgent:CxAgent default {{project}}/{{location}}/{{name}}

```

```sh

$ pulumi import gcp:diagflow/cxAgent:CxAgent default {{location}}/{{name}}

```

func GetCxAgent added in v5.10.0

func GetCxAgent(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CxAgentState, opts ...pulumi.ResourceOption) (*CxAgent, error)

GetCxAgent gets an existing CxAgent resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewCxAgent added in v5.10.0

func NewCxAgent(ctx *pulumi.Context,
	name string, args *CxAgentArgs, opts ...pulumi.ResourceOption) (*CxAgent, error)

NewCxAgent registers a new resource with the given unique name, arguments, and options.

func (*CxAgent) ElementType added in v5.10.0

func (*CxAgent) ElementType() reflect.Type

func (*CxAgent) ToCxAgentOutput added in v5.10.0

func (i *CxAgent) ToCxAgentOutput() CxAgentOutput

func (*CxAgent) ToCxAgentOutputWithContext added in v5.10.0

func (i *CxAgent) ToCxAgentOutputWithContext(ctx context.Context) CxAgentOutput

func (*CxAgent) ToCxAgentPtrOutput added in v5.10.0

func (i *CxAgent) ToCxAgentPtrOutput() CxAgentPtrOutput

func (*CxAgent) ToCxAgentPtrOutputWithContext added in v5.10.0

func (i *CxAgent) ToCxAgentPtrOutputWithContext(ctx context.Context) CxAgentPtrOutput

type CxAgentArgs added in v5.10.0

type CxAgentArgs struct {
	// The URI of the agent's avatar. Avatars are used throughout the Dialogflow console and in the self-hosted Web Demo integration.
	AvatarUri pulumi.StringPtrInput
	// The default language of the agent as a language tag. [See Language Support](https://cloud.google.com/dialogflow/cx/docs/reference/language)
	// for a list of the currently supported language codes. This field cannot be updated after creation.
	DefaultLanguageCode pulumi.StringInput
	// The description of this agent. The maximum length is 500 characters. If exceeded, the request is rejected.
	Description pulumi.StringPtrInput
	// The human-readable name of the agent, unique within the location.
	DisplayName pulumi.StringInput
	// Indicates if automatic spell correction is enabled in detect intent requests.
	EnableSpellCorrection pulumi.BoolPtrInput
	// Determines whether this agent should log conversation queries.
	EnableStackdriverLogging pulumi.BoolPtrInput
	// The name of the location this agent is located in.
	// > **Note:** The first time you are deploying an Agent in your project you must configure location settings.
	// This is a one time step but at the moment you can only [configure location settings](https://cloud.google.com/dialogflow/cx/docs/concept/region#location-settings) via the Dialogflow CX console.
	// Another options is to use global location so you don't need to manually configure location settings.
	Location pulumi.StringInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// Name of the SecuritySettings reference for the agent. Format: projects/<Project ID>/locations/<Location ID>/securitySettings/<Security Settings ID>.
	SecuritySettings pulumi.StringPtrInput
	// Settings related to speech recognition.
	// Structure is documented below.
	SpeechToTextSettings CxAgentSpeechToTextSettingsPtrInput
	// The list of all languages supported by this agent (except for the default_language_code).
	SupportedLanguageCodes pulumi.StringArrayInput
	// The time zone of this agent from the [time zone database](https://www.iana.org/time-zones), e.g., America/New_York,
	// Europe/Paris.
	TimeZone pulumi.StringInput
}

The set of arguments for constructing a CxAgent resource.

func (CxAgentArgs) ElementType added in v5.10.0

func (CxAgentArgs) ElementType() reflect.Type

type CxAgentArray added in v5.10.0

type CxAgentArray []CxAgentInput

func (CxAgentArray) ElementType added in v5.10.0

func (CxAgentArray) ElementType() reflect.Type

func (CxAgentArray) ToCxAgentArrayOutput added in v5.10.0

func (i CxAgentArray) ToCxAgentArrayOutput() CxAgentArrayOutput

func (CxAgentArray) ToCxAgentArrayOutputWithContext added in v5.10.0

func (i CxAgentArray) ToCxAgentArrayOutputWithContext(ctx context.Context) CxAgentArrayOutput

type CxAgentArrayInput added in v5.10.0

type CxAgentArrayInput interface {
	pulumi.Input

	ToCxAgentArrayOutput() CxAgentArrayOutput
	ToCxAgentArrayOutputWithContext(context.Context) CxAgentArrayOutput
}

CxAgentArrayInput is an input type that accepts CxAgentArray and CxAgentArrayOutput values. You can construct a concrete instance of `CxAgentArrayInput` via:

CxAgentArray{ CxAgentArgs{...} }

type CxAgentArrayOutput added in v5.10.0

type CxAgentArrayOutput struct{ *pulumi.OutputState }

func (CxAgentArrayOutput) ElementType added in v5.10.0

func (CxAgentArrayOutput) ElementType() reflect.Type

func (CxAgentArrayOutput) Index added in v5.10.0

func (CxAgentArrayOutput) ToCxAgentArrayOutput added in v5.10.0

func (o CxAgentArrayOutput) ToCxAgentArrayOutput() CxAgentArrayOutput

func (CxAgentArrayOutput) ToCxAgentArrayOutputWithContext added in v5.10.0

func (o CxAgentArrayOutput) ToCxAgentArrayOutputWithContext(ctx context.Context) CxAgentArrayOutput

type CxAgentInput added in v5.10.0

type CxAgentInput interface {
	pulumi.Input

	ToCxAgentOutput() CxAgentOutput
	ToCxAgentOutputWithContext(ctx context.Context) CxAgentOutput
}

type CxAgentMap added in v5.10.0

type CxAgentMap map[string]CxAgentInput

func (CxAgentMap) ElementType added in v5.10.0

func (CxAgentMap) ElementType() reflect.Type

func (CxAgentMap) ToCxAgentMapOutput added in v5.10.0

func (i CxAgentMap) ToCxAgentMapOutput() CxAgentMapOutput

func (CxAgentMap) ToCxAgentMapOutputWithContext added in v5.10.0

func (i CxAgentMap) ToCxAgentMapOutputWithContext(ctx context.Context) CxAgentMapOutput

type CxAgentMapInput added in v5.10.0

type CxAgentMapInput interface {
	pulumi.Input

	ToCxAgentMapOutput() CxAgentMapOutput
	ToCxAgentMapOutputWithContext(context.Context) CxAgentMapOutput
}

CxAgentMapInput is an input type that accepts CxAgentMap and CxAgentMapOutput values. You can construct a concrete instance of `CxAgentMapInput` via:

CxAgentMap{ "key": CxAgentArgs{...} }

type CxAgentMapOutput added in v5.10.0

type CxAgentMapOutput struct{ *pulumi.OutputState }

func (CxAgentMapOutput) ElementType added in v5.10.0

func (CxAgentMapOutput) ElementType() reflect.Type

func (CxAgentMapOutput) MapIndex added in v5.10.0

func (CxAgentMapOutput) ToCxAgentMapOutput added in v5.10.0

func (o CxAgentMapOutput) ToCxAgentMapOutput() CxAgentMapOutput

func (CxAgentMapOutput) ToCxAgentMapOutputWithContext added in v5.10.0

func (o CxAgentMapOutput) ToCxAgentMapOutputWithContext(ctx context.Context) CxAgentMapOutput

type CxAgentOutput added in v5.10.0

type CxAgentOutput struct{ *pulumi.OutputState }

func (CxAgentOutput) ElementType added in v5.10.0

func (CxAgentOutput) ElementType() reflect.Type

func (CxAgentOutput) ToCxAgentOutput added in v5.10.0

func (o CxAgentOutput) ToCxAgentOutput() CxAgentOutput

func (CxAgentOutput) ToCxAgentOutputWithContext added in v5.10.0

func (o CxAgentOutput) ToCxAgentOutputWithContext(ctx context.Context) CxAgentOutput

func (CxAgentOutput) ToCxAgentPtrOutput added in v5.10.0

func (o CxAgentOutput) ToCxAgentPtrOutput() CxAgentPtrOutput

func (CxAgentOutput) ToCxAgentPtrOutputWithContext added in v5.10.0

func (o CxAgentOutput) ToCxAgentPtrOutputWithContext(ctx context.Context) CxAgentPtrOutput

type CxAgentPtrInput added in v5.10.0

type CxAgentPtrInput interface {
	pulumi.Input

	ToCxAgentPtrOutput() CxAgentPtrOutput
	ToCxAgentPtrOutputWithContext(ctx context.Context) CxAgentPtrOutput
}

type CxAgentPtrOutput added in v5.10.0

type CxAgentPtrOutput struct{ *pulumi.OutputState }

func (CxAgentPtrOutput) Elem added in v5.21.0

func (CxAgentPtrOutput) ElementType added in v5.10.0

func (CxAgentPtrOutput) ElementType() reflect.Type

func (CxAgentPtrOutput) ToCxAgentPtrOutput added in v5.10.0

func (o CxAgentPtrOutput) ToCxAgentPtrOutput() CxAgentPtrOutput

func (CxAgentPtrOutput) ToCxAgentPtrOutputWithContext added in v5.10.0

func (o CxAgentPtrOutput) ToCxAgentPtrOutputWithContext(ctx context.Context) CxAgentPtrOutput

type CxAgentSpeechToTextSettings added in v5.10.0

type CxAgentSpeechToTextSettings struct {
	// Whether to use speech adaptation for speech recognition.
	EnableSpeechAdaptation *bool `pulumi:"enableSpeechAdaptation"`
}

type CxAgentSpeechToTextSettingsArgs added in v5.10.0

type CxAgentSpeechToTextSettingsArgs struct {
	// Whether to use speech adaptation for speech recognition.
	EnableSpeechAdaptation pulumi.BoolPtrInput `pulumi:"enableSpeechAdaptation"`
}

func (CxAgentSpeechToTextSettingsArgs) ElementType added in v5.10.0

func (CxAgentSpeechToTextSettingsArgs) ToCxAgentSpeechToTextSettingsOutput added in v5.10.0

func (i CxAgentSpeechToTextSettingsArgs) ToCxAgentSpeechToTextSettingsOutput() CxAgentSpeechToTextSettingsOutput

func (CxAgentSpeechToTextSettingsArgs) ToCxAgentSpeechToTextSettingsOutputWithContext added in v5.10.0

func (i CxAgentSpeechToTextSettingsArgs) ToCxAgentSpeechToTextSettingsOutputWithContext(ctx context.Context) CxAgentSpeechToTextSettingsOutput

func (CxAgentSpeechToTextSettingsArgs) ToCxAgentSpeechToTextSettingsPtrOutput added in v5.10.0

func (i CxAgentSpeechToTextSettingsArgs) ToCxAgentSpeechToTextSettingsPtrOutput() CxAgentSpeechToTextSettingsPtrOutput

func (CxAgentSpeechToTextSettingsArgs) ToCxAgentSpeechToTextSettingsPtrOutputWithContext added in v5.10.0

func (i CxAgentSpeechToTextSettingsArgs) ToCxAgentSpeechToTextSettingsPtrOutputWithContext(ctx context.Context) CxAgentSpeechToTextSettingsPtrOutput

type CxAgentSpeechToTextSettingsInput added in v5.10.0

type CxAgentSpeechToTextSettingsInput interface {
	pulumi.Input

	ToCxAgentSpeechToTextSettingsOutput() CxAgentSpeechToTextSettingsOutput
	ToCxAgentSpeechToTextSettingsOutputWithContext(context.Context) CxAgentSpeechToTextSettingsOutput
}

CxAgentSpeechToTextSettingsInput is an input type that accepts CxAgentSpeechToTextSettingsArgs and CxAgentSpeechToTextSettingsOutput values. You can construct a concrete instance of `CxAgentSpeechToTextSettingsInput` via:

CxAgentSpeechToTextSettingsArgs{...}

type CxAgentSpeechToTextSettingsOutput added in v5.10.0

type CxAgentSpeechToTextSettingsOutput struct{ *pulumi.OutputState }

func (CxAgentSpeechToTextSettingsOutput) ElementType added in v5.10.0

func (CxAgentSpeechToTextSettingsOutput) EnableSpeechAdaptation added in v5.10.0

func (o CxAgentSpeechToTextSettingsOutput) EnableSpeechAdaptation() pulumi.BoolPtrOutput

Whether to use speech adaptation for speech recognition.

func (CxAgentSpeechToTextSettingsOutput) ToCxAgentSpeechToTextSettingsOutput added in v5.10.0

func (o CxAgentSpeechToTextSettingsOutput) ToCxAgentSpeechToTextSettingsOutput() CxAgentSpeechToTextSettingsOutput

func (CxAgentSpeechToTextSettingsOutput) ToCxAgentSpeechToTextSettingsOutputWithContext added in v5.10.0

func (o CxAgentSpeechToTextSettingsOutput) ToCxAgentSpeechToTextSettingsOutputWithContext(ctx context.Context) CxAgentSpeechToTextSettingsOutput

func (CxAgentSpeechToTextSettingsOutput) ToCxAgentSpeechToTextSettingsPtrOutput added in v5.10.0

func (o CxAgentSpeechToTextSettingsOutput) ToCxAgentSpeechToTextSettingsPtrOutput() CxAgentSpeechToTextSettingsPtrOutput

func (CxAgentSpeechToTextSettingsOutput) ToCxAgentSpeechToTextSettingsPtrOutputWithContext added in v5.10.0

func (o CxAgentSpeechToTextSettingsOutput) ToCxAgentSpeechToTextSettingsPtrOutputWithContext(ctx context.Context) CxAgentSpeechToTextSettingsPtrOutput

type CxAgentSpeechToTextSettingsPtrInput added in v5.10.0

type CxAgentSpeechToTextSettingsPtrInput interface {
	pulumi.Input

	ToCxAgentSpeechToTextSettingsPtrOutput() CxAgentSpeechToTextSettingsPtrOutput
	ToCxAgentSpeechToTextSettingsPtrOutputWithContext(context.Context) CxAgentSpeechToTextSettingsPtrOutput
}

CxAgentSpeechToTextSettingsPtrInput is an input type that accepts CxAgentSpeechToTextSettingsArgs, CxAgentSpeechToTextSettingsPtr and CxAgentSpeechToTextSettingsPtrOutput values. You can construct a concrete instance of `CxAgentSpeechToTextSettingsPtrInput` via:

        CxAgentSpeechToTextSettingsArgs{...}

or:

        nil

func CxAgentSpeechToTextSettingsPtr added in v5.10.0

type CxAgentSpeechToTextSettingsPtrOutput added in v5.10.0

type CxAgentSpeechToTextSettingsPtrOutput struct{ *pulumi.OutputState }

func (CxAgentSpeechToTextSettingsPtrOutput) Elem added in v5.10.0

func (CxAgentSpeechToTextSettingsPtrOutput) ElementType added in v5.10.0

func (CxAgentSpeechToTextSettingsPtrOutput) EnableSpeechAdaptation added in v5.10.0

func (o CxAgentSpeechToTextSettingsPtrOutput) EnableSpeechAdaptation() pulumi.BoolPtrOutput

Whether to use speech adaptation for speech recognition.

func (CxAgentSpeechToTextSettingsPtrOutput) ToCxAgentSpeechToTextSettingsPtrOutput added in v5.10.0

func (o CxAgentSpeechToTextSettingsPtrOutput) ToCxAgentSpeechToTextSettingsPtrOutput() CxAgentSpeechToTextSettingsPtrOutput

func (CxAgentSpeechToTextSettingsPtrOutput) ToCxAgentSpeechToTextSettingsPtrOutputWithContext added in v5.10.0

func (o CxAgentSpeechToTextSettingsPtrOutput) ToCxAgentSpeechToTextSettingsPtrOutputWithContext(ctx context.Context) CxAgentSpeechToTextSettingsPtrOutput

type CxAgentState added in v5.10.0

type CxAgentState struct {
	// The URI of the agent's avatar. Avatars are used throughout the Dialogflow console and in the self-hosted Web Demo integration.
	AvatarUri pulumi.StringPtrInput
	// The default language of the agent as a language tag. [See Language Support](https://cloud.google.com/dialogflow/cx/docs/reference/language)
	// for a list of the currently supported language codes. This field cannot be updated after creation.
	DefaultLanguageCode pulumi.StringPtrInput
	// The description of this agent. The maximum length is 500 characters. If exceeded, the request is rejected.
	Description pulumi.StringPtrInput
	// The human-readable name of the agent, unique within the location.
	DisplayName pulumi.StringPtrInput
	// Indicates if automatic spell correction is enabled in detect intent requests.
	EnableSpellCorrection pulumi.BoolPtrInput
	// Determines whether this agent should log conversation queries.
	EnableStackdriverLogging pulumi.BoolPtrInput
	// The name of the location this agent is located in.
	// > **Note:** The first time you are deploying an Agent in your project you must configure location settings.
	// This is a one time step but at the moment you can only [configure location settings](https://cloud.google.com/dialogflow/cx/docs/concept/region#location-settings) via the Dialogflow CX console.
	// Another options is to use global location so you don't need to manually configure location settings.
	Location pulumi.StringPtrInput
	// The unique identifier of the agent.
	Name pulumi.StringPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// Name of the SecuritySettings reference for the agent. Format: projects/<Project ID>/locations/<Location ID>/securitySettings/<Security Settings ID>.
	SecuritySettings pulumi.StringPtrInput
	// Settings related to speech recognition.
	// Structure is documented below.
	SpeechToTextSettings CxAgentSpeechToTextSettingsPtrInput
	// Name of the start flow in this agent. A start flow will be automatically created when the agent is created, and can only
	// be deleted by deleting the agent. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow
	// ID>.
	StartFlow pulumi.StringPtrInput
	// The list of all languages supported by this agent (except for the default_language_code).
	SupportedLanguageCodes pulumi.StringArrayInput
	// The time zone of this agent from the [time zone database](https://www.iana.org/time-zones), e.g., America/New_York,
	// Europe/Paris.
	TimeZone pulumi.StringPtrInput
}

func (CxAgentState) ElementType added in v5.10.0

func (CxAgentState) ElementType() reflect.Type

type CxEntityType added in v5.15.0

type CxEntityType struct {
	pulumi.CustomResourceState

	// Represents kinds of entities.
	// * AUTO_EXPANSION_MODE_UNSPECIFIED: Auto expansion disabled for the entity.
	// * AUTO_EXPANSION_MODE_DEFAULT: Allows an agent to recognize values that have not been explicitly listed in the entity.
	//   Possible values are `AUTO_EXPANSION_MODE_DEFAULT` and `AUTO_EXPANSION_MODE_UNSPECIFIED`.
	AutoExpansionMode pulumi.StringPtrOutput `pulumi:"autoExpansionMode"`
	// The human-readable name of the entity type, unique within the agent.
	DisplayName pulumi.StringOutput `pulumi:"displayName"`
	// Enables fuzzy entity extraction during classification.
	EnableFuzzyExtraction pulumi.BoolPtrOutput `pulumi:"enableFuzzyExtraction"`
	// The collection of entity entries associated with the entity type.
	// Structure is documented below.
	Entities CxEntityTypeEntityArrayOutput `pulumi:"entities"`
	// Collection of exceptional words and phrases that shouldn't be matched. For example, if you have a size entity type with entry giant(an adjective), you might consider adding giants(a noun) as an exclusion.
	// If the kind of entity type is KIND_MAP, then the phrases specified by entities and excluded phrases should be mutually exclusive.
	// Structure is documented below.
	ExcludedPhrases CxEntityTypeExcludedPhraseArrayOutput `pulumi:"excludedPhrases"`
	// Indicates whether the entity type can be automatically expanded.
	// * KIND_MAP: Map entity types allow mapping of a group of synonyms to a canonical value.
	// * KIND_LIST: List entity types contain a set of entries that do not map to canonical 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.
	//   Possible values are `KIND_MAP`, `KIND_LIST`, and `KIND_REGEXP`.
	Kind pulumi.StringOutput `pulumi:"kind"`
	// The language of the following fields in entityType:
	// EntityType.entities.value
	// EntityType.entities.synonyms
	// EntityType.excluded_phrases.value
	// 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.
	LanguageCode pulumi.StringPtrOutput `pulumi:"languageCode"`
	// The unique identifier of the entity type. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
	// ID>/entityTypes/<Entity Type ID>.
	Name pulumi.StringOutput `pulumi:"name"`
	// The agent to create a entity type for.
	// Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.
	Parent pulumi.StringPtrOutput `pulumi:"parent"`
	// Indicates whether parameters of the entity type should be redacted in log. If redaction is enabled, page parameters and intent parameters referring to the entity type will be replaced by parameter name when logging.
	Redact pulumi.BoolPtrOutput `pulumi:"redact"`
}

Entities are extracted from user input and represent parameters that are meaningful to your application. For example, a date range, a proper name such as a geographic location or landmark, and so on. Entities represent actionable data for your application.

To get more information about EntityType, see:

* [API documentation](https://cloud.google.com/dialogflow/cx/docs/reference/rest/v3/projects.locations.agents.entityTypes) * How-to Guides

## Example Usage ### Dialogflowcx Entity Type Full

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v5/go/gcp/diagflow"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		agent, err := diagflow.NewCxAgent(ctx, "agent", &diagflow.CxAgentArgs{
			DisplayName:         pulumi.String("dialogflowcx-agent"),
			Location:            pulumi.String("global"),
			DefaultLanguageCode: pulumi.String("en"),
			SupportedLanguageCodes: pulumi.StringArray{
				pulumi.String("fr"),
				pulumi.String("de"),
				pulumi.String("es"),
			},
			TimeZone:                 pulumi.String("America/New_York"),
			Description:              pulumi.String("Example description."),
			AvatarUri:                pulumi.String("https://cloud.google.com/_static/images/cloud/icons/favicons/onecloud/super_cloud.png"),
			EnableStackdriverLogging: pulumi.Bool(true),
			EnableSpellCorrection:    pulumi.Bool(true),
			SpeechToTextSettings: &diagflow.CxAgentSpeechToTextSettingsArgs{
				EnableSpeechAdaptation: pulumi.Bool(true),
			},
		})
		if err != nil {
			return err
		}
		_, err = diagflow.NewCxEntityType(ctx, "basicEntityType", &diagflow.CxEntityTypeArgs{
			Parent:      agent.ID(),
			DisplayName: pulumi.String("MyEntity"),
			Kind:        pulumi.String("KIND_MAP"),
			Entities: diagflow.CxEntityTypeEntityArray{
				&diagflow.CxEntityTypeEntityArgs{
					Value: pulumi.String("value1"),
					Synonyms: pulumi.StringArray{
						pulumi.String("synonym1"),
						pulumi.String("synonym2"),
					},
				},
				&diagflow.CxEntityTypeEntityArgs{
					Value: pulumi.String("value2"),
					Synonyms: pulumi.StringArray{
						pulumi.String("synonym3"),
						pulumi.String("synonym4"),
					},
				},
			},
			EnableFuzzyExtraction: pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

EntityType can be imported using any of these accepted formats

```sh

$ pulumi import gcp:diagflow/cxEntityType:CxEntityType default {{parent}}/entityTypes/{{name}}

```

```sh

$ pulumi import gcp:diagflow/cxEntityType:CxEntityType default {{parent}}/{{name}}

```

func GetCxEntityType added in v5.15.0

func GetCxEntityType(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CxEntityTypeState, opts ...pulumi.ResourceOption) (*CxEntityType, error)

GetCxEntityType gets an existing CxEntityType resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewCxEntityType added in v5.15.0

func NewCxEntityType(ctx *pulumi.Context,
	name string, args *CxEntityTypeArgs, opts ...pulumi.ResourceOption) (*CxEntityType, error)

NewCxEntityType registers a new resource with the given unique name, arguments, and options.

func (*CxEntityType) ElementType added in v5.15.0

func (*CxEntityType) ElementType() reflect.Type

func (*CxEntityType) ToCxEntityTypeOutput added in v5.15.0

func (i *CxEntityType) ToCxEntityTypeOutput() CxEntityTypeOutput

func (*CxEntityType) ToCxEntityTypeOutputWithContext added in v5.15.0

func (i *CxEntityType) ToCxEntityTypeOutputWithContext(ctx context.Context) CxEntityTypeOutput

func (*CxEntityType) ToCxEntityTypePtrOutput added in v5.15.0

func (i *CxEntityType) ToCxEntityTypePtrOutput() CxEntityTypePtrOutput

func (*CxEntityType) ToCxEntityTypePtrOutputWithContext added in v5.15.0

func (i *CxEntityType) ToCxEntityTypePtrOutputWithContext(ctx context.Context) CxEntityTypePtrOutput

type CxEntityTypeArgs added in v5.15.0

type CxEntityTypeArgs struct {
	// Represents kinds of entities.
	// * AUTO_EXPANSION_MODE_UNSPECIFIED: Auto expansion disabled for the entity.
	// * AUTO_EXPANSION_MODE_DEFAULT: Allows an agent to recognize values that have not been explicitly listed in the entity.
	//   Possible values are `AUTO_EXPANSION_MODE_DEFAULT` and `AUTO_EXPANSION_MODE_UNSPECIFIED`.
	AutoExpansionMode pulumi.StringPtrInput
	// The human-readable name of the entity type, unique within the agent.
	DisplayName pulumi.StringInput
	// Enables fuzzy entity extraction during classification.
	EnableFuzzyExtraction pulumi.BoolPtrInput
	// The collection of entity entries associated with the entity type.
	// Structure is documented below.
	Entities CxEntityTypeEntityArrayInput
	// Collection of exceptional words and phrases that shouldn't be matched. For example, if you have a size entity type with entry giant(an adjective), you might consider adding giants(a noun) as an exclusion.
	// If the kind of entity type is KIND_MAP, then the phrases specified by entities and excluded phrases should be mutually exclusive.
	// Structure is documented below.
	ExcludedPhrases CxEntityTypeExcludedPhraseArrayInput
	// Indicates whether the entity type can be automatically expanded.
	// * KIND_MAP: Map entity types allow mapping of a group of synonyms to a canonical value.
	// * KIND_LIST: List entity types contain a set of entries that do not map to canonical 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.
	//   Possible values are `KIND_MAP`, `KIND_LIST`, and `KIND_REGEXP`.
	Kind pulumi.StringInput
	// The language of the following fields in entityType:
	// EntityType.entities.value
	// EntityType.entities.synonyms
	// EntityType.excluded_phrases.value
	// 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.
	LanguageCode pulumi.StringPtrInput
	// The agent to create a entity type for.
	// Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.
	Parent pulumi.StringPtrInput
	// Indicates whether parameters of the entity type should be redacted in log. If redaction is enabled, page parameters and intent parameters referring to the entity type will be replaced by parameter name when logging.
	Redact pulumi.BoolPtrInput
}

The set of arguments for constructing a CxEntityType resource.

func (CxEntityTypeArgs) ElementType added in v5.15.0

func (CxEntityTypeArgs) ElementType() reflect.Type

type CxEntityTypeArray added in v5.15.0

type CxEntityTypeArray []CxEntityTypeInput

func (CxEntityTypeArray) ElementType added in v5.15.0

func (CxEntityTypeArray) ElementType() reflect.Type

func (CxEntityTypeArray) ToCxEntityTypeArrayOutput added in v5.15.0

func (i CxEntityTypeArray) ToCxEntityTypeArrayOutput() CxEntityTypeArrayOutput

func (CxEntityTypeArray) ToCxEntityTypeArrayOutputWithContext added in v5.15.0

func (i CxEntityTypeArray) ToCxEntityTypeArrayOutputWithContext(ctx context.Context) CxEntityTypeArrayOutput

type CxEntityTypeArrayInput added in v5.15.0

type CxEntityTypeArrayInput interface {
	pulumi.Input

	ToCxEntityTypeArrayOutput() CxEntityTypeArrayOutput
	ToCxEntityTypeArrayOutputWithContext(context.Context) CxEntityTypeArrayOutput
}

CxEntityTypeArrayInput is an input type that accepts CxEntityTypeArray and CxEntityTypeArrayOutput values. You can construct a concrete instance of `CxEntityTypeArrayInput` via:

CxEntityTypeArray{ CxEntityTypeArgs{...} }

type CxEntityTypeArrayOutput added in v5.15.0

type CxEntityTypeArrayOutput struct{ *pulumi.OutputState }

func (CxEntityTypeArrayOutput) ElementType added in v5.15.0

func (CxEntityTypeArrayOutput) ElementType() reflect.Type

func (CxEntityTypeArrayOutput) Index added in v5.15.0

func (CxEntityTypeArrayOutput) ToCxEntityTypeArrayOutput added in v5.15.0

func (o CxEntityTypeArrayOutput) ToCxEntityTypeArrayOutput() CxEntityTypeArrayOutput

func (CxEntityTypeArrayOutput) ToCxEntityTypeArrayOutputWithContext added in v5.15.0

func (o CxEntityTypeArrayOutput) ToCxEntityTypeArrayOutputWithContext(ctx context.Context) CxEntityTypeArrayOutput

type CxEntityTypeEntity added in v5.15.0

type CxEntityTypeEntity struct {
	// 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.
	Synonyms []string `pulumi:"synonyms"`
	// The word or phrase to be excluded.
	Value *string `pulumi:"value"`
}

type CxEntityTypeEntityArgs added in v5.15.0

type CxEntityTypeEntityArgs struct {
	// 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.
	Synonyms pulumi.StringArrayInput `pulumi:"synonyms"`
	// The word or phrase to be excluded.
	Value pulumi.StringPtrInput `pulumi:"value"`
}

func (CxEntityTypeEntityArgs) ElementType added in v5.15.0

func (CxEntityTypeEntityArgs) ElementType() reflect.Type

func (CxEntityTypeEntityArgs) ToCxEntityTypeEntityOutput added in v5.15.0

func (i CxEntityTypeEntityArgs) ToCxEntityTypeEntityOutput() CxEntityTypeEntityOutput

func (CxEntityTypeEntityArgs) ToCxEntityTypeEntityOutputWithContext added in v5.15.0

func (i CxEntityTypeEntityArgs) ToCxEntityTypeEntityOutputWithContext(ctx context.Context) CxEntityTypeEntityOutput

type CxEntityTypeEntityArray added in v5.15.0

type CxEntityTypeEntityArray []CxEntityTypeEntityInput

func (CxEntityTypeEntityArray) ElementType added in v5.15.0

func (CxEntityTypeEntityArray) ElementType() reflect.Type

func (CxEntityTypeEntityArray) ToCxEntityTypeEntityArrayOutput added in v5.15.0

func (i CxEntityTypeEntityArray) ToCxEntityTypeEntityArrayOutput() CxEntityTypeEntityArrayOutput

func (CxEntityTypeEntityArray) ToCxEntityTypeEntityArrayOutputWithContext added in v5.15.0

func (i CxEntityTypeEntityArray) ToCxEntityTypeEntityArrayOutputWithContext(ctx context.Context) CxEntityTypeEntityArrayOutput

type CxEntityTypeEntityArrayInput added in v5.15.0

type CxEntityTypeEntityArrayInput interface {
	pulumi.Input

	ToCxEntityTypeEntityArrayOutput() CxEntityTypeEntityArrayOutput
	ToCxEntityTypeEntityArrayOutputWithContext(context.Context) CxEntityTypeEntityArrayOutput
}

CxEntityTypeEntityArrayInput is an input type that accepts CxEntityTypeEntityArray and CxEntityTypeEntityArrayOutput values. You can construct a concrete instance of `CxEntityTypeEntityArrayInput` via:

CxEntityTypeEntityArray{ CxEntityTypeEntityArgs{...} }

type CxEntityTypeEntityArrayOutput added in v5.15.0

type CxEntityTypeEntityArrayOutput struct{ *pulumi.OutputState }

func (CxEntityTypeEntityArrayOutput) ElementType added in v5.15.0

func (CxEntityTypeEntityArrayOutput) Index added in v5.15.0

func (CxEntityTypeEntityArrayOutput) ToCxEntityTypeEntityArrayOutput added in v5.15.0

func (o CxEntityTypeEntityArrayOutput) ToCxEntityTypeEntityArrayOutput() CxEntityTypeEntityArrayOutput

func (CxEntityTypeEntityArrayOutput) ToCxEntityTypeEntityArrayOutputWithContext added in v5.15.0

func (o CxEntityTypeEntityArrayOutput) ToCxEntityTypeEntityArrayOutputWithContext(ctx context.Context) CxEntityTypeEntityArrayOutput

type CxEntityTypeEntityInput added in v5.15.0

type CxEntityTypeEntityInput interface {
	pulumi.Input

	ToCxEntityTypeEntityOutput() CxEntityTypeEntityOutput
	ToCxEntityTypeEntityOutputWithContext(context.Context) CxEntityTypeEntityOutput
}

CxEntityTypeEntityInput is an input type that accepts CxEntityTypeEntityArgs and CxEntityTypeEntityOutput values. You can construct a concrete instance of `CxEntityTypeEntityInput` via:

CxEntityTypeEntityArgs{...}

type CxEntityTypeEntityOutput added in v5.15.0

type CxEntityTypeEntityOutput struct{ *pulumi.OutputState }

func (CxEntityTypeEntityOutput) ElementType added in v5.15.0

func (CxEntityTypeEntityOutput) ElementType() reflect.Type

func (CxEntityTypeEntityOutput) Synonyms added in v5.15.0

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.

func (CxEntityTypeEntityOutput) ToCxEntityTypeEntityOutput added in v5.15.0

func (o CxEntityTypeEntityOutput) ToCxEntityTypeEntityOutput() CxEntityTypeEntityOutput

func (CxEntityTypeEntityOutput) ToCxEntityTypeEntityOutputWithContext added in v5.15.0

func (o CxEntityTypeEntityOutput) ToCxEntityTypeEntityOutputWithContext(ctx context.Context) CxEntityTypeEntityOutput

func (CxEntityTypeEntityOutput) Value added in v5.15.0

The word or phrase to be excluded.

type CxEntityTypeExcludedPhrase added in v5.15.0

type CxEntityTypeExcludedPhrase struct {
	// The word or phrase to be excluded.
	Value *string `pulumi:"value"`
}

type CxEntityTypeExcludedPhraseArgs added in v5.15.0

type CxEntityTypeExcludedPhraseArgs struct {
	// The word or phrase to be excluded.
	Value pulumi.StringPtrInput `pulumi:"value"`
}

func (CxEntityTypeExcludedPhraseArgs) ElementType added in v5.15.0

func (CxEntityTypeExcludedPhraseArgs) ToCxEntityTypeExcludedPhraseOutput added in v5.15.0

func (i CxEntityTypeExcludedPhraseArgs) ToCxEntityTypeExcludedPhraseOutput() CxEntityTypeExcludedPhraseOutput

func (CxEntityTypeExcludedPhraseArgs) ToCxEntityTypeExcludedPhraseOutputWithContext added in v5.15.0

func (i CxEntityTypeExcludedPhraseArgs) ToCxEntityTypeExcludedPhraseOutputWithContext(ctx context.Context) CxEntityTypeExcludedPhraseOutput

type CxEntityTypeExcludedPhraseArray added in v5.15.0

type CxEntityTypeExcludedPhraseArray []CxEntityTypeExcludedPhraseInput

func (CxEntityTypeExcludedPhraseArray) ElementType added in v5.15.0

func (CxEntityTypeExcludedPhraseArray) ToCxEntityTypeExcludedPhraseArrayOutput added in v5.15.0

func (i CxEntityTypeExcludedPhraseArray) ToCxEntityTypeExcludedPhraseArrayOutput() CxEntityTypeExcludedPhraseArrayOutput

func (CxEntityTypeExcludedPhraseArray) ToCxEntityTypeExcludedPhraseArrayOutputWithContext added in v5.15.0

func (i CxEntityTypeExcludedPhraseArray) ToCxEntityTypeExcludedPhraseArrayOutputWithContext(ctx context.Context) CxEntityTypeExcludedPhraseArrayOutput

type CxEntityTypeExcludedPhraseArrayInput added in v5.15.0

type CxEntityTypeExcludedPhraseArrayInput interface {
	pulumi.Input

	ToCxEntityTypeExcludedPhraseArrayOutput() CxEntityTypeExcludedPhraseArrayOutput
	ToCxEntityTypeExcludedPhraseArrayOutputWithContext(context.Context) CxEntityTypeExcludedPhraseArrayOutput
}

CxEntityTypeExcludedPhraseArrayInput is an input type that accepts CxEntityTypeExcludedPhraseArray and CxEntityTypeExcludedPhraseArrayOutput values. You can construct a concrete instance of `CxEntityTypeExcludedPhraseArrayInput` via:

CxEntityTypeExcludedPhraseArray{ CxEntityTypeExcludedPhraseArgs{...} }

type CxEntityTypeExcludedPhraseArrayOutput added in v5.15.0

type CxEntityTypeExcludedPhraseArrayOutput struct{ *pulumi.OutputState }

func (CxEntityTypeExcludedPhraseArrayOutput) ElementType added in v5.15.0

func (CxEntityTypeExcludedPhraseArrayOutput) Index added in v5.15.0

func (CxEntityTypeExcludedPhraseArrayOutput) ToCxEntityTypeExcludedPhraseArrayOutput added in v5.15.0

func (o CxEntityTypeExcludedPhraseArrayOutput) ToCxEntityTypeExcludedPhraseArrayOutput() CxEntityTypeExcludedPhraseArrayOutput

func (CxEntityTypeExcludedPhraseArrayOutput) ToCxEntityTypeExcludedPhraseArrayOutputWithContext added in v5.15.0

func (o CxEntityTypeExcludedPhraseArrayOutput) ToCxEntityTypeExcludedPhraseArrayOutputWithContext(ctx context.Context) CxEntityTypeExcludedPhraseArrayOutput

type CxEntityTypeExcludedPhraseInput added in v5.15.0

type CxEntityTypeExcludedPhraseInput interface {
	pulumi.Input

	ToCxEntityTypeExcludedPhraseOutput() CxEntityTypeExcludedPhraseOutput
	ToCxEntityTypeExcludedPhraseOutputWithContext(context.Context) CxEntityTypeExcludedPhraseOutput
}

CxEntityTypeExcludedPhraseInput is an input type that accepts CxEntityTypeExcludedPhraseArgs and CxEntityTypeExcludedPhraseOutput values. You can construct a concrete instance of `CxEntityTypeExcludedPhraseInput` via:

CxEntityTypeExcludedPhraseArgs{...}

type CxEntityTypeExcludedPhraseOutput added in v5.15.0

type CxEntityTypeExcludedPhraseOutput struct{ *pulumi.OutputState }

func (CxEntityTypeExcludedPhraseOutput) ElementType added in v5.15.0

func (CxEntityTypeExcludedPhraseOutput) ToCxEntityTypeExcludedPhraseOutput added in v5.15.0

func (o CxEntityTypeExcludedPhraseOutput) ToCxEntityTypeExcludedPhraseOutput() CxEntityTypeExcludedPhraseOutput

func (CxEntityTypeExcludedPhraseOutput) ToCxEntityTypeExcludedPhraseOutputWithContext added in v5.15.0

func (o CxEntityTypeExcludedPhraseOutput) ToCxEntityTypeExcludedPhraseOutputWithContext(ctx context.Context) CxEntityTypeExcludedPhraseOutput

func (CxEntityTypeExcludedPhraseOutput) Value added in v5.15.0

The word or phrase to be excluded.

type CxEntityTypeInput added in v5.15.0

type CxEntityTypeInput interface {
	pulumi.Input

	ToCxEntityTypeOutput() CxEntityTypeOutput
	ToCxEntityTypeOutputWithContext(ctx context.Context) CxEntityTypeOutput
}

type CxEntityTypeMap added in v5.15.0

type CxEntityTypeMap map[string]CxEntityTypeInput

func (CxEntityTypeMap) ElementType added in v5.15.0

func (CxEntityTypeMap) ElementType() reflect.Type

func (CxEntityTypeMap) ToCxEntityTypeMapOutput added in v5.15.0

func (i CxEntityTypeMap) ToCxEntityTypeMapOutput() CxEntityTypeMapOutput

func (CxEntityTypeMap) ToCxEntityTypeMapOutputWithContext added in v5.15.0

func (i CxEntityTypeMap) ToCxEntityTypeMapOutputWithContext(ctx context.Context) CxEntityTypeMapOutput

type CxEntityTypeMapInput added in v5.15.0

type CxEntityTypeMapInput interface {
	pulumi.Input

	ToCxEntityTypeMapOutput() CxEntityTypeMapOutput
	ToCxEntityTypeMapOutputWithContext(context.Context) CxEntityTypeMapOutput
}

CxEntityTypeMapInput is an input type that accepts CxEntityTypeMap and CxEntityTypeMapOutput values. You can construct a concrete instance of `CxEntityTypeMapInput` via:

CxEntityTypeMap{ "key": CxEntityTypeArgs{...} }

type CxEntityTypeMapOutput added in v5.15.0

type CxEntityTypeMapOutput struct{ *pulumi.OutputState }

func (CxEntityTypeMapOutput) ElementType added in v5.15.0

func (CxEntityTypeMapOutput) ElementType() reflect.Type

func (CxEntityTypeMapOutput) MapIndex added in v5.15.0

func (CxEntityTypeMapOutput) ToCxEntityTypeMapOutput added in v5.15.0

func (o CxEntityTypeMapOutput) ToCxEntityTypeMapOutput() CxEntityTypeMapOutput

func (CxEntityTypeMapOutput) ToCxEntityTypeMapOutputWithContext added in v5.15.0

func (o CxEntityTypeMapOutput) ToCxEntityTypeMapOutputWithContext(ctx context.Context) CxEntityTypeMapOutput

type CxEntityTypeOutput added in v5.15.0

type CxEntityTypeOutput struct{ *pulumi.OutputState }

func (CxEntityTypeOutput) ElementType added in v5.15.0

func (CxEntityTypeOutput) ElementType() reflect.Type

func (CxEntityTypeOutput) ToCxEntityTypeOutput added in v5.15.0

func (o CxEntityTypeOutput) ToCxEntityTypeOutput() CxEntityTypeOutput

func (CxEntityTypeOutput) ToCxEntityTypeOutputWithContext added in v5.15.0

func (o CxEntityTypeOutput) ToCxEntityTypeOutputWithContext(ctx context.Context) CxEntityTypeOutput

func (CxEntityTypeOutput) ToCxEntityTypePtrOutput added in v5.15.0

func (o CxEntityTypeOutput) ToCxEntityTypePtrOutput() CxEntityTypePtrOutput

func (CxEntityTypeOutput) ToCxEntityTypePtrOutputWithContext added in v5.15.0

func (o CxEntityTypeOutput) ToCxEntityTypePtrOutputWithContext(ctx context.Context) CxEntityTypePtrOutput

type CxEntityTypePtrInput added in v5.15.0

type CxEntityTypePtrInput interface {
	pulumi.Input

	ToCxEntityTypePtrOutput() CxEntityTypePtrOutput
	ToCxEntityTypePtrOutputWithContext(ctx context.Context) CxEntityTypePtrOutput
}

type CxEntityTypePtrOutput added in v5.15.0

type CxEntityTypePtrOutput struct{ *pulumi.OutputState }

func (CxEntityTypePtrOutput) Elem added in v5.21.0

func (CxEntityTypePtrOutput) ElementType added in v5.15.0

func (CxEntityTypePtrOutput) ElementType() reflect.Type

func (CxEntityTypePtrOutput) ToCxEntityTypePtrOutput added in v5.15.0

func (o CxEntityTypePtrOutput) ToCxEntityTypePtrOutput() CxEntityTypePtrOutput

func (CxEntityTypePtrOutput) ToCxEntityTypePtrOutputWithContext added in v5.15.0

func (o CxEntityTypePtrOutput) ToCxEntityTypePtrOutputWithContext(ctx context.Context) CxEntityTypePtrOutput

type CxEntityTypeState added in v5.15.0

type CxEntityTypeState struct {
	// Represents kinds of entities.
	// * AUTO_EXPANSION_MODE_UNSPECIFIED: Auto expansion disabled for the entity.
	// * AUTO_EXPANSION_MODE_DEFAULT: Allows an agent to recognize values that have not been explicitly listed in the entity.
	//   Possible values are `AUTO_EXPANSION_MODE_DEFAULT` and `AUTO_EXPANSION_MODE_UNSPECIFIED`.
	AutoExpansionMode pulumi.StringPtrInput
	// The human-readable name of the entity type, unique within the agent.
	DisplayName pulumi.StringPtrInput
	// Enables fuzzy entity extraction during classification.
	EnableFuzzyExtraction pulumi.BoolPtrInput
	// The collection of entity entries associated with the entity type.
	// Structure is documented below.
	Entities CxEntityTypeEntityArrayInput
	// Collection of exceptional words and phrases that shouldn't be matched. For example, if you have a size entity type with entry giant(an adjective), you might consider adding giants(a noun) as an exclusion.
	// If the kind of entity type is KIND_MAP, then the phrases specified by entities and excluded phrases should be mutually exclusive.
	// Structure is documented below.
	ExcludedPhrases CxEntityTypeExcludedPhraseArrayInput
	// Indicates whether the entity type can be automatically expanded.
	// * KIND_MAP: Map entity types allow mapping of a group of synonyms to a canonical value.
	// * KIND_LIST: List entity types contain a set of entries that do not map to canonical 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.
	//   Possible values are `KIND_MAP`, `KIND_LIST`, and `KIND_REGEXP`.
	Kind pulumi.StringPtrInput
	// The language of the following fields in entityType:
	// EntityType.entities.value
	// EntityType.entities.synonyms
	// EntityType.excluded_phrases.value
	// 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.
	LanguageCode pulumi.StringPtrInput
	// The unique identifier of the entity type. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
	// ID>/entityTypes/<Entity Type ID>.
	Name pulumi.StringPtrInput
	// The agent to create a entity type for.
	// Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.
	Parent pulumi.StringPtrInput
	// Indicates whether parameters of the entity type should be redacted in log. If redaction is enabled, page parameters and intent parameters referring to the entity type will be replaced by parameter name when logging.
	Redact pulumi.BoolPtrInput
}

func (CxEntityTypeState) ElementType added in v5.15.0

func (CxEntityTypeState) ElementType() reflect.Type

type CxEnvironment added in v5.16.0

type CxEnvironment struct {
	pulumi.CustomResourceState

	// The human-readable description of the environment. The maximum length is 500 characters. If exceeded, the request is rejected.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The human-readable name of the environment (unique in an agent). Limit of 64 characters.
	DisplayName pulumi.StringOutput `pulumi:"displayName"`
	// The name of the environment.
	Name pulumi.StringOutput `pulumi:"name"`
	// The Agent to create an Environment for.
	// Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.
	Parent pulumi.StringPtrOutput `pulumi:"parent"`
	// Update time of this environment. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine
	// fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
	// A list of configurations for flow versions. You should include version configs for all flows that are reachable from [Start Flow][Agent.start_flow] in the agent. Otherwise, an error will be returned.
	// Structure is documented below.
	VersionConfigs CxEnvironmentVersionConfigArrayOutput `pulumi:"versionConfigs"`
}

Represents an environment for an agent. You can create multiple versions of your agent and publish them to separate environments. When you edit an agent, you are editing the draft agent. At any point, you can save the draft agent as an agent version, which is an immutable snapshot of your agent. When you save the draft agent, it is published to the default environment. When you create agent versions, you can publish them to custom environments. You can create a variety of custom environments for testing, development, production, etc.

To get more information about Environment, see:

* [API documentation](https://cloud.google.com/dialogflow/cx/docs/reference/rest/v3/projects.locations.agents.environments) * How-to Guides

## Example Usage ### Dialogflowcx Environment Full

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v5/go/gcp/diagflow"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		agent, err := diagflow.NewCxAgent(ctx, "agent", &diagflow.CxAgentArgs{
			DisplayName:         pulumi.String("dialogflowcx-agent"),
			Location:            pulumi.String("global"),
			DefaultLanguageCode: pulumi.String("en"),
			SupportedLanguageCodes: pulumi.StringArray{
				pulumi.String("fr"),
				pulumi.String("de"),
				pulumi.String("es"),
			},
			TimeZone:                 pulumi.String("America/New_York"),
			Description:              pulumi.String("Example description."),
			AvatarUri:                pulumi.String("https://cloud.google.com/_static/images/cloud/icons/favicons/onecloud/super_cloud.png"),
			EnableStackdriverLogging: pulumi.Bool(true),
			EnableSpellCorrection:    pulumi.Bool(true),
			SpeechToTextSettings: &diagflow.CxAgentSpeechToTextSettingsArgs{
				EnableSpeechAdaptation: pulumi.Bool(true),
			},
		})
		if err != nil {
			return err
		}
		version1, err := diagflow.NewCxVersion(ctx, "version1", &diagflow.CxVersionArgs{
			Parent:      agent.StartFlow,
			DisplayName: pulumi.String("1.0.0"),
			Description: pulumi.String("version 1.0.0"),
		})
		if err != nil {
			return err
		}
		_, err = diagflow.NewCxEnvironment(ctx, "development", &diagflow.CxEnvironmentArgs{
			Parent:      agent.ID(),
			DisplayName: pulumi.String("Development"),
			Description: pulumi.String("Development Environment"),
			VersionConfigs: diagflow.CxEnvironmentVersionConfigArray{
				&diagflow.CxEnvironmentVersionConfigArgs{
					Version: version1.ID(),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Environment can be imported using any of these accepted formats

```sh

$ pulumi import gcp:diagflow/cxEnvironment:CxEnvironment default {{parent}}/environments/{{name}}

```

```sh

$ pulumi import gcp:diagflow/cxEnvironment:CxEnvironment default {{parent}}/{{name}}

```

func GetCxEnvironment added in v5.16.0

func GetCxEnvironment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CxEnvironmentState, opts ...pulumi.ResourceOption) (*CxEnvironment, error)

GetCxEnvironment gets an existing CxEnvironment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewCxEnvironment added in v5.16.0

func NewCxEnvironment(ctx *pulumi.Context,
	name string, args *CxEnvironmentArgs, opts ...pulumi.ResourceOption) (*CxEnvironment, error)

NewCxEnvironment registers a new resource with the given unique name, arguments, and options.

func (*CxEnvironment) ElementType added in v5.16.0

func (*CxEnvironment) ElementType() reflect.Type

func (*CxEnvironment) ToCxEnvironmentOutput added in v5.16.0

func (i *CxEnvironment) ToCxEnvironmentOutput() CxEnvironmentOutput

func (*CxEnvironment) ToCxEnvironmentOutputWithContext added in v5.16.0

func (i *CxEnvironment) ToCxEnvironmentOutputWithContext(ctx context.Context) CxEnvironmentOutput

func (*CxEnvironment) ToCxEnvironmentPtrOutput added in v5.16.0

func (i *CxEnvironment) ToCxEnvironmentPtrOutput() CxEnvironmentPtrOutput

func (*CxEnvironment) ToCxEnvironmentPtrOutputWithContext added in v5.16.0

func (i *CxEnvironment) ToCxEnvironmentPtrOutputWithContext(ctx context.Context) CxEnvironmentPtrOutput

type CxEnvironmentArgs added in v5.16.0

type CxEnvironmentArgs struct {
	// The human-readable description of the environment. The maximum length is 500 characters. If exceeded, the request is rejected.
	Description pulumi.StringPtrInput
	// The human-readable name of the environment (unique in an agent). Limit of 64 characters.
	DisplayName pulumi.StringInput
	// The Agent to create an Environment for.
	// Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.
	Parent pulumi.StringPtrInput
	// A list of configurations for flow versions. You should include version configs for all flows that are reachable from [Start Flow][Agent.start_flow] in the agent. Otherwise, an error will be returned.
	// Structure is documented below.
	VersionConfigs CxEnvironmentVersionConfigArrayInput
}

The set of arguments for constructing a CxEnvironment resource.

func (CxEnvironmentArgs) ElementType added in v5.16.0

func (CxEnvironmentArgs) ElementType() reflect.Type

type CxEnvironmentArray added in v5.16.0

type CxEnvironmentArray []CxEnvironmentInput

func (CxEnvironmentArray) ElementType added in v5.16.0

func (CxEnvironmentArray) ElementType() reflect.Type

func (CxEnvironmentArray) ToCxEnvironmentArrayOutput added in v5.16.0

func (i CxEnvironmentArray) ToCxEnvironmentArrayOutput() CxEnvironmentArrayOutput

func (CxEnvironmentArray) ToCxEnvironmentArrayOutputWithContext added in v5.16.0

func (i CxEnvironmentArray) ToCxEnvironmentArrayOutputWithContext(ctx context.Context) CxEnvironmentArrayOutput

type CxEnvironmentArrayInput added in v5.16.0

type CxEnvironmentArrayInput interface {
	pulumi.Input

	ToCxEnvironmentArrayOutput() CxEnvironmentArrayOutput
	ToCxEnvironmentArrayOutputWithContext(context.Context) CxEnvironmentArrayOutput
}

CxEnvironmentArrayInput is an input type that accepts CxEnvironmentArray and CxEnvironmentArrayOutput values. You can construct a concrete instance of `CxEnvironmentArrayInput` via:

CxEnvironmentArray{ CxEnvironmentArgs{...} }

type CxEnvironmentArrayOutput added in v5.16.0

type CxEnvironmentArrayOutput struct{ *pulumi.OutputState }

func (CxEnvironmentArrayOutput) ElementType added in v5.16.0

func (CxEnvironmentArrayOutput) ElementType() reflect.Type

func (CxEnvironmentArrayOutput) Index added in v5.16.0

func (CxEnvironmentArrayOutput) ToCxEnvironmentArrayOutput added in v5.16.0

func (o CxEnvironmentArrayOutput) ToCxEnvironmentArrayOutput() CxEnvironmentArrayOutput

func (CxEnvironmentArrayOutput) ToCxEnvironmentArrayOutputWithContext added in v5.16.0

func (o CxEnvironmentArrayOutput) ToCxEnvironmentArrayOutputWithContext(ctx context.Context) CxEnvironmentArrayOutput

type CxEnvironmentInput added in v5.16.0

type CxEnvironmentInput interface {
	pulumi.Input

	ToCxEnvironmentOutput() CxEnvironmentOutput
	ToCxEnvironmentOutputWithContext(ctx context.Context) CxEnvironmentOutput
}

type CxEnvironmentMap added in v5.16.0

type CxEnvironmentMap map[string]CxEnvironmentInput

func (CxEnvironmentMap) ElementType added in v5.16.0

func (CxEnvironmentMap) ElementType() reflect.Type

func (CxEnvironmentMap) ToCxEnvironmentMapOutput added in v5.16.0

func (i CxEnvironmentMap) ToCxEnvironmentMapOutput() CxEnvironmentMapOutput

func (CxEnvironmentMap) ToCxEnvironmentMapOutputWithContext added in v5.16.0

func (i CxEnvironmentMap) ToCxEnvironmentMapOutputWithContext(ctx context.Context) CxEnvironmentMapOutput

type CxEnvironmentMapInput added in v5.16.0

type CxEnvironmentMapInput interface {
	pulumi.Input

	ToCxEnvironmentMapOutput() CxEnvironmentMapOutput
	ToCxEnvironmentMapOutputWithContext(context.Context) CxEnvironmentMapOutput
}

CxEnvironmentMapInput is an input type that accepts CxEnvironmentMap and CxEnvironmentMapOutput values. You can construct a concrete instance of `CxEnvironmentMapInput` via:

CxEnvironmentMap{ "key": CxEnvironmentArgs{...} }

type CxEnvironmentMapOutput added in v5.16.0

type CxEnvironmentMapOutput struct{ *pulumi.OutputState }

func (CxEnvironmentMapOutput) ElementType added in v5.16.0

func (CxEnvironmentMapOutput) ElementType() reflect.Type

func (CxEnvironmentMapOutput) MapIndex added in v5.16.0

func (CxEnvironmentMapOutput) ToCxEnvironmentMapOutput added in v5.16.0

func (o CxEnvironmentMapOutput) ToCxEnvironmentMapOutput() CxEnvironmentMapOutput

func (CxEnvironmentMapOutput) ToCxEnvironmentMapOutputWithContext added in v5.16.0

func (o CxEnvironmentMapOutput) ToCxEnvironmentMapOutputWithContext(ctx context.Context) CxEnvironmentMapOutput

type CxEnvironmentOutput added in v5.16.0

type CxEnvironmentOutput struct{ *pulumi.OutputState }

func (CxEnvironmentOutput) ElementType added in v5.16.0

func (CxEnvironmentOutput) ElementType() reflect.Type

func (CxEnvironmentOutput) ToCxEnvironmentOutput added in v5.16.0

func (o CxEnvironmentOutput) ToCxEnvironmentOutput() CxEnvironmentOutput

func (CxEnvironmentOutput) ToCxEnvironmentOutputWithContext added in v5.16.0

func (o CxEnvironmentOutput) ToCxEnvironmentOutputWithContext(ctx context.Context) CxEnvironmentOutput

func (CxEnvironmentOutput) ToCxEnvironmentPtrOutput added in v5.16.0

func (o CxEnvironmentOutput) ToCxEnvironmentPtrOutput() CxEnvironmentPtrOutput

func (CxEnvironmentOutput) ToCxEnvironmentPtrOutputWithContext added in v5.16.0

func (o CxEnvironmentOutput) ToCxEnvironmentPtrOutputWithContext(ctx context.Context) CxEnvironmentPtrOutput

type CxEnvironmentPtrInput added in v5.16.0

type CxEnvironmentPtrInput interface {
	pulumi.Input

	ToCxEnvironmentPtrOutput() CxEnvironmentPtrOutput
	ToCxEnvironmentPtrOutputWithContext(ctx context.Context) CxEnvironmentPtrOutput
}

type CxEnvironmentPtrOutput added in v5.16.0

type CxEnvironmentPtrOutput struct{ *pulumi.OutputState }

func (CxEnvironmentPtrOutput) Elem added in v5.21.0

func (CxEnvironmentPtrOutput) ElementType added in v5.16.0

func (CxEnvironmentPtrOutput) ElementType() reflect.Type

func (CxEnvironmentPtrOutput) ToCxEnvironmentPtrOutput added in v5.16.0

func (o CxEnvironmentPtrOutput) ToCxEnvironmentPtrOutput() CxEnvironmentPtrOutput

func (CxEnvironmentPtrOutput) ToCxEnvironmentPtrOutputWithContext added in v5.16.0

func (o CxEnvironmentPtrOutput) ToCxEnvironmentPtrOutputWithContext(ctx context.Context) CxEnvironmentPtrOutput

type CxEnvironmentState added in v5.16.0

type CxEnvironmentState struct {
	// The human-readable description of the environment. The maximum length is 500 characters. If exceeded, the request is rejected.
	Description pulumi.StringPtrInput
	// The human-readable name of the environment (unique in an agent). Limit of 64 characters.
	DisplayName pulumi.StringPtrInput
	// The name of the environment.
	Name pulumi.StringPtrInput
	// The Agent to create an Environment for.
	// Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.
	Parent pulumi.StringPtrInput
	// Update time of this environment. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine
	// fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
	UpdateTime pulumi.StringPtrInput
	// A list of configurations for flow versions. You should include version configs for all flows that are reachable from [Start Flow][Agent.start_flow] in the agent. Otherwise, an error will be returned.
	// Structure is documented below.
	VersionConfigs CxEnvironmentVersionConfigArrayInput
}

func (CxEnvironmentState) ElementType added in v5.16.0

func (CxEnvironmentState) ElementType() reflect.Type

type CxEnvironmentVersionConfig added in v5.16.0

type CxEnvironmentVersionConfig struct {
	// Format: projects/{{project}}/locations/{{location}}/agents/{{agent}}/flows/{{flow}}/versions/{{version}}.
	Version string `pulumi:"version"`
}

type CxEnvironmentVersionConfigArgs added in v5.16.0

type CxEnvironmentVersionConfigArgs struct {
	// Format: projects/{{project}}/locations/{{location}}/agents/{{agent}}/flows/{{flow}}/versions/{{version}}.
	Version pulumi.StringInput `pulumi:"version"`
}

func (CxEnvironmentVersionConfigArgs) ElementType added in v5.16.0

func (CxEnvironmentVersionConfigArgs) ToCxEnvironmentVersionConfigOutput added in v5.16.0

func (i CxEnvironmentVersionConfigArgs) ToCxEnvironmentVersionConfigOutput() CxEnvironmentVersionConfigOutput

func (CxEnvironmentVersionConfigArgs) ToCxEnvironmentVersionConfigOutputWithContext added in v5.16.0

func (i CxEnvironmentVersionConfigArgs) ToCxEnvironmentVersionConfigOutputWithContext(ctx context.Context) CxEnvironmentVersionConfigOutput

type CxEnvironmentVersionConfigArray added in v5.16.0

type CxEnvironmentVersionConfigArray []CxEnvironmentVersionConfigInput

func (CxEnvironmentVersionConfigArray) ElementType added in v5.16.0

func (CxEnvironmentVersionConfigArray) ToCxEnvironmentVersionConfigArrayOutput added in v5.16.0

func (i CxEnvironmentVersionConfigArray) ToCxEnvironmentVersionConfigArrayOutput() CxEnvironmentVersionConfigArrayOutput

func (CxEnvironmentVersionConfigArray) ToCxEnvironmentVersionConfigArrayOutputWithContext added in v5.16.0

func (i CxEnvironmentVersionConfigArray) ToCxEnvironmentVersionConfigArrayOutputWithContext(ctx context.Context) CxEnvironmentVersionConfigArrayOutput

type CxEnvironmentVersionConfigArrayInput added in v5.16.0

type CxEnvironmentVersionConfigArrayInput interface {
	pulumi.Input

	ToCxEnvironmentVersionConfigArrayOutput() CxEnvironmentVersionConfigArrayOutput
	ToCxEnvironmentVersionConfigArrayOutputWithContext(context.Context) CxEnvironmentVersionConfigArrayOutput
}

CxEnvironmentVersionConfigArrayInput is an input type that accepts CxEnvironmentVersionConfigArray and CxEnvironmentVersionConfigArrayOutput values. You can construct a concrete instance of `CxEnvironmentVersionConfigArrayInput` via:

CxEnvironmentVersionConfigArray{ CxEnvironmentVersionConfigArgs{...} }

type CxEnvironmentVersionConfigArrayOutput added in v5.16.0

type CxEnvironmentVersionConfigArrayOutput struct{ *pulumi.OutputState }

func (CxEnvironmentVersionConfigArrayOutput) ElementType added in v5.16.0

func (CxEnvironmentVersionConfigArrayOutput) Index added in v5.16.0

func (CxEnvironmentVersionConfigArrayOutput) ToCxEnvironmentVersionConfigArrayOutput added in v5.16.0

func (o CxEnvironmentVersionConfigArrayOutput) ToCxEnvironmentVersionConfigArrayOutput() CxEnvironmentVersionConfigArrayOutput

func (CxEnvironmentVersionConfigArrayOutput) ToCxEnvironmentVersionConfigArrayOutputWithContext added in v5.16.0

func (o CxEnvironmentVersionConfigArrayOutput) ToCxEnvironmentVersionConfigArrayOutputWithContext(ctx context.Context) CxEnvironmentVersionConfigArrayOutput

type CxEnvironmentVersionConfigInput added in v5.16.0

type CxEnvironmentVersionConfigInput interface {
	pulumi.Input

	ToCxEnvironmentVersionConfigOutput() CxEnvironmentVersionConfigOutput
	ToCxEnvironmentVersionConfigOutputWithContext(context.Context) CxEnvironmentVersionConfigOutput
}

CxEnvironmentVersionConfigInput is an input type that accepts CxEnvironmentVersionConfigArgs and CxEnvironmentVersionConfigOutput values. You can construct a concrete instance of `CxEnvironmentVersionConfigInput` via:

CxEnvironmentVersionConfigArgs{...}

type CxEnvironmentVersionConfigOutput added in v5.16.0

type CxEnvironmentVersionConfigOutput struct{ *pulumi.OutputState }

func (CxEnvironmentVersionConfigOutput) ElementType added in v5.16.0

func (CxEnvironmentVersionConfigOutput) ToCxEnvironmentVersionConfigOutput added in v5.16.0

func (o CxEnvironmentVersionConfigOutput) ToCxEnvironmentVersionConfigOutput() CxEnvironmentVersionConfigOutput

func (CxEnvironmentVersionConfigOutput) ToCxEnvironmentVersionConfigOutputWithContext added in v5.16.0

func (o CxEnvironmentVersionConfigOutput) ToCxEnvironmentVersionConfigOutputWithContext(ctx context.Context) CxEnvironmentVersionConfigOutput

func (CxEnvironmentVersionConfigOutput) Version added in v5.16.0

Format: projects/{{project}}/locations/{{location}}/agents/{{agent}}/flows/{{flow}}/versions/{{version}}.

type CxFlow added in v5.13.0

type CxFlow struct {
	pulumi.CustomResourceState

	// The description of the flow. The maximum length is 500 characters. If exceeded, the request is rejected.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The human-readable name of the flow.
	DisplayName pulumi.StringOutput `pulumi:"displayName"`
	// A flow's event handlers serve two purposes:
	// They are responsible for handling events (e.g. no match, webhook errors) in the flow.
	// They are inherited by every page's [event handlers][Page.event_handlers], which can be used to handle common events regardless of the current page. Event handlers defined in the page have higher priority than those defined in the flow.
	// Unlike transitionRoutes, these handlers are evaluated on a first-match basis. The first one that matches the event get executed, with the rest being ignored.
	// Structure is documented below.
	EventHandlers CxFlowEventHandlerArrayOutput `pulumi:"eventHandlers"`
	// The language of the following fields in flow:
	// Flow.event_handlers.trigger_fulfillment.messages
	// Flow.event_handlers.trigger_fulfillment.conditional_cases
	// Flow.transition_routes.trigger_fulfillment.messages
	// Flow.transition_routes.trigger_fulfillment.conditional_cases
	// 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.
	LanguageCode pulumi.StringPtrOutput `pulumi:"languageCode"`
	// -
	// The unique identifier of this event handler.
	Name pulumi.StringOutput `pulumi:"name"`
	// NLU related settings of the flow.
	// Structure is documented below.
	NluSettings CxFlowNluSettingsPtrOutput `pulumi:"nluSettings"`
	// The agent to create a flow for.
	// Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.
	Parent pulumi.StringPtrOutput `pulumi:"parent"`
	// A flow's transition route group serve two purposes:
	// They are responsible for matching the user's first utterances in the flow.
	// They are inherited by every page's [transition route groups][Page.transition_route_groups]. Transition route groups defined in the page have higher priority than those defined in the flow.
	// Format:projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/transitionRouteGroups/<TransitionRouteGroup ID>.
	TransitionRouteGroups pulumi.StringArrayOutput `pulumi:"transitionRouteGroups"`
	// A flow's transition routes serve two purposes:
	// They are responsible for matching the user's first utterances in the flow.
	// They are inherited by every page's [transition routes][Page.transition_routes] and can support use cases such as the user saying "help" or "can I talk to a human?", which can be handled in a common way regardless of the current page. Transition routes defined in the page have higher priority than those defined in the flow.
	TransitionRoutes CxFlowTransitionRouteArrayOutput `pulumi:"transitionRoutes"`
}

Flows represents the conversation flows when you build your chatbot agent.

To get more information about Flow, see:

* [API documentation](https://cloud.google.com/dialogflow/cx/docs/reference/rest/v3/projects.locations.agents.flows) * How-to Guides

## Example Usage ### Dialogflowcx Flow Full

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v5/go/gcp/diagflow"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		agent, err := diagflow.NewCxAgent(ctx, "agent", &diagflow.CxAgentArgs{
			DisplayName:         pulumi.String("dialogflowcx-agent"),
			Location:            pulumi.String("global"),
			DefaultLanguageCode: pulumi.String("en"),
			SupportedLanguageCodes: pulumi.StringArray{
				pulumi.String("fr"),
				pulumi.String("de"),
				pulumi.String("es"),
			},
			TimeZone:                 pulumi.String("America/New_York"),
			Description:              pulumi.String("Example description."),
			AvatarUri:                pulumi.String("https://cloud.google.com/_static/images/cloud/icons/favicons/onecloud/super_cloud.png"),
			EnableStackdriverLogging: pulumi.Bool(true),
			EnableSpellCorrection:    pulumi.Bool(true),
			SpeechToTextSettings: &diagflow.CxAgentSpeechToTextSettingsArgs{
				EnableSpeechAdaptation: pulumi.Bool(true),
			},
		})
		if err != nil {
			return err
		}
		_, err = diagflow.NewCxFlow(ctx, "basicFlow", &diagflow.CxFlowArgs{
			Parent:      agent.ID(),
			DisplayName: pulumi.String("MyFlow"),
			Description: pulumi.String("Test Flow"),
			NluSettings: &diagflow.CxFlowNluSettingsArgs{
				ClassificationThreshold: pulumi.Float64(0.3),
				ModelType:               pulumi.String("MODEL_TYPE_STANDARD"),
			},
			EventHandlers: diagflow.CxFlowEventHandlerArray{
				&diagflow.CxFlowEventHandlerArgs{
					Event: pulumi.String("custom-event"),
					TriggerFulfillment: &diagflow.CxFlowEventHandlerTriggerFulfillmentArgs{
						ReturnPartialResponses: pulumi.Bool(false),
						Messages: diagflow.CxFlowEventHandlerTriggerFulfillmentMessageArray{
							&diagflow.CxFlowEventHandlerTriggerFulfillmentMessageArgs{
								Text: &diagflow.CxFlowEventHandlerTriggerFulfillmentMessageTextArgs{
									Texts: pulumi.StringArray{
										pulumi.String("I didn't get that. Can you say it again?"),
									},
								},
							},
						},
					},
				},
				&diagflow.CxFlowEventHandlerArgs{
					Event: pulumi.String("sys.no-match-default"),
					TriggerFulfillment: &diagflow.CxFlowEventHandlerTriggerFulfillmentArgs{
						ReturnPartialResponses: pulumi.Bool(false),
						Messages: diagflow.CxFlowEventHandlerTriggerFulfillmentMessageArray{
							&diagflow.CxFlowEventHandlerTriggerFulfillmentMessageArgs{
								Text: &diagflow.CxFlowEventHandlerTriggerFulfillmentMessageTextArgs{
									Texts: pulumi.StringArray{
										pulumi.String("Sorry, could you say that again?"),
									},
								},
							},
						},
					},
				},
				&diagflow.CxFlowEventHandlerArgs{
					Event: pulumi.String("sys.no-input-default"),
					TriggerFulfillment: &diagflow.CxFlowEventHandlerTriggerFulfillmentArgs{
						ReturnPartialResponses: pulumi.Bool(false),
						Messages: diagflow.CxFlowEventHandlerTriggerFulfillmentMessageArray{
							&diagflow.CxFlowEventHandlerTriggerFulfillmentMessageArgs{
								Text: &diagflow.CxFlowEventHandlerTriggerFulfillmentMessageTextArgs{
									Texts: pulumi.StringArray{
										pulumi.String("One more time?"),
									},
								},
							},
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Flow can be imported using any of these accepted formats

```sh

$ pulumi import gcp:diagflow/cxFlow:CxFlow default {{parent}}/flows/{{name}}

```

```sh

$ pulumi import gcp:diagflow/cxFlow:CxFlow default {{parent}}/{{name}}

```

func GetCxFlow added in v5.13.0

func GetCxFlow(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CxFlowState, opts ...pulumi.ResourceOption) (*CxFlow, error)

GetCxFlow gets an existing CxFlow resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewCxFlow added in v5.13.0

func NewCxFlow(ctx *pulumi.Context,
	name string, args *CxFlowArgs, opts ...pulumi.ResourceOption) (*CxFlow, error)

NewCxFlow registers a new resource with the given unique name, arguments, and options.

func (*CxFlow) ElementType added in v5.13.0

func (*CxFlow) ElementType() reflect.Type

func (*CxFlow) ToCxFlowOutput added in v5.13.0

func (i *CxFlow) ToCxFlowOutput() CxFlowOutput

func (*CxFlow) ToCxFlowOutputWithContext added in v5.13.0

func (i *CxFlow) ToCxFlowOutputWithContext(ctx context.Context) CxFlowOutput

func (*CxFlow) ToCxFlowPtrOutput added in v5.13.0

func (i *CxFlow) ToCxFlowPtrOutput() CxFlowPtrOutput

func (*CxFlow) ToCxFlowPtrOutputWithContext added in v5.13.0

func (i *CxFlow) ToCxFlowPtrOutputWithContext(ctx context.Context) CxFlowPtrOutput

type CxFlowArgs added in v5.13.0

type CxFlowArgs struct {
	// The description of the flow. The maximum length is 500 characters. If exceeded, the request is rejected.
	Description pulumi.StringPtrInput
	// The human-readable name of the flow.
	DisplayName pulumi.StringInput
	// A flow's event handlers serve two purposes:
	// They are responsible for handling events (e.g. no match, webhook errors) in the flow.
	// They are inherited by every page's [event handlers][Page.event_handlers], which can be used to handle common events regardless of the current page. Event handlers defined in the page have higher priority than those defined in the flow.
	// Unlike transitionRoutes, these handlers are evaluated on a first-match basis. The first one that matches the event get executed, with the rest being ignored.
	// Structure is documented below.
	EventHandlers CxFlowEventHandlerArrayInput
	// The language of the following fields in flow:
	// Flow.event_handlers.trigger_fulfillment.messages
	// Flow.event_handlers.trigger_fulfillment.conditional_cases
	// Flow.transition_routes.trigger_fulfillment.messages
	// Flow.transition_routes.trigger_fulfillment.conditional_cases
	// 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.
	LanguageCode pulumi.StringPtrInput
	// NLU related settings of the flow.
	// Structure is documented below.
	NluSettings CxFlowNluSettingsPtrInput
	// The agent to create a flow for.
	// Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.
	Parent pulumi.StringPtrInput
	// A flow's transition route group serve two purposes:
	// They are responsible for matching the user's first utterances in the flow.
	// They are inherited by every page's [transition route groups][Page.transition_route_groups]. Transition route groups defined in the page have higher priority than those defined in the flow.
	// Format:projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/transitionRouteGroups/<TransitionRouteGroup ID>.
	TransitionRouteGroups pulumi.StringArrayInput
	// A flow's transition routes serve two purposes:
	// They are responsible for matching the user's first utterances in the flow.
	// They are inherited by every page's [transition routes][Page.transition_routes] and can support use cases such as the user saying "help" or "can I talk to a human?", which can be handled in a common way regardless of the current page. Transition routes defined in the page have higher priority than those defined in the flow.
	TransitionRoutes CxFlowTransitionRouteArrayInput
}

The set of arguments for constructing a CxFlow resource.

func (CxFlowArgs) ElementType added in v5.13.0

func (CxFlowArgs) ElementType() reflect.Type

type CxFlowArray added in v5.13.0

type CxFlowArray []CxFlowInput

func (CxFlowArray) ElementType added in v5.13.0

func (CxFlowArray) ElementType() reflect.Type

func (CxFlowArray) ToCxFlowArrayOutput added in v5.13.0

func (i CxFlowArray) ToCxFlowArrayOutput() CxFlowArrayOutput

func (CxFlowArray) ToCxFlowArrayOutputWithContext added in v5.13.0

func (i CxFlowArray) ToCxFlowArrayOutputWithContext(ctx context.Context) CxFlowArrayOutput

type CxFlowArrayInput added in v5.13.0

type CxFlowArrayInput interface {
	pulumi.Input

	ToCxFlowArrayOutput() CxFlowArrayOutput
	ToCxFlowArrayOutputWithContext(context.Context) CxFlowArrayOutput
}

CxFlowArrayInput is an input type that accepts CxFlowArray and CxFlowArrayOutput values. You can construct a concrete instance of `CxFlowArrayInput` via:

CxFlowArray{ CxFlowArgs{...} }

type CxFlowArrayOutput added in v5.13.0

type CxFlowArrayOutput struct{ *pulumi.OutputState }

func (CxFlowArrayOutput) ElementType added in v5.13.0

func (CxFlowArrayOutput) ElementType() reflect.Type

func (CxFlowArrayOutput) Index added in v5.13.0

func (CxFlowArrayOutput) ToCxFlowArrayOutput added in v5.13.0

func (o CxFlowArrayOutput) ToCxFlowArrayOutput() CxFlowArrayOutput

func (CxFlowArrayOutput) ToCxFlowArrayOutputWithContext added in v5.13.0

func (o CxFlowArrayOutput) ToCxFlowArrayOutputWithContext(ctx context.Context) CxFlowArrayOutput

type CxFlowEventHandler added in v5.13.0

type CxFlowEventHandler struct {
	// The name of the event to handle.
	Event *string `pulumi:"event"`
	// -
	// The unique identifier of this event handler.
	Name *string `pulumi:"name"`
	// The target flow to transition to.
	// Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>.
	TargetFlow *string `pulumi:"targetFlow"`
	// The target page to transition to.
	// Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page ID>.
	TargetPage *string `pulumi:"targetPage"`
	// The fulfillment to call when the event occurs. Handling webhook errors with a fulfillment enabled with webhook could cause infinite loop. It is invalid to specify such fulfillment for a handler handling webhooks.
	// Structure is documented below.
	TriggerFulfillment *CxFlowEventHandlerTriggerFulfillment `pulumi:"triggerFulfillment"`
}

type CxFlowEventHandlerArgs added in v5.13.0

type CxFlowEventHandlerArgs struct {
	// The name of the event to handle.
	Event pulumi.StringPtrInput `pulumi:"event"`
	// -
	// The unique identifier of this event handler.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// The target flow to transition to.
	// Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>.
	TargetFlow pulumi.StringPtrInput `pulumi:"targetFlow"`
	// The target page to transition to.
	// Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page ID>.
	TargetPage pulumi.StringPtrInput `pulumi:"targetPage"`
	// The fulfillment to call when the event occurs. Handling webhook errors with a fulfillment enabled with webhook could cause infinite loop. It is invalid to specify such fulfillment for a handler handling webhooks.
	// Structure is documented below.
	TriggerFulfillment CxFlowEventHandlerTriggerFulfillmentPtrInput `pulumi:"triggerFulfillment"`
}

func (CxFlowEventHandlerArgs) ElementType added in v5.13.0

func (CxFlowEventHandlerArgs) ElementType() reflect.Type

func (CxFlowEventHandlerArgs) ToCxFlowEventHandlerOutput added in v5.13.0

func (i CxFlowEventHandlerArgs) ToCxFlowEventHandlerOutput() CxFlowEventHandlerOutput

func (CxFlowEventHandlerArgs) ToCxFlowEventHandlerOutputWithContext added in v5.13.0

func (i CxFlowEventHandlerArgs) ToCxFlowEventHandlerOutputWithContext(ctx context.Context) CxFlowEventHandlerOutput

type CxFlowEventHandlerArray added in v5.13.0

type CxFlowEventHandlerArray []CxFlowEventHandlerInput

func (CxFlowEventHandlerArray) ElementType added in v5.13.0

func (CxFlowEventHandlerArray) ElementType() reflect.Type

func (CxFlowEventHandlerArray) ToCxFlowEventHandlerArrayOutput added in v5.13.0

func (i CxFlowEventHandlerArray) ToCxFlowEventHandlerArrayOutput() CxFlowEventHandlerArrayOutput

func (CxFlowEventHandlerArray) ToCxFlowEventHandlerArrayOutputWithContext added in v5.13.0

func (i CxFlowEventHandlerArray) ToCxFlowEventHandlerArrayOutputWithContext(ctx context.Context) CxFlowEventHandlerArrayOutput

type CxFlowEventHandlerArrayInput added in v5.13.0

type CxFlowEventHandlerArrayInput interface {
	pulumi.Input

	ToCxFlowEventHandlerArrayOutput() CxFlowEventHandlerArrayOutput
	ToCxFlowEventHandlerArrayOutputWithContext(context.Context) CxFlowEventHandlerArrayOutput
}

CxFlowEventHandlerArrayInput is an input type that accepts CxFlowEventHandlerArray and CxFlowEventHandlerArrayOutput values. You can construct a concrete instance of `CxFlowEventHandlerArrayInput` via:

CxFlowEventHandlerArray{ CxFlowEventHandlerArgs{...} }

type CxFlowEventHandlerArrayOutput added in v5.13.0

type CxFlowEventHandlerArrayOutput struct{ *pulumi.OutputState }

func (CxFlowEventHandlerArrayOutput) ElementType added in v5.13.0

func (CxFlowEventHandlerArrayOutput) Index added in v5.13.0

func (CxFlowEventHandlerArrayOutput) ToCxFlowEventHandlerArrayOutput added in v5.13.0

func (o CxFlowEventHandlerArrayOutput) ToCxFlowEventHandlerArrayOutput() CxFlowEventHandlerArrayOutput

func (CxFlowEventHandlerArrayOutput) ToCxFlowEventHandlerArrayOutputWithContext added in v5.13.0

func (o CxFlowEventHandlerArrayOutput) ToCxFlowEventHandlerArrayOutputWithContext(ctx context.Context) CxFlowEventHandlerArrayOutput

type CxFlowEventHandlerInput added in v5.13.0

type CxFlowEventHandlerInput interface {
	pulumi.Input

	ToCxFlowEventHandlerOutput() CxFlowEventHandlerOutput
	ToCxFlowEventHandlerOutputWithContext(context.Context) CxFlowEventHandlerOutput
}

CxFlowEventHandlerInput is an input type that accepts CxFlowEventHandlerArgs and CxFlowEventHandlerOutput values. You can construct a concrete instance of `CxFlowEventHandlerInput` via:

CxFlowEventHandlerArgs{...}

type CxFlowEventHandlerOutput added in v5.13.0

type CxFlowEventHandlerOutput struct{ *pulumi.OutputState }

func (CxFlowEventHandlerOutput) ElementType added in v5.13.0

func (CxFlowEventHandlerOutput) ElementType() reflect.Type

func (CxFlowEventHandlerOutput) Event added in v5.13.0

The name of the event to handle.

func (CxFlowEventHandlerOutput) Name added in v5.13.0

- The unique identifier of this event handler.

func (CxFlowEventHandlerOutput) TargetFlow added in v5.13.0

The target flow to transition to. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>.

func (CxFlowEventHandlerOutput) TargetPage added in v5.13.0

The target page to transition to. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page ID>.

func (CxFlowEventHandlerOutput) ToCxFlowEventHandlerOutput added in v5.13.0

func (o CxFlowEventHandlerOutput) ToCxFlowEventHandlerOutput() CxFlowEventHandlerOutput

func (CxFlowEventHandlerOutput) ToCxFlowEventHandlerOutputWithContext added in v5.13.0

func (o CxFlowEventHandlerOutput) ToCxFlowEventHandlerOutputWithContext(ctx context.Context) CxFlowEventHandlerOutput

func (CxFlowEventHandlerOutput) TriggerFulfillment added in v5.13.0

The fulfillment to call when the event occurs. Handling webhook errors with a fulfillment enabled with webhook could cause infinite loop. It is invalid to specify such fulfillment for a handler handling webhooks. Structure is documented below.

type CxFlowEventHandlerTriggerFulfillment added in v5.13.0

type CxFlowEventHandlerTriggerFulfillment struct {
	// The list of rich message responses to present to the user.
	// Structure is documented below.
	Messages []CxFlowEventHandlerTriggerFulfillmentMessage `pulumi:"messages"`
	// Whether Dialogflow should return currently queued fulfillment response messages in streaming APIs. If a webhook is specified, it happens before Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API. Responses are still queued and returned once in non-streaming API. 2) The flag can be enabled in any fulfillment but only the first 3 partial responses will be returned. You may only want to apply it to fulfillments that have slow webhooks.
	ReturnPartialResponses *bool `pulumi:"returnPartialResponses"`
	// The tag used by the webhook to identify which fulfillment is being called. This field is required if webhook is specified.
	Tag *string `pulumi:"tag"`
	// The webhook to call. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/webhooks/<Webhook ID>.
	Webhook *string `pulumi:"webhook"`
}

type CxFlowEventHandlerTriggerFulfillmentArgs added in v5.13.0

type CxFlowEventHandlerTriggerFulfillmentArgs struct {
	// The list of rich message responses to present to the user.
	// Structure is documented below.
	Messages CxFlowEventHandlerTriggerFulfillmentMessageArrayInput `pulumi:"messages"`
	// Whether Dialogflow should return currently queued fulfillment response messages in streaming APIs. If a webhook is specified, it happens before Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API. Responses are still queued and returned once in non-streaming API. 2) The flag can be enabled in any fulfillment but only the first 3 partial responses will be returned. You may only want to apply it to fulfillments that have slow webhooks.
	ReturnPartialResponses pulumi.BoolPtrInput `pulumi:"returnPartialResponses"`
	// The tag used by the webhook to identify which fulfillment is being called. This field is required if webhook is specified.
	Tag pulumi.StringPtrInput `pulumi:"tag"`
	// The webhook to call. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/webhooks/<Webhook ID>.
	Webhook pulumi.StringPtrInput `pulumi:"webhook"`
}

func (CxFlowEventHandlerTriggerFulfillmentArgs) ElementType added in v5.13.0

func (CxFlowEventHandlerTriggerFulfillmentArgs) ToCxFlowEventHandlerTriggerFulfillmentOutput added in v5.13.0

func (i CxFlowEventHandlerTriggerFulfillmentArgs) ToCxFlowEventHandlerTriggerFulfillmentOutput() CxFlowEventHandlerTriggerFulfillmentOutput

func (CxFlowEventHandlerTriggerFulfillmentArgs) ToCxFlowEventHandlerTriggerFulfillmentOutputWithContext added in v5.13.0

func (i CxFlowEventHandlerTriggerFulfillmentArgs) ToCxFlowEventHandlerTriggerFulfillmentOutputWithContext(ctx context.Context) CxFlowEventHandlerTriggerFulfillmentOutput

func (CxFlowEventHandlerTriggerFulfillmentArgs) ToCxFlowEventHandlerTriggerFulfillmentPtrOutput added in v5.13.0

func (i CxFlowEventHandlerTriggerFulfillmentArgs) ToCxFlowEventHandlerTriggerFulfillmentPtrOutput() CxFlowEventHandlerTriggerFulfillmentPtrOutput

func (CxFlowEventHandlerTriggerFulfillmentArgs) ToCxFlowEventHandlerTriggerFulfillmentPtrOutputWithContext added in v5.13.0

func (i CxFlowEventHandlerTriggerFulfillmentArgs) ToCxFlowEventHandlerTriggerFulfillmentPtrOutputWithContext(ctx context.Context) CxFlowEventHandlerTriggerFulfillmentPtrOutput

type CxFlowEventHandlerTriggerFulfillmentInput added in v5.13.0

type CxFlowEventHandlerTriggerFulfillmentInput interface {
	pulumi.Input

	ToCxFlowEventHandlerTriggerFulfillmentOutput() CxFlowEventHandlerTriggerFulfillmentOutput
	ToCxFlowEventHandlerTriggerFulfillmentOutputWithContext(context.Context) CxFlowEventHandlerTriggerFulfillmentOutput
}

CxFlowEventHandlerTriggerFulfillmentInput is an input type that accepts CxFlowEventHandlerTriggerFulfillmentArgs and CxFlowEventHandlerTriggerFulfillmentOutput values. You can construct a concrete instance of `CxFlowEventHandlerTriggerFulfillmentInput` via:

CxFlowEventHandlerTriggerFulfillmentArgs{...}

type CxFlowEventHandlerTriggerFulfillmentMessage added in v5.13.0

type CxFlowEventHandlerTriggerFulfillmentMessage struct {
	// A collection of text responses.
	Text *CxFlowEventHandlerTriggerFulfillmentMessageText `pulumi:"text"`
}

type CxFlowEventHandlerTriggerFulfillmentMessageArgs added in v5.13.0

type CxFlowEventHandlerTriggerFulfillmentMessageArgs struct {
	// A collection of text responses.
	Text CxFlowEventHandlerTriggerFulfillmentMessageTextPtrInput `pulumi:"text"`
}

func (CxFlowEventHandlerTriggerFulfillmentMessageArgs) ElementType added in v5.13.0

func (CxFlowEventHandlerTriggerFulfillmentMessageArgs) ToCxFlowEventHandlerTriggerFulfillmentMessageOutput added in v5.13.0

func (i CxFlowEventHandlerTriggerFulfillmentMessageArgs) ToCxFlowEventHandlerTriggerFulfillmentMessageOutput() CxFlowEventHandlerTriggerFulfillmentMessageOutput

func (CxFlowEventHandlerTriggerFulfillmentMessageArgs) ToCxFlowEventHandlerTriggerFulfillmentMessageOutputWithContext added in v5.13.0

func (i CxFlowEventHandlerTriggerFulfillmentMessageArgs) ToCxFlowEventHandlerTriggerFulfillmentMessageOutputWithContext(ctx context.Context) CxFlowEventHandlerTriggerFulfillmentMessageOutput

type CxFlowEventHandlerTriggerFulfillmentMessageArray added in v5.13.0

type CxFlowEventHandlerTriggerFulfillmentMessageArray []CxFlowEventHandlerTriggerFulfillmentMessageInput

func (CxFlowEventHandlerTriggerFulfillmentMessageArray) ElementType added in v5.13.0

func (CxFlowEventHandlerTriggerFulfillmentMessageArray) ToCxFlowEventHandlerTriggerFulfillmentMessageArrayOutput added in v5.13.0

func (i CxFlowEventHandlerTriggerFulfillmentMessageArray) ToCxFlowEventHandlerTriggerFulfillmentMessageArrayOutput() CxFlowEventHandlerTriggerFulfillmentMessageArrayOutput

func (CxFlowEventHandlerTriggerFulfillmentMessageArray) ToCxFlowEventHandlerTriggerFulfillmentMessageArrayOutputWithContext added in v5.13.0

func (i CxFlowEventHandlerTriggerFulfillmentMessageArray) ToCxFlowEventHandlerTriggerFulfillmentMessageArrayOutputWithContext(ctx context.Context) CxFlowEventHandlerTriggerFulfillmentMessageArrayOutput

type CxFlowEventHandlerTriggerFulfillmentMessageArrayInput added in v5.13.0

type CxFlowEventHandlerTriggerFulfillmentMessageArrayInput interface {
	pulumi.Input

	ToCxFlowEventHandlerTriggerFulfillmentMessageArrayOutput() CxFlowEventHandlerTriggerFulfillmentMessageArrayOutput
	ToCxFlowEventHandlerTriggerFulfillmentMessageArrayOutputWithContext(context.Context) CxFlowEventHandlerTriggerFulfillmentMessageArrayOutput
}

CxFlowEventHandlerTriggerFulfillmentMessageArrayInput is an input type that accepts CxFlowEventHandlerTriggerFulfillmentMessageArray and CxFlowEventHandlerTriggerFulfillmentMessageArrayOutput values. You can construct a concrete instance of `CxFlowEventHandlerTriggerFulfillmentMessageArrayInput` via:

CxFlowEventHandlerTriggerFulfillmentMessageArray{ CxFlowEventHandlerTriggerFulfillmentMessageArgs{...} }

type CxFlowEventHandlerTriggerFulfillmentMessageArrayOutput added in v5.13.0

type CxFlowEventHandlerTriggerFulfillmentMessageArrayOutput struct{ *pulumi.OutputState }

func (CxFlowEventHandlerTriggerFulfillmentMessageArrayOutput) ElementType added in v5.13.0

func (CxFlowEventHandlerTriggerFulfillmentMessageArrayOutput) Index added in v5.13.0

func (CxFlowEventHandlerTriggerFulfillmentMessageArrayOutput) ToCxFlowEventHandlerTriggerFulfillmentMessageArrayOutput added in v5.13.0

func (CxFlowEventHandlerTriggerFulfillmentMessageArrayOutput) ToCxFlowEventHandlerTriggerFulfillmentMessageArrayOutputWithContext added in v5.13.0

func (o CxFlowEventHandlerTriggerFulfillmentMessageArrayOutput) ToCxFlowEventHandlerTriggerFulfillmentMessageArrayOutputWithContext(ctx context.Context) CxFlowEventHandlerTriggerFulfillmentMessageArrayOutput

type CxFlowEventHandlerTriggerFulfillmentMessageInput added in v5.13.0

type CxFlowEventHandlerTriggerFulfillmentMessageInput interface {
	pulumi.Input

	ToCxFlowEventHandlerTriggerFulfillmentMessageOutput() CxFlowEventHandlerTriggerFulfillmentMessageOutput
	ToCxFlowEventHandlerTriggerFulfillmentMessageOutputWithContext(context.Context) CxFlowEventHandlerTriggerFulfillmentMessageOutput
}

CxFlowEventHandlerTriggerFulfillmentMessageInput is an input type that accepts CxFlowEventHandlerTriggerFulfillmentMessageArgs and CxFlowEventHandlerTriggerFulfillmentMessageOutput values. You can construct a concrete instance of `CxFlowEventHandlerTriggerFulfillmentMessageInput` via:

CxFlowEventHandlerTriggerFulfillmentMessageArgs{...}

type CxFlowEventHandlerTriggerFulfillmentMessageOutput added in v5.13.0

type CxFlowEventHandlerTriggerFulfillmentMessageOutput struct{ *pulumi.OutputState }

func (CxFlowEventHandlerTriggerFulfillmentMessageOutput) ElementType added in v5.13.0

func (CxFlowEventHandlerTriggerFulfillmentMessageOutput) Text added in v5.13.0

A collection of text responses.

func (CxFlowEventHandlerTriggerFulfillmentMessageOutput) ToCxFlowEventHandlerTriggerFulfillmentMessageOutput added in v5.13.0

func (o CxFlowEventHandlerTriggerFulfillmentMessageOutput) ToCxFlowEventHandlerTriggerFulfillmentMessageOutput() CxFlowEventHandlerTriggerFulfillmentMessageOutput

func (CxFlowEventHandlerTriggerFulfillmentMessageOutput) ToCxFlowEventHandlerTriggerFulfillmentMessageOutputWithContext added in v5.13.0

func (o CxFlowEventHandlerTriggerFulfillmentMessageOutput) ToCxFlowEventHandlerTriggerFulfillmentMessageOutputWithContext(ctx context.Context) CxFlowEventHandlerTriggerFulfillmentMessageOutput

type CxFlowEventHandlerTriggerFulfillmentMessageText added in v5.13.0

type CxFlowEventHandlerTriggerFulfillmentMessageText struct {
	// -
	// Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.
	AllowPlaybackInterruption *bool `pulumi:"allowPlaybackInterruption"`
	// A collection of text responses.
	Texts []string `pulumi:"texts"`
}

type CxFlowEventHandlerTriggerFulfillmentMessageTextArgs added in v5.13.0

type CxFlowEventHandlerTriggerFulfillmentMessageTextArgs struct {
	// -
	// Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.
	AllowPlaybackInterruption pulumi.BoolPtrInput `pulumi:"allowPlaybackInterruption"`
	// A collection of text responses.
	Texts pulumi.StringArrayInput `pulumi:"texts"`
}

func (CxFlowEventHandlerTriggerFulfillmentMessageTextArgs) ElementType added in v5.13.0

func (CxFlowEventHandlerTriggerFulfillmentMessageTextArgs) ToCxFlowEventHandlerTriggerFulfillmentMessageTextOutput added in v5.13.0

func (i CxFlowEventHandlerTriggerFulfillmentMessageTextArgs) ToCxFlowEventHandlerTriggerFulfillmentMessageTextOutput() CxFlowEventHandlerTriggerFulfillmentMessageTextOutput

func (CxFlowEventHandlerTriggerFulfillmentMessageTextArgs) ToCxFlowEventHandlerTriggerFulfillmentMessageTextOutputWithContext added in v5.13.0

func (i CxFlowEventHandlerTriggerFulfillmentMessageTextArgs) ToCxFlowEventHandlerTriggerFulfillmentMessageTextOutputWithContext(ctx context.Context) CxFlowEventHandlerTriggerFulfillmentMessageTextOutput

func (CxFlowEventHandlerTriggerFulfillmentMessageTextArgs) ToCxFlowEventHandlerTriggerFulfillmentMessageTextPtrOutput added in v5.13.0

func (i CxFlowEventHandlerTriggerFulfillmentMessageTextArgs) ToCxFlowEventHandlerTriggerFulfillmentMessageTextPtrOutput() CxFlowEventHandlerTriggerFulfillmentMessageTextPtrOutput

func (CxFlowEventHandlerTriggerFulfillmentMessageTextArgs) ToCxFlowEventHandlerTriggerFulfillmentMessageTextPtrOutputWithContext added in v5.13.0

func (i CxFlowEventHandlerTriggerFulfillmentMessageTextArgs) ToCxFlowEventHandlerTriggerFulfillmentMessageTextPtrOutputWithContext(ctx context.Context) CxFlowEventHandlerTriggerFulfillmentMessageTextPtrOutput

type CxFlowEventHandlerTriggerFulfillmentMessageTextInput added in v5.13.0

type CxFlowEventHandlerTriggerFulfillmentMessageTextInput interface {
	pulumi.Input

	ToCxFlowEventHandlerTriggerFulfillmentMessageTextOutput() CxFlowEventHandlerTriggerFulfillmentMessageTextOutput
	ToCxFlowEventHandlerTriggerFulfillmentMessageTextOutputWithContext(context.Context) CxFlowEventHandlerTriggerFulfillmentMessageTextOutput
}

CxFlowEventHandlerTriggerFulfillmentMessageTextInput is an input type that accepts CxFlowEventHandlerTriggerFulfillmentMessageTextArgs and CxFlowEventHandlerTriggerFulfillmentMessageTextOutput values. You can construct a concrete instance of `CxFlowEventHandlerTriggerFulfillmentMessageTextInput` via:

CxFlowEventHandlerTriggerFulfillmentMessageTextArgs{...}

type CxFlowEventHandlerTriggerFulfillmentMessageTextOutput added in v5.13.0

type CxFlowEventHandlerTriggerFulfillmentMessageTextOutput struct{ *pulumi.OutputState }

func (CxFlowEventHandlerTriggerFulfillmentMessageTextOutput) AllowPlaybackInterruption added in v5.13.0

- Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.

func (CxFlowEventHandlerTriggerFulfillmentMessageTextOutput) ElementType added in v5.13.0

func (CxFlowEventHandlerTriggerFulfillmentMessageTextOutput) Texts added in v5.13.0

A collection of text responses.

func (CxFlowEventHandlerTriggerFulfillmentMessageTextOutput) ToCxFlowEventHandlerTriggerFulfillmentMessageTextOutput added in v5.13.0

func (CxFlowEventHandlerTriggerFulfillmentMessageTextOutput) ToCxFlowEventHandlerTriggerFulfillmentMessageTextOutputWithContext added in v5.13.0

func (o CxFlowEventHandlerTriggerFulfillmentMessageTextOutput) ToCxFlowEventHandlerTriggerFulfillmentMessageTextOutputWithContext(ctx context.Context) CxFlowEventHandlerTriggerFulfillmentMessageTextOutput

func (CxFlowEventHandlerTriggerFulfillmentMessageTextOutput) ToCxFlowEventHandlerTriggerFulfillmentMessageTextPtrOutput added in v5.13.0

func (o CxFlowEventHandlerTriggerFulfillmentMessageTextOutput) ToCxFlowEventHandlerTriggerFulfillmentMessageTextPtrOutput() CxFlowEventHandlerTriggerFulfillmentMessageTextPtrOutput

func (CxFlowEventHandlerTriggerFulfillmentMessageTextOutput) ToCxFlowEventHandlerTriggerFulfillmentMessageTextPtrOutputWithContext added in v5.13.0

func (o CxFlowEventHandlerTriggerFulfillmentMessageTextOutput) ToCxFlowEventHandlerTriggerFulfillmentMessageTextPtrOutputWithContext(ctx context.Context) CxFlowEventHandlerTriggerFulfillmentMessageTextPtrOutput

type CxFlowEventHandlerTriggerFulfillmentMessageTextPtrInput added in v5.13.0

type CxFlowEventHandlerTriggerFulfillmentMessageTextPtrInput interface {
	pulumi.Input

	ToCxFlowEventHandlerTriggerFulfillmentMessageTextPtrOutput() CxFlowEventHandlerTriggerFulfillmentMessageTextPtrOutput
	ToCxFlowEventHandlerTriggerFulfillmentMessageTextPtrOutputWithContext(context.Context) CxFlowEventHandlerTriggerFulfillmentMessageTextPtrOutput
}

CxFlowEventHandlerTriggerFulfillmentMessageTextPtrInput is an input type that accepts CxFlowEventHandlerTriggerFulfillmentMessageTextArgs, CxFlowEventHandlerTriggerFulfillmentMessageTextPtr and CxFlowEventHandlerTriggerFulfillmentMessageTextPtrOutput values. You can construct a concrete instance of `CxFlowEventHandlerTriggerFulfillmentMessageTextPtrInput` via:

        CxFlowEventHandlerTriggerFulfillmentMessageTextArgs{...}

or:

        nil

type CxFlowEventHandlerTriggerFulfillmentMessageTextPtrOutput added in v5.13.0

type CxFlowEventHandlerTriggerFulfillmentMessageTextPtrOutput struct{ *pulumi.OutputState }

func (CxFlowEventHandlerTriggerFulfillmentMessageTextPtrOutput) AllowPlaybackInterruption added in v5.13.0

- Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.

func (CxFlowEventHandlerTriggerFulfillmentMessageTextPtrOutput) Elem added in v5.13.0

func (CxFlowEventHandlerTriggerFulfillmentMessageTextPtrOutput) ElementType added in v5.13.0

func (CxFlowEventHandlerTriggerFulfillmentMessageTextPtrOutput) Texts added in v5.13.0

A collection of text responses.

func (CxFlowEventHandlerTriggerFulfillmentMessageTextPtrOutput) ToCxFlowEventHandlerTriggerFulfillmentMessageTextPtrOutput added in v5.13.0

func (CxFlowEventHandlerTriggerFulfillmentMessageTextPtrOutput) ToCxFlowEventHandlerTriggerFulfillmentMessageTextPtrOutputWithContext added in v5.13.0

func (o CxFlowEventHandlerTriggerFulfillmentMessageTextPtrOutput) ToCxFlowEventHandlerTriggerFulfillmentMessageTextPtrOutputWithContext(ctx context.Context) CxFlowEventHandlerTriggerFulfillmentMessageTextPtrOutput

type CxFlowEventHandlerTriggerFulfillmentOutput added in v5.13.0

type CxFlowEventHandlerTriggerFulfillmentOutput struct{ *pulumi.OutputState }

func (CxFlowEventHandlerTriggerFulfillmentOutput) ElementType added in v5.13.0

func (CxFlowEventHandlerTriggerFulfillmentOutput) Messages added in v5.13.0

The list of rich message responses to present to the user. Structure is documented below.

func (CxFlowEventHandlerTriggerFulfillmentOutput) ReturnPartialResponses added in v5.13.0

Whether Dialogflow should return currently queued fulfillment response messages in streaming APIs. If a webhook is specified, it happens before Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API. Responses are still queued and returned once in non-streaming API. 2) The flag can be enabled in any fulfillment but only the first 3 partial responses will be returned. You may only want to apply it to fulfillments that have slow webhooks.

func (CxFlowEventHandlerTriggerFulfillmentOutput) Tag added in v5.13.0

The tag used by the webhook to identify which fulfillment is being called. This field is required if webhook is specified.

func (CxFlowEventHandlerTriggerFulfillmentOutput) ToCxFlowEventHandlerTriggerFulfillmentOutput added in v5.13.0

func (o CxFlowEventHandlerTriggerFulfillmentOutput) ToCxFlowEventHandlerTriggerFulfillmentOutput() CxFlowEventHandlerTriggerFulfillmentOutput

func (CxFlowEventHandlerTriggerFulfillmentOutput) ToCxFlowEventHandlerTriggerFulfillmentOutputWithContext added in v5.13.0

func (o CxFlowEventHandlerTriggerFulfillmentOutput) ToCxFlowEventHandlerTriggerFulfillmentOutputWithContext(ctx context.Context) CxFlowEventHandlerTriggerFulfillmentOutput

func (CxFlowEventHandlerTriggerFulfillmentOutput) ToCxFlowEventHandlerTriggerFulfillmentPtrOutput added in v5.13.0

func (o CxFlowEventHandlerTriggerFulfillmentOutput) ToCxFlowEventHandlerTriggerFulfillmentPtrOutput() CxFlowEventHandlerTriggerFulfillmentPtrOutput

func (CxFlowEventHandlerTriggerFulfillmentOutput) ToCxFlowEventHandlerTriggerFulfillmentPtrOutputWithContext added in v5.13.0

func (o CxFlowEventHandlerTriggerFulfillmentOutput) ToCxFlowEventHandlerTriggerFulfillmentPtrOutputWithContext(ctx context.Context) CxFlowEventHandlerTriggerFulfillmentPtrOutput

func (CxFlowEventHandlerTriggerFulfillmentOutput) Webhook added in v5.13.0

The webhook to call. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/webhooks/<Webhook ID>.

type CxFlowEventHandlerTriggerFulfillmentPtrInput added in v5.13.0

type CxFlowEventHandlerTriggerFulfillmentPtrInput interface {
	pulumi.Input

	ToCxFlowEventHandlerTriggerFulfillmentPtrOutput() CxFlowEventHandlerTriggerFulfillmentPtrOutput
	ToCxFlowEventHandlerTriggerFulfillmentPtrOutputWithContext(context.Context) CxFlowEventHandlerTriggerFulfillmentPtrOutput
}

CxFlowEventHandlerTriggerFulfillmentPtrInput is an input type that accepts CxFlowEventHandlerTriggerFulfillmentArgs, CxFlowEventHandlerTriggerFulfillmentPtr and CxFlowEventHandlerTriggerFulfillmentPtrOutput values. You can construct a concrete instance of `CxFlowEventHandlerTriggerFulfillmentPtrInput` via:

        CxFlowEventHandlerTriggerFulfillmentArgs{...}

or:

        nil

type CxFlowEventHandlerTriggerFulfillmentPtrOutput added in v5.13.0

type CxFlowEventHandlerTriggerFulfillmentPtrOutput struct{ *pulumi.OutputState }

func (CxFlowEventHandlerTriggerFulfillmentPtrOutput) Elem added in v5.13.0

func (CxFlowEventHandlerTriggerFulfillmentPtrOutput) ElementType added in v5.13.0

func (CxFlowEventHandlerTriggerFulfillmentPtrOutput) Messages added in v5.13.0

The list of rich message responses to present to the user. Structure is documented below.

func (CxFlowEventHandlerTriggerFulfillmentPtrOutput) ReturnPartialResponses added in v5.13.0

Whether Dialogflow should return currently queued fulfillment response messages in streaming APIs. If a webhook is specified, it happens before Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API. Responses are still queued and returned once in non-streaming API. 2) The flag can be enabled in any fulfillment but only the first 3 partial responses will be returned. You may only want to apply it to fulfillments that have slow webhooks.

func (CxFlowEventHandlerTriggerFulfillmentPtrOutput) Tag added in v5.13.0

The tag used by the webhook to identify which fulfillment is being called. This field is required if webhook is specified.

func (CxFlowEventHandlerTriggerFulfillmentPtrOutput) ToCxFlowEventHandlerTriggerFulfillmentPtrOutput added in v5.13.0

func (o CxFlowEventHandlerTriggerFulfillmentPtrOutput) ToCxFlowEventHandlerTriggerFulfillmentPtrOutput() CxFlowEventHandlerTriggerFulfillmentPtrOutput

func (CxFlowEventHandlerTriggerFulfillmentPtrOutput) ToCxFlowEventHandlerTriggerFulfillmentPtrOutputWithContext added in v5.13.0

func (o CxFlowEventHandlerTriggerFulfillmentPtrOutput) ToCxFlowEventHandlerTriggerFulfillmentPtrOutputWithContext(ctx context.Context) CxFlowEventHandlerTriggerFulfillmentPtrOutput

func (CxFlowEventHandlerTriggerFulfillmentPtrOutput) Webhook added in v5.13.0

The webhook to call. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/webhooks/<Webhook ID>.

type CxFlowInput added in v5.13.0

type CxFlowInput interface {
	pulumi.Input

	ToCxFlowOutput() CxFlowOutput
	ToCxFlowOutputWithContext(ctx context.Context) CxFlowOutput
}

type CxFlowMap added in v5.13.0

type CxFlowMap map[string]CxFlowInput

func (CxFlowMap) ElementType added in v5.13.0

func (CxFlowMap) ElementType() reflect.Type

func (CxFlowMap) ToCxFlowMapOutput added in v5.13.0

func (i CxFlowMap) ToCxFlowMapOutput() CxFlowMapOutput

func (CxFlowMap) ToCxFlowMapOutputWithContext added in v5.13.0

func (i CxFlowMap) ToCxFlowMapOutputWithContext(ctx context.Context) CxFlowMapOutput

type CxFlowMapInput added in v5.13.0

type CxFlowMapInput interface {
	pulumi.Input

	ToCxFlowMapOutput() CxFlowMapOutput
	ToCxFlowMapOutputWithContext(context.Context) CxFlowMapOutput
}

CxFlowMapInput is an input type that accepts CxFlowMap and CxFlowMapOutput values. You can construct a concrete instance of `CxFlowMapInput` via:

CxFlowMap{ "key": CxFlowArgs{...} }

type CxFlowMapOutput added in v5.13.0

type CxFlowMapOutput struct{ *pulumi.OutputState }

func (CxFlowMapOutput) ElementType added in v5.13.0

func (CxFlowMapOutput) ElementType() reflect.Type

func (CxFlowMapOutput) MapIndex added in v5.13.0

func (CxFlowMapOutput) ToCxFlowMapOutput added in v5.13.0

func (o CxFlowMapOutput) ToCxFlowMapOutput() CxFlowMapOutput

func (CxFlowMapOutput) ToCxFlowMapOutputWithContext added in v5.13.0

func (o CxFlowMapOutput) ToCxFlowMapOutputWithContext(ctx context.Context) CxFlowMapOutput

type CxFlowNluSettings added in v5.13.0

type CxFlowNluSettings struct {
	// 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 no-match event 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.
	ClassificationThreshold *float64 `pulumi:"classificationThreshold"`
	// Indicates NLU model training mode.
	// * MODEL_TRAINING_MODE_AUTOMATIC: NLU model training is automatically triggered when a flow gets modified. User can also manually trigger model training in this mode.
	// * MODEL_TRAINING_MODE_MANUAL: User needs to manually trigger NLU model training. Best for large flows whose models take long time to train.
	//   Possible values are `MODEL_TRAINING_MODE_AUTOMATIC` and `MODEL_TRAINING_MODE_MANUAL`.
	ModelTrainingMode *string `pulumi:"modelTrainingMode"`
	// Indicates the type of NLU model.
	// * MODEL_TYPE_STANDARD: Use standard NLU model.
	// * MODEL_TYPE_ADVANCED: Use advanced NLU model.
	//   Possible values are `MODEL_TYPE_STANDARD` and `MODEL_TYPE_ADVANCED`.
	ModelType *string `pulumi:"modelType"`
}

type CxFlowNluSettingsArgs added in v5.13.0

type CxFlowNluSettingsArgs struct {
	// 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 no-match event 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.
	ClassificationThreshold pulumi.Float64PtrInput `pulumi:"classificationThreshold"`
	// Indicates NLU model training mode.
	// * MODEL_TRAINING_MODE_AUTOMATIC: NLU model training is automatically triggered when a flow gets modified. User can also manually trigger model training in this mode.
	// * MODEL_TRAINING_MODE_MANUAL: User needs to manually trigger NLU model training. Best for large flows whose models take long time to train.
	//   Possible values are `MODEL_TRAINING_MODE_AUTOMATIC` and `MODEL_TRAINING_MODE_MANUAL`.
	ModelTrainingMode pulumi.StringPtrInput `pulumi:"modelTrainingMode"`
	// Indicates the type of NLU model.
	// * MODEL_TYPE_STANDARD: Use standard NLU model.
	// * MODEL_TYPE_ADVANCED: Use advanced NLU model.
	//   Possible values are `MODEL_TYPE_STANDARD` and `MODEL_TYPE_ADVANCED`.
	ModelType pulumi.StringPtrInput `pulumi:"modelType"`
}

func (CxFlowNluSettingsArgs) ElementType added in v5.13.0

func (CxFlowNluSettingsArgs) ElementType() reflect.Type

func (CxFlowNluSettingsArgs) ToCxFlowNluSettingsOutput added in v5.13.0

func (i CxFlowNluSettingsArgs) ToCxFlowNluSettingsOutput() CxFlowNluSettingsOutput

func (CxFlowNluSettingsArgs) ToCxFlowNluSettingsOutputWithContext added in v5.13.0

func (i CxFlowNluSettingsArgs) ToCxFlowNluSettingsOutputWithContext(ctx context.Context) CxFlowNluSettingsOutput

func (CxFlowNluSettingsArgs) ToCxFlowNluSettingsPtrOutput added in v5.13.0

func (i CxFlowNluSettingsArgs) ToCxFlowNluSettingsPtrOutput() CxFlowNluSettingsPtrOutput

func (CxFlowNluSettingsArgs) ToCxFlowNluSettingsPtrOutputWithContext added in v5.13.0

func (i CxFlowNluSettingsArgs) ToCxFlowNluSettingsPtrOutputWithContext(ctx context.Context) CxFlowNluSettingsPtrOutput

type CxFlowNluSettingsInput added in v5.13.0

type CxFlowNluSettingsInput interface {
	pulumi.Input

	ToCxFlowNluSettingsOutput() CxFlowNluSettingsOutput
	ToCxFlowNluSettingsOutputWithContext(context.Context) CxFlowNluSettingsOutput
}

CxFlowNluSettingsInput is an input type that accepts CxFlowNluSettingsArgs and CxFlowNluSettingsOutput values. You can construct a concrete instance of `CxFlowNluSettingsInput` via:

CxFlowNluSettingsArgs{...}

type CxFlowNluSettingsOutput added in v5.13.0

type CxFlowNluSettingsOutput struct{ *pulumi.OutputState }

func (CxFlowNluSettingsOutput) ClassificationThreshold added in v5.13.0

func (o CxFlowNluSettingsOutput) ClassificationThreshold() pulumi.Float64PtrOutput

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 no-match event 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.

func (CxFlowNluSettingsOutput) ElementType added in v5.13.0

func (CxFlowNluSettingsOutput) ElementType() reflect.Type

func (CxFlowNluSettingsOutput) ModelTrainingMode added in v5.13.0

func (o CxFlowNluSettingsOutput) ModelTrainingMode() pulumi.StringPtrOutput

Indicates NLU model training mode.

  • MODEL_TRAINING_MODE_AUTOMATIC: NLU model training is automatically triggered when a flow gets modified. User can also manually trigger model training in this mode.
  • MODEL_TRAINING_MODE_MANUAL: User needs to manually trigger NLU model training. Best for large flows whose models take long time to train. Possible values are `MODEL_TRAINING_MODE_AUTOMATIC` and `MODEL_TRAINING_MODE_MANUAL`.

func (CxFlowNluSettingsOutput) ModelType added in v5.13.0

Indicates the type of NLU model.

  • MODEL_TYPE_STANDARD: Use standard NLU model.
  • MODEL_TYPE_ADVANCED: Use advanced NLU model. Possible values are `MODEL_TYPE_STANDARD` and `MODEL_TYPE_ADVANCED`.

func (CxFlowNluSettingsOutput) ToCxFlowNluSettingsOutput added in v5.13.0

func (o CxFlowNluSettingsOutput) ToCxFlowNluSettingsOutput() CxFlowNluSettingsOutput

func (CxFlowNluSettingsOutput) ToCxFlowNluSettingsOutputWithContext added in v5.13.0

func (o CxFlowNluSettingsOutput) ToCxFlowNluSettingsOutputWithContext(ctx context.Context) CxFlowNluSettingsOutput

func (CxFlowNluSettingsOutput) ToCxFlowNluSettingsPtrOutput added in v5.13.0

func (o CxFlowNluSettingsOutput) ToCxFlowNluSettingsPtrOutput() CxFlowNluSettingsPtrOutput

func (CxFlowNluSettingsOutput) ToCxFlowNluSettingsPtrOutputWithContext added in v5.13.0

func (o CxFlowNluSettingsOutput) ToCxFlowNluSettingsPtrOutputWithContext(ctx context.Context) CxFlowNluSettingsPtrOutput

type CxFlowNluSettingsPtrInput added in v5.13.0

type CxFlowNluSettingsPtrInput interface {
	pulumi.Input

	ToCxFlowNluSettingsPtrOutput() CxFlowNluSettingsPtrOutput
	ToCxFlowNluSettingsPtrOutputWithContext(context.Context) CxFlowNluSettingsPtrOutput
}

CxFlowNluSettingsPtrInput is an input type that accepts CxFlowNluSettingsArgs, CxFlowNluSettingsPtr and CxFlowNluSettingsPtrOutput values. You can construct a concrete instance of `CxFlowNluSettingsPtrInput` via:

        CxFlowNluSettingsArgs{...}

or:

        nil

func CxFlowNluSettingsPtr added in v5.13.0

func CxFlowNluSettingsPtr(v *CxFlowNluSettingsArgs) CxFlowNluSettingsPtrInput

type CxFlowNluSettingsPtrOutput added in v5.13.0

type CxFlowNluSettingsPtrOutput struct{ *pulumi.OutputState }

func (CxFlowNluSettingsPtrOutput) ClassificationThreshold added in v5.13.0

func (o CxFlowNluSettingsPtrOutput) ClassificationThreshold() pulumi.Float64PtrOutput

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 no-match event 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.

func (CxFlowNluSettingsPtrOutput) Elem added in v5.13.0

func (CxFlowNluSettingsPtrOutput) ElementType added in v5.13.0

func (CxFlowNluSettingsPtrOutput) ElementType() reflect.Type

func (CxFlowNluSettingsPtrOutput) ModelTrainingMode added in v5.13.0

func (o CxFlowNluSettingsPtrOutput) ModelTrainingMode() pulumi.StringPtrOutput

Indicates NLU model training mode.

  • MODEL_TRAINING_MODE_AUTOMATIC: NLU model training is automatically triggered when a flow gets modified. User can also manually trigger model training in this mode.
  • MODEL_TRAINING_MODE_MANUAL: User needs to manually trigger NLU model training. Best for large flows whose models take long time to train. Possible values are `MODEL_TRAINING_MODE_AUTOMATIC` and `MODEL_TRAINING_MODE_MANUAL`.

func (CxFlowNluSettingsPtrOutput) ModelType added in v5.13.0

Indicates the type of NLU model.

  • MODEL_TYPE_STANDARD: Use standard NLU model.
  • MODEL_TYPE_ADVANCED: Use advanced NLU model. Possible values are `MODEL_TYPE_STANDARD` and `MODEL_TYPE_ADVANCED`.

func (CxFlowNluSettingsPtrOutput) ToCxFlowNluSettingsPtrOutput added in v5.13.0

func (o CxFlowNluSettingsPtrOutput) ToCxFlowNluSettingsPtrOutput() CxFlowNluSettingsPtrOutput

func (CxFlowNluSettingsPtrOutput) ToCxFlowNluSettingsPtrOutputWithContext added in v5.13.0

func (o CxFlowNluSettingsPtrOutput) ToCxFlowNluSettingsPtrOutputWithContext(ctx context.Context) CxFlowNluSettingsPtrOutput

type CxFlowOutput added in v5.13.0

type CxFlowOutput struct{ *pulumi.OutputState }

func (CxFlowOutput) ElementType added in v5.13.0

func (CxFlowOutput) ElementType() reflect.Type

func (CxFlowOutput) ToCxFlowOutput added in v5.13.0

func (o CxFlowOutput) ToCxFlowOutput() CxFlowOutput

func (CxFlowOutput) ToCxFlowOutputWithContext added in v5.13.0

func (o CxFlowOutput) ToCxFlowOutputWithContext(ctx context.Context) CxFlowOutput

func (CxFlowOutput) ToCxFlowPtrOutput added in v5.13.0

func (o CxFlowOutput) ToCxFlowPtrOutput() CxFlowPtrOutput

func (CxFlowOutput) ToCxFlowPtrOutputWithContext added in v5.13.0

func (o CxFlowOutput) ToCxFlowPtrOutputWithContext(ctx context.Context) CxFlowPtrOutput

type CxFlowPtrInput added in v5.13.0

type CxFlowPtrInput interface {
	pulumi.Input

	ToCxFlowPtrOutput() CxFlowPtrOutput
	ToCxFlowPtrOutputWithContext(ctx context.Context) CxFlowPtrOutput
}

type CxFlowPtrOutput added in v5.13.0

type CxFlowPtrOutput struct{ *pulumi.OutputState }

func (CxFlowPtrOutput) Elem added in v5.21.0

func (o CxFlowPtrOutput) Elem() CxFlowOutput

func (CxFlowPtrOutput) ElementType added in v5.13.0

func (CxFlowPtrOutput) ElementType() reflect.Type

func (CxFlowPtrOutput) ToCxFlowPtrOutput added in v5.13.0

func (o CxFlowPtrOutput) ToCxFlowPtrOutput() CxFlowPtrOutput

func (CxFlowPtrOutput) ToCxFlowPtrOutputWithContext added in v5.13.0

func (o CxFlowPtrOutput) ToCxFlowPtrOutputWithContext(ctx context.Context) CxFlowPtrOutput

type CxFlowState added in v5.13.0

type CxFlowState struct {
	// The description of the flow. The maximum length is 500 characters. If exceeded, the request is rejected.
	Description pulumi.StringPtrInput
	// The human-readable name of the flow.
	DisplayName pulumi.StringPtrInput
	// A flow's event handlers serve two purposes:
	// They are responsible for handling events (e.g. no match, webhook errors) in the flow.
	// They are inherited by every page's [event handlers][Page.event_handlers], which can be used to handle common events regardless of the current page. Event handlers defined in the page have higher priority than those defined in the flow.
	// Unlike transitionRoutes, these handlers are evaluated on a first-match basis. The first one that matches the event get executed, with the rest being ignored.
	// Structure is documented below.
	EventHandlers CxFlowEventHandlerArrayInput
	// The language of the following fields in flow:
	// Flow.event_handlers.trigger_fulfillment.messages
	// Flow.event_handlers.trigger_fulfillment.conditional_cases
	// Flow.transition_routes.trigger_fulfillment.messages
	// Flow.transition_routes.trigger_fulfillment.conditional_cases
	// 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.
	LanguageCode pulumi.StringPtrInput
	// -
	// The unique identifier of this event handler.
	Name pulumi.StringPtrInput
	// NLU related settings of the flow.
	// Structure is documented below.
	NluSettings CxFlowNluSettingsPtrInput
	// The agent to create a flow for.
	// Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.
	Parent pulumi.StringPtrInput
	// A flow's transition route group serve two purposes:
	// They are responsible for matching the user's first utterances in the flow.
	// They are inherited by every page's [transition route groups][Page.transition_route_groups]. Transition route groups defined in the page have higher priority than those defined in the flow.
	// Format:projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/transitionRouteGroups/<TransitionRouteGroup ID>.
	TransitionRouteGroups pulumi.StringArrayInput
	// A flow's transition routes serve two purposes:
	// They are responsible for matching the user's first utterances in the flow.
	// They are inherited by every page's [transition routes][Page.transition_routes] and can support use cases such as the user saying "help" or "can I talk to a human?", which can be handled in a common way regardless of the current page. Transition routes defined in the page have higher priority than those defined in the flow.
	TransitionRoutes CxFlowTransitionRouteArrayInput
}

func (CxFlowState) ElementType added in v5.13.0

func (CxFlowState) ElementType() reflect.Type

type CxFlowTransitionRoute added in v5.13.0

type CxFlowTransitionRoute struct {
	// The condition to evaluate against form parameters or session parameters.
	// At least one of intent or condition must be specified. When both intent and condition are specified, the transition can only happen when both are fulfilled.
	Condition *string `pulumi:"condition"`
	// The unique identifier of an Intent.
	// Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/intents/<Intent ID>. Indicates that the transition can only happen when the given intent is matched. At least one of intent or condition must be specified. When both intent and condition are specified, the transition can only happen when both are fulfilled.
	Intent *string `pulumi:"intent"`
	// -
	// The unique identifier of this event handler.
	Name *string `pulumi:"name"`
	// The target flow to transition to.
	// Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>.
	TargetFlow *string `pulumi:"targetFlow"`
	// The target page to transition to.
	// Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page ID>.
	TargetPage *string `pulumi:"targetPage"`
	// The fulfillment to call when the event occurs. Handling webhook errors with a fulfillment enabled with webhook could cause infinite loop. It is invalid to specify such fulfillment for a handler handling webhooks.
	// Structure is documented below.
	TriggerFulfillment *CxFlowTransitionRouteTriggerFulfillment `pulumi:"triggerFulfillment"`
}

type CxFlowTransitionRouteArgs added in v5.13.0

type CxFlowTransitionRouteArgs struct {
	// The condition to evaluate against form parameters or session parameters.
	// At least one of intent or condition must be specified. When both intent and condition are specified, the transition can only happen when both are fulfilled.
	Condition pulumi.StringPtrInput `pulumi:"condition"`
	// The unique identifier of an Intent.
	// Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/intents/<Intent ID>. Indicates that the transition can only happen when the given intent is matched. At least one of intent or condition must be specified. When both intent and condition are specified, the transition can only happen when both are fulfilled.
	Intent pulumi.StringPtrInput `pulumi:"intent"`
	// -
	// The unique identifier of this event handler.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// The target flow to transition to.
	// Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>.
	TargetFlow pulumi.StringPtrInput `pulumi:"targetFlow"`
	// The target page to transition to.
	// Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page ID>.
	TargetPage pulumi.StringPtrInput `pulumi:"targetPage"`
	// The fulfillment to call when the event occurs. Handling webhook errors with a fulfillment enabled with webhook could cause infinite loop. It is invalid to specify such fulfillment for a handler handling webhooks.
	// Structure is documented below.
	TriggerFulfillment CxFlowTransitionRouteTriggerFulfillmentPtrInput `pulumi:"triggerFulfillment"`
}

func (CxFlowTransitionRouteArgs) ElementType added in v5.13.0

func (CxFlowTransitionRouteArgs) ElementType() reflect.Type

func (CxFlowTransitionRouteArgs) ToCxFlowTransitionRouteOutput added in v5.13.0

func (i CxFlowTransitionRouteArgs) ToCxFlowTransitionRouteOutput() CxFlowTransitionRouteOutput

func (CxFlowTransitionRouteArgs) ToCxFlowTransitionRouteOutputWithContext added in v5.13.0

func (i CxFlowTransitionRouteArgs) ToCxFlowTransitionRouteOutputWithContext(ctx context.Context) CxFlowTransitionRouteOutput

type CxFlowTransitionRouteArray added in v5.13.0

type CxFlowTransitionRouteArray []CxFlowTransitionRouteInput

func (CxFlowTransitionRouteArray) ElementType added in v5.13.0

func (CxFlowTransitionRouteArray) ElementType() reflect.Type

func (CxFlowTransitionRouteArray) ToCxFlowTransitionRouteArrayOutput added in v5.13.0

func (i CxFlowTransitionRouteArray) ToCxFlowTransitionRouteArrayOutput() CxFlowTransitionRouteArrayOutput

func (CxFlowTransitionRouteArray) ToCxFlowTransitionRouteArrayOutputWithContext added in v5.13.0

func (i CxFlowTransitionRouteArray) ToCxFlowTransitionRouteArrayOutputWithContext(ctx context.Context) CxFlowTransitionRouteArrayOutput

type CxFlowTransitionRouteArrayInput added in v5.13.0

type CxFlowTransitionRouteArrayInput interface {
	pulumi.Input

	ToCxFlowTransitionRouteArrayOutput() CxFlowTransitionRouteArrayOutput
	ToCxFlowTransitionRouteArrayOutputWithContext(context.Context) CxFlowTransitionRouteArrayOutput
}

CxFlowTransitionRouteArrayInput is an input type that accepts CxFlowTransitionRouteArray and CxFlowTransitionRouteArrayOutput values. You can construct a concrete instance of `CxFlowTransitionRouteArrayInput` via:

CxFlowTransitionRouteArray{ CxFlowTransitionRouteArgs{...} }

type CxFlowTransitionRouteArrayOutput added in v5.13.0

type CxFlowTransitionRouteArrayOutput struct{ *pulumi.OutputState }

func (CxFlowTransitionRouteArrayOutput) ElementType added in v5.13.0

func (CxFlowTransitionRouteArrayOutput) Index added in v5.13.0

func (CxFlowTransitionRouteArrayOutput) ToCxFlowTransitionRouteArrayOutput added in v5.13.0

func (o CxFlowTransitionRouteArrayOutput) ToCxFlowTransitionRouteArrayOutput() CxFlowTransitionRouteArrayOutput

func (CxFlowTransitionRouteArrayOutput) ToCxFlowTransitionRouteArrayOutputWithContext added in v5.13.0

func (o CxFlowTransitionRouteArrayOutput) ToCxFlowTransitionRouteArrayOutputWithContext(ctx context.Context) CxFlowTransitionRouteArrayOutput

type CxFlowTransitionRouteInput added in v5.13.0

type CxFlowTransitionRouteInput interface {
	pulumi.Input

	ToCxFlowTransitionRouteOutput() CxFlowTransitionRouteOutput
	ToCxFlowTransitionRouteOutputWithContext(context.Context) CxFlowTransitionRouteOutput
}

CxFlowTransitionRouteInput is an input type that accepts CxFlowTransitionRouteArgs and CxFlowTransitionRouteOutput values. You can construct a concrete instance of `CxFlowTransitionRouteInput` via:

CxFlowTransitionRouteArgs{...}

type CxFlowTransitionRouteOutput added in v5.13.0

type CxFlowTransitionRouteOutput struct{ *pulumi.OutputState }

func (CxFlowTransitionRouteOutput) Condition added in v5.13.0

The condition to evaluate against form parameters or session parameters. At least one of intent or condition must be specified. When both intent and condition are specified, the transition can only happen when both are fulfilled.

func (CxFlowTransitionRouteOutput) ElementType added in v5.13.0

func (CxFlowTransitionRouteOutput) Intent added in v5.13.0

The unique identifier of an Intent. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/intents/<Intent ID>. Indicates that the transition can only happen when the given intent is matched. At least one of intent or condition must be specified. When both intent and condition are specified, the transition can only happen when both are fulfilled.

func (CxFlowTransitionRouteOutput) Name added in v5.13.0

- The unique identifier of this event handler.

func (CxFlowTransitionRouteOutput) TargetFlow added in v5.13.0

The target flow to transition to. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>.

func (CxFlowTransitionRouteOutput) TargetPage added in v5.13.0

The target page to transition to. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page ID>.

func (CxFlowTransitionRouteOutput) ToCxFlowTransitionRouteOutput added in v5.13.0

func (o CxFlowTransitionRouteOutput) ToCxFlowTransitionRouteOutput() CxFlowTransitionRouteOutput

func (CxFlowTransitionRouteOutput) ToCxFlowTransitionRouteOutputWithContext added in v5.13.0

func (o CxFlowTransitionRouteOutput) ToCxFlowTransitionRouteOutputWithContext(ctx context.Context) CxFlowTransitionRouteOutput

func (CxFlowTransitionRouteOutput) TriggerFulfillment added in v5.13.0

The fulfillment to call when the event occurs. Handling webhook errors with a fulfillment enabled with webhook could cause infinite loop. It is invalid to specify such fulfillment for a handler handling webhooks. Structure is documented below.

type CxFlowTransitionRouteTriggerFulfillment added in v5.13.0

type CxFlowTransitionRouteTriggerFulfillment struct {
	// The list of rich message responses to present to the user.
	// Structure is documented below.
	Messages []CxFlowTransitionRouteTriggerFulfillmentMessage `pulumi:"messages"`
	// Whether Dialogflow should return currently queued fulfillment response messages in streaming APIs. If a webhook is specified, it happens before Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API. Responses are still queued and returned once in non-streaming API. 2) The flag can be enabled in any fulfillment but only the first 3 partial responses will be returned. You may only want to apply it to fulfillments that have slow webhooks.
	ReturnPartialResponses *bool `pulumi:"returnPartialResponses"`
	// The tag used by the webhook to identify which fulfillment is being called. This field is required if webhook is specified.
	Tag *string `pulumi:"tag"`
	// The webhook to call. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/webhooks/<Webhook ID>.
	Webhook *string `pulumi:"webhook"`
}

type CxFlowTransitionRouteTriggerFulfillmentArgs added in v5.13.0

type CxFlowTransitionRouteTriggerFulfillmentArgs struct {
	// The list of rich message responses to present to the user.
	// Structure is documented below.
	Messages CxFlowTransitionRouteTriggerFulfillmentMessageArrayInput `pulumi:"messages"`
	// Whether Dialogflow should return currently queued fulfillment response messages in streaming APIs. If a webhook is specified, it happens before Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API. Responses are still queued and returned once in non-streaming API. 2) The flag can be enabled in any fulfillment but only the first 3 partial responses will be returned. You may only want to apply it to fulfillments that have slow webhooks.
	ReturnPartialResponses pulumi.BoolPtrInput `pulumi:"returnPartialResponses"`
	// The tag used by the webhook to identify which fulfillment is being called. This field is required if webhook is specified.
	Tag pulumi.StringPtrInput `pulumi:"tag"`
	// The webhook to call. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/webhooks/<Webhook ID>.
	Webhook pulumi.StringPtrInput `pulumi:"webhook"`
}

func (CxFlowTransitionRouteTriggerFulfillmentArgs) ElementType added in v5.13.0

func (CxFlowTransitionRouteTriggerFulfillmentArgs) ToCxFlowTransitionRouteTriggerFulfillmentOutput added in v5.13.0

func (i CxFlowTransitionRouteTriggerFulfillmentArgs) ToCxFlowTransitionRouteTriggerFulfillmentOutput() CxFlowTransitionRouteTriggerFulfillmentOutput

func (CxFlowTransitionRouteTriggerFulfillmentArgs) ToCxFlowTransitionRouteTriggerFulfillmentOutputWithContext added in v5.13.0

func (i CxFlowTransitionRouteTriggerFulfillmentArgs) ToCxFlowTransitionRouteTriggerFulfillmentOutputWithContext(ctx context.Context) CxFlowTransitionRouteTriggerFulfillmentOutput

func (CxFlowTransitionRouteTriggerFulfillmentArgs) ToCxFlowTransitionRouteTriggerFulfillmentPtrOutput added in v5.13.0

func (i CxFlowTransitionRouteTriggerFulfillmentArgs) ToCxFlowTransitionRouteTriggerFulfillmentPtrOutput() CxFlowTransitionRouteTriggerFulfillmentPtrOutput

func (CxFlowTransitionRouteTriggerFulfillmentArgs) ToCxFlowTransitionRouteTriggerFulfillmentPtrOutputWithContext added in v5.13.0

func (i CxFlowTransitionRouteTriggerFulfillmentArgs) ToCxFlowTransitionRouteTriggerFulfillmentPtrOutputWithContext(ctx context.Context) CxFlowTransitionRouteTriggerFulfillmentPtrOutput

type CxFlowTransitionRouteTriggerFulfillmentInput added in v5.13.0

type CxFlowTransitionRouteTriggerFulfillmentInput interface {
	pulumi.Input

	ToCxFlowTransitionRouteTriggerFulfillmentOutput() CxFlowTransitionRouteTriggerFulfillmentOutput
	ToCxFlowTransitionRouteTriggerFulfillmentOutputWithContext(context.Context) CxFlowTransitionRouteTriggerFulfillmentOutput
}

CxFlowTransitionRouteTriggerFulfillmentInput is an input type that accepts CxFlowTransitionRouteTriggerFulfillmentArgs and CxFlowTransitionRouteTriggerFulfillmentOutput values. You can construct a concrete instance of `CxFlowTransitionRouteTriggerFulfillmentInput` via:

CxFlowTransitionRouteTriggerFulfillmentArgs{...}

type CxFlowTransitionRouteTriggerFulfillmentMessage added in v5.13.0

type CxFlowTransitionRouteTriggerFulfillmentMessage struct {
	// A collection of text responses.
	Text *CxFlowTransitionRouteTriggerFulfillmentMessageText `pulumi:"text"`
}

type CxFlowTransitionRouteTriggerFulfillmentMessageArgs added in v5.13.0

type CxFlowTransitionRouteTriggerFulfillmentMessageArgs struct {
	// A collection of text responses.
	Text CxFlowTransitionRouteTriggerFulfillmentMessageTextPtrInput `pulumi:"text"`
}

func (CxFlowTransitionRouteTriggerFulfillmentMessageArgs) ElementType added in v5.13.0

func (CxFlowTransitionRouteTriggerFulfillmentMessageArgs) ToCxFlowTransitionRouteTriggerFulfillmentMessageOutput added in v5.13.0

func (i CxFlowTransitionRouteTriggerFulfillmentMessageArgs) ToCxFlowTransitionRouteTriggerFulfillmentMessageOutput() CxFlowTransitionRouteTriggerFulfillmentMessageOutput

func (CxFlowTransitionRouteTriggerFulfillmentMessageArgs) ToCxFlowTransitionRouteTriggerFulfillmentMessageOutputWithContext added in v5.13.0

func (i CxFlowTransitionRouteTriggerFulfillmentMessageArgs) ToCxFlowTransitionRouteTriggerFulfillmentMessageOutputWithContext(ctx context.Context) CxFlowTransitionRouteTriggerFulfillmentMessageOutput

type CxFlowTransitionRouteTriggerFulfillmentMessageArray added in v5.13.0

type CxFlowTransitionRouteTriggerFulfillmentMessageArray []CxFlowTransitionRouteTriggerFulfillmentMessageInput

func (CxFlowTransitionRouteTriggerFulfillmentMessageArray) ElementType added in v5.13.0

func (CxFlowTransitionRouteTriggerFulfillmentMessageArray) ToCxFlowTransitionRouteTriggerFulfillmentMessageArrayOutput added in v5.13.0

func (i CxFlowTransitionRouteTriggerFulfillmentMessageArray) ToCxFlowTransitionRouteTriggerFulfillmentMessageArrayOutput() CxFlowTransitionRouteTriggerFulfillmentMessageArrayOutput

func (CxFlowTransitionRouteTriggerFulfillmentMessageArray) ToCxFlowTransitionRouteTriggerFulfillmentMessageArrayOutputWithContext added in v5.13.0

func (i CxFlowTransitionRouteTriggerFulfillmentMessageArray) ToCxFlowTransitionRouteTriggerFulfillmentMessageArrayOutputWithContext(ctx context.Context) CxFlowTransitionRouteTriggerFulfillmentMessageArrayOutput

type CxFlowTransitionRouteTriggerFulfillmentMessageArrayInput added in v5.13.0

type CxFlowTransitionRouteTriggerFulfillmentMessageArrayInput interface {
	pulumi.Input

	ToCxFlowTransitionRouteTriggerFulfillmentMessageArrayOutput() CxFlowTransitionRouteTriggerFulfillmentMessageArrayOutput
	ToCxFlowTransitionRouteTriggerFulfillmentMessageArrayOutputWithContext(context.Context) CxFlowTransitionRouteTriggerFulfillmentMessageArrayOutput
}

CxFlowTransitionRouteTriggerFulfillmentMessageArrayInput is an input type that accepts CxFlowTransitionRouteTriggerFulfillmentMessageArray and CxFlowTransitionRouteTriggerFulfillmentMessageArrayOutput values. You can construct a concrete instance of `CxFlowTransitionRouteTriggerFulfillmentMessageArrayInput` via:

CxFlowTransitionRouteTriggerFulfillmentMessageArray{ CxFlowTransitionRouteTriggerFulfillmentMessageArgs{...} }

type CxFlowTransitionRouteTriggerFulfillmentMessageArrayOutput added in v5.13.0

type CxFlowTransitionRouteTriggerFulfillmentMessageArrayOutput struct{ *pulumi.OutputState }

func (CxFlowTransitionRouteTriggerFulfillmentMessageArrayOutput) ElementType added in v5.13.0

func (CxFlowTransitionRouteTriggerFulfillmentMessageArrayOutput) Index added in v5.13.0

func (CxFlowTransitionRouteTriggerFulfillmentMessageArrayOutput) ToCxFlowTransitionRouteTriggerFulfillmentMessageArrayOutput added in v5.13.0

func (CxFlowTransitionRouteTriggerFulfillmentMessageArrayOutput) ToCxFlowTransitionRouteTriggerFulfillmentMessageArrayOutputWithContext added in v5.13.0

func (o CxFlowTransitionRouteTriggerFulfillmentMessageArrayOutput) ToCxFlowTransitionRouteTriggerFulfillmentMessageArrayOutputWithContext(ctx context.Context) CxFlowTransitionRouteTriggerFulfillmentMessageArrayOutput

type CxFlowTransitionRouteTriggerFulfillmentMessageInput added in v5.13.0

type CxFlowTransitionRouteTriggerFulfillmentMessageInput interface {
	pulumi.Input

	ToCxFlowTransitionRouteTriggerFulfillmentMessageOutput() CxFlowTransitionRouteTriggerFulfillmentMessageOutput
	ToCxFlowTransitionRouteTriggerFulfillmentMessageOutputWithContext(context.Context) CxFlowTransitionRouteTriggerFulfillmentMessageOutput
}

CxFlowTransitionRouteTriggerFulfillmentMessageInput is an input type that accepts CxFlowTransitionRouteTriggerFulfillmentMessageArgs and CxFlowTransitionRouteTriggerFulfillmentMessageOutput values. You can construct a concrete instance of `CxFlowTransitionRouteTriggerFulfillmentMessageInput` via:

CxFlowTransitionRouteTriggerFulfillmentMessageArgs{...}

type CxFlowTransitionRouteTriggerFulfillmentMessageOutput added in v5.13.0

type CxFlowTransitionRouteTriggerFulfillmentMessageOutput struct{ *pulumi.OutputState }

func (CxFlowTransitionRouteTriggerFulfillmentMessageOutput) ElementType added in v5.13.0

func (CxFlowTransitionRouteTriggerFulfillmentMessageOutput) Text added in v5.13.0

A collection of text responses.

func (CxFlowTransitionRouteTriggerFulfillmentMessageOutput) ToCxFlowTransitionRouteTriggerFulfillmentMessageOutput added in v5.13.0

func (CxFlowTransitionRouteTriggerFulfillmentMessageOutput) ToCxFlowTransitionRouteTriggerFulfillmentMessageOutputWithContext added in v5.13.0

func (o CxFlowTransitionRouteTriggerFulfillmentMessageOutput) ToCxFlowTransitionRouteTriggerFulfillmentMessageOutputWithContext(ctx context.Context) CxFlowTransitionRouteTriggerFulfillmentMessageOutput

type CxFlowTransitionRouteTriggerFulfillmentMessageText added in v5.13.0

type CxFlowTransitionRouteTriggerFulfillmentMessageText struct {
	// -
	// Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.
	AllowPlaybackInterruption *bool `pulumi:"allowPlaybackInterruption"`
	// A collection of text responses.
	Texts []string `pulumi:"texts"`
}

type CxFlowTransitionRouteTriggerFulfillmentMessageTextArgs added in v5.13.0

type CxFlowTransitionRouteTriggerFulfillmentMessageTextArgs struct {
	// -
	// Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.
	AllowPlaybackInterruption pulumi.BoolPtrInput `pulumi:"allowPlaybackInterruption"`
	// A collection of text responses.
	Texts pulumi.StringArrayInput `pulumi:"texts"`
}

func (CxFlowTransitionRouteTriggerFulfillmentMessageTextArgs) ElementType added in v5.13.0

func (CxFlowTransitionRouteTriggerFulfillmentMessageTextArgs) ToCxFlowTransitionRouteTriggerFulfillmentMessageTextOutput added in v5.13.0

func (CxFlowTransitionRouteTriggerFulfillmentMessageTextArgs) ToCxFlowTransitionRouteTriggerFulfillmentMessageTextOutputWithContext added in v5.13.0

func (i CxFlowTransitionRouteTriggerFulfillmentMessageTextArgs) ToCxFlowTransitionRouteTriggerFulfillmentMessageTextOutputWithContext(ctx context.Context) CxFlowTransitionRouteTriggerFulfillmentMessageTextOutput

func (CxFlowTransitionRouteTriggerFulfillmentMessageTextArgs) ToCxFlowTransitionRouteTriggerFulfillmentMessageTextPtrOutput added in v5.13.0

func (i CxFlowTransitionRouteTriggerFulfillmentMessageTextArgs) ToCxFlowTransitionRouteTriggerFulfillmentMessageTextPtrOutput() CxFlowTransitionRouteTriggerFulfillmentMessageTextPtrOutput

func (CxFlowTransitionRouteTriggerFulfillmentMessageTextArgs) ToCxFlowTransitionRouteTriggerFulfillmentMessageTextPtrOutputWithContext added in v5.13.0

func (i CxFlowTransitionRouteTriggerFulfillmentMessageTextArgs) ToCxFlowTransitionRouteTriggerFulfillmentMessageTextPtrOutputWithContext(ctx context.Context) CxFlowTransitionRouteTriggerFulfillmentMessageTextPtrOutput

type CxFlowTransitionRouteTriggerFulfillmentMessageTextInput added in v5.13.0

type CxFlowTransitionRouteTriggerFulfillmentMessageTextInput interface {
	pulumi.Input

	ToCxFlowTransitionRouteTriggerFulfillmentMessageTextOutput() CxFlowTransitionRouteTriggerFulfillmentMessageTextOutput
	ToCxFlowTransitionRouteTriggerFulfillmentMessageTextOutputWithContext(context.Context) CxFlowTransitionRouteTriggerFulfillmentMessageTextOutput
}

CxFlowTransitionRouteTriggerFulfillmentMessageTextInput is an input type that accepts CxFlowTransitionRouteTriggerFulfillmentMessageTextArgs and CxFlowTransitionRouteTriggerFulfillmentMessageTextOutput values. You can construct a concrete instance of `CxFlowTransitionRouteTriggerFulfillmentMessageTextInput` via:

CxFlowTransitionRouteTriggerFulfillmentMessageTextArgs{...}

type CxFlowTransitionRouteTriggerFulfillmentMessageTextOutput added in v5.13.0

type CxFlowTransitionRouteTriggerFulfillmentMessageTextOutput struct{ *pulumi.OutputState }

func (CxFlowTransitionRouteTriggerFulfillmentMessageTextOutput) AllowPlaybackInterruption added in v5.13.0

- Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.

func (CxFlowTransitionRouteTriggerFulfillmentMessageTextOutput) ElementType added in v5.13.0

func (CxFlowTransitionRouteTriggerFulfillmentMessageTextOutput) Texts added in v5.13.0

A collection of text responses.

func (CxFlowTransitionRouteTriggerFulfillmentMessageTextOutput) ToCxFlowTransitionRouteTriggerFulfillmentMessageTextOutput added in v5.13.0

func (CxFlowTransitionRouteTriggerFulfillmentMessageTextOutput) ToCxFlowTransitionRouteTriggerFulfillmentMessageTextOutputWithContext added in v5.13.0

func (o CxFlowTransitionRouteTriggerFulfillmentMessageTextOutput) ToCxFlowTransitionRouteTriggerFulfillmentMessageTextOutputWithContext(ctx context.Context) CxFlowTransitionRouteTriggerFulfillmentMessageTextOutput

func (CxFlowTransitionRouteTriggerFulfillmentMessageTextOutput) ToCxFlowTransitionRouteTriggerFulfillmentMessageTextPtrOutput added in v5.13.0

func (CxFlowTransitionRouteTriggerFulfillmentMessageTextOutput) ToCxFlowTransitionRouteTriggerFulfillmentMessageTextPtrOutputWithContext added in v5.13.0

func (o CxFlowTransitionRouteTriggerFulfillmentMessageTextOutput) ToCxFlowTransitionRouteTriggerFulfillmentMessageTextPtrOutputWithContext(ctx context.Context) CxFlowTransitionRouteTriggerFulfillmentMessageTextPtrOutput

type CxFlowTransitionRouteTriggerFulfillmentMessageTextPtrInput added in v5.13.0

type CxFlowTransitionRouteTriggerFulfillmentMessageTextPtrInput interface {
	pulumi.Input

	ToCxFlowTransitionRouteTriggerFulfillmentMessageTextPtrOutput() CxFlowTransitionRouteTriggerFulfillmentMessageTextPtrOutput
	ToCxFlowTransitionRouteTriggerFulfillmentMessageTextPtrOutputWithContext(context.Context) CxFlowTransitionRouteTriggerFulfillmentMessageTextPtrOutput
}

CxFlowTransitionRouteTriggerFulfillmentMessageTextPtrInput is an input type that accepts CxFlowTransitionRouteTriggerFulfillmentMessageTextArgs, CxFlowTransitionRouteTriggerFulfillmentMessageTextPtr and CxFlowTransitionRouteTriggerFulfillmentMessageTextPtrOutput values. You can construct a concrete instance of `CxFlowTransitionRouteTriggerFulfillmentMessageTextPtrInput` via:

        CxFlowTransitionRouteTriggerFulfillmentMessageTextArgs{...}

or:

        nil

type CxFlowTransitionRouteTriggerFulfillmentMessageTextPtrOutput added in v5.13.0

type CxFlowTransitionRouteTriggerFulfillmentMessageTextPtrOutput struct{ *pulumi.OutputState }

func (CxFlowTransitionRouteTriggerFulfillmentMessageTextPtrOutput) AllowPlaybackInterruption added in v5.13.0

- Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.

func (CxFlowTransitionRouteTriggerFulfillmentMessageTextPtrOutput) Elem added in v5.13.0

func (CxFlowTransitionRouteTriggerFulfillmentMessageTextPtrOutput) ElementType added in v5.13.0

func (CxFlowTransitionRouteTriggerFulfillmentMessageTextPtrOutput) Texts added in v5.13.0

A collection of text responses.

func (CxFlowTransitionRouteTriggerFulfillmentMessageTextPtrOutput) ToCxFlowTransitionRouteTriggerFulfillmentMessageTextPtrOutput added in v5.13.0

func (CxFlowTransitionRouteTriggerFulfillmentMessageTextPtrOutput) ToCxFlowTransitionRouteTriggerFulfillmentMessageTextPtrOutputWithContext added in v5.13.0

func (o CxFlowTransitionRouteTriggerFulfillmentMessageTextPtrOutput) ToCxFlowTransitionRouteTriggerFulfillmentMessageTextPtrOutputWithContext(ctx context.Context) CxFlowTransitionRouteTriggerFulfillmentMessageTextPtrOutput

type CxFlowTransitionRouteTriggerFulfillmentOutput added in v5.13.0

type CxFlowTransitionRouteTriggerFulfillmentOutput struct{ *pulumi.OutputState }

func (CxFlowTransitionRouteTriggerFulfillmentOutput) ElementType added in v5.13.0

func (CxFlowTransitionRouteTriggerFulfillmentOutput) Messages added in v5.13.0

The list of rich message responses to present to the user. Structure is documented below.

func (CxFlowTransitionRouteTriggerFulfillmentOutput) ReturnPartialResponses added in v5.13.0

Whether Dialogflow should return currently queued fulfillment response messages in streaming APIs. If a webhook is specified, it happens before Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API. Responses are still queued and returned once in non-streaming API. 2) The flag can be enabled in any fulfillment but only the first 3 partial responses will be returned. You may only want to apply it to fulfillments that have slow webhooks.

func (CxFlowTransitionRouteTriggerFulfillmentOutput) Tag added in v5.13.0

The tag used by the webhook to identify which fulfillment is being called. This field is required if webhook is specified.

func (CxFlowTransitionRouteTriggerFulfillmentOutput) ToCxFlowTransitionRouteTriggerFulfillmentOutput added in v5.13.0

func (o CxFlowTransitionRouteTriggerFulfillmentOutput) ToCxFlowTransitionRouteTriggerFulfillmentOutput() CxFlowTransitionRouteTriggerFulfillmentOutput

func (CxFlowTransitionRouteTriggerFulfillmentOutput) ToCxFlowTransitionRouteTriggerFulfillmentOutputWithContext added in v5.13.0

func (o CxFlowTransitionRouteTriggerFulfillmentOutput) ToCxFlowTransitionRouteTriggerFulfillmentOutputWithContext(ctx context.Context) CxFlowTransitionRouteTriggerFulfillmentOutput

func (CxFlowTransitionRouteTriggerFulfillmentOutput) ToCxFlowTransitionRouteTriggerFulfillmentPtrOutput added in v5.13.0

func (o CxFlowTransitionRouteTriggerFulfillmentOutput) ToCxFlowTransitionRouteTriggerFulfillmentPtrOutput() CxFlowTransitionRouteTriggerFulfillmentPtrOutput

func (CxFlowTransitionRouteTriggerFulfillmentOutput) ToCxFlowTransitionRouteTriggerFulfillmentPtrOutputWithContext added in v5.13.0

func (o CxFlowTransitionRouteTriggerFulfillmentOutput) ToCxFlowTransitionRouteTriggerFulfillmentPtrOutputWithContext(ctx context.Context) CxFlowTransitionRouteTriggerFulfillmentPtrOutput

func (CxFlowTransitionRouteTriggerFulfillmentOutput) Webhook added in v5.13.0

The webhook to call. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/webhooks/<Webhook ID>.

type CxFlowTransitionRouteTriggerFulfillmentPtrInput added in v5.13.0

type CxFlowTransitionRouteTriggerFulfillmentPtrInput interface {
	pulumi.Input

	ToCxFlowTransitionRouteTriggerFulfillmentPtrOutput() CxFlowTransitionRouteTriggerFulfillmentPtrOutput
	ToCxFlowTransitionRouteTriggerFulfillmentPtrOutputWithContext(context.Context) CxFlowTransitionRouteTriggerFulfillmentPtrOutput
}

CxFlowTransitionRouteTriggerFulfillmentPtrInput is an input type that accepts CxFlowTransitionRouteTriggerFulfillmentArgs, CxFlowTransitionRouteTriggerFulfillmentPtr and CxFlowTransitionRouteTriggerFulfillmentPtrOutput values. You can construct a concrete instance of `CxFlowTransitionRouteTriggerFulfillmentPtrInput` via:

        CxFlowTransitionRouteTriggerFulfillmentArgs{...}

or:

        nil

type CxFlowTransitionRouteTriggerFulfillmentPtrOutput added in v5.13.0

type CxFlowTransitionRouteTriggerFulfillmentPtrOutput struct{ *pulumi.OutputState }

func (CxFlowTransitionRouteTriggerFulfillmentPtrOutput) Elem added in v5.13.0

func (CxFlowTransitionRouteTriggerFulfillmentPtrOutput) ElementType added in v5.13.0

func (CxFlowTransitionRouteTriggerFulfillmentPtrOutput) Messages added in v5.13.0

The list of rich message responses to present to the user. Structure is documented below.

func (CxFlowTransitionRouteTriggerFulfillmentPtrOutput) ReturnPartialResponses added in v5.13.0

Whether Dialogflow should return currently queued fulfillment response messages in streaming APIs. If a webhook is specified, it happens before Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API. Responses are still queued and returned once in non-streaming API. 2) The flag can be enabled in any fulfillment but only the first 3 partial responses will be returned. You may only want to apply it to fulfillments that have slow webhooks.

func (CxFlowTransitionRouteTriggerFulfillmentPtrOutput) Tag added in v5.13.0

The tag used by the webhook to identify which fulfillment is being called. This field is required if webhook is specified.

func (CxFlowTransitionRouteTriggerFulfillmentPtrOutput) ToCxFlowTransitionRouteTriggerFulfillmentPtrOutput added in v5.13.0

func (o CxFlowTransitionRouteTriggerFulfillmentPtrOutput) ToCxFlowTransitionRouteTriggerFulfillmentPtrOutput() CxFlowTransitionRouteTriggerFulfillmentPtrOutput

func (CxFlowTransitionRouteTriggerFulfillmentPtrOutput) ToCxFlowTransitionRouteTriggerFulfillmentPtrOutputWithContext added in v5.13.0

func (o CxFlowTransitionRouteTriggerFulfillmentPtrOutput) ToCxFlowTransitionRouteTriggerFulfillmentPtrOutputWithContext(ctx context.Context) CxFlowTransitionRouteTriggerFulfillmentPtrOutput

func (CxFlowTransitionRouteTriggerFulfillmentPtrOutput) Webhook added in v5.13.0

The webhook to call. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/webhooks/<Webhook ID>.

type CxIntent added in v5.13.0

type CxIntent struct {
	pulumi.CustomResourceState

	// Human readable description for better understanding an intent like its scope, content, result etc. Maximum character limit: 140 characters.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The human-readable name of the intent, unique within the agent.
	DisplayName pulumi.StringOutput `pulumi:"displayName"`
	// 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.
	IsFallback pulumi.BoolPtrOutput `pulumi:"isFallback"`
	// 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.
	// An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
	Labels pulumi.StringMapOutput `pulumi:"labels"`
	// 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.
	LanguageCode pulumi.StringPtrOutput `pulumi:"languageCode"`
	// The unique identifier of the intent. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
	// ID>/intents/<Intent ID>.
	Name pulumi.StringOutput `pulumi:"name"`
	// The collection of parameters associated with the intent.
	// Structure is documented below.
	Parameters CxIntentParameterArrayOutput `pulumi:"parameters"`
	// The agent to create an intent for.
	// Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.
	Parent pulumi.StringPtrOutput `pulumi:"parent"`
	// 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.
	Priority pulumi.IntPtrOutput `pulumi:"priority"`
	// The collection of training phrases the agent is trained on to identify the intent.
	// Structure is documented below.
	TrainingPhrases CxIntentTrainingPhraseArrayOutput `pulumi:"trainingPhrases"`
}

An intent represents a user's intent to interact with a conversational agent.

To get more information about Intent, see:

* [API documentation](https://cloud.google.com/dialogflow/cx/docs/reference/rest/v3/projects.locations.agents.intents) * How-to Guides

## Example Usage ### Dialogflowcx Intent Full

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v5/go/gcp/diagflow"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		agent, err := diagflow.NewCxAgent(ctx, "agent", &diagflow.CxAgentArgs{
			DisplayName:         pulumi.String("dialogflowcx-agent"),
			Location:            pulumi.String("global"),
			DefaultLanguageCode: pulumi.String("en"),
			SupportedLanguageCodes: pulumi.StringArray{
				pulumi.String("fr"),
				pulumi.String("de"),
				pulumi.String("es"),
			},
			TimeZone:                 pulumi.String("America/New_York"),
			Description:              pulumi.String("Example description."),
			AvatarUri:                pulumi.String("https://cloud.google.com/_static/images/cloud/icons/favicons/onecloud/super_cloud.png"),
			EnableStackdriverLogging: pulumi.Bool(true),
			EnableSpellCorrection:    pulumi.Bool(true),
			SpeechToTextSettings: &diagflow.CxAgentSpeechToTextSettingsArgs{
				EnableSpeechAdaptation: pulumi.Bool(true),
			},
		})
		if err != nil {
			return err
		}
		_, err = diagflow.NewCxIntent(ctx, "basicIntent", &diagflow.CxIntentArgs{
			Parent:      agent.ID(),
			DisplayName: pulumi.String("Example"),
			Priority:    pulumi.Int(1),
			Description: pulumi.String("Intent example"),
			TrainingPhrases: diagflow.CxIntentTrainingPhraseArray{
				&diagflow.CxIntentTrainingPhraseArgs{
					Parts: diagflow.CxIntentTrainingPhrasePartArray{
						&diagflow.CxIntentTrainingPhrasePartArgs{
							Text: pulumi.String("training"),
						},
						&diagflow.CxIntentTrainingPhrasePartArgs{
							Text: pulumi.String("phrase"),
						},
						&diagflow.CxIntentTrainingPhrasePartArgs{
							Text: pulumi.String("example"),
						},
					},
					RepeatCount: pulumi.Int(1),
				},
			},
			Parameters: diagflow.CxIntentParameterArray{
				&diagflow.CxIntentParameterArgs{
					Id:         pulumi.String("param1"),
					EntityType: pulumi.String("projects/-/locations/-/agents/-/entityTypes/sys.date"),
				},
			},
			Labels: pulumi.StringMap{
				"label1": pulumi.String("value1"),
				"label2": pulumi.String("value2"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Intent can be imported using any of these accepted formats

```sh

$ pulumi import gcp:diagflow/cxIntent:CxIntent default {{parent}}/intents/{{name}}

```

```sh

$ pulumi import gcp:diagflow/cxIntent:CxIntent default {{parent}}/{{name}}

```

func GetCxIntent added in v5.13.0

func GetCxIntent(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CxIntentState, opts ...pulumi.ResourceOption) (*CxIntent, error)

GetCxIntent gets an existing CxIntent resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewCxIntent added in v5.13.0

func NewCxIntent(ctx *pulumi.Context,
	name string, args *CxIntentArgs, opts ...pulumi.ResourceOption) (*CxIntent, error)

NewCxIntent registers a new resource with the given unique name, arguments, and options.

func (*CxIntent) ElementType added in v5.13.0

func (*CxIntent) ElementType() reflect.Type

func (*CxIntent) ToCxIntentOutput added in v5.13.0

func (i *CxIntent) ToCxIntentOutput() CxIntentOutput

func (*CxIntent) ToCxIntentOutputWithContext added in v5.13.0

func (i *CxIntent) ToCxIntentOutputWithContext(ctx context.Context) CxIntentOutput

func (*CxIntent) ToCxIntentPtrOutput added in v5.13.0

func (i *CxIntent) ToCxIntentPtrOutput() CxIntentPtrOutput

func (*CxIntent) ToCxIntentPtrOutputWithContext added in v5.13.0

func (i *CxIntent) ToCxIntentPtrOutputWithContext(ctx context.Context) CxIntentPtrOutput

type CxIntentArgs added in v5.13.0

type CxIntentArgs struct {
	// Human readable description for better understanding an intent like its scope, content, result etc. Maximum character limit: 140 characters.
	Description pulumi.StringPtrInput
	// The human-readable name of the intent, unique within the agent.
	DisplayName pulumi.StringInput
	// 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.
	IsFallback pulumi.BoolPtrInput
	// 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.
	// An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
	Labels pulumi.StringMapInput
	// 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.
	LanguageCode pulumi.StringPtrInput
	// The collection of parameters associated with the intent.
	// Structure is documented below.
	Parameters CxIntentParameterArrayInput
	// The agent to create an intent for.
	// Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.
	Parent pulumi.StringPtrInput
	// 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.
	Priority pulumi.IntPtrInput
	// The collection of training phrases the agent is trained on to identify the intent.
	// Structure is documented below.
	TrainingPhrases CxIntentTrainingPhraseArrayInput
}

The set of arguments for constructing a CxIntent resource.

func (CxIntentArgs) ElementType added in v5.13.0

func (CxIntentArgs) ElementType() reflect.Type

type CxIntentArray added in v5.13.0

type CxIntentArray []CxIntentInput

func (CxIntentArray) ElementType added in v5.13.0

func (CxIntentArray) ElementType() reflect.Type

func (CxIntentArray) ToCxIntentArrayOutput added in v5.13.0

func (i CxIntentArray) ToCxIntentArrayOutput() CxIntentArrayOutput

func (CxIntentArray) ToCxIntentArrayOutputWithContext added in v5.13.0

func (i CxIntentArray) ToCxIntentArrayOutputWithContext(ctx context.Context) CxIntentArrayOutput

type CxIntentArrayInput added in v5.13.0

type CxIntentArrayInput interface {
	pulumi.Input

	ToCxIntentArrayOutput() CxIntentArrayOutput
	ToCxIntentArrayOutputWithContext(context.Context) CxIntentArrayOutput
}

CxIntentArrayInput is an input type that accepts CxIntentArray and CxIntentArrayOutput values. You can construct a concrete instance of `CxIntentArrayInput` via:

CxIntentArray{ CxIntentArgs{...} }

type CxIntentArrayOutput added in v5.13.0

type CxIntentArrayOutput struct{ *pulumi.OutputState }

func (CxIntentArrayOutput) ElementType added in v5.13.0

func (CxIntentArrayOutput) ElementType() reflect.Type

func (CxIntentArrayOutput) Index added in v5.13.0

func (CxIntentArrayOutput) ToCxIntentArrayOutput added in v5.13.0

func (o CxIntentArrayOutput) ToCxIntentArrayOutput() CxIntentArrayOutput

func (CxIntentArrayOutput) ToCxIntentArrayOutputWithContext added in v5.13.0

func (o CxIntentArrayOutput) ToCxIntentArrayOutputWithContext(ctx context.Context) CxIntentArrayOutput

type CxIntentInput added in v5.13.0

type CxIntentInput interface {
	pulumi.Input

	ToCxIntentOutput() CxIntentOutput
	ToCxIntentOutputWithContext(ctx context.Context) CxIntentOutput
}

type CxIntentMap added in v5.13.0

type CxIntentMap map[string]CxIntentInput

func (CxIntentMap) ElementType added in v5.13.0

func (CxIntentMap) ElementType() reflect.Type

func (CxIntentMap) ToCxIntentMapOutput added in v5.13.0

func (i CxIntentMap) ToCxIntentMapOutput() CxIntentMapOutput

func (CxIntentMap) ToCxIntentMapOutputWithContext added in v5.13.0

func (i CxIntentMap) ToCxIntentMapOutputWithContext(ctx context.Context) CxIntentMapOutput

type CxIntentMapInput added in v5.13.0

type CxIntentMapInput interface {
	pulumi.Input

	ToCxIntentMapOutput() CxIntentMapOutput
	ToCxIntentMapOutputWithContext(context.Context) CxIntentMapOutput
}

CxIntentMapInput is an input type that accepts CxIntentMap and CxIntentMapOutput values. You can construct a concrete instance of `CxIntentMapInput` via:

CxIntentMap{ "key": CxIntentArgs{...} }

type CxIntentMapOutput added in v5.13.0

type CxIntentMapOutput struct{ *pulumi.OutputState }

func (CxIntentMapOutput) ElementType added in v5.13.0

func (CxIntentMapOutput) ElementType() reflect.Type

func (CxIntentMapOutput) MapIndex added in v5.13.0

func (CxIntentMapOutput) ToCxIntentMapOutput added in v5.13.0

func (o CxIntentMapOutput) ToCxIntentMapOutput() CxIntentMapOutput

func (CxIntentMapOutput) ToCxIntentMapOutputWithContext added in v5.13.0

func (o CxIntentMapOutput) ToCxIntentMapOutputWithContext(ctx context.Context) CxIntentMapOutput

type CxIntentOutput added in v5.13.0

type CxIntentOutput struct{ *pulumi.OutputState }

func (CxIntentOutput) ElementType added in v5.13.0

func (CxIntentOutput) ElementType() reflect.Type

func (CxIntentOutput) ToCxIntentOutput added in v5.13.0

func (o CxIntentOutput) ToCxIntentOutput() CxIntentOutput

func (CxIntentOutput) ToCxIntentOutputWithContext added in v5.13.0

func (o CxIntentOutput) ToCxIntentOutputWithContext(ctx context.Context) CxIntentOutput

func (CxIntentOutput) ToCxIntentPtrOutput added in v5.13.0

func (o CxIntentOutput) ToCxIntentPtrOutput() CxIntentPtrOutput

func (CxIntentOutput) ToCxIntentPtrOutputWithContext added in v5.13.0

func (o CxIntentOutput) ToCxIntentPtrOutputWithContext(ctx context.Context) CxIntentPtrOutput

type CxIntentParameter added in v5.13.0

type CxIntentParameter struct {
	// The entity type of the parameter.
	// Format: projects/-/locations/-/agents/-/entityTypes/<System Entity Type ID> for system entity types (for example, projects/-/locations/-/agents/-/entityTypes/sys.date), or projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/entityTypes/<Entity Type ID> for developer entity types.
	EntityType string `pulumi:"entityType"`
	// The unique identifier of the parameter. This field is used by training phrases to annotate their parts.
	Id string `pulumi:"id"`
	// Indicates whether the parameter represents a list of values.
	IsList *bool `pulumi:"isList"`
	// 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.
	Redact *bool `pulumi:"redact"`
}

type CxIntentParameterArgs added in v5.13.0

type CxIntentParameterArgs struct {
	// The entity type of the parameter.
	// Format: projects/-/locations/-/agents/-/entityTypes/<System Entity Type ID> for system entity types (for example, projects/-/locations/-/agents/-/entityTypes/sys.date), or projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/entityTypes/<Entity Type ID> for developer entity types.
	EntityType pulumi.StringInput `pulumi:"entityType"`
	// The unique identifier of the parameter. This field is used by training phrases to annotate their parts.
	Id pulumi.StringInput `pulumi:"id"`
	// Indicates whether the parameter represents a list of values.
	IsList pulumi.BoolPtrInput `pulumi:"isList"`
	// 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.
	Redact pulumi.BoolPtrInput `pulumi:"redact"`
}

func (CxIntentParameterArgs) ElementType added in v5.13.0

func (CxIntentParameterArgs) ElementType() reflect.Type

func (CxIntentParameterArgs) ToCxIntentParameterOutput added in v5.13.0

func (i CxIntentParameterArgs) ToCxIntentParameterOutput() CxIntentParameterOutput

func (CxIntentParameterArgs) ToCxIntentParameterOutputWithContext added in v5.13.0

func (i CxIntentParameterArgs) ToCxIntentParameterOutputWithContext(ctx context.Context) CxIntentParameterOutput

type CxIntentParameterArray added in v5.13.0

type CxIntentParameterArray []CxIntentParameterInput

func (CxIntentParameterArray) ElementType added in v5.13.0

func (CxIntentParameterArray) ElementType() reflect.Type

func (CxIntentParameterArray) ToCxIntentParameterArrayOutput added in v5.13.0

func (i CxIntentParameterArray) ToCxIntentParameterArrayOutput() CxIntentParameterArrayOutput

func (CxIntentParameterArray) ToCxIntentParameterArrayOutputWithContext added in v5.13.0

func (i CxIntentParameterArray) ToCxIntentParameterArrayOutputWithContext(ctx context.Context) CxIntentParameterArrayOutput

type CxIntentParameterArrayInput added in v5.13.0

type CxIntentParameterArrayInput interface {
	pulumi.Input

	ToCxIntentParameterArrayOutput() CxIntentParameterArrayOutput
	ToCxIntentParameterArrayOutputWithContext(context.Context) CxIntentParameterArrayOutput
}

CxIntentParameterArrayInput is an input type that accepts CxIntentParameterArray and CxIntentParameterArrayOutput values. You can construct a concrete instance of `CxIntentParameterArrayInput` via:

CxIntentParameterArray{ CxIntentParameterArgs{...} }

type CxIntentParameterArrayOutput added in v5.13.0

type CxIntentParameterArrayOutput struct{ *pulumi.OutputState }

func (CxIntentParameterArrayOutput) ElementType added in v5.13.0

func (CxIntentParameterArrayOutput) Index added in v5.13.0

func (CxIntentParameterArrayOutput) ToCxIntentParameterArrayOutput added in v5.13.0

func (o CxIntentParameterArrayOutput) ToCxIntentParameterArrayOutput() CxIntentParameterArrayOutput

func (CxIntentParameterArrayOutput) ToCxIntentParameterArrayOutputWithContext added in v5.13.0

func (o CxIntentParameterArrayOutput) ToCxIntentParameterArrayOutputWithContext(ctx context.Context) CxIntentParameterArrayOutput

type CxIntentParameterInput added in v5.13.0

type CxIntentParameterInput interface {
	pulumi.Input

	ToCxIntentParameterOutput() CxIntentParameterOutput
	ToCxIntentParameterOutputWithContext(context.Context) CxIntentParameterOutput
}

CxIntentParameterInput is an input type that accepts CxIntentParameterArgs and CxIntentParameterOutput values. You can construct a concrete instance of `CxIntentParameterInput` via:

CxIntentParameterArgs{...}

type CxIntentParameterOutput added in v5.13.0

type CxIntentParameterOutput struct{ *pulumi.OutputState }

func (CxIntentParameterOutput) ElementType added in v5.13.0

func (CxIntentParameterOutput) ElementType() reflect.Type

func (CxIntentParameterOutput) EntityType added in v5.13.0

The entity type of the parameter. Format: projects/-/locations/-/agents/-/entityTypes/<System Entity Type ID> for system entity types (for example, projects/-/locations/-/agents/-/entityTypes/sys.date), or projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/entityTypes/<Entity Type ID> for developer entity types.

func (CxIntentParameterOutput) Id added in v5.13.0

The unique identifier of the parameter. This field is used by training phrases to annotate their parts.

func (CxIntentParameterOutput) IsList added in v5.13.0

Indicates whether the parameter represents a list of values.

func (CxIntentParameterOutput) Redact added in v5.13.0

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.

func (CxIntentParameterOutput) ToCxIntentParameterOutput added in v5.13.0

func (o CxIntentParameterOutput) ToCxIntentParameterOutput() CxIntentParameterOutput

func (CxIntentParameterOutput) ToCxIntentParameterOutputWithContext added in v5.13.0

func (o CxIntentParameterOutput) ToCxIntentParameterOutputWithContext(ctx context.Context) CxIntentParameterOutput

type CxIntentPtrInput added in v5.13.0

type CxIntentPtrInput interface {
	pulumi.Input

	ToCxIntentPtrOutput() CxIntentPtrOutput
	ToCxIntentPtrOutputWithContext(ctx context.Context) CxIntentPtrOutput
}

type CxIntentPtrOutput added in v5.13.0

type CxIntentPtrOutput struct{ *pulumi.OutputState }

func (CxIntentPtrOutput) Elem added in v5.21.0

func (CxIntentPtrOutput) ElementType added in v5.13.0

func (CxIntentPtrOutput) ElementType() reflect.Type

func (CxIntentPtrOutput) ToCxIntentPtrOutput added in v5.13.0

func (o CxIntentPtrOutput) ToCxIntentPtrOutput() CxIntentPtrOutput

func (CxIntentPtrOutput) ToCxIntentPtrOutputWithContext added in v5.13.0

func (o CxIntentPtrOutput) ToCxIntentPtrOutputWithContext(ctx context.Context) CxIntentPtrOutput

type CxIntentState added in v5.13.0

type CxIntentState struct {
	// Human readable description for better understanding an intent like its scope, content, result etc. Maximum character limit: 140 characters.
	Description pulumi.StringPtrInput
	// The human-readable name of the intent, unique within the agent.
	DisplayName pulumi.StringPtrInput
	// 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.
	IsFallback pulumi.BoolPtrInput
	// 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.
	// An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
	Labels pulumi.StringMapInput
	// 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.
	LanguageCode pulumi.StringPtrInput
	// The unique identifier of the intent. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
	// ID>/intents/<Intent ID>.
	Name pulumi.StringPtrInput
	// The collection of parameters associated with the intent.
	// Structure is documented below.
	Parameters CxIntentParameterArrayInput
	// The agent to create an intent for.
	// Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.
	Parent pulumi.StringPtrInput
	// 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.
	Priority pulumi.IntPtrInput
	// The collection of training phrases the agent is trained on to identify the intent.
	// Structure is documented below.
	TrainingPhrases CxIntentTrainingPhraseArrayInput
}

func (CxIntentState) ElementType added in v5.13.0

func (CxIntentState) ElementType() reflect.Type

type CxIntentTrainingPhrase added in v5.13.0

type CxIntentTrainingPhrase struct {
	// The unique identifier of the parameter. This field is used by training phrases to annotate their parts.
	Id *string `pulumi:"id"`
	// 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 parameterId field is set.
	// Structure is documented below.
	Parts []CxIntentTrainingPhrasePart `pulumi:"parts"`
	// Indicates how many times this example was added to the intent.
	RepeatCount *int `pulumi:"repeatCount"`
}

type CxIntentTrainingPhraseArgs added in v5.13.0

type CxIntentTrainingPhraseArgs struct {
	// The unique identifier of the parameter. This field is used by training phrases to annotate their parts.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// 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 parameterId field is set.
	// Structure is documented below.
	Parts CxIntentTrainingPhrasePartArrayInput `pulumi:"parts"`
	// Indicates how many times this example was added to the intent.
	RepeatCount pulumi.IntPtrInput `pulumi:"repeatCount"`
}

func (CxIntentTrainingPhraseArgs) ElementType added in v5.13.0

func (CxIntentTrainingPhraseArgs) ElementType() reflect.Type

func (CxIntentTrainingPhraseArgs) ToCxIntentTrainingPhraseOutput added in v5.13.0

func (i CxIntentTrainingPhraseArgs) ToCxIntentTrainingPhraseOutput() CxIntentTrainingPhraseOutput

func (CxIntentTrainingPhraseArgs) ToCxIntentTrainingPhraseOutputWithContext added in v5.13.0

func (i CxIntentTrainingPhraseArgs) ToCxIntentTrainingPhraseOutputWithContext(ctx context.Context) CxIntentTrainingPhraseOutput

type CxIntentTrainingPhraseArray added in v5.13.0

type CxIntentTrainingPhraseArray []CxIntentTrainingPhraseInput

func (CxIntentTrainingPhraseArray) ElementType added in v5.13.0

func (CxIntentTrainingPhraseArray) ToCxIntentTrainingPhraseArrayOutput added in v5.13.0

func (i CxIntentTrainingPhraseArray) ToCxIntentTrainingPhraseArrayOutput() CxIntentTrainingPhraseArrayOutput

func (CxIntentTrainingPhraseArray) ToCxIntentTrainingPhraseArrayOutputWithContext added in v5.13.0

func (i CxIntentTrainingPhraseArray) ToCxIntentTrainingPhraseArrayOutputWithContext(ctx context.Context) CxIntentTrainingPhraseArrayOutput

type CxIntentTrainingPhraseArrayInput added in v5.13.0

type CxIntentTrainingPhraseArrayInput interface {
	pulumi.Input

	ToCxIntentTrainingPhraseArrayOutput() CxIntentTrainingPhraseArrayOutput
	ToCxIntentTrainingPhraseArrayOutputWithContext(context.Context) CxIntentTrainingPhraseArrayOutput
}

CxIntentTrainingPhraseArrayInput is an input type that accepts CxIntentTrainingPhraseArray and CxIntentTrainingPhraseArrayOutput values. You can construct a concrete instance of `CxIntentTrainingPhraseArrayInput` via:

CxIntentTrainingPhraseArray{ CxIntentTrainingPhraseArgs{...} }

type CxIntentTrainingPhraseArrayOutput added in v5.13.0

type CxIntentTrainingPhraseArrayOutput struct{ *pulumi.OutputState }

func (CxIntentTrainingPhraseArrayOutput) ElementType added in v5.13.0

func (CxIntentTrainingPhraseArrayOutput) Index added in v5.13.0

func (CxIntentTrainingPhraseArrayOutput) ToCxIntentTrainingPhraseArrayOutput added in v5.13.0

func (o CxIntentTrainingPhraseArrayOutput) ToCxIntentTrainingPhraseArrayOutput() CxIntentTrainingPhraseArrayOutput

func (CxIntentTrainingPhraseArrayOutput) ToCxIntentTrainingPhraseArrayOutputWithContext added in v5.13.0

func (o CxIntentTrainingPhraseArrayOutput) ToCxIntentTrainingPhraseArrayOutputWithContext(ctx context.Context) CxIntentTrainingPhraseArrayOutput

type CxIntentTrainingPhraseInput added in v5.13.0

type CxIntentTrainingPhraseInput interface {
	pulumi.Input

	ToCxIntentTrainingPhraseOutput() CxIntentTrainingPhraseOutput
	ToCxIntentTrainingPhraseOutputWithContext(context.Context) CxIntentTrainingPhraseOutput
}

CxIntentTrainingPhraseInput is an input type that accepts CxIntentTrainingPhraseArgs and CxIntentTrainingPhraseOutput values. You can construct a concrete instance of `CxIntentTrainingPhraseInput` via:

CxIntentTrainingPhraseArgs{...}

type CxIntentTrainingPhraseOutput added in v5.13.0

type CxIntentTrainingPhraseOutput struct{ *pulumi.OutputState }

func (CxIntentTrainingPhraseOutput) ElementType added in v5.13.0

func (CxIntentTrainingPhraseOutput) Id added in v5.13.0

The unique identifier of the parameter. This field is used by training phrases to annotate their parts.

func (CxIntentTrainingPhraseOutput) Parts added in v5.13.0

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 parameterId field is set. Structure is documented below.

func (CxIntentTrainingPhraseOutput) RepeatCount added in v5.13.0

Indicates how many times this example was added to the intent.

func (CxIntentTrainingPhraseOutput) ToCxIntentTrainingPhraseOutput added in v5.13.0

func (o CxIntentTrainingPhraseOutput) ToCxIntentTrainingPhraseOutput() CxIntentTrainingPhraseOutput

func (CxIntentTrainingPhraseOutput) ToCxIntentTrainingPhraseOutputWithContext added in v5.13.0

func (o CxIntentTrainingPhraseOutput) ToCxIntentTrainingPhraseOutputWithContext(ctx context.Context) CxIntentTrainingPhraseOutput

type CxIntentTrainingPhrasePart added in v5.13.0

type CxIntentTrainingPhrasePart struct {
	// The parameter used to annotate this part of the training phrase. This field is required for annotated parts of the training phrase.
	ParameterId *string `pulumi:"parameterId"`
	// The text for this part.
	Text string `pulumi:"text"`
}

type CxIntentTrainingPhrasePartArgs added in v5.13.0

type CxIntentTrainingPhrasePartArgs struct {
	// The parameter used to annotate this part of the training phrase. This field is required for annotated parts of the training phrase.
	ParameterId pulumi.StringPtrInput `pulumi:"parameterId"`
	// The text for this part.
	Text pulumi.StringInput `pulumi:"text"`
}

func (CxIntentTrainingPhrasePartArgs) ElementType added in v5.13.0

func (CxIntentTrainingPhrasePartArgs) ToCxIntentTrainingPhrasePartOutput added in v5.13.0

func (i CxIntentTrainingPhrasePartArgs) ToCxIntentTrainingPhrasePartOutput() CxIntentTrainingPhrasePartOutput

func (CxIntentTrainingPhrasePartArgs) ToCxIntentTrainingPhrasePartOutputWithContext added in v5.13.0

func (i CxIntentTrainingPhrasePartArgs) ToCxIntentTrainingPhrasePartOutputWithContext(ctx context.Context) CxIntentTrainingPhrasePartOutput

type CxIntentTrainingPhrasePartArray added in v5.13.0

type CxIntentTrainingPhrasePartArray []CxIntentTrainingPhrasePartInput

func (CxIntentTrainingPhrasePartArray) ElementType added in v5.13.0

func (CxIntentTrainingPhrasePartArray) ToCxIntentTrainingPhrasePartArrayOutput added in v5.13.0

func (i CxIntentTrainingPhrasePartArray) ToCxIntentTrainingPhrasePartArrayOutput() CxIntentTrainingPhrasePartArrayOutput

func (CxIntentTrainingPhrasePartArray) ToCxIntentTrainingPhrasePartArrayOutputWithContext added in v5.13.0

func (i CxIntentTrainingPhrasePartArray) ToCxIntentTrainingPhrasePartArrayOutputWithContext(ctx context.Context) CxIntentTrainingPhrasePartArrayOutput

type CxIntentTrainingPhrasePartArrayInput added in v5.13.0

type CxIntentTrainingPhrasePartArrayInput interface {
	pulumi.Input

	ToCxIntentTrainingPhrasePartArrayOutput() CxIntentTrainingPhrasePartArrayOutput
	ToCxIntentTrainingPhrasePartArrayOutputWithContext(context.Context) CxIntentTrainingPhrasePartArrayOutput
}

CxIntentTrainingPhrasePartArrayInput is an input type that accepts CxIntentTrainingPhrasePartArray and CxIntentTrainingPhrasePartArrayOutput values. You can construct a concrete instance of `CxIntentTrainingPhrasePartArrayInput` via:

CxIntentTrainingPhrasePartArray{ CxIntentTrainingPhrasePartArgs{...} }

type CxIntentTrainingPhrasePartArrayOutput added in v5.13.0

type CxIntentTrainingPhrasePartArrayOutput struct{ *pulumi.OutputState }

func (CxIntentTrainingPhrasePartArrayOutput) ElementType added in v5.13.0

func (CxIntentTrainingPhrasePartArrayOutput) Index added in v5.13.0

func (CxIntentTrainingPhrasePartArrayOutput) ToCxIntentTrainingPhrasePartArrayOutput added in v5.13.0

func (o CxIntentTrainingPhrasePartArrayOutput) ToCxIntentTrainingPhrasePartArrayOutput() CxIntentTrainingPhrasePartArrayOutput

func (CxIntentTrainingPhrasePartArrayOutput) ToCxIntentTrainingPhrasePartArrayOutputWithContext added in v5.13.0

func (o CxIntentTrainingPhrasePartArrayOutput) ToCxIntentTrainingPhrasePartArrayOutputWithContext(ctx context.Context) CxIntentTrainingPhrasePartArrayOutput

type CxIntentTrainingPhrasePartInput added in v5.13.0

type CxIntentTrainingPhrasePartInput interface {
	pulumi.Input

	ToCxIntentTrainingPhrasePartOutput() CxIntentTrainingPhrasePartOutput
	ToCxIntentTrainingPhrasePartOutputWithContext(context.Context) CxIntentTrainingPhrasePartOutput
}

CxIntentTrainingPhrasePartInput is an input type that accepts CxIntentTrainingPhrasePartArgs and CxIntentTrainingPhrasePartOutput values. You can construct a concrete instance of `CxIntentTrainingPhrasePartInput` via:

CxIntentTrainingPhrasePartArgs{...}

type CxIntentTrainingPhrasePartOutput added in v5.13.0

type CxIntentTrainingPhrasePartOutput struct{ *pulumi.OutputState }

func (CxIntentTrainingPhrasePartOutput) ElementType added in v5.13.0

func (CxIntentTrainingPhrasePartOutput) ParameterId added in v5.13.0

The parameter used to annotate this part of the training phrase. This field is required for annotated parts of the training phrase.

func (CxIntentTrainingPhrasePartOutput) Text added in v5.13.0

The text for this part.

func (CxIntentTrainingPhrasePartOutput) ToCxIntentTrainingPhrasePartOutput added in v5.13.0

func (o CxIntentTrainingPhrasePartOutput) ToCxIntentTrainingPhrasePartOutput() CxIntentTrainingPhrasePartOutput

func (CxIntentTrainingPhrasePartOutput) ToCxIntentTrainingPhrasePartOutputWithContext added in v5.13.0

func (o CxIntentTrainingPhrasePartOutput) ToCxIntentTrainingPhrasePartOutputWithContext(ctx context.Context) CxIntentTrainingPhrasePartOutput

type CxPage added in v5.15.0

type CxPage struct {
	pulumi.CustomResourceState

	// The human-readable name of the parameter, unique within the form.
	DisplayName pulumi.StringOutput `pulumi:"displayName"`
	// The fulfillment to call when the session is entering the page.
	// Structure is documented below.
	EntryFulfillment CxPageEntryFulfillmentPtrOutput `pulumi:"entryFulfillment"`
	// Handlers associated with the page to handle events such as webhook errors, no match or no input.
	// Structure is documented below.
	EventHandlers CxPageEventHandlerArrayOutput `pulumi:"eventHandlers"`
	// The form associated with the page, used for collecting parameters relevant to the page.
	// Structure is documented below.
	Form CxPageFormPtrOutput `pulumi:"form"`
	// The language of the following fields in page:
	// Page.entry_fulfillment.messages
	// Page.entry_fulfillment.conditional_cases
	// Page.event_handlers.trigger_fulfillment.messages
	// Page.event_handlers.trigger_fulfillment.conditional_cases
	// Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages
	// Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases
	// Page.form.parameters.fill_behavior.reprompt_event_handlers.messages
	// Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases
	// Page.transition_routes.trigger_fulfillment.messages
	// Page.transition_routes.trigger_fulfillment.conditional_cases
	// 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.
	LanguageCode pulumi.StringPtrOutput `pulumi:"languageCode"`
	// -
	// The unique identifier of this event handler.
	Name pulumi.StringOutput `pulumi:"name"`
	// The flow to create a page for.
	// Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>.
	Parent pulumi.StringPtrOutput `pulumi:"parent"`
	// Ordered list of TransitionRouteGroups associated with the page. Transition route groups must be unique within a page.
	// If multiple transition routes within a page scope refer to the same intent, then the precedence order is: page's transition route > page's transition route group > flow's transition routes.
	// If multiple transition route groups within a page contain the same intent, then the first group in the ordered list takes precedence.
	// Format:projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/transitionRouteGroups/<TransitionRouteGroup ID>.
	TransitionRouteGroups pulumi.StringArrayOutput `pulumi:"transitionRouteGroups"`
	// A list of transitions for the transition rules of this page. They route the conversation to another page in the same flow, or another flow.
	// When we are in a certain page, the TransitionRoutes are evalauted in the following order:
	// TransitionRoutes defined in the page with intent specified.
	// TransitionRoutes defined in the transition route groups with intent specified.
	// TransitionRoutes defined in flow with intent specified.
	// TransitionRoutes defined in the transition route groups with intent specified.
	// TransitionRoutes defined in the page with only condition specified.
	// TransitionRoutes defined in the transition route groups with only condition specified.
	// Structure is documented below.
	TransitionRoutes CxPageTransitionRouteArrayOutput `pulumi:"transitionRoutes"`
}

A Dialogflow CX conversation (session) can be described and visualized as a state machine. The states of a CX session are represented by pages.

To get more information about Page, see:

* [API documentation](https://cloud.google.com/dialogflow/cx/docs/reference/rest/v3/projects.locations.agents.flows.pages) * How-to Guides

## Example Usage ### Dialogflowcx Page Full

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-gcp/sdk/v5/go/gcp/diagflow"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		agent, err := diagflow.NewCxAgent(ctx, "agent", &diagflow.CxAgentArgs{
			DisplayName:         pulumi.String("dialogflowcx-agent"),
			Location:            pulumi.String("global"),
			DefaultLanguageCode: pulumi.String("en"),
			SupportedLanguageCodes: pulumi.StringArray{
				pulumi.String("fr"),
				pulumi.String("de"),
				pulumi.String("es"),
			},
			TimeZone:                 pulumi.String("America/New_York"),
			Description:              pulumi.String("Example description."),
			AvatarUri:                pulumi.String("https://cloud.google.com/_static/images/cloud/icons/favicons/onecloud/super_cloud.png"),
			EnableStackdriverLogging: pulumi.Bool(true),
			EnableSpellCorrection:    pulumi.Bool(true),
			SpeechToTextSettings: &diagflow.CxAgentSpeechToTextSettingsArgs{
				EnableSpeechAdaptation: pulumi.Bool(true),
			},
		})
		if err != nil {
			return err
		}
		myPage2, err := diagflow.NewCxPage(ctx, "myPage2", &diagflow.CxPageArgs{
			Parent:      agent.StartFlow,
			DisplayName: pulumi.String("MyPage2"),
		})
		if err != nil {
			return err
		}
		_, err = diagflow.NewCxPage(ctx, "basicPage", &diagflow.CxPageArgs{
			Parent:      agent.StartFlow,
			DisplayName: pulumi.String("MyPage"),
			EntryFulfillment: &diagflow.CxPageEntryFulfillmentArgs{
				Messages: diagflow.CxPageEntryFulfillmentMessageArray{
					&diagflow.CxPageEntryFulfillmentMessageArgs{
						Text: &diagflow.CxPageEntryFulfillmentMessageTextArgs{
							Texts: pulumi.StringArray{
								pulumi.String("Welcome to page"),
							},
						},
					},
				},
			},
			Form: &diagflow.CxPageFormArgs{
				Parameters: diagflow.CxPageFormParameterArray{
					&diagflow.CxPageFormParameterArgs{
						DisplayName: pulumi.String("param1"),
						EntityType:  pulumi.String("projects/-/locations/-/agents/-/entityTypes/sys.date"),
						FillBehavior: &diagflow.CxPageFormParameterFillBehaviorArgs{
							InitialPromptFulfillment: &diagflow.CxPageFormParameterFillBehaviorInitialPromptFulfillmentArgs{
								Messages: diagflow.CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArray{
									&diagflow.CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArgs{
										Text: &diagflow.CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextArgs{
											Texts: pulumi.StringArray{
												pulumi.String("Please provide param1"),
											},
										},
									},
								},
							},
						},
						Required: pulumi.Bool(true),
						Redact:   pulumi.Bool(true),
					},
				},
			},
			TransitionRoutes: diagflow.CxPageTransitionRouteArray{
				&diagflow.CxPageTransitionRouteArgs{
					Condition: pulumi.String(fmt.Sprintf("%v%v", "$", "page.params.status = 'FINAL'")),
					TriggerFulfillment: &diagflow.CxPageTransitionRouteTriggerFulfillmentArgs{
						Messages: diagflow.CxPageTransitionRouteTriggerFulfillmentMessageArray{
							&diagflow.CxPageTransitionRouteTriggerFulfillmentMessageArgs{
								Text: &diagflow.CxPageTransitionRouteTriggerFulfillmentMessageTextArgs{
									Texts: pulumi.StringArray{
										pulumi.String("information completed, navigating to page 2"),
									},
								},
							},
						},
					},
					TargetPage: myPage2.ID(),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Page can be imported using any of these accepted formats

```sh

$ pulumi import gcp:diagflow/cxPage:CxPage default {{parent}}/pages/{{name}}

```

```sh

$ pulumi import gcp:diagflow/cxPage:CxPage default {{parent}}/{{name}}

```

func GetCxPage added in v5.15.0

func GetCxPage(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CxPageState, opts ...pulumi.ResourceOption) (*CxPage, error)

GetCxPage gets an existing CxPage resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewCxPage added in v5.15.0

func NewCxPage(ctx *pulumi.Context,
	name string, args *CxPageArgs, opts ...pulumi.ResourceOption) (*CxPage, error)

NewCxPage registers a new resource with the given unique name, arguments, and options.

func (*CxPage) ElementType added in v5.15.0

func (*CxPage) ElementType() reflect.Type

func (*CxPage) ToCxPageOutput added in v5.15.0

func (i *CxPage) ToCxPageOutput() CxPageOutput

func (*CxPage) ToCxPageOutputWithContext added in v5.15.0

func (i *CxPage) ToCxPageOutputWithContext(ctx context.Context) CxPageOutput

func (*CxPage) ToCxPagePtrOutput added in v5.15.0

func (i *CxPage) ToCxPagePtrOutput() CxPagePtrOutput

func (*CxPage) ToCxPagePtrOutputWithContext added in v5.15.0

func (i *CxPage) ToCxPagePtrOutputWithContext(ctx context.Context) CxPagePtrOutput

type CxPageArgs added in v5.15.0

type CxPageArgs struct {
	// The human-readable name of the parameter, unique within the form.
	DisplayName pulumi.StringInput
	// The fulfillment to call when the session is entering the page.
	// Structure is documented below.
	EntryFulfillment CxPageEntryFulfillmentPtrInput
	// Handlers associated with the page to handle events such as webhook errors, no match or no input.
	// Structure is documented below.
	EventHandlers CxPageEventHandlerArrayInput
	// The form associated with the page, used for collecting parameters relevant to the page.
	// Structure is documented below.
	Form CxPageFormPtrInput
	// The language of the following fields in page:
	// Page.entry_fulfillment.messages
	// Page.entry_fulfillment.conditional_cases
	// Page.event_handlers.trigger_fulfillment.messages
	// Page.event_handlers.trigger_fulfillment.conditional_cases
	// Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages
	// Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases
	// Page.form.parameters.fill_behavior.reprompt_event_handlers.messages
	// Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases
	// Page.transition_routes.trigger_fulfillment.messages
	// Page.transition_routes.trigger_fulfillment.conditional_cases
	// 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.
	LanguageCode pulumi.StringPtrInput
	// The flow to create a page for.
	// Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>.
	Parent pulumi.StringPtrInput
	// Ordered list of TransitionRouteGroups associated with the page. Transition route groups must be unique within a page.
	// If multiple transition routes within a page scope refer to the same intent, then the precedence order is: page's transition route > page's transition route group > flow's transition routes.
	// If multiple transition route groups within a page contain the same intent, then the first group in the ordered list takes precedence.
	// Format:projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/transitionRouteGroups/<TransitionRouteGroup ID>.
	TransitionRouteGroups pulumi.StringArrayInput
	// A list of transitions for the transition rules of this page. They route the conversation to another page in the same flow, or another flow.
	// When we are in a certain page, the TransitionRoutes are evalauted in the following order:
	// TransitionRoutes defined in the page with intent specified.
	// TransitionRoutes defined in the transition route groups with intent specified.
	// TransitionRoutes defined in flow with intent specified.
	// TransitionRoutes defined in the transition route groups with intent specified.
	// TransitionRoutes defined in the page with only condition specified.
	// TransitionRoutes defined in the transition route groups with only condition specified.
	// Structure is documented below.
	TransitionRoutes CxPageTransitionRouteArrayInput
}

The set of arguments for constructing a CxPage resource.

func (CxPageArgs) ElementType added in v5.15.0

func (CxPageArgs) ElementType() reflect.Type

type CxPageArray added in v5.15.0

type CxPageArray []CxPageInput

func (CxPageArray) ElementType added in v5.15.0

func (CxPageArray) ElementType() reflect.Type

func (CxPageArray) ToCxPageArrayOutput added in v5.15.0

func (i CxPageArray) ToCxPageArrayOutput() CxPageArrayOutput

func (CxPageArray) ToCxPageArrayOutputWithContext added in v5.15.0

func (i CxPageArray) ToCxPageArrayOutputWithContext(ctx context.Context) CxPageArrayOutput

type CxPageArrayInput added in v5.15.0

type CxPageArrayInput interface {
	pulumi.Input

	ToCxPageArrayOutput() CxPageArrayOutput
	ToCxPageArrayOutputWithContext(context.Context) CxPageArrayOutput
}

CxPageArrayInput is an input type that accepts CxPageArray and CxPageArrayOutput values. You can construct a concrete instance of `CxPageArrayInput` via:

CxPageArray{ CxPageArgs{...} }

type CxPageArrayOutput added in v5.15.0

type CxPageArrayOutput struct{ *pulumi.OutputState }

func (CxPageArrayOutput) ElementType added in v5.15.0

func (CxPageArrayOutput) ElementType() reflect.Type

func (CxPageArrayOutput) Index added in v5.15.0

func (CxPageArrayOutput) ToCxPageArrayOutput added in v5.15.0

func (o CxPageArrayOutput) ToCxPageArrayOutput() CxPageArrayOutput

func (CxPageArrayOutput) ToCxPageArrayOutputWithContext added in v5.15.0

func (o CxPageArrayOutput) ToCxPageArrayOutputWithContext(ctx context.Context) CxPageArrayOutput

type CxPageEntryFulfillment added in v5.15.0

type CxPageEntryFulfillment struct {
	// The list of rich message responses to present to the user.
	// Structure is documented below.
	Messages []CxPageEntryFulfillmentMessage `pulumi:"messages"`
	// Whether Dialogflow should return currently queued fulfillment response messages in streaming APIs. If a webhook is specified, it happens before Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API. Responses are still queued and returned once in non-streaming API. 2) The flag can be enabled in any fulfillment but only the first 3 partial responses will be returned. You may only want to apply it to fulfillments that have slow webhooks.
	ReturnPartialResponses *bool `pulumi:"returnPartialResponses"`
	// The tag used by the webhook to identify which fulfillment is being called. This field is required if webhook is specified.
	Tag *string `pulumi:"tag"`
	// The webhook to call. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/webhooks/<Webhook ID>.
	Webhook *string `pulumi:"webhook"`
}

type CxPageEntryFulfillmentArgs added in v5.15.0

type CxPageEntryFulfillmentArgs struct {
	// The list of rich message responses to present to the user.
	// Structure is documented below.
	Messages CxPageEntryFulfillmentMessageArrayInput `pulumi:"messages"`
	// Whether Dialogflow should return currently queued fulfillment response messages in streaming APIs. If a webhook is specified, it happens before Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API. Responses are still queued and returned once in non-streaming API. 2) The flag can be enabled in any fulfillment but only the first 3 partial responses will be returned. You may only want to apply it to fulfillments that have slow webhooks.
	ReturnPartialResponses pulumi.BoolPtrInput `pulumi:"returnPartialResponses"`
	// The tag used by the webhook to identify which fulfillment is being called. This field is required if webhook is specified.
	Tag pulumi.StringPtrInput `pulumi:"tag"`
	// The webhook to call. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/webhooks/<Webhook ID>.
	Webhook pulumi.StringPtrInput `pulumi:"webhook"`
}

func (CxPageEntryFulfillmentArgs) ElementType added in v5.15.0

func (CxPageEntryFulfillmentArgs) ElementType() reflect.Type

func (CxPageEntryFulfillmentArgs) ToCxPageEntryFulfillmentOutput added in v5.15.0

func (i CxPageEntryFulfillmentArgs) ToCxPageEntryFulfillmentOutput() CxPageEntryFulfillmentOutput

func (CxPageEntryFulfillmentArgs) ToCxPageEntryFulfillmentOutputWithContext added in v5.15.0

func (i CxPageEntryFulfillmentArgs) ToCxPageEntryFulfillmentOutputWithContext(ctx context.Context) CxPageEntryFulfillmentOutput

func (CxPageEntryFulfillmentArgs) ToCxPageEntryFulfillmentPtrOutput added in v5.15.0

func (i CxPageEntryFulfillmentArgs) ToCxPageEntryFulfillmentPtrOutput() CxPageEntryFulfillmentPtrOutput

func (CxPageEntryFulfillmentArgs) ToCxPageEntryFulfillmentPtrOutputWithContext added in v5.15.0

func (i CxPageEntryFulfillmentArgs) ToCxPageEntryFulfillmentPtrOutputWithContext(ctx context.Context) CxPageEntryFulfillmentPtrOutput

type CxPageEntryFulfillmentInput added in v5.15.0

type CxPageEntryFulfillmentInput interface {
	pulumi.Input

	ToCxPageEntryFulfillmentOutput() CxPageEntryFulfillmentOutput
	ToCxPageEntryFulfillmentOutputWithContext(context.Context) CxPageEntryFulfillmentOutput
}

CxPageEntryFulfillmentInput is an input type that accepts CxPageEntryFulfillmentArgs and CxPageEntryFulfillmentOutput values. You can construct a concrete instance of `CxPageEntryFulfillmentInput` via:

CxPageEntryFulfillmentArgs{...}

type CxPageEntryFulfillmentMessage added in v5.15.0

type CxPageEntryFulfillmentMessage struct {
	// A collection of text responses.
	Text *CxPageEntryFulfillmentMessageText `pulumi:"text"`
}

type CxPageEntryFulfillmentMessageArgs added in v5.15.0

type CxPageEntryFulfillmentMessageArgs struct {
	// A collection of text responses.
	Text CxPageEntryFulfillmentMessageTextPtrInput `pulumi:"text"`
}

func (CxPageEntryFulfillmentMessageArgs) ElementType added in v5.15.0

func (CxPageEntryFulfillmentMessageArgs) ToCxPageEntryFulfillmentMessageOutput added in v5.15.0

func (i CxPageEntryFulfillmentMessageArgs) ToCxPageEntryFulfillmentMessageOutput() CxPageEntryFulfillmentMessageOutput

func (CxPageEntryFulfillmentMessageArgs) ToCxPageEntryFulfillmentMessageOutputWithContext added in v5.15.0

func (i CxPageEntryFulfillmentMessageArgs) ToCxPageEntryFulfillmentMessageOutputWithContext(ctx context.Context) CxPageEntryFulfillmentMessageOutput

type CxPageEntryFulfillmentMessageArray added in v5.15.0

type CxPageEntryFulfillmentMessageArray []CxPageEntryFulfillmentMessageInput

func (CxPageEntryFulfillmentMessageArray) ElementType added in v5.15.0

func (CxPageEntryFulfillmentMessageArray) ToCxPageEntryFulfillmentMessageArrayOutput added in v5.15.0

func (i CxPageEntryFulfillmentMessageArray) ToCxPageEntryFulfillmentMessageArrayOutput() CxPageEntryFulfillmentMessageArrayOutput

func (CxPageEntryFulfillmentMessageArray) ToCxPageEntryFulfillmentMessageArrayOutputWithContext added in v5.15.0

func (i CxPageEntryFulfillmentMessageArray) ToCxPageEntryFulfillmentMessageArrayOutputWithContext(ctx context.Context) CxPageEntryFulfillmentMessageArrayOutput

type CxPageEntryFulfillmentMessageArrayInput added in v5.15.0

type CxPageEntryFulfillmentMessageArrayInput interface {
	pulumi.Input

	ToCxPageEntryFulfillmentMessageArrayOutput() CxPageEntryFulfillmentMessageArrayOutput
	ToCxPageEntryFulfillmentMessageArrayOutputWithContext(context.Context) CxPageEntryFulfillmentMessageArrayOutput
}

CxPageEntryFulfillmentMessageArrayInput is an input type that accepts CxPageEntryFulfillmentMessageArray and CxPageEntryFulfillmentMessageArrayOutput values. You can construct a concrete instance of `CxPageEntryFulfillmentMessageArrayInput` via:

CxPageEntryFulfillmentMessageArray{ CxPageEntryFulfillmentMessageArgs{...} }

type CxPageEntryFulfillmentMessageArrayOutput added in v5.15.0

type CxPageEntryFulfillmentMessageArrayOutput struct{ *pulumi.OutputState }

func (CxPageEntryFulfillmentMessageArrayOutput) ElementType added in v5.15.0

func (CxPageEntryFulfillmentMessageArrayOutput) Index added in v5.15.0

func (CxPageEntryFulfillmentMessageArrayOutput) ToCxPageEntryFulfillmentMessageArrayOutput added in v5.15.0

func (o CxPageEntryFulfillmentMessageArrayOutput) ToCxPageEntryFulfillmentMessageArrayOutput() CxPageEntryFulfillmentMessageArrayOutput

func (CxPageEntryFulfillmentMessageArrayOutput) ToCxPageEntryFulfillmentMessageArrayOutputWithContext added in v5.15.0

func (o CxPageEntryFulfillmentMessageArrayOutput) ToCxPageEntryFulfillmentMessageArrayOutputWithContext(ctx context.Context) CxPageEntryFulfillmentMessageArrayOutput

type CxPageEntryFulfillmentMessageInput added in v5.15.0

type CxPageEntryFulfillmentMessageInput interface {
	pulumi.Input

	ToCxPageEntryFulfillmentMessageOutput() CxPageEntryFulfillmentMessageOutput
	ToCxPageEntryFulfillmentMessageOutputWithContext(context.Context) CxPageEntryFulfillmentMessageOutput
}

CxPageEntryFulfillmentMessageInput is an input type that accepts CxPageEntryFulfillmentMessageArgs and CxPageEntryFulfillmentMessageOutput values. You can construct a concrete instance of `CxPageEntryFulfillmentMessageInput` via:

CxPageEntryFulfillmentMessageArgs{...}

type CxPageEntryFulfillmentMessageOutput added in v5.15.0

type CxPageEntryFulfillmentMessageOutput struct{ *pulumi.OutputState }

func (CxPageEntryFulfillmentMessageOutput) ElementType added in v5.15.0

func (CxPageEntryFulfillmentMessageOutput) Text added in v5.15.0

A collection of text responses.

func (CxPageEntryFulfillmentMessageOutput) ToCxPageEntryFulfillmentMessageOutput added in v5.15.0

func (o CxPageEntryFulfillmentMessageOutput) ToCxPageEntryFulfillmentMessageOutput() CxPageEntryFulfillmentMessageOutput

func (CxPageEntryFulfillmentMessageOutput) ToCxPageEntryFulfillmentMessageOutputWithContext added in v5.15.0

func (o CxPageEntryFulfillmentMessageOutput) ToCxPageEntryFulfillmentMessageOutputWithContext(ctx context.Context) CxPageEntryFulfillmentMessageOutput

type CxPageEntryFulfillmentMessageText added in v5.15.0

type CxPageEntryFulfillmentMessageText struct {
	// -
	// Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.
	AllowPlaybackInterruption *bool `pulumi:"allowPlaybackInterruption"`
	// A collection of text responses.
	Texts []string `pulumi:"texts"`
}

type CxPageEntryFulfillmentMessageTextArgs added in v5.15.0

type CxPageEntryFulfillmentMessageTextArgs struct {
	// -
	// Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.
	AllowPlaybackInterruption pulumi.BoolPtrInput `pulumi:"allowPlaybackInterruption"`
	// A collection of text responses.
	Texts pulumi.StringArrayInput `pulumi:"texts"`
}

func (CxPageEntryFulfillmentMessageTextArgs) ElementType added in v5.15.0

func (CxPageEntryFulfillmentMessageTextArgs) ToCxPageEntryFulfillmentMessageTextOutput added in v5.15.0

func (i CxPageEntryFulfillmentMessageTextArgs) ToCxPageEntryFulfillmentMessageTextOutput() CxPageEntryFulfillmentMessageTextOutput

func (CxPageEntryFulfillmentMessageTextArgs) ToCxPageEntryFulfillmentMessageTextOutputWithContext added in v5.15.0

func (i CxPageEntryFulfillmentMessageTextArgs) ToCxPageEntryFulfillmentMessageTextOutputWithContext(ctx context.Context) CxPageEntryFulfillmentMessageTextOutput

func (CxPageEntryFulfillmentMessageTextArgs) ToCxPageEntryFulfillmentMessageTextPtrOutput added in v5.15.0

func (i CxPageEntryFulfillmentMessageTextArgs) ToCxPageEntryFulfillmentMessageTextPtrOutput() CxPageEntryFulfillmentMessageTextPtrOutput

func (CxPageEntryFulfillmentMessageTextArgs) ToCxPageEntryFulfillmentMessageTextPtrOutputWithContext added in v5.15.0

func (i CxPageEntryFulfillmentMessageTextArgs) ToCxPageEntryFulfillmentMessageTextPtrOutputWithContext(ctx context.Context) CxPageEntryFulfillmentMessageTextPtrOutput

type CxPageEntryFulfillmentMessageTextInput added in v5.15.0

type CxPageEntryFulfillmentMessageTextInput interface {
	pulumi.Input

	ToCxPageEntryFulfillmentMessageTextOutput() CxPageEntryFulfillmentMessageTextOutput
	ToCxPageEntryFulfillmentMessageTextOutputWithContext(context.Context) CxPageEntryFulfillmentMessageTextOutput
}

CxPageEntryFulfillmentMessageTextInput is an input type that accepts CxPageEntryFulfillmentMessageTextArgs and CxPageEntryFulfillmentMessageTextOutput values. You can construct a concrete instance of `CxPageEntryFulfillmentMessageTextInput` via:

CxPageEntryFulfillmentMessageTextArgs{...}

type CxPageEntryFulfillmentMessageTextOutput added in v5.15.0

type CxPageEntryFulfillmentMessageTextOutput struct{ *pulumi.OutputState }

func (CxPageEntryFulfillmentMessageTextOutput) AllowPlaybackInterruption added in v5.15.0

func (o CxPageEntryFulfillmentMessageTextOutput) AllowPlaybackInterruption() pulumi.BoolPtrOutput

- Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.

func (CxPageEntryFulfillmentMessageTextOutput) ElementType added in v5.15.0

func (CxPageEntryFulfillmentMessageTextOutput) Texts added in v5.15.0

A collection of text responses.

func (CxPageEntryFulfillmentMessageTextOutput) ToCxPageEntryFulfillmentMessageTextOutput added in v5.15.0

func (o CxPageEntryFulfillmentMessageTextOutput) ToCxPageEntryFulfillmentMessageTextOutput() CxPageEntryFulfillmentMessageTextOutput

func (CxPageEntryFulfillmentMessageTextOutput) ToCxPageEntryFulfillmentMessageTextOutputWithContext added in v5.15.0

func (o CxPageEntryFulfillmentMessageTextOutput) ToCxPageEntryFulfillmentMessageTextOutputWithContext(ctx context.Context) CxPageEntryFulfillmentMessageTextOutput

func (CxPageEntryFulfillmentMessageTextOutput) ToCxPageEntryFulfillmentMessageTextPtrOutput added in v5.15.0

func (o CxPageEntryFulfillmentMessageTextOutput) ToCxPageEntryFulfillmentMessageTextPtrOutput() CxPageEntryFulfillmentMessageTextPtrOutput

func (CxPageEntryFulfillmentMessageTextOutput) ToCxPageEntryFulfillmentMessageTextPtrOutputWithContext added in v5.15.0

func (o CxPageEntryFulfillmentMessageTextOutput) ToCxPageEntryFulfillmentMessageTextPtrOutputWithContext(ctx context.Context) CxPageEntryFulfillmentMessageTextPtrOutput

type CxPageEntryFulfillmentMessageTextPtrInput added in v5.15.0

type CxPageEntryFulfillmentMessageTextPtrInput interface {
	pulumi.Input

	ToCxPageEntryFulfillmentMessageTextPtrOutput() CxPageEntryFulfillmentMessageTextPtrOutput
	ToCxPageEntryFulfillmentMessageTextPtrOutputWithContext(context.Context) CxPageEntryFulfillmentMessageTextPtrOutput
}

CxPageEntryFulfillmentMessageTextPtrInput is an input type that accepts CxPageEntryFulfillmentMessageTextArgs, CxPageEntryFulfillmentMessageTextPtr and CxPageEntryFulfillmentMessageTextPtrOutput values. You can construct a concrete instance of `CxPageEntryFulfillmentMessageTextPtrInput` via:

        CxPageEntryFulfillmentMessageTextArgs{...}

or:

        nil

type CxPageEntryFulfillmentMessageTextPtrOutput added in v5.15.0

type CxPageEntryFulfillmentMessageTextPtrOutput struct{ *pulumi.OutputState }

func (CxPageEntryFulfillmentMessageTextPtrOutput) AllowPlaybackInterruption added in v5.15.0

func (o CxPageEntryFulfillmentMessageTextPtrOutput) AllowPlaybackInterruption() pulumi.BoolPtrOutput

- Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.

func (CxPageEntryFulfillmentMessageTextPtrOutput) Elem added in v5.15.0

func (CxPageEntryFulfillmentMessageTextPtrOutput) ElementType added in v5.15.0

func (CxPageEntryFulfillmentMessageTextPtrOutput) Texts added in v5.15.0

A collection of text responses.

func (CxPageEntryFulfillmentMessageTextPtrOutput) ToCxPageEntryFulfillmentMessageTextPtrOutput added in v5.15.0

func (o CxPageEntryFulfillmentMessageTextPtrOutput) ToCxPageEntryFulfillmentMessageTextPtrOutput() CxPageEntryFulfillmentMessageTextPtrOutput

func (CxPageEntryFulfillmentMessageTextPtrOutput) ToCxPageEntryFulfillmentMessageTextPtrOutputWithContext added in v5.15.0

func (o CxPageEntryFulfillmentMessageTextPtrOutput) ToCxPageEntryFulfillmentMessageTextPtrOutputWithContext(ctx context.Context) CxPageEntryFulfillmentMessageTextPtrOutput

type CxPageEntryFulfillmentOutput added in v5.15.0

type CxPageEntryFulfillmentOutput struct{ *pulumi.OutputState }

func (CxPageEntryFulfillmentOutput) ElementType added in v5.15.0

func (CxPageEntryFulfillmentOutput) Messages added in v5.15.0

The list of rich message responses to present to the user. Structure is documented below.

func (CxPageEntryFulfillmentOutput) ReturnPartialResponses added in v5.15.0

func (o CxPageEntryFulfillmentOutput) ReturnPartialResponses() pulumi.BoolPtrOutput

Whether Dialogflow should return currently queued fulfillment response messages in streaming APIs. If a webhook is specified, it happens before Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API. Responses are still queued and returned once in non-streaming API. 2) The flag can be enabled in any fulfillment but only the first 3 partial responses will be returned. You may only want to apply it to fulfillments that have slow webhooks.

func (CxPageEntryFulfillmentOutput) Tag added in v5.15.0

The tag used by the webhook to identify which fulfillment is being called. This field is required if webhook is specified.

func (CxPageEntryFulfillmentOutput) ToCxPageEntryFulfillmentOutput added in v5.15.0

func (o CxPageEntryFulfillmentOutput) ToCxPageEntryFulfillmentOutput() CxPageEntryFulfillmentOutput

func (CxPageEntryFulfillmentOutput) ToCxPageEntryFulfillmentOutputWithContext added in v5.15.0

func (o CxPageEntryFulfillmentOutput) ToCxPageEntryFulfillmentOutputWithContext(ctx context.Context) CxPageEntryFulfillmentOutput

func (CxPageEntryFulfillmentOutput) ToCxPageEntryFulfillmentPtrOutput added in v5.15.0

func (o CxPageEntryFulfillmentOutput) ToCxPageEntryFulfillmentPtrOutput() CxPageEntryFulfillmentPtrOutput

func (CxPageEntryFulfillmentOutput) ToCxPageEntryFulfillmentPtrOutputWithContext added in v5.15.0

func (o CxPageEntryFulfillmentOutput) ToCxPageEntryFulfillmentPtrOutputWithContext(ctx context.Context) CxPageEntryFulfillmentPtrOutput

func (CxPageEntryFulfillmentOutput) Webhook added in v5.15.0

The webhook to call. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/webhooks/<Webhook ID>.

type CxPageEntryFulfillmentPtrInput added in v5.15.0

type CxPageEntryFulfillmentPtrInput interface {
	pulumi.Input

	ToCxPageEntryFulfillmentPtrOutput() CxPageEntryFulfillmentPtrOutput
	ToCxPageEntryFulfillmentPtrOutputWithContext(context.Context) CxPageEntryFulfillmentPtrOutput
}

CxPageEntryFulfillmentPtrInput is an input type that accepts CxPageEntryFulfillmentArgs, CxPageEntryFulfillmentPtr and CxPageEntryFulfillmentPtrOutput values. You can construct a concrete instance of `CxPageEntryFulfillmentPtrInput` via:

        CxPageEntryFulfillmentArgs{...}

or:

        nil

func CxPageEntryFulfillmentPtr added in v5.15.0

func CxPageEntryFulfillmentPtr(v *CxPageEntryFulfillmentArgs) CxPageEntryFulfillmentPtrInput

type CxPageEntryFulfillmentPtrOutput added in v5.15.0

type CxPageEntryFulfillmentPtrOutput struct{ *pulumi.OutputState }

func (CxPageEntryFulfillmentPtrOutput) Elem added in v5.15.0

func (CxPageEntryFulfillmentPtrOutput) ElementType added in v5.15.0

func (CxPageEntryFulfillmentPtrOutput) Messages added in v5.15.0

The list of rich message responses to present to the user. Structure is documented below.

func (CxPageEntryFulfillmentPtrOutput) ReturnPartialResponses added in v5.15.0

func (o CxPageEntryFulfillmentPtrOutput) ReturnPartialResponses() pulumi.BoolPtrOutput

Whether Dialogflow should return currently queued fulfillment response messages in streaming APIs. If a webhook is specified, it happens before Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API. Responses are still queued and returned once in non-streaming API. 2) The flag can be enabled in any fulfillment but only the first 3 partial responses will be returned. You may only want to apply it to fulfillments that have slow webhooks.

func (CxPageEntryFulfillmentPtrOutput) Tag added in v5.15.0

The tag used by the webhook to identify which fulfillment is being called. This field is required if webhook is specified.

func (CxPageEntryFulfillmentPtrOutput) ToCxPageEntryFulfillmentPtrOutput added in v5.15.0

func (o CxPageEntryFulfillmentPtrOutput) ToCxPageEntryFulfillmentPtrOutput() CxPageEntryFulfillmentPtrOutput

func (CxPageEntryFulfillmentPtrOutput) ToCxPageEntryFulfillmentPtrOutputWithContext added in v5.15.0

func (o CxPageEntryFulfillmentPtrOutput) ToCxPageEntryFulfillmentPtrOutputWithContext(ctx context.Context) CxPageEntryFulfillmentPtrOutput

func (CxPageEntryFulfillmentPtrOutput) Webhook added in v5.15.0

The webhook to call. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/webhooks/<Webhook ID>.

type CxPageEventHandler added in v5.15.0

type CxPageEventHandler struct {
	// The name of the event to handle.
	Event *string `pulumi:"event"`
	// -
	// The unique identifier of this event handler.
	Name *string `pulumi:"name"`
	// The target flow to transition to.
	// Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>.
	TargetFlow *string `pulumi:"targetFlow"`
	// The target page to transition to.
	// Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page ID>.
	TargetPage *string `pulumi:"targetPage"`
	// The fulfillment to call when the event occurs. Handling webhook errors with a fulfillment enabled with webhook could cause infinite loop. It is invalid to specify such fulfillment for a handler handling webhooks.
	// Structure is documented below.
	TriggerFulfillment *CxPageEventHandlerTriggerFulfillment `pulumi:"triggerFulfillment"`
}

type CxPageEventHandlerArgs added in v5.15.0

type CxPageEventHandlerArgs struct {
	// The name of the event to handle.
	Event pulumi.StringPtrInput `pulumi:"event"`
	// -
	// The unique identifier of this event handler.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// The target flow to transition to.
	// Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>.
	TargetFlow pulumi.StringPtrInput `pulumi:"targetFlow"`
	// The target page to transition to.
	// Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page ID>.
	TargetPage pulumi.StringPtrInput `pulumi:"targetPage"`
	// The fulfillment to call when the event occurs. Handling webhook errors with a fulfillment enabled with webhook could cause infinite loop. It is invalid to specify such fulfillment for a handler handling webhooks.
	// Structure is documented below.
	TriggerFulfillment CxPageEventHandlerTriggerFulfillmentPtrInput `pulumi:"triggerFulfillment"`
}

func (CxPageEventHandlerArgs) ElementType added in v5.15.0

func (CxPageEventHandlerArgs) ElementType() reflect.Type

func (CxPageEventHandlerArgs) ToCxPageEventHandlerOutput added in v5.15.0

func (i CxPageEventHandlerArgs) ToCxPageEventHandlerOutput() CxPageEventHandlerOutput

func (CxPageEventHandlerArgs) ToCxPageEventHandlerOutputWithContext added in v5.15.0

func (i CxPageEventHandlerArgs) ToCxPageEventHandlerOutputWithContext(ctx context.Context) CxPageEventHandlerOutput

type CxPageEventHandlerArray added in v5.15.0

type CxPageEventHandlerArray []CxPageEventHandlerInput

func (CxPageEventHandlerArray) ElementType added in v5.15.0

func (CxPageEventHandlerArray) ElementType() reflect.Type

func (CxPageEventHandlerArray) ToCxPageEventHandlerArrayOutput added in v5.15.0

func (i CxPageEventHandlerArray) ToCxPageEventHandlerArrayOutput() CxPageEventHandlerArrayOutput

func (CxPageEventHandlerArray) ToCxPageEventHandlerArrayOutputWithContext added in v5.15.0

func (i CxPageEventHandlerArray) ToCxPageEventHandlerArrayOutputWithContext(ctx context.Context) CxPageEventHandlerArrayOutput

type CxPageEventHandlerArrayInput added in v5.15.0

type CxPageEventHandlerArrayInput interface {
	pulumi.Input

	ToCxPageEventHandlerArrayOutput() CxPageEventHandlerArrayOutput
	ToCxPageEventHandlerArrayOutputWithContext(context.Context) CxPageEventHandlerArrayOutput
}

CxPageEventHandlerArrayInput is an input type that accepts CxPageEventHandlerArray and CxPageEventHandlerArrayOutput values. You can construct a concrete instance of `CxPageEventHandlerArrayInput` via:

CxPageEventHandlerArray{ CxPageEventHandlerArgs{...} }

type CxPageEventHandlerArrayOutput added in v5.15.0

type CxPageEventHandlerArrayOutput struct{ *pulumi.OutputState }

func (CxPageEventHandlerArrayOutput) ElementType added in v5.15.0

func (CxPageEventHandlerArrayOutput) Index added in v5.15.0

func (CxPageEventHandlerArrayOutput) ToCxPageEventHandlerArrayOutput added in v5.15.0

func (o CxPageEventHandlerArrayOutput) ToCxPageEventHandlerArrayOutput() CxPageEventHandlerArrayOutput

func (CxPageEventHandlerArrayOutput) ToCxPageEventHandlerArrayOutputWithContext added in v5.15.0

func (o CxPageEventHandlerArrayOutput) ToCxPageEventHandlerArrayOutputWithContext(ctx context.Context) CxPageEventHandlerArrayOutput

type CxPageEventHandlerInput added in v5.15.0

type CxPageEventHandlerInput interface {
	pulumi.Input

	ToCxPageEventHandlerOutput() CxPageEventHandlerOutput
	ToCxPageEventHandlerOutputWithContext(context.Context) CxPageEventHandlerOutput
}

CxPageEventHandlerInput is an input type that accepts CxPageEventHandlerArgs and CxPageEventHandlerOutput values. You can construct a concrete instance of `CxPageEventHandlerInput` via:

CxPageEventHandlerArgs{...}

type CxPageEventHandlerOutput added in v5.15.0

type CxPageEventHandlerOutput struct{ *pulumi.OutputState }

func (CxPageEventHandlerOutput) ElementType added in v5.15.0

func (CxPageEventHandlerOutput) ElementType() reflect.Type

func (CxPageEventHandlerOutput) Event added in v5.15.0

The name of the event to handle.

func (CxPageEventHandlerOutput) Name added in v5.15.0

- The unique identifier of this event handler.

func (CxPageEventHandlerOutput) TargetFlow added in v5.15.0

The target flow to transition to. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>.

func (CxPageEventHandlerOutput) TargetPage added in v5.15.0

The target page to transition to. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page ID>.

func (CxPageEventHandlerOutput) ToCxPageEventHandlerOutput added in v5.15.0

func (o CxPageEventHandlerOutput) ToCxPageEventHandlerOutput() CxPageEventHandlerOutput

func (CxPageEventHandlerOutput) ToCxPageEventHandlerOutputWithContext added in v5.15.0

func (o CxPageEventHandlerOutput) ToCxPageEventHandlerOutputWithContext(ctx context.Context) CxPageEventHandlerOutput

func (CxPageEventHandlerOutput) TriggerFulfillment added in v5.15.0

The fulfillment to call when the event occurs. Handling webhook errors with a fulfillment enabled with webhook could cause infinite loop. It is invalid to specify such fulfillment for a handler handling webhooks. Structure is documented below.

type CxPageEventHandlerTriggerFulfillment added in v5.15.0

type CxPageEventHandlerTriggerFulfillment struct {
	// The list of rich message responses to present to the user.
	// Structure is documented below.
	Messages []CxPageEventHandlerTriggerFulfillmentMessage `pulumi:"messages"`
	// Whether Dialogflow should return currently queued fulfillment response messages in streaming APIs. If a webhook is specified, it happens before Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API. Responses are still queued and returned once in non-streaming API. 2) The flag can be enabled in any fulfillment but only the first 3 partial responses will be returned. You may only want to apply it to fulfillments that have slow webhooks.
	ReturnPartialResponses *bool `pulumi:"returnPartialResponses"`
	// The tag used by the webhook to identify which fulfillment is being called. This field is required if webhook is specified.
	Tag *string `pulumi:"tag"`
	// The webhook to call. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/webhooks/<Webhook ID>.
	Webhook *string `pulumi:"webhook"`
}

type CxPageEventHandlerTriggerFulfillmentArgs added in v5.15.0

type CxPageEventHandlerTriggerFulfillmentArgs struct {
	// The list of rich message responses to present to the user.
	// Structure is documented below.
	Messages CxPageEventHandlerTriggerFulfillmentMessageArrayInput `pulumi:"messages"`
	// Whether Dialogflow should return currently queued fulfillment response messages in streaming APIs. If a webhook is specified, it happens before Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API. Responses are still queued and returned once in non-streaming API. 2) The flag can be enabled in any fulfillment but only the first 3 partial responses will be returned. You may only want to apply it to fulfillments that have slow webhooks.
	ReturnPartialResponses pulumi.BoolPtrInput `pulumi:"returnPartialResponses"`
	// The tag used by the webhook to identify which fulfillment is being called. This field is required if webhook is specified.
	Tag pulumi.StringPtrInput `pulumi:"tag"`
	// The webhook to call. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/webhooks/<Webhook ID>.
	Webhook pulumi.StringPtrInput `pulumi:"webhook"`
}

func (CxPageEventHandlerTriggerFulfillmentArgs) ElementType added in v5.15.0

func (CxPageEventHandlerTriggerFulfillmentArgs) ToCxPageEventHandlerTriggerFulfillmentOutput added in v5.15.0

func (i CxPageEventHandlerTriggerFulfillmentArgs) ToCxPageEventHandlerTriggerFulfillmentOutput() CxPageEventHandlerTriggerFulfillmentOutput

func (CxPageEventHandlerTriggerFulfillmentArgs) ToCxPageEventHandlerTriggerFulfillmentOutputWithContext added in v5.15.0

func (i CxPageEventHandlerTriggerFulfillmentArgs) ToCxPageEventHandlerTriggerFulfillmentOutputWithContext(ctx context.Context) CxPageEventHandlerTriggerFulfillmentOutput

func (CxPageEventHandlerTriggerFulfillmentArgs) ToCxPageEventHandlerTriggerFulfillmentPtrOutput added in v5.15.0

func (i CxPageEventHandlerTriggerFulfillmentArgs) ToCxPageEventHandlerTriggerFulfillmentPtrOutput() CxPageEventHandlerTriggerFulfillmentPtrOutput

func (CxPageEventHandlerTriggerFulfillmentArgs) ToCxPageEventHandlerTriggerFulfillmentPtrOutputWithContext added in v5.15.0

func (i CxPageEventHandlerTriggerFulfillmentArgs) ToCxPageEventHandlerTriggerFulfillmentPtrOutputWithContext(ctx context.Context) CxPageEventHandlerTriggerFulfillmentPtrOutput

type CxPageEventHandlerTriggerFulfillmentInput added in v5.15.0

type CxPageEventHandlerTriggerFulfillmentInput interface {
	pulumi.Input

	ToCxPageEventHandlerTriggerFulfillmentOutput() CxPageEventHandlerTriggerFulfillmentOutput
	ToCxPageEventHandlerTriggerFulfillmentOutputWithContext(context.Context) CxPageEventHandlerTriggerFulfillmentOutput
}

CxPageEventHandlerTriggerFulfillmentInput is an input type that accepts CxPageEventHandlerTriggerFulfillmentArgs and CxPageEventHandlerTriggerFulfillmentOutput values. You can construct a concrete instance of `CxPageEventHandlerTriggerFulfillmentInput` via:

CxPageEventHandlerTriggerFulfillmentArgs{...}

type CxPageEventHandlerTriggerFulfillmentMessage added in v5.15.0

type CxPageEventHandlerTriggerFulfillmentMessage struct {
	// A collection of text responses.
	Text *CxPageEventHandlerTriggerFulfillmentMessageText `pulumi:"text"`
}

type CxPageEventHandlerTriggerFulfillmentMessageArgs added in v5.15.0

type CxPageEventHandlerTriggerFulfillmentMessageArgs struct {
	// A collection of text responses.
	Text CxPageEventHandlerTriggerFulfillmentMessageTextPtrInput `pulumi:"text"`
}

func (CxPageEventHandlerTriggerFulfillmentMessageArgs) ElementType added in v5.15.0

func (CxPageEventHandlerTriggerFulfillmentMessageArgs) ToCxPageEventHandlerTriggerFulfillmentMessageOutput added in v5.15.0

func (i CxPageEventHandlerTriggerFulfillmentMessageArgs) ToCxPageEventHandlerTriggerFulfillmentMessageOutput() CxPageEventHandlerTriggerFulfillmentMessageOutput

func (CxPageEventHandlerTriggerFulfillmentMessageArgs) ToCxPageEventHandlerTriggerFulfillmentMessageOutputWithContext added in v5.15.0

func (i CxPageEventHandlerTriggerFulfillmentMessageArgs) ToCxPageEventHandlerTriggerFulfillmentMessageOutputWithContext(ctx context.Context) CxPageEventHandlerTriggerFulfillmentMessageOutput

type CxPageEventHandlerTriggerFulfillmentMessageArray added in v5.15.0

type CxPageEventHandlerTriggerFulfillmentMessageArray []CxPageEventHandlerTriggerFulfillmentMessageInput

func (CxPageEventHandlerTriggerFulfillmentMessageArray) ElementType added in v5.15.0

func (CxPageEventHandlerTriggerFulfillmentMessageArray) ToCxPageEventHandlerTriggerFulfillmentMessageArrayOutput added in v5.15.0

func (i CxPageEventHandlerTriggerFulfillmentMessageArray) ToCxPageEventHandlerTriggerFulfillmentMessageArrayOutput() CxPageEventHandlerTriggerFulfillmentMessageArrayOutput

func (CxPageEventHandlerTriggerFulfillmentMessageArray) ToCxPageEventHandlerTriggerFulfillmentMessageArrayOutputWithContext added in v5.15.0

func (i CxPageEventHandlerTriggerFulfillmentMessageArray) ToCxPageEventHandlerTriggerFulfillmentMessageArrayOutputWithContext(ctx context.Context) CxPageEventHandlerTriggerFulfillmentMessageArrayOutput

type CxPageEventHandlerTriggerFulfillmentMessageArrayInput added in v5.15.0

type CxPageEventHandlerTriggerFulfillmentMessageArrayInput interface {
	pulumi.Input

	ToCxPageEventHandlerTriggerFulfillmentMessageArrayOutput() CxPageEventHandlerTriggerFulfillmentMessageArrayOutput
	ToCxPageEventHandlerTriggerFulfillmentMessageArrayOutputWithContext(context.Context) CxPageEventHandlerTriggerFulfillmentMessageArrayOutput
}

CxPageEventHandlerTriggerFulfillmentMessageArrayInput is an input type that accepts CxPageEventHandlerTriggerFulfillmentMessageArray and CxPageEventHandlerTriggerFulfillmentMessageArrayOutput values. You can construct a concrete instance of `CxPageEventHandlerTriggerFulfillmentMessageArrayInput` via:

CxPageEventHandlerTriggerFulfillmentMessageArray{ CxPageEventHandlerTriggerFulfillmentMessageArgs{...} }

type CxPageEventHandlerTriggerFulfillmentMessageArrayOutput added in v5.15.0

type CxPageEventHandlerTriggerFulfillmentMessageArrayOutput struct{ *pulumi.OutputState }

func (CxPageEventHandlerTriggerFulfillmentMessageArrayOutput) ElementType added in v5.15.0

func (CxPageEventHandlerTriggerFulfillmentMessageArrayOutput) Index added in v5.15.0

func (CxPageEventHandlerTriggerFulfillmentMessageArrayOutput) ToCxPageEventHandlerTriggerFulfillmentMessageArrayOutput added in v5.15.0

func (CxPageEventHandlerTriggerFulfillmentMessageArrayOutput) ToCxPageEventHandlerTriggerFulfillmentMessageArrayOutputWithContext added in v5.15.0

func (o CxPageEventHandlerTriggerFulfillmentMessageArrayOutput) ToCxPageEventHandlerTriggerFulfillmentMessageArrayOutputWithContext(ctx context.Context) CxPageEventHandlerTriggerFulfillmentMessageArrayOutput

type CxPageEventHandlerTriggerFulfillmentMessageInput added in v5.15.0

type CxPageEventHandlerTriggerFulfillmentMessageInput interface {
	pulumi.Input

	ToCxPageEventHandlerTriggerFulfillmentMessageOutput() CxPageEventHandlerTriggerFulfillmentMessageOutput
	ToCxPageEventHandlerTriggerFulfillmentMessageOutputWithContext(context.Context) CxPageEventHandlerTriggerFulfillmentMessageOutput
}

CxPageEventHandlerTriggerFulfillmentMessageInput is an input type that accepts CxPageEventHandlerTriggerFulfillmentMessageArgs and CxPageEventHandlerTriggerFulfillmentMessageOutput values. You can construct a concrete instance of `CxPageEventHandlerTriggerFulfillmentMessageInput` via:

CxPageEventHandlerTriggerFulfillmentMessageArgs{...}

type CxPageEventHandlerTriggerFulfillmentMessageOutput added in v5.15.0

type CxPageEventHandlerTriggerFulfillmentMessageOutput struct{ *pulumi.OutputState }

func (CxPageEventHandlerTriggerFulfillmentMessageOutput) ElementType added in v5.15.0

func (CxPageEventHandlerTriggerFulfillmentMessageOutput) Text added in v5.15.0

A collection of text responses.

func (CxPageEventHandlerTriggerFulfillmentMessageOutput) ToCxPageEventHandlerTriggerFulfillmentMessageOutput added in v5.15.0

func (o CxPageEventHandlerTriggerFulfillmentMessageOutput) ToCxPageEventHandlerTriggerFulfillmentMessageOutput() CxPageEventHandlerTriggerFulfillmentMessageOutput

func (CxPageEventHandlerTriggerFulfillmentMessageOutput) ToCxPageEventHandlerTriggerFulfillmentMessageOutputWithContext added in v5.15.0

func (o CxPageEventHandlerTriggerFulfillmentMessageOutput) ToCxPageEventHandlerTriggerFulfillmentMessageOutputWithContext(ctx context.Context) CxPageEventHandlerTriggerFulfillmentMessageOutput

type CxPageEventHandlerTriggerFulfillmentMessageText added in v5.15.0

type CxPageEventHandlerTriggerFulfillmentMessageText struct {
	// -
	// Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.
	AllowPlaybackInterruption *bool `pulumi:"allowPlaybackInterruption"`
	// A collection of text responses.
	Texts []string `pulumi:"texts"`
}

type CxPageEventHandlerTriggerFulfillmentMessageTextArgs added in v5.15.0

type CxPageEventHandlerTriggerFulfillmentMessageTextArgs struct {
	// -
	// Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.
	AllowPlaybackInterruption pulumi.BoolPtrInput `pulumi:"allowPlaybackInterruption"`
	// A collection of text responses.
	Texts pulumi.StringArrayInput `pulumi:"texts"`
}

func (CxPageEventHandlerTriggerFulfillmentMessageTextArgs) ElementType added in v5.15.0

func (CxPageEventHandlerTriggerFulfillmentMessageTextArgs) ToCxPageEventHandlerTriggerFulfillmentMessageTextOutput added in v5.15.0

func (i CxPageEventHandlerTriggerFulfillmentMessageTextArgs) ToCxPageEventHandlerTriggerFulfillmentMessageTextOutput() CxPageEventHandlerTriggerFulfillmentMessageTextOutput

func (CxPageEventHandlerTriggerFulfillmentMessageTextArgs) ToCxPageEventHandlerTriggerFulfillmentMessageTextOutputWithContext added in v5.15.0

func (i CxPageEventHandlerTriggerFulfillmentMessageTextArgs) ToCxPageEventHandlerTriggerFulfillmentMessageTextOutputWithContext(ctx context.Context) CxPageEventHandlerTriggerFulfillmentMessageTextOutput

func (CxPageEventHandlerTriggerFulfillmentMessageTextArgs) ToCxPageEventHandlerTriggerFulfillmentMessageTextPtrOutput added in v5.15.0

func (i CxPageEventHandlerTriggerFulfillmentMessageTextArgs) ToCxPageEventHandlerTriggerFulfillmentMessageTextPtrOutput() CxPageEventHandlerTriggerFulfillmentMessageTextPtrOutput

func (CxPageEventHandlerTriggerFulfillmentMessageTextArgs) ToCxPageEventHandlerTriggerFulfillmentMessageTextPtrOutputWithContext added in v5.15.0

func (i CxPageEventHandlerTriggerFulfillmentMessageTextArgs) ToCxPageEventHandlerTriggerFulfillmentMessageTextPtrOutputWithContext(ctx context.Context) CxPageEventHandlerTriggerFulfillmentMessageTextPtrOutput

type CxPageEventHandlerTriggerFulfillmentMessageTextInput added in v5.15.0

type CxPageEventHandlerTriggerFulfillmentMessageTextInput interface {
	pulumi.Input

	ToCxPageEventHandlerTriggerFulfillmentMessageTextOutput() CxPageEventHandlerTriggerFulfillmentMessageTextOutput
	ToCxPageEventHandlerTriggerFulfillmentMessageTextOutputWithContext(context.Context) CxPageEventHandlerTriggerFulfillmentMessageTextOutput
}

CxPageEventHandlerTriggerFulfillmentMessageTextInput is an input type that accepts CxPageEventHandlerTriggerFulfillmentMessageTextArgs and CxPageEventHandlerTriggerFulfillmentMessageTextOutput values. You can construct a concrete instance of `CxPageEventHandlerTriggerFulfillmentMessageTextInput` via:

CxPageEventHandlerTriggerFulfillmentMessageTextArgs{...}

type CxPageEventHandlerTriggerFulfillmentMessageTextOutput added in v5.15.0

type CxPageEventHandlerTriggerFulfillmentMessageTextOutput struct{ *pulumi.OutputState }

func (CxPageEventHandlerTriggerFulfillmentMessageTextOutput) AllowPlaybackInterruption added in v5.15.0

- Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.

func (CxPageEventHandlerTriggerFulfillmentMessageTextOutput) ElementType added in v5.15.0

func (CxPageEventHandlerTriggerFulfillmentMessageTextOutput) Texts added in v5.15.0

A collection of text responses.

func (CxPageEventHandlerTriggerFulfillmentMessageTextOutput) ToCxPageEventHandlerTriggerFulfillmentMessageTextOutput added in v5.15.0

func (CxPageEventHandlerTriggerFulfillmentMessageTextOutput) ToCxPageEventHandlerTriggerFulfillmentMessageTextOutputWithContext added in v5.15.0

func (o CxPageEventHandlerTriggerFulfillmentMessageTextOutput) ToCxPageEventHandlerTriggerFulfillmentMessageTextOutputWithContext(ctx context.Context) CxPageEventHandlerTriggerFulfillmentMessageTextOutput

func (CxPageEventHandlerTriggerFulfillmentMessageTextOutput) ToCxPageEventHandlerTriggerFulfillmentMessageTextPtrOutput added in v5.15.0

func (o CxPageEventHandlerTriggerFulfillmentMessageTextOutput) ToCxPageEventHandlerTriggerFulfillmentMessageTextPtrOutput() CxPageEventHandlerTriggerFulfillmentMessageTextPtrOutput

func (CxPageEventHandlerTriggerFulfillmentMessageTextOutput) ToCxPageEventHandlerTriggerFulfillmentMessageTextPtrOutputWithContext added in v5.15.0

func (o CxPageEventHandlerTriggerFulfillmentMessageTextOutput) ToCxPageEventHandlerTriggerFulfillmentMessageTextPtrOutputWithContext(ctx context.Context) CxPageEventHandlerTriggerFulfillmentMessageTextPtrOutput

type CxPageEventHandlerTriggerFulfillmentMessageTextPtrInput added in v5.15.0

type CxPageEventHandlerTriggerFulfillmentMessageTextPtrInput interface {
	pulumi.Input

	ToCxPageEventHandlerTriggerFulfillmentMessageTextPtrOutput() CxPageEventHandlerTriggerFulfillmentMessageTextPtrOutput
	ToCxPageEventHandlerTriggerFulfillmentMessageTextPtrOutputWithContext(context.Context) CxPageEventHandlerTriggerFulfillmentMessageTextPtrOutput
}

CxPageEventHandlerTriggerFulfillmentMessageTextPtrInput is an input type that accepts CxPageEventHandlerTriggerFulfillmentMessageTextArgs, CxPageEventHandlerTriggerFulfillmentMessageTextPtr and CxPageEventHandlerTriggerFulfillmentMessageTextPtrOutput values. You can construct a concrete instance of `CxPageEventHandlerTriggerFulfillmentMessageTextPtrInput` via:

        CxPageEventHandlerTriggerFulfillmentMessageTextArgs{...}

or:

        nil

type CxPageEventHandlerTriggerFulfillmentMessageTextPtrOutput added in v5.15.0

type CxPageEventHandlerTriggerFulfillmentMessageTextPtrOutput struct{ *pulumi.OutputState }

func (CxPageEventHandlerTriggerFulfillmentMessageTextPtrOutput) AllowPlaybackInterruption added in v5.15.0

- Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.

func (CxPageEventHandlerTriggerFulfillmentMessageTextPtrOutput) Elem added in v5.15.0

func (CxPageEventHandlerTriggerFulfillmentMessageTextPtrOutput) ElementType added in v5.15.0

func (CxPageEventHandlerTriggerFulfillmentMessageTextPtrOutput) Texts added in v5.15.0

A collection of text responses.

func (CxPageEventHandlerTriggerFulfillmentMessageTextPtrOutput) ToCxPageEventHandlerTriggerFulfillmentMessageTextPtrOutput added in v5.15.0

func (CxPageEventHandlerTriggerFulfillmentMessageTextPtrOutput) ToCxPageEventHandlerTriggerFulfillmentMessageTextPtrOutputWithContext added in v5.15.0

func (o CxPageEventHandlerTriggerFulfillmentMessageTextPtrOutput) ToCxPageEventHandlerTriggerFulfillmentMessageTextPtrOutputWithContext(ctx context.Context) CxPageEventHandlerTriggerFulfillmentMessageTextPtrOutput

type CxPageEventHandlerTriggerFulfillmentOutput added in v5.15.0

type CxPageEventHandlerTriggerFulfillmentOutput struct{ *pulumi.OutputState }

func (CxPageEventHandlerTriggerFulfillmentOutput) ElementType added in v5.15.0

func (CxPageEventHandlerTriggerFulfillmentOutput) Messages added in v5.15.0

The list of rich message responses to present to the user. Structure is documented below.

func (CxPageEventHandlerTriggerFulfillmentOutput) ReturnPartialResponses added in v5.15.0

Whether Dialogflow should return currently queued fulfillment response messages in streaming APIs. If a webhook is specified, it happens before Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API. Responses are still queued and returned once in non-streaming API. 2) The flag can be enabled in any fulfillment but only the first 3 partial responses will be returned. You may only want to apply it to fulfillments that have slow webhooks.

func (CxPageEventHandlerTriggerFulfillmentOutput) Tag added in v5.15.0

The tag used by the webhook to identify which fulfillment is being called. This field is required if webhook is specified.

func (CxPageEventHandlerTriggerFulfillmentOutput) ToCxPageEventHandlerTriggerFulfillmentOutput added in v5.15.0

func (o CxPageEventHandlerTriggerFulfillmentOutput) ToCxPageEventHandlerTriggerFulfillmentOutput() CxPageEventHandlerTriggerFulfillmentOutput

func (CxPageEventHandlerTriggerFulfillmentOutput) ToCxPageEventHandlerTriggerFulfillmentOutputWithContext added in v5.15.0

func (o CxPageEventHandlerTriggerFulfillmentOutput) ToCxPageEventHandlerTriggerFulfillmentOutputWithContext(ctx context.Context) CxPageEventHandlerTriggerFulfillmentOutput

func (CxPageEventHandlerTriggerFulfillmentOutput) ToCxPageEventHandlerTriggerFulfillmentPtrOutput added in v5.15.0

func (o CxPageEventHandlerTriggerFulfillmentOutput) ToCxPageEventHandlerTriggerFulfillmentPtrOutput() CxPageEventHandlerTriggerFulfillmentPtrOutput

func (CxPageEventHandlerTriggerFulfillmentOutput) ToCxPageEventHandlerTriggerFulfillmentPtrOutputWithContext added in v5.15.0

func (o CxPageEventHandlerTriggerFulfillmentOutput) ToCxPageEventHandlerTriggerFulfillmentPtrOutputWithContext(ctx context.Context) CxPageEventHandlerTriggerFulfillmentPtrOutput

func (CxPageEventHandlerTriggerFulfillmentOutput) Webhook added in v5.15.0

The webhook to call. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/webhooks/<Webhook ID>.

type CxPageEventHandlerTriggerFulfillmentPtrInput added in v5.15.0

type CxPageEventHandlerTriggerFulfillmentPtrInput interface {
	pulumi.Input

	ToCxPageEventHandlerTriggerFulfillmentPtrOutput() CxPageEventHandlerTriggerFulfillmentPtrOutput
	ToCxPageEventHandlerTriggerFulfillmentPtrOutputWithContext(context.Context) CxPageEventHandlerTriggerFulfillmentPtrOutput
}

CxPageEventHandlerTriggerFulfillmentPtrInput is an input type that accepts CxPageEventHandlerTriggerFulfillmentArgs, CxPageEventHandlerTriggerFulfillmentPtr and CxPageEventHandlerTriggerFulfillmentPtrOutput values. You can construct a concrete instance of `CxPageEventHandlerTriggerFulfillmentPtrInput` via:

        CxPageEventHandlerTriggerFulfillmentArgs{...}

or:

        nil

type CxPageEventHandlerTriggerFulfillmentPtrOutput added in v5.15.0

type CxPageEventHandlerTriggerFulfillmentPtrOutput struct{ *pulumi.OutputState }

func (CxPageEventHandlerTriggerFulfillmentPtrOutput) Elem added in v5.15.0

func (CxPageEventHandlerTriggerFulfillmentPtrOutput) ElementType added in v5.15.0

func (CxPageEventHandlerTriggerFulfillmentPtrOutput) Messages added in v5.15.0

The list of rich message responses to present to the user. Structure is documented below.

func (CxPageEventHandlerTriggerFulfillmentPtrOutput) ReturnPartialResponses added in v5.15.0

Whether Dialogflow should return currently queued fulfillment response messages in streaming APIs. If a webhook is specified, it happens before Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API. Responses are still queued and returned once in non-streaming API. 2) The flag can be enabled in any fulfillment but only the first 3 partial responses will be returned. You may only want to apply it to fulfillments that have slow webhooks.

func (CxPageEventHandlerTriggerFulfillmentPtrOutput) Tag added in v5.15.0

The tag used by the webhook to identify which fulfillment is being called. This field is required if webhook is specified.

func (CxPageEventHandlerTriggerFulfillmentPtrOutput) ToCxPageEventHandlerTriggerFulfillmentPtrOutput added in v5.15.0

func (o CxPageEventHandlerTriggerFulfillmentPtrOutput) ToCxPageEventHandlerTriggerFulfillmentPtrOutput() CxPageEventHandlerTriggerFulfillmentPtrOutput

func (CxPageEventHandlerTriggerFulfillmentPtrOutput) ToCxPageEventHandlerTriggerFulfillmentPtrOutputWithContext added in v5.15.0

func (o CxPageEventHandlerTriggerFulfillmentPtrOutput) ToCxPageEventHandlerTriggerFulfillmentPtrOutputWithContext(ctx context.Context) CxPageEventHandlerTriggerFulfillmentPtrOutput

func (CxPageEventHandlerTriggerFulfillmentPtrOutput) Webhook added in v5.15.0

The webhook to call. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/webhooks/<Webhook ID>.

type CxPageForm added in v5.15.0

type CxPageForm struct {
	// Parameters to collect from the user.
	// Structure is documented below.
	Parameters []CxPageFormParameter `pulumi:"parameters"`
}

type CxPageFormArgs added in v5.15.0

type CxPageFormArgs struct {
	// Parameters to collect from the user.
	// Structure is documented below.
	Parameters CxPageFormParameterArrayInput `pulumi:"parameters"`
}

func (CxPageFormArgs) ElementType added in v5.15.0

func (CxPageFormArgs) ElementType() reflect.Type

func (CxPageFormArgs) ToCxPageFormOutput added in v5.15.0

func (i CxPageFormArgs) ToCxPageFormOutput() CxPageFormOutput

func (CxPageFormArgs) ToCxPageFormOutputWithContext added in v5.15.0

func (i CxPageFormArgs) ToCxPageFormOutputWithContext(ctx context.Context) CxPageFormOutput

func (CxPageFormArgs) ToCxPageFormPtrOutput added in v5.15.0

func (i CxPageFormArgs) ToCxPageFormPtrOutput() CxPageFormPtrOutput

func (CxPageFormArgs) ToCxPageFormPtrOutputWithContext added in v5.15.0

func (i CxPageFormArgs) ToCxPageFormPtrOutputWithContext(ctx context.Context) CxPageFormPtrOutput

type CxPageFormInput added in v5.15.0

type CxPageFormInput interface {
	pulumi.Input

	ToCxPageFormOutput() CxPageFormOutput
	ToCxPageFormOutputWithContext(context.Context) CxPageFormOutput
}

CxPageFormInput is an input type that accepts CxPageFormArgs and CxPageFormOutput values. You can construct a concrete instance of `CxPageFormInput` via:

CxPageFormArgs{...}

type CxPageFormOutput added in v5.15.0

type CxPageFormOutput struct{ *pulumi.OutputState }

func (CxPageFormOutput) ElementType added in v5.15.0

func (CxPageFormOutput) ElementType() reflect.Type

func (CxPageFormOutput) Parameters added in v5.15.0

Parameters to collect from the user. Structure is documented below.

func (CxPageFormOutput) ToCxPageFormOutput added in v5.15.0

func (o CxPageFormOutput) ToCxPageFormOutput() CxPageFormOutput

func (CxPageFormOutput) ToCxPageFormOutputWithContext added in v5.15.0

func (o CxPageFormOutput) ToCxPageFormOutputWithContext(ctx context.Context) CxPageFormOutput

func (CxPageFormOutput) ToCxPageFormPtrOutput added in v5.15.0

func (o CxPageFormOutput) ToCxPageFormPtrOutput() CxPageFormPtrOutput

func (CxPageFormOutput) ToCxPageFormPtrOutputWithContext added in v5.15.0

func (o CxPageFormOutput) ToCxPageFormPtrOutputWithContext(ctx context.Context) CxPageFormPtrOutput

type CxPageFormParameter added in v5.15.0

type CxPageFormParameter struct {
	// The human-readable name of the parameter, unique within the form.
	DisplayName *string `pulumi:"displayName"`
	// The entity type of the parameter.
	// Format: projects/-/locations/-/agents/-/entityTypes/<System Entity Type ID> for system entity types (for example, projects/-/locations/-/agents/-/entityTypes/sys.date), or projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/entityTypes/<Entity Type ID> for developer entity types.
	EntityType *string `pulumi:"entityType"`
	// Defines fill behavior for the parameter.
	// Structure is documented below.
	FillBehavior *CxPageFormParameterFillBehavior `pulumi:"fillBehavior"`
	// Indicates whether the parameter represents a list of values.
	IsList *bool `pulumi:"isList"`
	// 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.
	Redact *bool `pulumi:"redact"`
	// Indicates whether the parameter is required. Optional parameters will not trigger prompts; however, they are filled if the user specifies them.
	// Required parameters must be filled before form filling concludes.
	Required *bool `pulumi:"required"`
}

type CxPageFormParameterArgs added in v5.15.0

type CxPageFormParameterArgs struct {
	// The human-readable name of the parameter, unique within the form.
	DisplayName pulumi.StringPtrInput `pulumi:"displayName"`
	// The entity type of the parameter.
	// Format: projects/-/locations/-/agents/-/entityTypes/<System Entity Type ID> for system entity types (for example, projects/-/locations/-/agents/-/entityTypes/sys.date), or projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/entityTypes/<Entity Type ID> for developer entity types.
	EntityType pulumi.StringPtrInput `pulumi:"entityType"`
	// Defines fill behavior for the parameter.
	// Structure is documented below.
	FillBehavior CxPageFormParameterFillBehaviorPtrInput `pulumi:"fillBehavior"`
	// Indicates whether the parameter represents a list of values.
	IsList pulumi.BoolPtrInput `pulumi:"isList"`
	// 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.
	Redact pulumi.BoolPtrInput `pulumi:"redact"`
	// Indicates whether the parameter is required. Optional parameters will not trigger prompts; however, they are filled if the user specifies them.
	// Required parameters must be filled before form filling concludes.
	Required pulumi.BoolPtrInput `pulumi:"required"`
}

func (CxPageFormParameterArgs) ElementType added in v5.15.0

func (CxPageFormParameterArgs) ElementType() reflect.Type

func (CxPageFormParameterArgs) ToCxPageFormParameterOutput added in v5.15.0

func (i CxPageFormParameterArgs) ToCxPageFormParameterOutput() CxPageFormParameterOutput

func (CxPageFormParameterArgs) ToCxPageFormParameterOutputWithContext added in v5.15.0

func (i CxPageFormParameterArgs) ToCxPageFormParameterOutputWithContext(ctx context.Context) CxPageFormParameterOutput

type CxPageFormParameterArray added in v5.15.0

type CxPageFormParameterArray []CxPageFormParameterInput

func (CxPageFormParameterArray) ElementType added in v5.15.0

func (CxPageFormParameterArray) ElementType() reflect.Type

func (CxPageFormParameterArray) ToCxPageFormParameterArrayOutput added in v5.15.0

func (i CxPageFormParameterArray) ToCxPageFormParameterArrayOutput() CxPageFormParameterArrayOutput

func (CxPageFormParameterArray) ToCxPageFormParameterArrayOutputWithContext added in v5.15.0

func (i CxPageFormParameterArray) ToCxPageFormParameterArrayOutputWithContext(ctx context.Context) CxPageFormParameterArrayOutput

type CxPageFormParameterArrayInput added in v5.15.0

type CxPageFormParameterArrayInput interface {
	pulumi.Input

	ToCxPageFormParameterArrayOutput() CxPageFormParameterArrayOutput
	ToCxPageFormParameterArrayOutputWithContext(context.Context) CxPageFormParameterArrayOutput
}

CxPageFormParameterArrayInput is an input type that accepts CxPageFormParameterArray and CxPageFormParameterArrayOutput values. You can construct a concrete instance of `CxPageFormParameterArrayInput` via:

CxPageFormParameterArray{ CxPageFormParameterArgs{...} }

type CxPageFormParameterArrayOutput added in v5.15.0

type CxPageFormParameterArrayOutput struct{ *pulumi.OutputState }

func (CxPageFormParameterArrayOutput) ElementType added in v5.15.0

func (CxPageFormParameterArrayOutput) Index added in v5.15.0

func (CxPageFormParameterArrayOutput) ToCxPageFormParameterArrayOutput added in v5.15.0

func (o CxPageFormParameterArrayOutput) ToCxPageFormParameterArrayOutput() CxPageFormParameterArrayOutput

func (CxPageFormParameterArrayOutput) ToCxPageFormParameterArrayOutputWithContext added in v5.15.0

func (o CxPageFormParameterArrayOutput) ToCxPageFormParameterArrayOutputWithContext(ctx context.Context) CxPageFormParameterArrayOutput

type CxPageFormParameterFillBehavior added in v5.15.0

type CxPageFormParameterFillBehavior struct {
	// The fulfillment to provide the initial prompt that the agent can present to the user in order to fill the parameter.
	// Structure is documented below.
	InitialPromptFulfillment *CxPageFormParameterFillBehaviorInitialPromptFulfillment `pulumi:"initialPromptFulfillment"`
}

type CxPageFormParameterFillBehaviorArgs added in v5.15.0

type CxPageFormParameterFillBehaviorArgs struct {
	// The fulfillment to provide the initial prompt that the agent can present to the user in order to fill the parameter.
	// Structure is documented below.
	InitialPromptFulfillment CxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrInput `pulumi:"initialPromptFulfillment"`
}

func (CxPageFormParameterFillBehaviorArgs) ElementType added in v5.15.0

func (CxPageFormParameterFillBehaviorArgs) ToCxPageFormParameterFillBehaviorOutput added in v5.15.0

func (i CxPageFormParameterFillBehaviorArgs) ToCxPageFormParameterFillBehaviorOutput() CxPageFormParameterFillBehaviorOutput

func (CxPageFormParameterFillBehaviorArgs) ToCxPageFormParameterFillBehaviorOutputWithContext added in v5.15.0

func (i CxPageFormParameterFillBehaviorArgs) ToCxPageFormParameterFillBehaviorOutputWithContext(ctx context.Context) CxPageFormParameterFillBehaviorOutput

func (CxPageFormParameterFillBehaviorArgs) ToCxPageFormParameterFillBehaviorPtrOutput added in v5.15.0

func (i CxPageFormParameterFillBehaviorArgs) ToCxPageFormParameterFillBehaviorPtrOutput() CxPageFormParameterFillBehaviorPtrOutput

func (CxPageFormParameterFillBehaviorArgs) ToCxPageFormParameterFillBehaviorPtrOutputWithContext added in v5.15.0

func (i CxPageFormParameterFillBehaviorArgs) ToCxPageFormParameterFillBehaviorPtrOutputWithContext(ctx context.Context) CxPageFormParameterFillBehaviorPtrOutput

type CxPageFormParameterFillBehaviorInitialPromptFulfillment added in v5.15.0

type CxPageFormParameterFillBehaviorInitialPromptFulfillment struct {
	// The list of rich message responses to present to the user.
	// Structure is documented below.
	Messages []CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessage `pulumi:"messages"`
	// Whether Dialogflow should return currently queued fulfillment response messages in streaming APIs. If a webhook is specified, it happens before Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API. Responses are still queued and returned once in non-streaming API. 2) The flag can be enabled in any fulfillment but only the first 3 partial responses will be returned. You may only want to apply it to fulfillments that have slow webhooks.
	ReturnPartialResponses *bool `pulumi:"returnPartialResponses"`
	// The tag used by the webhook to identify which fulfillment is being called. This field is required if webhook is specified.
	Tag *string `pulumi:"tag"`
	// The webhook to call. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/webhooks/<Webhook ID>.
	Webhook *string `pulumi:"webhook"`
}

type CxPageFormParameterFillBehaviorInitialPromptFulfillmentArgs added in v5.15.0

type CxPageFormParameterFillBehaviorInitialPromptFulfillmentArgs struct {
	// The list of rich message responses to present to the user.
	// Structure is documented below.
	Messages CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArrayInput `pulumi:"messages"`
	// Whether Dialogflow should return currently queued fulfillment response messages in streaming APIs. If a webhook is specified, it happens before Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API. Responses are still queued and returned once in non-streaming API. 2) The flag can be enabled in any fulfillment but only the first 3 partial responses will be returned. You may only want to apply it to fulfillments that have slow webhooks.
	ReturnPartialResponses pulumi.BoolPtrInput `pulumi:"returnPartialResponses"`
	// The tag used by the webhook to identify which fulfillment is being called. This field is required if webhook is specified.
	Tag pulumi.StringPtrInput `pulumi:"tag"`
	// The webhook to call. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/webhooks/<Webhook ID>.
	Webhook pulumi.StringPtrInput `pulumi:"webhook"`
}

func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentArgs) ElementType added in v5.15.0

func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentArgs) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentOutput added in v5.15.0

func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentArgs) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentOutputWithContext added in v5.15.0

func (i CxPageFormParameterFillBehaviorInitialPromptFulfillmentArgs) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentOutputWithContext(ctx context.Context) CxPageFormParameterFillBehaviorInitialPromptFulfillmentOutput

func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentArgs) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutput added in v5.15.0

func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentArgs) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutputWithContext added in v5.15.0

func (i CxPageFormParameterFillBehaviorInitialPromptFulfillmentArgs) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutputWithContext(ctx context.Context) CxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutput

type CxPageFormParameterFillBehaviorInitialPromptFulfillmentInput added in v5.15.0

type CxPageFormParameterFillBehaviorInitialPromptFulfillmentInput interface {
	pulumi.Input

	ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentOutput() CxPageFormParameterFillBehaviorInitialPromptFulfillmentOutput
	ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentOutputWithContext(context.Context) CxPageFormParameterFillBehaviorInitialPromptFulfillmentOutput
}

CxPageFormParameterFillBehaviorInitialPromptFulfillmentInput is an input type that accepts CxPageFormParameterFillBehaviorInitialPromptFulfillmentArgs and CxPageFormParameterFillBehaviorInitialPromptFulfillmentOutput values. You can construct a concrete instance of `CxPageFormParameterFillBehaviorInitialPromptFulfillmentInput` via:

CxPageFormParameterFillBehaviorInitialPromptFulfillmentArgs{...}

type CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessage added in v5.15.0

type CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessage struct {
	// A collection of text responses.
	Text *CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageText `pulumi:"text"`
}

type CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArgs added in v5.15.0

type CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArgs struct {
	// A collection of text responses.
	Text CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrInput `pulumi:"text"`
}

func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArgs) ElementType added in v5.15.0

func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArgs) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageOutput added in v5.15.0

func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArgs) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageOutputWithContext added in v5.15.0

func (i CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArgs) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageOutputWithContext(ctx context.Context) CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageOutput

type CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArray added in v5.15.0

type CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArray []CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageInput

func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArray) ElementType added in v5.15.0

func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArray) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArrayOutput added in v5.15.0

func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArray) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArrayOutputWithContext added in v5.15.0

func (i CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArray) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArrayOutputWithContext(ctx context.Context) CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArrayOutput

type CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArrayInput added in v5.15.0

type CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArrayInput interface {
	pulumi.Input

	ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArrayOutput() CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArrayOutput
	ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArrayOutputWithContext(context.Context) CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArrayOutput
}

CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArrayInput is an input type that accepts CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArray and CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArrayOutput values. You can construct a concrete instance of `CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArrayInput` via:

CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArray{ CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArgs{...} }

type CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArrayOutput added in v5.15.0

type CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArrayOutput struct{ *pulumi.OutputState }

func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArrayOutput) ElementType added in v5.15.0

func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArrayOutput) Index added in v5.15.0

func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArrayOutput) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArrayOutput added in v5.15.0

func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArrayOutput) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArrayOutputWithContext added in v5.15.0

type CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageInput added in v5.15.0

type CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageInput interface {
	pulumi.Input

	ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageOutput() CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageOutput
	ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageOutputWithContext(context.Context) CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageOutput
}

CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageInput is an input type that accepts CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArgs and CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageOutput values. You can construct a concrete instance of `CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageInput` via:

CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageArgs{...}

type CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageOutput added in v5.15.0

type CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageOutput struct{ *pulumi.OutputState }

func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageOutput) ElementType added in v5.15.0

func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageOutput) Text added in v5.15.0

A collection of text responses.

func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageOutput) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageOutput added in v5.15.0

func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageOutput) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageOutputWithContext added in v5.15.0

func (o CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageOutput) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageOutputWithContext(ctx context.Context) CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageOutput

type CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageText added in v5.15.0

type CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageText struct {
	// -
	// Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.
	AllowPlaybackInterruption *bool `pulumi:"allowPlaybackInterruption"`
	// A collection of text responses.
	Texts []string `pulumi:"texts"`
}

type CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextArgs added in v5.15.0

type CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextArgs struct {
	// -
	// Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.
	AllowPlaybackInterruption pulumi.BoolPtrInput `pulumi:"allowPlaybackInterruption"`
	// A collection of text responses.
	Texts pulumi.StringArrayInput `pulumi:"texts"`
}

func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextArgs) ElementType added in v5.15.0

func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextArgs) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextOutput added in v5.15.0

func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextArgs) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextOutputWithContext added in v5.15.0

func (i CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextArgs) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextOutputWithContext(ctx context.Context) CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextOutput

func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextArgs) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrOutput added in v5.15.0

func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextArgs) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrOutputWithContext added in v5.15.0

func (i CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextArgs) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrOutputWithContext(ctx context.Context) CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrOutput

type CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextInput added in v5.15.0

type CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextInput interface {
	pulumi.Input

	ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextOutput() CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextOutput
	ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextOutputWithContext(context.Context) CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextOutput
}

CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextInput is an input type that accepts CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextArgs and CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextOutput values. You can construct a concrete instance of `CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextInput` via:

CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextArgs{...}

type CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextOutput added in v5.15.0

type CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextOutput struct{ *pulumi.OutputState }

func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextOutput) AllowPlaybackInterruption added in v5.15.0

- Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.

func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextOutput) ElementType added in v5.15.0

func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextOutput) Texts added in v5.15.0

A collection of text responses.

func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextOutput) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextOutput added in v5.15.0

func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextOutput) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextOutputWithContext added in v5.15.0

func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextOutput) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrOutput added in v5.15.0

func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextOutput) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrOutputWithContext added in v5.15.0

func (o CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextOutput) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrOutputWithContext(ctx context.Context) CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrOutput

type CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrInput added in v5.15.0

type CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrInput interface {
	pulumi.Input

	ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrOutput() CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrOutput
	ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrOutputWithContext(context.Context) CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrOutput
}

CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrInput is an input type that accepts CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextArgs, CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtr and CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrOutput values. You can construct a concrete instance of `CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrInput` via:

        CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextArgs{...}

or:

        nil

type CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrOutput added in v5.15.0

type CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrOutput struct{ *pulumi.OutputState }

func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrOutput) AllowPlaybackInterruption added in v5.15.0

- Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.

func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrOutput) Elem added in v5.15.0

func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrOutput) ElementType added in v5.15.0

func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrOutput) Texts added in v5.15.0

A collection of text responses.

func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrOutput) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrOutput added in v5.15.0

func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrOutput) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentMessageTextPtrOutputWithContext added in v5.15.0

type CxPageFormParameterFillBehaviorInitialPromptFulfillmentOutput added in v5.15.0

type CxPageFormParameterFillBehaviorInitialPromptFulfillmentOutput struct{ *pulumi.OutputState }

func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentOutput) ElementType added in v5.15.0

func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentOutput) Messages added in v5.15.0

The list of rich message responses to present to the user. Structure is documented below.

func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentOutput) ReturnPartialResponses added in v5.15.0

Whether Dialogflow should return currently queued fulfillment response messages in streaming APIs. If a webhook is specified, it happens before Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API. Responses are still queued and returned once in non-streaming API. 2) The flag can be enabled in any fulfillment but only the first 3 partial responses will be returned. You may only want to apply it to fulfillments that have slow webhooks.

func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentOutput) Tag added in v5.15.0

The tag used by the webhook to identify which fulfillment is being called. This field is required if webhook is specified.

func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentOutput) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentOutput added in v5.15.0

func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentOutput) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentOutputWithContext added in v5.15.0

func (o CxPageFormParameterFillBehaviorInitialPromptFulfillmentOutput) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentOutputWithContext(ctx context.Context) CxPageFormParameterFillBehaviorInitialPromptFulfillmentOutput

func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentOutput) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutput added in v5.15.0

func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentOutput) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutputWithContext added in v5.15.0

func (o CxPageFormParameterFillBehaviorInitialPromptFulfillmentOutput) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutputWithContext(ctx context.Context) CxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutput

func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentOutput) Webhook added in v5.15.0

The webhook to call. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/webhooks/<Webhook ID>.

type CxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrInput added in v5.15.0

type CxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrInput interface {
	pulumi.Input

	ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutput() CxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutput
	ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutputWithContext(context.Context) CxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutput
}

CxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrInput is an input type that accepts CxPageFormParameterFillBehaviorInitialPromptFulfillmentArgs, CxPageFormParameterFillBehaviorInitialPromptFulfillmentPtr and CxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutput values. You can construct a concrete instance of `CxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrInput` via:

        CxPageFormParameterFillBehaviorInitialPromptFulfillmentArgs{...}

or:

        nil

type CxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutput added in v5.15.0

type CxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutput struct{ *pulumi.OutputState }

func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutput) Elem added in v5.15.0

func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutput) ElementType added in v5.15.0

func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutput) Messages added in v5.15.0

The list of rich message responses to present to the user. Structure is documented below.

func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutput) ReturnPartialResponses added in v5.15.0

Whether Dialogflow should return currently queued fulfillment response messages in streaming APIs. If a webhook is specified, it happens before Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API. Responses are still queued and returned once in non-streaming API. 2) The flag can be enabled in any fulfillment but only the first 3 partial responses will be returned. You may only want to apply it to fulfillments that have slow webhooks.

func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutput) Tag added in v5.15.0

The tag used by the webhook to identify which fulfillment is being called. This field is required if webhook is specified.

func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutput) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutput added in v5.15.0

func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutput) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutputWithContext added in v5.15.0

func (o CxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutput) ToCxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutputWithContext(ctx context.Context) CxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutput

func (CxPageFormParameterFillBehaviorInitialPromptFulfillmentPtrOutput) Webhook added in v5.15.0

The webhook to call. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/webhooks/<Webhook ID>.

type CxPageFormParameterFillBehaviorInput added in v5.15.0

type CxPageFormParameterFillBehaviorInput interface {
	pulumi.Input

	ToCxPageFormParameterFillBehaviorOutput() CxPageFormParameterFillBehaviorOutput
	ToCxPageFormParameterFillBehaviorOutputWithContext(context.Context) CxPageFormParameterFillBehaviorOutput
}

CxPageFormParameterFillBehaviorInput is an input type that accepts CxPageFormParameterFillBehaviorArgs and CxPageFormParameterFillBehaviorOutput values. You can construct a concrete instance of `CxPageFormParameterFillBehaviorInput` via:

CxPageFormParameterFillBehaviorArgs{...}

type CxPageFormParameterFillBehaviorOutput added in v5.15.0

type CxPageFormParameterFillBehaviorOutput struct{ *pulumi.OutputState }

func (CxPageFormParameterFillBehaviorOutput) ElementType added in v5.15.0

func (CxPageFormParameterFillBehaviorOutput) InitialPromptFulfillment added in v5.15.0

The fulfillment to provide the initial prompt that the agent can present to the user in order to fill the parameter. Structure is documented below.

func (CxPageFormParameterFillBehaviorOutput) ToCxPageFormParameterFillBehaviorOutput added in v5.15.0

func (o CxPageFormParameterFillBehaviorOutput) ToCxPageFormParameterFillBehaviorOutput() CxPageFormParameterFillBehaviorOutput

func (CxPageFormParameterFillBehaviorOutput) ToCxPageFormParameterFillBehaviorOutputWithContext added in v5.15.0

func (o CxPageFormParameterFillBehaviorOutput) ToCxPageFormParameterFillBehaviorOutputWithContext(ctx context.Context) CxPageFormParameterFillBehaviorOutput

func (CxPageFormParameterFillBehaviorOutput) ToCxPageFormParameterFillBehaviorPtrOutput added in v5.15.0

func (o CxPageFormParameterFillBehaviorOutput) ToCxPageFormParameterFillBehaviorPtrOutput() CxPageFormParameterFillBehaviorPtrOutput

func (CxPageFormParameterFillBehaviorOutput) ToCxPageFormParameterFillBehaviorPtrOutputWithContext added in v5.15.0

func (o CxPageFormParameterFillBehaviorOutput) ToCxPageFormParameterFillBehaviorPtrOutputWithContext(ctx context.Context) CxPageFormParameterFillBehaviorPtrOutput

type CxPageFormParameterFillBehaviorPtrInput added in v5.15.0

type CxPageFormParameterFillBehaviorPtrInput interface {
	pulumi.Input

	ToCxPageFormParameterFillBehaviorPtrOutput() CxPageFormParameterFillBehaviorPtrOutput
	ToCxPageFormParameterFillBehaviorPtrOutputWithContext(context.Context) CxPageFormParameterFillBehaviorPtrOutput
}

CxPageFormParameterFillBehaviorPtrInput is an input type that accepts CxPageFormParameterFillBehaviorArgs, CxPageFormParameterFillBehaviorPtr and CxPageFormParameterFillBehaviorPtrOutput values. You can construct a concrete instance of `CxPageFormParameterFillBehaviorPtrInput` via:

        CxPageFormParameterFillBehaviorArgs{...}

or:

        nil

type CxPageFormParameterFillBehaviorPtrOutput added in v5.15.0

type CxPageFormParameterFillBehaviorPtrOutput struct{ *pulumi.OutputState }

func (CxPageFormParameterFillBehaviorPtrOutput) Elem added in v5.15.0

func (CxPageFormParameterFillBehaviorPtrOutput) ElementType added in v5.15.0

func (CxPageFormParameterFillBehaviorPtrOutput) InitialPromptFulfillment added in v5.15.0

The fulfillment to provide the initial prompt that the agent can present to the user in order to fill the parameter. Structure is documented below.

func (CxPageFormParameterFillBehaviorPtrOutput) ToCxPageFormParameterFillBehaviorPtrOutput added in v5.15.0

func (o CxPageFormParameterFillBehaviorPtrOutput) ToCxPageFormParameterFillBehaviorPtrOutput() CxPageFormParameterFillBehaviorPtrOutput

func (CxPageFormParameterFillBehaviorPtrOutput) ToCxPageFormParameterFillBehaviorPtrOutputWithContext added in v5.15.0

func (o CxPageFormParameterFillBehaviorPtrOutput) ToCxPageFormParameterFillBehaviorPtrOutputWithContext(ctx context.Context) CxPageFormParameterFillBehaviorPtrOutput

type CxPageFormParameterInput added in v5.15.0

type CxPageFormParameterInput interface {
	pulumi.Input

	ToCxPageFormParameterOutput() CxPageFormParameterOutput
	ToCxPageFormParameterOutputWithContext(context.Context) CxPageFormParameterOutput
}

CxPageFormParameterInput is an input type that accepts CxPageFormParameterArgs and CxPageFormParameterOutput values. You can construct a concrete instance of `CxPageFormParameterInput` via:

CxPageFormParameterArgs{...}

type CxPageFormParameterOutput added in v5.15.0

type CxPageFormParameterOutput struct{ *pulumi.OutputState }

func (CxPageFormParameterOutput) DisplayName added in v5.15.0

The human-readable name of the parameter, unique within the form.

func (CxPageFormParameterOutput) ElementType added in v5.15.0

func (CxPageFormParameterOutput) ElementType() reflect.Type

func (CxPageFormParameterOutput) EntityType added in v5.15.0

The entity type of the parameter. Format: projects/-/locations/-/agents/-/entityTypes/<System Entity Type ID> for system entity types (for example, projects/-/locations/-/agents/-/entityTypes/sys.date), or projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/entityTypes/<Entity Type ID> for developer entity types.

func (CxPageFormParameterOutput) FillBehavior added in v5.15.0

Defines fill behavior for the parameter. Structure is documented below.

func (CxPageFormParameterOutput) IsList added in v5.15.0

Indicates whether the parameter represents a list of values.

func (CxPageFormParameterOutput) Redact added in v5.15.0

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.

func (CxPageFormParameterOutput) Required added in v5.15.0

Indicates whether the parameter is required. Optional parameters will not trigger prompts; however, they are filled if the user specifies them. Required parameters must be filled before form filling concludes.

func (CxPageFormParameterOutput) ToCxPageFormParameterOutput added in v5.15.0

func (o CxPageFormParameterOutput) ToCxPageFormParameterOutput() CxPageFormParameterOutput

func (CxPageFormParameterOutput) ToCxPageFormParameterOutputWithContext added in v5.15.0

func (o CxPageFormParameterOutput) ToCxPageFormParameterOutputWithContext(ctx context.Context) CxPageFormParameterOutput

type CxPageFormPtrInput added in v5.15.0

type CxPageFormPtrInput interface {
	pulumi.Input

	ToCxPageFormPtrOutput() CxPageFormPtrOutput
	ToCxPageFormPtrOutputWithContext(context.Context) CxPageFormPtrOutput
}

CxPageFormPtrInput is an input type that accepts CxPageFormArgs, CxPageFormPtr and CxPageFormPtrOutput values. You can construct a concrete instance of `CxPageFormPtrInput` via:

        CxPageFormArgs{...}

or:

        nil

func CxPageFormPtr added in v5.15.0

func CxPageFormPtr(v *CxPageFormArgs) CxPageFormPtrInput

type CxPageFormPtrOutput added in v5.15.0

type CxPageFormPtrOutput struct{ *pulumi.OutputState }

func (CxPageFormPtrOutput) Elem added in v5.15.0

func (CxPageFormPtrOutput) ElementType added in v5.15.0

func (CxPageFormPtrOutput) ElementType() reflect.Type

func (CxPageFormPtrOutput) Parameters added in v5.15.0

Parameters to collect from the user. Structure is documented below.

func (CxPageFormPtrOutput) ToCxPageFormPtrOutput added in v5.15.0

func (o CxPageFormPtrOutput) ToCxPageFormPtrOutput() CxPageFormPtrOutput

func (CxPageFormPtrOutput) ToCxPageFormPtrOutputWithContext added in v5.15.0

func (o CxPageFormPtrOutput) ToCxPageFormPtrOutputWithContext(ctx context.Context) CxPageFormPtrOutput

type CxPageInput added in v5.15.0

type CxPageInput interface {
	pulumi.Input

	ToCxPageOutput() CxPageOutput
	ToCxPageOutputWithContext(ctx context.Context) CxPageOutput
}

type CxPageMap added in v5.15.0

type CxPageMap map[string]CxPageInput

func (CxPageMap) ElementType added in v5.15.0

func (CxPageMap) ElementType() reflect.Type

func (CxPageMap) ToCxPageMapOutput added in v5.15.0

func (i CxPageMap) ToCxPageMapOutput() CxPageMapOutput

func (CxPageMap) ToCxPageMapOutputWithContext added in v5.15.0

func (i CxPageMap) ToCxPageMapOutputWithContext(ctx context.Context) CxPageMapOutput

type CxPageMapInput added in v5.15.0

type CxPageMapInput interface {
	pulumi.Input

	ToCxPageMapOutput() CxPageMapOutput
	ToCxPageMapOutputWithContext(context.Context) CxPageMapOutput
}

CxPageMapInput is an input type that accepts CxPageMap and CxPageMapOutput values. You can construct a concrete instance of `CxPageMapInput` via:

CxPageMap{ "key": CxPageArgs{...} }

type CxPageMapOutput added in v5.15.0

type CxPageMapOutput struct{ *pulumi.OutputState }

func (CxPageMapOutput) ElementType added in v5.15.0

func (CxPageMapOutput) ElementType() reflect.Type

func (CxPageMapOutput) MapIndex added in v5.15.0

func (CxPageMapOutput) ToCxPageMapOutput added in v5.15.0

func (o CxPageMapOutput) ToCxPageMapOutput() CxPageMapOutput

func (CxPageMapOutput) ToCxPageMapOutputWithContext added in v5.15.0

func (o CxPageMapOutput) ToCxPageMapOutputWithContext(ctx context.Context) CxPageMapOutput

type CxPageOutput added in v5.15.0

type CxPageOutput struct{ *pulumi.OutputState }

func (CxPageOutput) ElementType added in v5.15.0

func (CxPageOutput) ElementType() reflect.Type

func (CxPageOutput) ToCxPageOutput added in v5.15.0

func (o CxPageOutput) ToCxPageOutput() CxPageOutput

func (CxPageOutput) ToCxPageOutputWithContext added in v5.15.0

func (o CxPageOutput) ToCxPageOutputWithContext(ctx context.Context) CxPageOutput

func (CxPageOutput) ToCxPagePtrOutput added in v5.15.0

func (o CxPageOutput) ToCxPagePtrOutput() CxPagePtrOutput

func (CxPageOutput) ToCxPagePtrOutputWithContext added in v5.15.0

func (o CxPageOutput) ToCxPagePtrOutputWithContext(ctx context.Context) CxPagePtrOutput

type CxPagePtrInput added in v5.15.0

type CxPagePtrInput interface {
	pulumi.Input

	ToCxPagePtrOutput() CxPagePtrOutput
	ToCxPagePtrOutputWithContext(ctx context.Context) CxPagePtrOutput
}

type CxPagePtrOutput added in v5.15.0

type CxPagePtrOutput struct{ *pulumi.OutputState }

func (CxPagePtrOutput) Elem added in v5.21.0

func (o CxPagePtrOutput) Elem() CxPageOutput

func (CxPagePtrOutput) ElementType added in v5.15.0

func (CxPagePtrOutput) ElementType() reflect.Type

func (CxPagePtrOutput) ToCxPagePtrOutput added in v5.15.0

func (o CxPagePtrOutput) ToCxPagePtrOutput() CxPagePtrOutput

func (CxPagePtrOutput) ToCxPagePtrOutputWithContext added in v5.15.0

func (o CxPagePtrOutput) ToCxPagePtrOutputWithContext(ctx context.Context) CxPagePtrOutput

type CxPageState added in v5.15.0

type CxPageState struct {
	// The human-readable name of the parameter, unique within the form.
	DisplayName pulumi.StringPtrInput
	// The fulfillment to call when the session is entering the page.
	// Structure is documented below.
	EntryFulfillment CxPageEntryFulfillmentPtrInput
	// Handlers associated with the page to handle events such as webhook errors, no match or no input.
	// Structure is documented below.
	EventHandlers CxPageEventHandlerArrayInput
	// The form associated with the page, used for collecting parameters relevant to the page.
	// Structure is documented below.
	Form CxPageFormPtrInput
	// The language of the following fields in page:
	// Page.entry_fulfillment.messages
	// Page.entry_fulfillment.conditional_cases
	// Page.event_handlers.trigger_fulfillment.messages
	// Page.event_handlers.trigger_fulfillment.conditional_cases
	// Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages
	// Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases
	// Page.form.parameters.fill_behavior.reprompt_event_handlers.messages
	// Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases
	// Page.transition_routes.trigger_fulfillment.messages
	// Page.transition_routes.trigger_fulfillment.conditional_cases
	// 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.
	LanguageCode pulumi.StringPtrInput
	// -
	// The unique identifier of this event handler.
	Name pulumi.StringPtrInput
	// The flow to create a page for.
	// Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>.
	Parent pulumi.StringPtrInput
	// Ordered list of TransitionRouteGroups associated with the page. Transition route groups must be unique within a page.
	// If multiple transition routes within a page scope refer to the same intent, then the precedence order is: page's transition route > page's transition route group > flow's transition routes.
	// If multiple transition route groups within a page contain the same intent, then the first group in the ordered list takes precedence.
	// Format:projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/transitionRouteGroups/<TransitionRouteGroup ID>.
	TransitionRouteGroups pulumi.StringArrayInput
	// A list of transitions for the transition rules of this page. They route the conversation to another page in the same flow, or another flow.
	// When we are in a certain page, the TransitionRoutes are evalauted in the following order:
	// TransitionRoutes defined in the page with intent specified.
	// TransitionRoutes defined in the transition route groups with intent specified.
	// TransitionRoutes defined in flow with intent specified.
	// TransitionRoutes defined in the transition route groups with intent specified.
	// TransitionRoutes defined in the page with only condition specified.
	// TransitionRoutes defined in the transition route groups with only condition specified.
	// Structure is documented below.
	TransitionRoutes CxPageTransitionRouteArrayInput
}

func (CxPageState) ElementType added in v5.15.0

func (CxPageState) ElementType() reflect.Type

type CxPageTransitionRoute added in v5.15.0

type CxPageTransitionRoute struct {
	// The condition to evaluate against form parameters or session parameters.
	// At least one of intent or condition must be specified. When both intent and condition are specified, the transition can only happen when both are fulfilled.
	Condition *string `pulumi:"condition"`
	// The unique identifier of an Intent.
	// Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/intents/<Intent ID>. Indicates that the transition can only happen when the given intent is matched. At least one of intent or condition must be specified. When both intent and condition are specified, the transition can only happen when both are fulfilled.
	Intent *string `pulumi:"intent"`
	// -
	// The unique identifier of this event handler.
	Name *string `pulumi:"name"`
	// The target flow to transition to.
	// Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>.
	TargetFlow *string `pulumi:"targetFlow"`
	// The target page to transition to.
	// Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page ID>.
	TargetPage *string `pulumi:"targetPage"`
	// The fulfillment to call when the event occurs. Handling webhook errors with a fulfillment enabled with webhook could cause infinite loop. It is invalid to specify such fulfillment for a handler handling webhooks.
	// Structure is documented below.
	TriggerFulfillment *CxPageTransitionRouteTriggerFulfillment `pulumi:"triggerFulfillment"`
}

type CxPageTransitionRouteArgs added in v5.15.0

type CxPageTransitionRouteArgs struct {
	// The condition to evaluate against form parameters or session parameters.
	// At least one of intent or condition must be specified. When both intent and condition are specified, the transition can only happen when both are fulfilled.
	Condition pulumi.StringPtrInput `pulumi:"condition"`
	// The unique identifier of an Intent.
	// Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/intents/<Intent ID>. Indicates that the transition can only happen when the given intent is matched. At least one of intent or condition must be specified. When both intent and condition are specified, the transition can only happen when both are fulfilled.
	Intent pulumi.StringPtrInput `pulumi:"intent"`
	// -
	// The unique identifier of this event handler.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// The target flow to transition to.
	// Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>.
	TargetFlow pulumi.StringPtrInput `pulumi:"targetFlow"`
	// The target page to transition to.
	// Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page ID>.
	TargetPage pulumi.StringPtrInput `pulumi:"targetPage"`
	// The fulfillment to call when the event occurs. Handling webhook errors with a fulfillment enabled with webhook could cause infinite loop. It is invalid to specify such fulfillment for a handler handling webhooks.
	// Structure is documented below.
	TriggerFulfillment CxPageTransitionRouteTriggerFulfillmentPtrInput `pulumi:"triggerFulfillment"`
}

func (CxPageTransitionRouteArgs) ElementType added in v5.15.0

func (CxPageTransitionRouteArgs) ElementType() reflect.Type

func (CxPageTransitionRouteArgs) ToCxPageTransitionRouteOutput added in v5.15.0

func (i CxPageTransitionRouteArgs) ToCxPageTransitionRouteOutput() CxPageTransitionRouteOutput

func (CxPageTransitionRouteArgs) ToCxPageTransitionRouteOutputWithContext added in v5.15.0

func (i CxPageTransitionRouteArgs) ToCxPageTransitionRouteOutputWithContext(ctx context.Context) CxPageTransitionRouteOutput

type CxPageTransitionRouteArray added in v5.15.0

type CxPageTransitionRouteArray []CxPageTransitionRouteInput

func (CxPageTransitionRouteArray) ElementType added in v5.15.0

func (CxPageTransitionRouteArray) ElementType() reflect.Type

func (CxPageTransitionRouteArray) ToCxPageTransitionRouteArrayOutput added in v5.15.0

func (i CxPageTransitionRouteArray) ToCxPageTransitionRouteArrayOutput() CxPageTransitionRouteArrayOutput

func (CxPageTransitionRouteArray) ToCxPageTransitionRouteArrayOutputWithContext added in v5.15.0

func (i CxPageTransitionRouteArray) ToCxPageTransitionRouteArrayOutputWithContext(ctx context.Context) CxPageTransitionRouteArrayOutput

type CxPageTransitionRouteArrayInput added in v5.15.0

type CxPageTransitionRouteArrayInput interface {
	pulumi.Input

	ToCxPageTransitionRouteArrayOutput() CxPageTransitionRouteArrayOutput
	ToCxPageTransitionRouteArrayOutputWithContext(context.Context) CxPageTransitionRouteArrayOutput
}

CxPageTransitionRouteArrayInput is an input type that accepts CxPageTransitionRouteArray and CxPageTransitionRouteArrayOutput values. You can construct a concrete instance of `CxPageTransitionRouteArrayInput` via:

CxPageTransitionRouteArray{ CxPageTransitionRouteArgs{...} }

type CxPageTransitionRouteArrayOutput added in v5.15.0

type CxPageTransitionRouteArrayOutput struct{ *pulumi.OutputState }

func (CxPageTransitionRouteArrayOutput) ElementType added in v5.15.0

func (CxPageTransitionRouteArrayOutput) Index added in v5.15.0

func (CxPageTransitionRouteArrayOutput) ToCxPageTransitionRouteArrayOutput added in v5.15.0

func (o CxPageTransitionRouteArrayOutput) ToCxPageTransitionRouteArrayOutput() CxPageTransitionRouteArrayOutput

func (CxPageTransitionRouteArrayOutput) ToCxPageTransitionRouteArrayOutputWithContext added in v5.15.0

func (o CxPageTransitionRouteArrayOutput) ToCxPageTransitionRouteArrayOutputWithContext(ctx context.Context) CxPageTransitionRouteArrayOutput

type CxPageTransitionRouteInput added in v5.15.0

type CxPageTransitionRouteInput interface {
	pulumi.Input

	ToCxPageTransitionRouteOutput() CxPageTransitionRouteOutput
	ToCxPageTransitionRouteOutputWithContext(context.Context) CxPageTransitionRouteOutput
}

CxPageTransitionRouteInput is an input type that accepts CxPageTransitionRouteArgs and CxPageTransitionRouteOutput values. You can construct a concrete instance of `CxPageTransitionRouteInput` via:

CxPageTransitionRouteArgs{...}

type CxPageTransitionRouteOutput added in v5.15.0

type CxPageTransitionRouteOutput struct{ *pulumi.OutputState }

func (CxPageTransitionRouteOutput) Condition added in v5.15.0

The condition to evaluate against form parameters or session parameters. At least one of intent or condition must be specified. When both intent and condition are specified, the transition can only happen when both are fulfilled.

func (CxPageTransitionRouteOutput) ElementType added in v5.15.0

func (CxPageTransitionRouteOutput) Intent added in v5.15.0

The unique identifier of an Intent. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/intents/<Intent ID>. Indicates that the transition can only happen when the given intent is matched. At least one of intent or condition must be specified. When both intent and condition are specified, the transition can only happen when both are fulfilled.

func (CxPageTransitionRouteOutput) Name added in v5.15.0

- The unique identifier of this event handler.

func (CxPageTransitionRouteOutput) TargetFlow added in v5.15.0

The target flow to transition to. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>.

func (CxPageTransitionRouteOutput) TargetPage added in v5.15.0

The target page to transition to. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page ID>.

func (CxPageTransitionRouteOutput) ToCxPageTransitionRouteOutput added in v5.15.0

func (o CxPageTransitionRouteOutput) ToCxPageTransitionRouteOutput() CxPageTransitionRouteOutput

func (CxPageTransitionRouteOutput) ToCxPageTransitionRouteOutputWithContext added in v5.15.0

func (o CxPageTransitionRouteOutput) ToCxPageTransitionRouteOutputWithContext(ctx context.Context) CxPageTransitionRouteOutput

func (CxPageTransitionRouteOutput) TriggerFulfillment added in v5.15.0

The fulfillment to call when the event occurs. Handling webhook errors with a fulfillment enabled with webhook could cause infinite loop. It is invalid to specify such fulfillment for a handler handling webhooks. Structure is documented below.

type CxPageTransitionRouteTriggerFulfillment added in v5.15.0

type CxPageTransitionRouteTriggerFulfillment struct {
	// The list of rich message responses to present to the user.
	// Structure is documented below.
	Messages []CxPageTransitionRouteTriggerFulfillmentMessage `pulumi:"messages"`
	// Whether Dialogflow should return currently queued fulfillment response messages in streaming APIs. If a webhook is specified, it happens before Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API. Responses are still queued and returned once in non-streaming API. 2) The flag can be enabled in any fulfillment but only the first 3 partial responses will be returned. You may only want to apply it to fulfillments that have slow webhooks.
	ReturnPartialResponses *bool `pulumi:"returnPartialResponses"`
	// The tag used by the webhook to identify which fulfillment is being called. This field is required if webhook is specified.
	Tag *string `pulumi:"tag"`
	// The webhook to call. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/webhooks/<Webhook ID>.
	Webhook *string `pulumi:"webhook"`
}

type CxPageTransitionRouteTriggerFulfillmentArgs added in v5.15.0

type CxPageTransitionRouteTriggerFulfillmentArgs struct {
	// The list of rich message responses to present to the user.
	// Structure is documented below.
	Messages CxPageTransitionRouteTriggerFulfillmentMessageArrayInput `pulumi:"messages"`
	// Whether Dialogflow should return currently queued fulfillment response messages in streaming APIs. If a webhook is specified, it happens before Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API. Responses are still queued and returned once in non-streaming API. 2) The flag can be enabled in any fulfillment but only the first 3 partial responses will be returned. You may only want to apply it to fulfillments that have slow webhooks.
	ReturnPartialResponses pulumi.BoolPtrInput `pulumi:"returnPartialResponses"`
	// The tag used by the webhook to identify which fulfillment is being called. This field is required if webhook is specified.
	Tag pulumi.StringPtrInput `pulumi:"tag"`
	// The webhook to call. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/webhooks/<Webhook ID>.
	Webhook pulumi.StringPtrInput `pulumi:"webhook"`
}

func (CxPageTransitionRouteTriggerFulfillmentArgs) ElementType added in v5.15.0

func (CxPageTransitionRouteTriggerFulfillmentArgs) ToCxPageTransitionRouteTriggerFulfillmentOutput added in v5.15.0

func (i CxPageTransitionRouteTriggerFulfillmentArgs) ToCxPageTransitionRouteTriggerFulfillmentOutput() CxPageTransitionRouteTriggerFulfillmentOutput

func (CxPageTransitionRouteTriggerFulfillmentArgs) ToCxPageTransitionRouteTriggerFulfillmentOutputWithContext added in v5.15.0

func (i CxPageTransitionRouteTriggerFulfillmentArgs) ToCxPageTransitionRouteTriggerFulfillmentOutputWithContext(ctx context.Context) CxPageTransitionRouteTriggerFulfillmentOutput

func (CxPageTransitionRouteTriggerFulfillmentArgs) ToCxPageTransitionRouteTriggerFulfillmentPtrOutput added in v5.15.0

func (i CxPageTransitionRouteTriggerFulfillmentArgs) ToCxPageTransitionRouteTriggerFulfillmentPtrOutput() CxPageTransitionRouteTriggerFulfillmentPtrOutput

func (CxPageTransitionRouteTriggerFulfillmentArgs) ToCxPageTransitionRouteTriggerFulfillmentPtrOutputWithContext added in v5.15.0

func (i CxPageTransitionRouteTriggerFulfillmentArgs) ToCxPageTransitionRouteTriggerFulfillmentPtrOutputWithContext(ctx context.Context) CxPageTransitionRouteTriggerFulfillmentPtrOutput

type CxPageTransitionRouteTriggerFulfillmentInput added in v5.15.0

type CxPageTransitionRouteTriggerFulfillmentInput interface {
	pulumi.Input

	ToCxPageTransitionRouteTriggerFulfillmentOutput() CxPageTransitionRouteTriggerFulfillmentOutput
	ToCxPageTransitionRouteTriggerFulfillmentOutputWithContext(context.Context) CxPageTransitionRouteTriggerFulfillmentOutput
}

CxPageTransitionRouteTriggerFulfillmentInput is an input type that accepts CxPageTransitionRouteTriggerFulfillmentArgs and CxPageTransitionRouteTriggerFulfillmentOutput values. You can construct a concrete instance of `CxPageTransitionRouteTriggerFulfillmentInput` via:

CxPageTransitionRouteTriggerFulfillmentArgs{...}

type CxPageTransitionRouteTriggerFulfillmentMessage added in v5.15.0

type CxPageTransitionRouteTriggerFulfillmentMessage struct {
	// A collection of text responses.
	Text *CxPageTransitionRouteTriggerFulfillmentMessageText `pulumi:"text"`
}

type CxPageTransitionRouteTriggerFulfillmentMessageArgs added in v5.15.0

type CxPageTransitionRouteTriggerFulfillmentMessageArgs struct {
	// A collection of text responses.
	Text CxPageTransitionRouteTriggerFulfillmentMessageTextPtrInput `pulumi:"text"`
}

func (CxPageTransitionRouteTriggerFulfillmentMessageArgs) ElementType added in v5.15.0

func (CxPageTransitionRouteTriggerFulfillmentMessageArgs) ToCxPageTransitionRouteTriggerFulfillmentMessageOutput added in v5.15.0

func (i CxPageTransitionRouteTriggerFulfillmentMessageArgs) ToCxPageTransitionRouteTriggerFulfillmentMessageOutput() CxPageTransitionRouteTriggerFulfillmentMessageOutput

func (CxPageTransitionRouteTriggerFulfillmentMessageArgs) ToCxPageTransitionRouteTriggerFulfillmentMessageOutputWithContext added in v5.15.0

func (i CxPageTransitionRouteTriggerFulfillmentMessageArgs) ToCxPageTransitionRouteTriggerFulfillmentMessageOutputWithContext(ctx context.Context) CxPageTransitionRouteTriggerFulfillmentMessageOutput

type CxPageTransitionRouteTriggerFulfillmentMessageArray added in v5.15.0

type CxPageTransitionRouteTriggerFulfillmentMessageArray []CxPageTransitionRouteTriggerFulfillmentMessageInput

func (CxPageTransitionRouteTriggerFulfillmentMessageArray) ElementType added in v5.15.0

func (CxPageTransitionRouteTriggerFulfillmentMessageArray) ToCxPageTransitionRouteTriggerFulfillmentMessageArrayOutput added in v5.15.0

func (i CxPageTransitionRouteTriggerFulfillmentMessageArray) ToCxPageTransitionRouteTriggerFulfillmentMessageArrayOutput() CxPageTransitionRouteTriggerFulfillmentMessageArrayOutput

func (CxPageTransitionRouteTriggerFulfillmentMessageArray) ToCxPageTransitionRouteTriggerFulfillmentMessageArrayOutputWithContext added in v5.15.0

func (i CxPageTransitionRouteTriggerFulfillmentMessageArray) ToCxPageTransitionRouteTriggerFulfillmentMessageArrayOutputWithContext(ctx context.Context) CxPageTransitionRouteTriggerFulfillmentMessageArrayOutput

type CxPageTransitionRouteTriggerFulfillmentMessageArrayInput added in v5.15.0

type CxPageTransitionRouteTriggerFulfillmentMessageArrayInput interface {
	pulumi.Input

	ToCxPageTransitionRouteTriggerFulfillmentMessageArrayOutput() CxPageTransitionRouteTriggerFulfillmentMessageArrayOutput
	ToCxPageTransitionRouteTriggerFulfillmentMessageArrayOutputWithContext(context.Context) CxPageTransitionRouteTriggerFulfillmentMessageArrayOutput
}

CxPageTransitionRouteTriggerFulfillmentMessageArrayInput is an input type that accepts CxPageTransitionRouteTriggerFulfillmentMessageArray and CxPageTransitionRouteTriggerFulfillmentMessageArrayOutput values. You can construct a concrete instance of `CxPageTransitionRouteTriggerFulfillmentMessageArrayInput` via:

CxPageTransitionRouteTriggerFulfillmentMessageArray{ CxPageTransitionRouteTriggerFulfillmentMessageArgs{...} }

type CxPageTransitionRouteTriggerFulfillmentMessageArrayOutput added in v5.15.0

type CxPageTransitionRouteTriggerFulfillmentMessageArrayOutput struct{ *pulumi.OutputState }

func (CxPageTransitionRouteTriggerFulfillmentMessageArrayOutput) ElementType added in v5.15.0

func (CxPageTransitionRouteTriggerFulfillmentMessageArrayOutput) Index added in v5.15.0

func (CxPageTransitionRouteTriggerFulfillmentMessageArrayOutput) ToCxPageTransitionRouteTriggerFulfillmentMessageArrayOutput added in v5.15.0

func (CxPageTransitionRouteTriggerFulfillmentMessageArrayOutput) ToCxPageTransitionRouteTriggerFulfillmentMessageArrayOutputWithContext added in v5.15.0

func (o CxPageTransitionRouteTriggerFulfillmentMessageArrayOutput) ToCxPageTransitionRouteTriggerFulfillmentMessageArrayOutputWithContext(ctx context.Context) CxPageTransitionRouteTriggerFulfillmentMessageArrayOutput

type CxPageTransitionRouteTriggerFulfillmentMessageInput added in v5.15.0

type CxPageTransitionRouteTriggerFulfillmentMessageInput interface {
	pulumi.Input

	ToCxPageTransitionRouteTriggerFulfillmentMessageOutput() CxPageTransitionRouteTriggerFulfillmentMessageOutput
	ToCxPageTransitionRouteTriggerFulfillmentMessageOutputWithContext(context.Context) CxPageTransitionRouteTriggerFulfillmentMessageOutput
}

CxPageTransitionRouteTriggerFulfillmentMessageInput is an input type that accepts CxPageTransitionRouteTriggerFulfillmentMessageArgs and CxPageTransitionRouteTriggerFulfillmentMessageOutput values. You can construct a concrete instance of `CxPageTransitionRouteTriggerFulfillmentMessageInput` via:

CxPageTransitionRouteTriggerFulfillmentMessageArgs{...}

type CxPageTransitionRouteTriggerFulfillmentMessageOutput added in v5.15.0

type CxPageTransitionRouteTriggerFulfillmentMessageOutput struct{ *pulumi.OutputState }

func (CxPageTransitionRouteTriggerFulfillmentMessageOutput) ElementType added in v5.15.0

func (CxPageTransitionRouteTriggerFulfillmentMessageOutput) Text added in v5.15.0

A collection of text responses.

func (CxPageTransitionRouteTriggerFulfillmentMessageOutput) ToCxPageTransitionRouteTriggerFulfillmentMessageOutput added in v5.15.0

func (CxPageTransitionRouteTriggerFulfillmentMessageOutput) ToCxPageTransitionRouteTriggerFulfillmentMessageOutputWithContext added in v5.15.0

func (o CxPageTransitionRouteTriggerFulfillmentMessageOutput) ToCxPageTransitionRouteTriggerFulfillmentMessageOutputWithContext(ctx context.Context) CxPageTransitionRouteTriggerFulfillmentMessageOutput

type CxPageTransitionRouteTriggerFulfillmentMessageText added in v5.15.0

type CxPageTransitionRouteTriggerFulfillmentMessageText struct {
	// -
	// Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.
	AllowPlaybackInterruption *bool `pulumi:"allowPlaybackInterruption"`
	// A collection of text responses.
	Texts []string `pulumi:"texts"`
}

type CxPageTransitionRouteTriggerFulfillmentMessageTextArgs added in v5.15.0

type CxPageTransitionRouteTriggerFulfillmentMessageTextArgs struct {
	// -
	// Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.
	AllowPlaybackInterruption pulumi.BoolPtrInput `pulumi:"allowPlaybackInterruption"`
	// A collection of text responses.
	Texts pulumi.StringArrayInput `pulumi:"texts"`
}

func (CxPageTransitionRouteTriggerFulfillmentMessageTextArgs) ElementType added in v5.15.0

func (CxPageTransitionRouteTriggerFulfillmentMessageTextArgs) ToCxPageTransitionRouteTriggerFulfillmentMessageTextOutput added in v5.15.0

func (CxPageTransitionRouteTriggerFulfillmentMessageTextArgs) ToCxPageTransitionRouteTriggerFulfillmentMessageTextOutputWithContext added in v5.15.0

func (i CxPageTransitionRouteTriggerFulfillmentMessageTextArgs) ToCxPageTransitionRouteTriggerFulfillmentMessageTextOutputWithContext(ctx context.Context) CxPageTransitionRouteTriggerFulfillmentMessageTextOutput

func (CxPageTransitionRouteTriggerFulfillmentMessageTextArgs) ToCxPageTransitionRouteTriggerFulfillmentMessageTextPtrOutput added in v5.15.0

func (i CxPageTransitionRouteTriggerFulfillmentMessageTextArgs) ToCxPageTransitionRouteTriggerFulfillmentMessageTextPtrOutput() CxPageTransitionRouteTriggerFulfillmentMessageTextPtrOutput

func (CxPageTransitionRouteTriggerFulfillmentMessageTextArgs) ToCxPageTransitionRouteTriggerFulfillmentMessageTextPtrOutputWithContext added in v5.15.0

func (i CxPageTransitionRouteTriggerFulfillmentMessageTextArgs) ToCxPageTransitionRouteTriggerFulfillmentMessageTextPtrOutputWithContext(ctx context.Context) CxPageTransitionRouteTriggerFulfillmentMessageTextPtrOutput

type CxPageTransitionRouteTriggerFulfillmentMessageTextInput added in v5.15.0

type CxPageTransitionRouteTriggerFulfillmentMessageTextInput interface {
	pulumi.Input

	ToCxPageTransitionRouteTriggerFulfillmentMessageTextOutput() CxPageTransitionRouteTriggerFulfillmentMessageTextOutput
	ToCxPageTransitionRouteTriggerFulfillmentMessageTextOutputWithContext(context.Context) CxPageTransitionRouteTriggerFulfillmentMessageTextOutput
}

CxPageTransitionRouteTriggerFulfillmentMessageTextInput is an input type that accepts CxPageTransitionRouteTriggerFulfillmentMessageTextArgs and CxPageTransitionRouteTriggerFulfillmentMessageTextOutput values. You can construct a concrete instance of `CxPageTransitionRouteTriggerFulfillmentMessageTextInput` via:

CxPageTransitionRouteTriggerFulfillmentMessageTextArgs{...}

type CxPageTransitionRouteTriggerFulfillmentMessageTextOutput added in v5.15.0

type CxPageTransitionRouteTriggerFulfillmentMessageTextOutput struct{ *pulumi.OutputState }

func (CxPageTransitionRouteTriggerFulfillmentMessageTextOutput) AllowPlaybackInterruption added in v5.15.0

- Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.

func (CxPageTransitionRouteTriggerFulfillmentMessageTextOutput) ElementType added in v5.15.0

func (CxPageTransitionRouteTriggerFulfillmentMessageTextOutput) Texts added in v5.15.0

A collection of text responses.

func (CxPageTransitionRouteTriggerFulfillmentMessageTextOutput) ToCxPageTransitionRouteTriggerFulfillmentMessageTextOutput added in v5.15.0

func (CxPageTransitionRouteTriggerFulfillmentMessageTextOutput) ToCxPageTransitionRouteTriggerFulfillmentMessageTextOutputWithContext added in v5.15.0

func (o CxPageTransitionRouteTriggerFulfillmentMessageTextOutput) ToCxPageTransitionRouteTriggerFulfillmentMessageTextOutputWithContext(ctx context.Context) CxPageTransitionRouteTriggerFulfillmentMessageTextOutput

func (CxPageTransitionRouteTriggerFulfillmentMessageTextOutput) ToCxPageTransitionRouteTriggerFulfillmentMessageTextPtrOutput added in v5.15.0

func (CxPageTransitionRouteTriggerFulfillmentMessageTextOutput) ToCxPageTransitionRouteTriggerFulfillmentMessageTextPtrOutputWithContext added in v5.15.0

func (o CxPageTransitionRouteTriggerFulfillmentMessageTextOutput) ToCxPageTransitionRouteTriggerFulfillmentMessageTextPtrOutputWithContext(ctx context.Context) CxPageTransitionRouteTriggerFulfillmentMessageTextPtrOutput

type CxPageTransitionRouteTriggerFulfillmentMessageTextPtrInput added in v5.15.0

type CxPageTransitionRouteTriggerFulfillmentMessageTextPtrInput interface {
	pulumi.Input

	ToCxPageTransitionRouteTriggerFulfillmentMessageTextPtrOutput() CxPageTransitionRouteTriggerFulfillmentMessageTextPtrOutput
	ToCxPageTransitionRouteTriggerFulfillmentMessageTextPtrOutputWithContext(context.Context) CxPageTransitionRouteTriggerFulfillmentMessageTextPtrOutput
}

CxPageTransitionRouteTriggerFulfillmentMessageTextPtrInput is an input type that accepts CxPageTransitionRouteTriggerFulfillmentMessageTextArgs, CxPageTransitionRouteTriggerFulfillmentMessageTextPtr and CxPageTransitionRouteTriggerFulfillmentMessageTextPtrOutput values. You can construct a concrete instance of `CxPageTransitionRouteTriggerFulfillmentMessageTextPtrInput` via:

        CxPageTransitionRouteTriggerFulfillmentMessageTextArgs{...}

or:

        nil

type CxPageTransitionRouteTriggerFulfillmentMessageTextPtrOutput added in v5.15.0

type CxPageTransitionRouteTriggerFulfillmentMessageTextPtrOutput struct{ *pulumi.OutputState }

func (CxPageTransitionRouteTriggerFulfillmentMessageTextPtrOutput) AllowPlaybackInterruption added in v5.15.0

- Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.

func (CxPageTransitionRouteTriggerFulfillmentMessageTextPtrOutput) Elem added in v5.15.0

func (CxPageTransitionRouteTriggerFulfillmentMessageTextPtrOutput) ElementType added in v5.15.0

func (CxPageTransitionRouteTriggerFulfillmentMessageTextPtrOutput) Texts added in v5.15.0

A collection of text responses.

func (CxPageTransitionRouteTriggerFulfillmentMessageTextPtrOutput) ToCxPageTransitionRouteTriggerFulfillmentMessageTextPtrOutput added in v5.15.0

func (CxPageTransitionRouteTriggerFulfillmentMessageTextPtrOutput) ToCxPageTransitionRouteTriggerFulfillmentMessageTextPtrOutputWithContext added in v5.15.0

func (o CxPageTransitionRouteTriggerFulfillmentMessageTextPtrOutput) ToCxPageTransitionRouteTriggerFulfillmentMessageTextPtrOutputWithContext(ctx context.Context) CxPageTransitionRouteTriggerFulfillmentMessageTextPtrOutput

type CxPageTransitionRouteTriggerFulfillmentOutput added in v5.15.0

type CxPageTransitionRouteTriggerFulfillmentOutput struct{ *pulumi.OutputState }

func (CxPageTransitionRouteTriggerFulfillmentOutput) ElementType added in v5.15.0

func (CxPageTransitionRouteTriggerFulfillmentOutput) Messages added in v5.15.0

The list of rich message responses to present to the user. Structure is documented below.

func (CxPageTransitionRouteTriggerFulfillmentOutput) ReturnPartialResponses added in v5.15.0

Whether Dialogflow should return currently queued fulfillment response messages in streaming APIs. If a webhook is specified, it happens before Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API. Responses are still queued and returned once in non-streaming API. 2) The flag can be enabled in any fulfillment but only the first 3 partial responses will be returned. You may only want to apply it to fulfillments that have slow webhooks.

func (CxPageTransitionRouteTriggerFulfillmentOutput) Tag added in v5.15.0

The tag used by the webhook to identify which fulfillment is being called. This field is required if webhook is specified.

func (CxPageTransitionRouteTriggerFulfillmentOutput) ToCxPageTransitionRouteTriggerFulfillmentOutput added in v5.15.0

func (o CxPageTransitionRouteTriggerFulfillmentOutput) ToCxPageTransitionRouteTriggerFulfillmentOutput() CxPageTransitionRouteTriggerFulfillmentOutput

func (CxPageTransitionRouteTriggerFulfillmentOutput) ToCxPageTransitionRouteTriggerFulfillmentOutputWithContext added in v5.15.0

func (o CxPageTransitionRouteTriggerFulfillmentOutput) ToCxPageTransitionRouteTriggerFulfillmentOutputWithContext(ctx context.Context) CxPageTransitionRouteTriggerFulfillmentOutput

func (CxPageTransitionRouteTriggerFulfillmentOutput) ToCxPageTransitionRouteTriggerFulfillmentPtrOutput added in v5.15.0

func (o CxPageTransitionRouteTriggerFulfillmentOutput) ToCxPageTransitionRouteTriggerFulfillmentPtrOutput() CxPageTransitionRouteTriggerFulfillmentPtrOutput

func (CxPageTransitionRouteTriggerFulfillmentOutput) ToCxPageTransitionRouteTriggerFulfillmentPtrOutputWithContext added in v5.15.0

func (o CxPageTransitionRouteTriggerFulfillmentOutput) ToCxPageTransitionRouteTriggerFulfillmentPtrOutputWithContext(ctx context.Context) CxPageTransitionRouteTriggerFulfillmentPtrOutput

func (CxPageTransitionRouteTriggerFulfillmentOutput) Webhook added in v5.15.0

The webhook to call. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/webhooks/<Webhook ID>.

type CxPageTransitionRouteTriggerFulfillmentPtrInput added in v5.15.0

type CxPageTransitionRouteTriggerFulfillmentPtrInput interface {
	pulumi.Input

	ToCxPageTransitionRouteTriggerFulfillmentPtrOutput() CxPageTransitionRouteTriggerFulfillmentPtrOutput
	ToCxPageTransitionRouteTriggerFulfillmentPtrOutputWithContext(context.Context) CxPageTransitionRouteTriggerFulfillmentPtrOutput
}

CxPageTransitionRouteTriggerFulfillmentPtrInput is an input type that accepts CxPageTransitionRouteTriggerFulfillmentArgs, CxPageTransitionRouteTriggerFulfillmentPtr and CxPageTransitionRouteTriggerFulfillmentPtrOutput values. You can construct a concrete instance of `CxPageTransitionRouteTriggerFulfillmentPtrInput` via:

        CxPageTransitionRouteTriggerFulfillmentArgs{...}

or:

        nil

type CxPageTransitionRouteTriggerFulfillmentPtrOutput added in v5.15.0

type CxPageTransitionRouteTriggerFulfillmentPtrOutput struct{ *pulumi.OutputState }

func (CxPageTransitionRouteTriggerFulfillmentPtrOutput) Elem added in v5.15.0

func (CxPageTransitionRouteTriggerFulfillmentPtrOutput) ElementType added in v5.15.0

func (CxPageTransitionRouteTriggerFulfillmentPtrOutput) Messages added in v5.15.0

The list of rich message responses to present to the user. Structure is documented below.

func (CxPageTransitionRouteTriggerFulfillmentPtrOutput) ReturnPartialResponses added in v5.15.0

Whether Dialogflow should return currently queued fulfillment response messages in streaming APIs. If a webhook is specified, it happens before Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API. Responses are still queued and returned once in non-streaming API. 2) The flag can be enabled in any fulfillment but only the first 3 partial responses will be returned. You may only want to apply it to fulfillments that have slow webhooks.

func (CxPageTransitionRouteTriggerFulfillmentPtrOutput) Tag added in v5.15.0

The tag used by the webhook to identify which fulfillment is being called. This field is required if webhook is specified.

func (CxPageTransitionRouteTriggerFulfillmentPtrOutput) ToCxPageTransitionRouteTriggerFulfillmentPtrOutput added in v5.15.0

func (o CxPageTransitionRouteTriggerFulfillmentPtrOutput) ToCxPageTransitionRouteTriggerFulfillmentPtrOutput() CxPageTransitionRouteTriggerFulfillmentPtrOutput

func (CxPageTransitionRouteTriggerFulfillmentPtrOutput) ToCxPageTransitionRouteTriggerFulfillmentPtrOutputWithContext added in v5.15.0

func (o CxPageTransitionRouteTriggerFulfillmentPtrOutput) ToCxPageTransitionRouteTriggerFulfillmentPtrOutputWithContext(ctx context.Context) CxPageTransitionRouteTriggerFulfillmentPtrOutput

func (CxPageTransitionRouteTriggerFulfillmentPtrOutput) Webhook added in v5.15.0

The webhook to call. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/webhooks/<Webhook ID>.

type CxVersion added in v5.13.0

type CxVersion struct {
	pulumi.CustomResourceState

	// A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples:
	// "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// The description of the version. The maximum length is 500 characters. If exceeded, the request is rejected.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The human-readable name of the version. Limit of 64 characters.
	DisplayName pulumi.StringOutput `pulumi:"displayName"`
	// Format: projects//locations//agents//flows//versions/. Version ID is a self-increasing number generated by Dialogflow
	// upon version creation.
	Name pulumi.StringOutput `pulumi:"name"`
	// The NLU settings of the flow at version creation.
	NluSettings CxVersionNluSettingArrayOutput `pulumi:"nluSettings"`
	// The Flow to create an Version for.
	// Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>.
	Parent pulumi.StringPtrOutput `pulumi:"parent"`
	// The state of this version. * RUNNING: Version is not ready to serve (e.g. training is running). * SUCCEEDED: Training
	// has succeeded and this version is ready to serve. * FAILED: Version training failed.
	State pulumi.StringOutput `pulumi:"state"`
}

You can create multiple versions of your agent flows and deploy them to separate serving environments. When you edit a flow, you are editing a draft flow. At any point, you can save a draft flow as a flow version. A flow version is an immutable snapshot of your flow data and associated agent data like intents, entities, webhooks, pages, route groups, etc.

To get more information about Version, see:

* [API documentation](https://cloud.google.com/dialogflow/cx/docs/reference/rest/v3/projects.locations.agents.flows.versions) * How-to Guides

## Example Usage ### Dialogflowcx Version Full

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v5/go/gcp/diagflow"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		agent, err := diagflow.NewCxAgent(ctx, "agent", &diagflow.CxAgentArgs{
			DisplayName:         pulumi.String("dialogflowcx-agent"),
			Location:            pulumi.String("global"),
			DefaultLanguageCode: pulumi.String("en"),
			SupportedLanguageCodes: pulumi.StringArray{
				pulumi.String("fr"),
				pulumi.String("de"),
				pulumi.String("es"),
			},
			TimeZone:                 pulumi.String("America/New_York"),
			Description:              pulumi.String("Example description."),
			AvatarUri:                pulumi.String("https://cloud.google.com/_static/images/cloud/icons/favicons/onecloud/super_cloud.png"),
			EnableStackdriverLogging: pulumi.Bool(true),
			EnableSpellCorrection:    pulumi.Bool(true),
			SpeechToTextSettings: &diagflow.CxAgentSpeechToTextSettingsArgs{
				EnableSpeechAdaptation: pulumi.Bool(true),
			},
		})
		if err != nil {
			return err
		}
		_, err = diagflow.NewCxVersion(ctx, "version1", &diagflow.CxVersionArgs{
			Parent:      agent.StartFlow,
			DisplayName: pulumi.String("1.0.0"),
			Description: pulumi.String("version 1.0.0"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Version can be imported using any of these accepted formats

```sh

$ pulumi import gcp:diagflow/cxVersion:CxVersion default {{parent}}/versions/{{name}}

```

```sh

$ pulumi import gcp:diagflow/cxVersion:CxVersion default {{parent}}/{{name}}

```

func GetCxVersion added in v5.13.0

func GetCxVersion(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CxVersionState, opts ...pulumi.ResourceOption) (*CxVersion, error)

GetCxVersion gets an existing CxVersion resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewCxVersion added in v5.13.0

func NewCxVersion(ctx *pulumi.Context,
	name string, args *CxVersionArgs, opts ...pulumi.ResourceOption) (*CxVersion, error)

NewCxVersion registers a new resource with the given unique name, arguments, and options.

func (*CxVersion) ElementType added in v5.13.0

func (*CxVersion) ElementType() reflect.Type

func (*CxVersion) ToCxVersionOutput added in v5.13.0

func (i *CxVersion) ToCxVersionOutput() CxVersionOutput

func (*CxVersion) ToCxVersionOutputWithContext added in v5.13.0

func (i *CxVersion) ToCxVersionOutputWithContext(ctx context.Context) CxVersionOutput

func (*CxVersion) ToCxVersionPtrOutput added in v5.13.0

func (i *CxVersion) ToCxVersionPtrOutput() CxVersionPtrOutput

func (*CxVersion) ToCxVersionPtrOutputWithContext added in v5.13.0

func (i *CxVersion) ToCxVersionPtrOutputWithContext(ctx context.Context) CxVersionPtrOutput

type CxVersionArgs added in v5.13.0

type CxVersionArgs struct {
	// The description of the version. The maximum length is 500 characters. If exceeded, the request is rejected.
	Description pulumi.StringPtrInput
	// The human-readable name of the version. Limit of 64 characters.
	DisplayName pulumi.StringInput
	// The Flow to create an Version for.
	// Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>.
	Parent pulumi.StringPtrInput
}

The set of arguments for constructing a CxVersion resource.

func (CxVersionArgs) ElementType added in v5.13.0

func (CxVersionArgs) ElementType() reflect.Type

type CxVersionArray added in v5.13.0

type CxVersionArray []CxVersionInput

func (CxVersionArray) ElementType added in v5.13.0

func (CxVersionArray) ElementType() reflect.Type

func (CxVersionArray) ToCxVersionArrayOutput added in v5.13.0

func (i CxVersionArray) ToCxVersionArrayOutput() CxVersionArrayOutput

func (CxVersionArray) ToCxVersionArrayOutputWithContext added in v5.13.0

func (i CxVersionArray) ToCxVersionArrayOutputWithContext(ctx context.Context) CxVersionArrayOutput

type CxVersionArrayInput added in v5.13.0

type CxVersionArrayInput interface {
	pulumi.Input

	ToCxVersionArrayOutput() CxVersionArrayOutput
	ToCxVersionArrayOutputWithContext(context.Context) CxVersionArrayOutput
}

CxVersionArrayInput is an input type that accepts CxVersionArray and CxVersionArrayOutput values. You can construct a concrete instance of `CxVersionArrayInput` via:

CxVersionArray{ CxVersionArgs{...} }

type CxVersionArrayOutput added in v5.13.0

type CxVersionArrayOutput struct{ *pulumi.OutputState }

func (CxVersionArrayOutput) ElementType added in v5.13.0

func (CxVersionArrayOutput) ElementType() reflect.Type

func (CxVersionArrayOutput) Index added in v5.13.0

func (CxVersionArrayOutput) ToCxVersionArrayOutput added in v5.13.0

func (o CxVersionArrayOutput) ToCxVersionArrayOutput() CxVersionArrayOutput

func (CxVersionArrayOutput) ToCxVersionArrayOutputWithContext added in v5.13.0

func (o CxVersionArrayOutput) ToCxVersionArrayOutputWithContext(ctx context.Context) CxVersionArrayOutput

type CxVersionInput added in v5.13.0

type CxVersionInput interface {
	pulumi.Input

	ToCxVersionOutput() CxVersionOutput
	ToCxVersionOutputWithContext(ctx context.Context) CxVersionOutput
}

type CxVersionMap added in v5.13.0

type CxVersionMap map[string]CxVersionInput

func (CxVersionMap) ElementType added in v5.13.0

func (CxVersionMap) ElementType() reflect.Type

func (CxVersionMap) ToCxVersionMapOutput added in v5.13.0

func (i CxVersionMap) ToCxVersionMapOutput() CxVersionMapOutput

func (CxVersionMap) ToCxVersionMapOutputWithContext added in v5.13.0

func (i CxVersionMap) ToCxVersionMapOutputWithContext(ctx context.Context) CxVersionMapOutput

type CxVersionMapInput added in v5.13.0

type CxVersionMapInput interface {
	pulumi.Input

	ToCxVersionMapOutput() CxVersionMapOutput
	ToCxVersionMapOutputWithContext(context.Context) CxVersionMapOutput
}

CxVersionMapInput is an input type that accepts CxVersionMap and CxVersionMapOutput values. You can construct a concrete instance of `CxVersionMapInput` via:

CxVersionMap{ "key": CxVersionArgs{...} }

type CxVersionMapOutput added in v5.13.0

type CxVersionMapOutput struct{ *pulumi.OutputState }

func (CxVersionMapOutput) ElementType added in v5.13.0

func (CxVersionMapOutput) ElementType() reflect.Type

func (CxVersionMapOutput) MapIndex added in v5.13.0

func (CxVersionMapOutput) ToCxVersionMapOutput added in v5.13.0

func (o CxVersionMapOutput) ToCxVersionMapOutput() CxVersionMapOutput

func (CxVersionMapOutput) ToCxVersionMapOutputWithContext added in v5.13.0

func (o CxVersionMapOutput) ToCxVersionMapOutputWithContext(ctx context.Context) CxVersionMapOutput

type CxVersionNluSetting added in v5.13.0

type CxVersionNluSetting struct {
	ClassificationThreshold *float64 `pulumi:"classificationThreshold"`
	ModelTrainingMode       *string  `pulumi:"modelTrainingMode"`
	ModelType               *string  `pulumi:"modelType"`
}

type CxVersionNluSettingArgs added in v5.13.0

type CxVersionNluSettingArgs struct {
	ClassificationThreshold pulumi.Float64PtrInput `pulumi:"classificationThreshold"`
	ModelTrainingMode       pulumi.StringPtrInput  `pulumi:"modelTrainingMode"`
	ModelType               pulumi.StringPtrInput  `pulumi:"modelType"`
}

func (CxVersionNluSettingArgs) ElementType added in v5.13.0

func (CxVersionNluSettingArgs) ElementType() reflect.Type

func (CxVersionNluSettingArgs) ToCxVersionNluSettingOutput added in v5.13.0

func (i CxVersionNluSettingArgs) ToCxVersionNluSettingOutput() CxVersionNluSettingOutput

func (CxVersionNluSettingArgs) ToCxVersionNluSettingOutputWithContext added in v5.13.0

func (i CxVersionNluSettingArgs) ToCxVersionNluSettingOutputWithContext(ctx context.Context) CxVersionNluSettingOutput

type CxVersionNluSettingArray added in v5.13.0

type CxVersionNluSettingArray []CxVersionNluSettingInput

func (CxVersionNluSettingArray) ElementType added in v5.13.0

func (CxVersionNluSettingArray) ElementType() reflect.Type

func (CxVersionNluSettingArray) ToCxVersionNluSettingArrayOutput added in v5.13.0

func (i CxVersionNluSettingArray) ToCxVersionNluSettingArrayOutput() CxVersionNluSettingArrayOutput

func (CxVersionNluSettingArray) ToCxVersionNluSettingArrayOutputWithContext added in v5.13.0

func (i CxVersionNluSettingArray) ToCxVersionNluSettingArrayOutputWithContext(ctx context.Context) CxVersionNluSettingArrayOutput

type CxVersionNluSettingArrayInput added in v5.13.0

type CxVersionNluSettingArrayInput interface {
	pulumi.Input

	ToCxVersionNluSettingArrayOutput() CxVersionNluSettingArrayOutput
	ToCxVersionNluSettingArrayOutputWithContext(context.Context) CxVersionNluSettingArrayOutput
}

CxVersionNluSettingArrayInput is an input type that accepts CxVersionNluSettingArray and CxVersionNluSettingArrayOutput values. You can construct a concrete instance of `CxVersionNluSettingArrayInput` via:

CxVersionNluSettingArray{ CxVersionNluSettingArgs{...} }

type CxVersionNluSettingArrayOutput added in v5.13.0

type CxVersionNluSettingArrayOutput struct{ *pulumi.OutputState }

func (CxVersionNluSettingArrayOutput) ElementType added in v5.13.0

func (CxVersionNluSettingArrayOutput) Index added in v5.13.0

func (CxVersionNluSettingArrayOutput) ToCxVersionNluSettingArrayOutput added in v5.13.0

func (o CxVersionNluSettingArrayOutput) ToCxVersionNluSettingArrayOutput() CxVersionNluSettingArrayOutput

func (CxVersionNluSettingArrayOutput) ToCxVersionNluSettingArrayOutputWithContext added in v5.13.0

func (o CxVersionNluSettingArrayOutput) ToCxVersionNluSettingArrayOutputWithContext(ctx context.Context) CxVersionNluSettingArrayOutput

type CxVersionNluSettingInput added in v5.13.0

type CxVersionNluSettingInput interface {
	pulumi.Input

	ToCxVersionNluSettingOutput() CxVersionNluSettingOutput
	ToCxVersionNluSettingOutputWithContext(context.Context) CxVersionNluSettingOutput
}

CxVersionNluSettingInput is an input type that accepts CxVersionNluSettingArgs and CxVersionNluSettingOutput values. You can construct a concrete instance of `CxVersionNluSettingInput` via:

CxVersionNluSettingArgs{...}

type CxVersionNluSettingOutput added in v5.13.0

type CxVersionNluSettingOutput struct{ *pulumi.OutputState }

func (CxVersionNluSettingOutput) ClassificationThreshold added in v5.13.0

func (o CxVersionNluSettingOutput) ClassificationThreshold() pulumi.Float64PtrOutput

func (CxVersionNluSettingOutput) ElementType added in v5.13.0

func (CxVersionNluSettingOutput) ElementType() reflect.Type

func (CxVersionNluSettingOutput) ModelTrainingMode added in v5.13.0

func (o CxVersionNluSettingOutput) ModelTrainingMode() pulumi.StringPtrOutput

func (CxVersionNluSettingOutput) ModelType added in v5.13.0

func (CxVersionNluSettingOutput) ToCxVersionNluSettingOutput added in v5.13.0

func (o CxVersionNluSettingOutput) ToCxVersionNluSettingOutput() CxVersionNluSettingOutput

func (CxVersionNluSettingOutput) ToCxVersionNluSettingOutputWithContext added in v5.13.0

func (o CxVersionNluSettingOutput) ToCxVersionNluSettingOutputWithContext(ctx context.Context) CxVersionNluSettingOutput

type CxVersionOutput added in v5.13.0

type CxVersionOutput struct{ *pulumi.OutputState }

func (CxVersionOutput) ElementType added in v5.13.0

func (CxVersionOutput) ElementType() reflect.Type

func (CxVersionOutput) ToCxVersionOutput added in v5.13.0

func (o CxVersionOutput) ToCxVersionOutput() CxVersionOutput

func (CxVersionOutput) ToCxVersionOutputWithContext added in v5.13.0

func (o CxVersionOutput) ToCxVersionOutputWithContext(ctx context.Context) CxVersionOutput

func (CxVersionOutput) ToCxVersionPtrOutput added in v5.13.0

func (o CxVersionOutput) ToCxVersionPtrOutput() CxVersionPtrOutput

func (CxVersionOutput) ToCxVersionPtrOutputWithContext added in v5.13.0

func (o CxVersionOutput) ToCxVersionPtrOutputWithContext(ctx context.Context) CxVersionPtrOutput

type CxVersionPtrInput added in v5.13.0

type CxVersionPtrInput interface {
	pulumi.Input

	ToCxVersionPtrOutput() CxVersionPtrOutput
	ToCxVersionPtrOutputWithContext(ctx context.Context) CxVersionPtrOutput
}

type CxVersionPtrOutput added in v5.13.0

type CxVersionPtrOutput struct{ *pulumi.OutputState }

func (CxVersionPtrOutput) Elem added in v5.21.0

func (CxVersionPtrOutput) ElementType added in v5.13.0

func (CxVersionPtrOutput) ElementType() reflect.Type

func (CxVersionPtrOutput) ToCxVersionPtrOutput added in v5.13.0

func (o CxVersionPtrOutput) ToCxVersionPtrOutput() CxVersionPtrOutput

func (CxVersionPtrOutput) ToCxVersionPtrOutputWithContext added in v5.13.0

func (o CxVersionPtrOutput) ToCxVersionPtrOutputWithContext(ctx context.Context) CxVersionPtrOutput

type CxVersionState added in v5.13.0

type CxVersionState struct {
	// A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples:
	// "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
	CreateTime pulumi.StringPtrInput
	// The description of the version. The maximum length is 500 characters. If exceeded, the request is rejected.
	Description pulumi.StringPtrInput
	// The human-readable name of the version. Limit of 64 characters.
	DisplayName pulumi.StringPtrInput
	// Format: projects//locations//agents//flows//versions/. Version ID is a self-increasing number generated by Dialogflow
	// upon version creation.
	Name pulumi.StringPtrInput
	// The NLU settings of the flow at version creation.
	NluSettings CxVersionNluSettingArrayInput
	// The Flow to create an Version for.
	// Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>.
	Parent pulumi.StringPtrInput
	// The state of this version. * RUNNING: Version is not ready to serve (e.g. training is running). * SUCCEEDED: Training
	// has succeeded and this version is ready to serve. * FAILED: Version training failed.
	State pulumi.StringPtrInput
}

func (CxVersionState) ElementType added in v5.13.0

func (CxVersionState) ElementType() reflect.Type

type EntityType

type EntityType struct {
	pulumi.CustomResourceState

	// The name of this entity type to be displayed on the console.
	DisplayName pulumi.StringOutput `pulumi:"displayName"`
	// Enables fuzzy entity extraction during classification.
	EnableFuzzyExtraction pulumi.BoolPtrOutput `pulumi:"enableFuzzyExtraction"`
	// The collection of entity entries associated with the entity type.
	// Structure is documented below.
	Entities EntityTypeEntityArrayOutput `pulumi:"entities"`
	// 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.
	//   Possible values are `KIND_MAP`, `KIND_LIST`, and `KIND_REGEXP`.
	Kind pulumi.StringOutput `pulumi:"kind"`
	// The unique identifier of the entity type. Format: projects/<Project ID>/agent/entityTypes/<Entity type ID>.
	Name pulumi.StringOutput `pulumi:"name"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringOutput `pulumi:"project"`
}

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:

* [API documentation](https://cloud.google.com/dialogflow/docs/reference/rest/v2/projects.agent.entityTypes) * How-to Guides

## Example Usage ### Dialogflow Entity Type Basic

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v5/go/gcp/diagflow"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		basicAgent, err := diagflow.NewAgent(ctx, "basicAgent", &diagflow.AgentArgs{
			DisplayName:         pulumi.String("example_agent"),
			DefaultLanguageCode: pulumi.String("en"),
			TimeZone:            pulumi.String("America/New_York"),
		})
		if err != nil {
			return err
		}
		_, err = diagflow.NewEntityType(ctx, "basicEntityType", &diagflow.EntityTypeArgs{
			DisplayName: pulumi.String(""),
			Kind:        pulumi.String("KIND_MAP"),
			Entities: diagflow.EntityTypeEntityArray{
				&diagflow.EntityTypeEntityArgs{
					Value: pulumi.String("value1"),
					Synonyms: pulumi.StringArray{
						pulumi.String("synonym1"),
						pulumi.String("synonym2"),
					},
				},
				&diagflow.EntityTypeEntityArgs{
					Value: pulumi.String("value2"),
					Synonyms: pulumi.StringArray{
						pulumi.String("synonym3"),
						pulumi.String("synonym4"),
					},
				},
			},
		}, pulumi.DependsOn([]pulumi.Resource{
			basicAgent,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

EntityType can be imported using any of these accepted formats

```sh

$ pulumi import gcp:diagflow/entityType:EntityType default {{name}}

```

func GetEntityType

func GetEntityType(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *EntityTypeState, opts ...pulumi.ResourceOption) (*EntityType, error)

GetEntityType gets an existing EntityType resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewEntityType

func NewEntityType(ctx *pulumi.Context,
	name string, args *EntityTypeArgs, opts ...pulumi.ResourceOption) (*EntityType, error)

NewEntityType registers a new resource with the given unique name, arguments, and options.

func (*EntityType) ElementType

func (*EntityType) ElementType() reflect.Type

func (*EntityType) ToEntityTypeOutput

func (i *EntityType) ToEntityTypeOutput() EntityTypeOutput

func (*EntityType) ToEntityTypeOutputWithContext

func (i *EntityType) ToEntityTypeOutputWithContext(ctx context.Context) EntityTypeOutput

func (*EntityType) ToEntityTypePtrOutput

func (i *EntityType) ToEntityTypePtrOutput() EntityTypePtrOutput

func (*EntityType) ToEntityTypePtrOutputWithContext

func (i *EntityType) ToEntityTypePtrOutputWithContext(ctx context.Context) EntityTypePtrOutput

type EntityTypeArgs

type EntityTypeArgs struct {
	// The name of this entity type to be displayed on the console.
	DisplayName pulumi.StringInput
	// Enables fuzzy entity extraction during classification.
	EnableFuzzyExtraction pulumi.BoolPtrInput
	// The collection of entity entries associated with the entity type.
	// Structure is documented below.
	Entities EntityTypeEntityArrayInput
	// 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.
	//   Possible values are `KIND_MAP`, `KIND_LIST`, and `KIND_REGEXP`.
	Kind pulumi.StringInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
}

The set of arguments for constructing a EntityType resource.

func (EntityTypeArgs) ElementType

func (EntityTypeArgs) ElementType() reflect.Type

type EntityTypeArray

type EntityTypeArray []EntityTypeInput

func (EntityTypeArray) ElementType

func (EntityTypeArray) ElementType() reflect.Type

func (EntityTypeArray) ToEntityTypeArrayOutput

func (i EntityTypeArray) ToEntityTypeArrayOutput() EntityTypeArrayOutput

func (EntityTypeArray) ToEntityTypeArrayOutputWithContext

func (i EntityTypeArray) ToEntityTypeArrayOutputWithContext(ctx context.Context) EntityTypeArrayOutput

type EntityTypeArrayInput

type EntityTypeArrayInput interface {
	pulumi.Input

	ToEntityTypeArrayOutput() EntityTypeArrayOutput
	ToEntityTypeArrayOutputWithContext(context.Context) EntityTypeArrayOutput
}

EntityTypeArrayInput is an input type that accepts EntityTypeArray and EntityTypeArrayOutput values. You can construct a concrete instance of `EntityTypeArrayInput` via:

EntityTypeArray{ EntityTypeArgs{...} }

type EntityTypeArrayOutput

type EntityTypeArrayOutput struct{ *pulumi.OutputState }

func (EntityTypeArrayOutput) ElementType

func (EntityTypeArrayOutput) ElementType() reflect.Type

func (EntityTypeArrayOutput) Index

func (EntityTypeArrayOutput) ToEntityTypeArrayOutput

func (o EntityTypeArrayOutput) ToEntityTypeArrayOutput() EntityTypeArrayOutput

func (EntityTypeArrayOutput) ToEntityTypeArrayOutputWithContext

func (o EntityTypeArrayOutput) ToEntityTypeArrayOutputWithContext(ctx context.Context) EntityTypeArrayOutput

type EntityTypeEntity

type EntityTypeEntity struct {
	// 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.
	Synonyms []string `pulumi:"synonyms"`
	// 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).
	Value string `pulumi:"value"`
}

type EntityTypeEntityArgs

type EntityTypeEntityArgs struct {
	// 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.
	Synonyms pulumi.StringArrayInput `pulumi:"synonyms"`
	// 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).
	Value pulumi.StringInput `pulumi:"value"`
}

func (EntityTypeEntityArgs) ElementType

func (EntityTypeEntityArgs) ElementType() reflect.Type

func (EntityTypeEntityArgs) ToEntityTypeEntityOutput

func (i EntityTypeEntityArgs) ToEntityTypeEntityOutput() EntityTypeEntityOutput

func (EntityTypeEntityArgs) ToEntityTypeEntityOutputWithContext

func (i EntityTypeEntityArgs) ToEntityTypeEntityOutputWithContext(ctx context.Context) EntityTypeEntityOutput

type EntityTypeEntityArray

type EntityTypeEntityArray []EntityTypeEntityInput

func (EntityTypeEntityArray) ElementType

func (EntityTypeEntityArray) ElementType() reflect.Type

func (EntityTypeEntityArray) ToEntityTypeEntityArrayOutput

func (i EntityTypeEntityArray) ToEntityTypeEntityArrayOutput() EntityTypeEntityArrayOutput

func (EntityTypeEntityArray) ToEntityTypeEntityArrayOutputWithContext

func (i EntityTypeEntityArray) ToEntityTypeEntityArrayOutputWithContext(ctx context.Context) EntityTypeEntityArrayOutput

type EntityTypeEntityArrayInput

type EntityTypeEntityArrayInput interface {
	pulumi.Input

	ToEntityTypeEntityArrayOutput() EntityTypeEntityArrayOutput
	ToEntityTypeEntityArrayOutputWithContext(context.Context) EntityTypeEntityArrayOutput
}

EntityTypeEntityArrayInput is an input type that accepts EntityTypeEntityArray and EntityTypeEntityArrayOutput values. You can construct a concrete instance of `EntityTypeEntityArrayInput` via:

EntityTypeEntityArray{ EntityTypeEntityArgs{...} }

type EntityTypeEntityArrayOutput

type EntityTypeEntityArrayOutput struct{ *pulumi.OutputState }

func (EntityTypeEntityArrayOutput) ElementType

func (EntityTypeEntityArrayOutput) Index

func (EntityTypeEntityArrayOutput) ToEntityTypeEntityArrayOutput

func (o EntityTypeEntityArrayOutput) ToEntityTypeEntityArrayOutput() EntityTypeEntityArrayOutput

func (EntityTypeEntityArrayOutput) ToEntityTypeEntityArrayOutputWithContext

func (o EntityTypeEntityArrayOutput) ToEntityTypeEntityArrayOutputWithContext(ctx context.Context) EntityTypeEntityArrayOutput

type EntityTypeEntityInput

type EntityTypeEntityInput interface {
	pulumi.Input

	ToEntityTypeEntityOutput() EntityTypeEntityOutput
	ToEntityTypeEntityOutputWithContext(context.Context) EntityTypeEntityOutput
}

EntityTypeEntityInput is an input type that accepts EntityTypeEntityArgs and EntityTypeEntityOutput values. You can construct a concrete instance of `EntityTypeEntityInput` via:

EntityTypeEntityArgs{...}

type EntityTypeEntityOutput

type EntityTypeEntityOutput struct{ *pulumi.OutputState }

func (EntityTypeEntityOutput) ElementType

func (EntityTypeEntityOutput) ElementType() reflect.Type

func (EntityTypeEntityOutput) Synonyms

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.

func (EntityTypeEntityOutput) ToEntityTypeEntityOutput

func (o EntityTypeEntityOutput) ToEntityTypeEntityOutput() EntityTypeEntityOutput

func (EntityTypeEntityOutput) ToEntityTypeEntityOutputWithContext

func (o EntityTypeEntityOutput) ToEntityTypeEntityOutputWithContext(ctx context.Context) EntityTypeEntityOutput

func (EntityTypeEntityOutput) Value

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).

type EntityTypeInput

type EntityTypeInput interface {
	pulumi.Input

	ToEntityTypeOutput() EntityTypeOutput
	ToEntityTypeOutputWithContext(ctx context.Context) EntityTypeOutput
}

type EntityTypeMap

type EntityTypeMap map[string]EntityTypeInput

func (EntityTypeMap) ElementType

func (EntityTypeMap) ElementType() reflect.Type

func (EntityTypeMap) ToEntityTypeMapOutput

func (i EntityTypeMap) ToEntityTypeMapOutput() EntityTypeMapOutput

func (EntityTypeMap) ToEntityTypeMapOutputWithContext

func (i EntityTypeMap) ToEntityTypeMapOutputWithContext(ctx context.Context) EntityTypeMapOutput

type EntityTypeMapInput

type EntityTypeMapInput interface {
	pulumi.Input

	ToEntityTypeMapOutput() EntityTypeMapOutput
	ToEntityTypeMapOutputWithContext(context.Context) EntityTypeMapOutput
}

EntityTypeMapInput is an input type that accepts EntityTypeMap and EntityTypeMapOutput values. You can construct a concrete instance of `EntityTypeMapInput` via:

EntityTypeMap{ "key": EntityTypeArgs{...} }

type EntityTypeMapOutput

type EntityTypeMapOutput struct{ *pulumi.OutputState }

func (EntityTypeMapOutput) ElementType

func (EntityTypeMapOutput) ElementType() reflect.Type

func (EntityTypeMapOutput) MapIndex

func (EntityTypeMapOutput) ToEntityTypeMapOutput

func (o EntityTypeMapOutput) ToEntityTypeMapOutput() EntityTypeMapOutput

func (EntityTypeMapOutput) ToEntityTypeMapOutputWithContext

func (o EntityTypeMapOutput) ToEntityTypeMapOutputWithContext(ctx context.Context) EntityTypeMapOutput

type EntityTypeOutput

type EntityTypeOutput struct{ *pulumi.OutputState }

func (EntityTypeOutput) ElementType

func (EntityTypeOutput) ElementType() reflect.Type

func (EntityTypeOutput) ToEntityTypeOutput

func (o EntityTypeOutput) ToEntityTypeOutput() EntityTypeOutput

func (EntityTypeOutput) ToEntityTypeOutputWithContext

func (o EntityTypeOutput) ToEntityTypeOutputWithContext(ctx context.Context) EntityTypeOutput

func (EntityTypeOutput) ToEntityTypePtrOutput

func (o EntityTypeOutput) ToEntityTypePtrOutput() EntityTypePtrOutput

func (EntityTypeOutput) ToEntityTypePtrOutputWithContext

func (o EntityTypeOutput) ToEntityTypePtrOutputWithContext(ctx context.Context) EntityTypePtrOutput

type EntityTypePtrInput

type EntityTypePtrInput interface {
	pulumi.Input

	ToEntityTypePtrOutput() EntityTypePtrOutput
	ToEntityTypePtrOutputWithContext(ctx context.Context) EntityTypePtrOutput
}

type EntityTypePtrOutput

type EntityTypePtrOutput struct{ *pulumi.OutputState }

func (EntityTypePtrOutput) Elem added in v5.21.0

func (EntityTypePtrOutput) ElementType

func (EntityTypePtrOutput) ElementType() reflect.Type

func (EntityTypePtrOutput) ToEntityTypePtrOutput

func (o EntityTypePtrOutput) ToEntityTypePtrOutput() EntityTypePtrOutput

func (EntityTypePtrOutput) ToEntityTypePtrOutputWithContext

func (o EntityTypePtrOutput) ToEntityTypePtrOutputWithContext(ctx context.Context) EntityTypePtrOutput

type EntityTypeState

type EntityTypeState struct {
	// The name of this entity type to be displayed on the console.
	DisplayName pulumi.StringPtrInput
	// Enables fuzzy entity extraction during classification.
	EnableFuzzyExtraction pulumi.BoolPtrInput
	// The collection of entity entries associated with the entity type.
	// Structure is documented below.
	Entities EntityTypeEntityArrayInput
	// 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.
	//   Possible values are `KIND_MAP`, `KIND_LIST`, and `KIND_REGEXP`.
	Kind pulumi.StringPtrInput
	// The unique identifier of the entity type. Format: projects/<Project ID>/agent/entityTypes/<Entity type ID>.
	Name pulumi.StringPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
}

func (EntityTypeState) ElementType

func (EntityTypeState) ElementType() reflect.Type

type Fulfillment added in v5.8.0

type Fulfillment struct {
	pulumi.CustomResourceState

	// The human-readable name of the fulfillment, unique within the agent.
	DisplayName pulumi.StringOutput `pulumi:"displayName"`
	// Whether fulfillment is enabled.
	Enabled pulumi.BoolPtrOutput `pulumi:"enabled"`
	// The field defines whether the fulfillment is enabled for certain features.
	// Structure is documented below.
	Features FulfillmentFeatureArrayOutput `pulumi:"features"`
	// Represents configuration for a generic web service. Dialogflow supports two mechanisms for authentications: - Basic authentication with username and password. - Authentication with additional authentication headers.
	// Structure is documented below.
	GenericWebService FulfillmentGenericWebServicePtrOutput `pulumi:"genericWebService"`
	// The unique identifier of the fulfillment. Format: projects/<Project ID>/agent/fulfillment - projects/<Project
	// ID>/locations/<Location ID>/agent/fulfillment
	Name pulumi.StringOutput `pulumi:"name"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringOutput `pulumi:"project"`
}

By default, your agent responds to a matched intent with a static response. If you're using one of the integration options, you can provide a more dynamic response by using fulfillment. When you enable fulfillment for an intent, Dialogflow responds to that intent by calling a service that you define. For example, if an end-user wants to schedule a haircut on Friday, your service can check your database and respond to the end-user with availability information for Friday.

To get more information about Fulfillment, see:

* [API documentation](https://cloud.google.com/dialogflow/es/docs/reference/rest/v2/projects.agent/getFulfillment) * How-to Guides

## Example Usage ### Dialogflow Fulfillment Basic

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v5/go/gcp/diagflow"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		basicAgent, err := diagflow.NewAgent(ctx, "basicAgent", &diagflow.AgentArgs{
			DisplayName:         pulumi.String("example_agent"),
			DefaultLanguageCode: pulumi.String("en"),
			TimeZone:            pulumi.String("America/New_York"),
		})
		if err != nil {
			return err
		}
		_, err = diagflow.NewFulfillment(ctx, "basicFulfillment", &diagflow.FulfillmentArgs{
			DisplayName: pulumi.String("basic-fulfillment"),
			Enabled:     pulumi.Bool(true),
			GenericWebService: &diagflow.FulfillmentGenericWebServiceArgs{
				Uri:      pulumi.String("https://google.com"),
				Username: pulumi.String("admin"),
				Password: pulumi.String("password"),
				RequestHeaders: pulumi.StringMap{
					"name": pulumi.String("wrench"),
				},
			},
		}, pulumi.DependsOn([]pulumi.Resource{
			basicAgent,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Fulfillment can be imported using any of these accepted formats

```sh

$ pulumi import gcp:diagflow/fulfillment:Fulfillment default {{name}}

```

func GetFulfillment added in v5.8.0

func GetFulfillment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *FulfillmentState, opts ...pulumi.ResourceOption) (*Fulfillment, error)

GetFulfillment gets an existing Fulfillment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewFulfillment added in v5.8.0

func NewFulfillment(ctx *pulumi.Context,
	name string, args *FulfillmentArgs, opts ...pulumi.ResourceOption) (*Fulfillment, error)

NewFulfillment registers a new resource with the given unique name, arguments, and options.

func (*Fulfillment) ElementType added in v5.8.0

func (*Fulfillment) ElementType() reflect.Type

func (*Fulfillment) ToFulfillmentOutput added in v5.8.0

func (i *Fulfillment) ToFulfillmentOutput() FulfillmentOutput

func (*Fulfillment) ToFulfillmentOutputWithContext added in v5.8.0

func (i *Fulfillment) ToFulfillmentOutputWithContext(ctx context.Context) FulfillmentOutput

func (*Fulfillment) ToFulfillmentPtrOutput added in v5.8.0

func (i *Fulfillment) ToFulfillmentPtrOutput() FulfillmentPtrOutput

func (*Fulfillment) ToFulfillmentPtrOutputWithContext added in v5.8.0

func (i *Fulfillment) ToFulfillmentPtrOutputWithContext(ctx context.Context) FulfillmentPtrOutput

type FulfillmentArgs added in v5.8.0

type FulfillmentArgs struct {
	// The human-readable name of the fulfillment, unique within the agent.
	DisplayName pulumi.StringInput
	// Whether fulfillment is enabled.
	Enabled pulumi.BoolPtrInput
	// The field defines whether the fulfillment is enabled for certain features.
	// Structure is documented below.
	Features FulfillmentFeatureArrayInput
	// Represents configuration for a generic web service. Dialogflow supports two mechanisms for authentications: - Basic authentication with username and password. - Authentication with additional authentication headers.
	// Structure is documented below.
	GenericWebService FulfillmentGenericWebServicePtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
}

The set of arguments for constructing a Fulfillment resource.

func (FulfillmentArgs) ElementType added in v5.8.0

func (FulfillmentArgs) ElementType() reflect.Type

type FulfillmentArray added in v5.8.0

type FulfillmentArray []FulfillmentInput

func (FulfillmentArray) ElementType added in v5.8.0

func (FulfillmentArray) ElementType() reflect.Type

func (FulfillmentArray) ToFulfillmentArrayOutput added in v5.8.0

func (i FulfillmentArray) ToFulfillmentArrayOutput() FulfillmentArrayOutput

func (FulfillmentArray) ToFulfillmentArrayOutputWithContext added in v5.8.0

func (i FulfillmentArray) ToFulfillmentArrayOutputWithContext(ctx context.Context) FulfillmentArrayOutput

type FulfillmentArrayInput added in v5.8.0

type FulfillmentArrayInput interface {
	pulumi.Input

	ToFulfillmentArrayOutput() FulfillmentArrayOutput
	ToFulfillmentArrayOutputWithContext(context.Context) FulfillmentArrayOutput
}

FulfillmentArrayInput is an input type that accepts FulfillmentArray and FulfillmentArrayOutput values. You can construct a concrete instance of `FulfillmentArrayInput` via:

FulfillmentArray{ FulfillmentArgs{...} }

type FulfillmentArrayOutput added in v5.8.0

type FulfillmentArrayOutput struct{ *pulumi.OutputState }

func (FulfillmentArrayOutput) ElementType added in v5.8.0

func (FulfillmentArrayOutput) ElementType() reflect.Type

func (FulfillmentArrayOutput) Index added in v5.8.0

func (FulfillmentArrayOutput) ToFulfillmentArrayOutput added in v5.8.0

func (o FulfillmentArrayOutput) ToFulfillmentArrayOutput() FulfillmentArrayOutput

func (FulfillmentArrayOutput) ToFulfillmentArrayOutputWithContext added in v5.8.0

func (o FulfillmentArrayOutput) ToFulfillmentArrayOutputWithContext(ctx context.Context) FulfillmentArrayOutput

type FulfillmentFeature added in v5.8.0

type FulfillmentFeature struct {
	// The type of the feature that enabled for fulfillment.
	// * SMALLTALK: Fulfillment is enabled for SmallTalk.
	//   Possible values are `SMALLTALK`.
	Type string `pulumi:"type"`
}

type FulfillmentFeatureArgs added in v5.8.0

type FulfillmentFeatureArgs struct {
	// The type of the feature that enabled for fulfillment.
	// * SMALLTALK: Fulfillment is enabled for SmallTalk.
	//   Possible values are `SMALLTALK`.
	Type pulumi.StringInput `pulumi:"type"`
}

func (FulfillmentFeatureArgs) ElementType added in v5.8.0

func (FulfillmentFeatureArgs) ElementType() reflect.Type

func (FulfillmentFeatureArgs) ToFulfillmentFeatureOutput added in v5.8.0

func (i FulfillmentFeatureArgs) ToFulfillmentFeatureOutput() FulfillmentFeatureOutput

func (FulfillmentFeatureArgs) ToFulfillmentFeatureOutputWithContext added in v5.8.0

func (i FulfillmentFeatureArgs) ToFulfillmentFeatureOutputWithContext(ctx context.Context) FulfillmentFeatureOutput

type FulfillmentFeatureArray added in v5.8.0

type FulfillmentFeatureArray []FulfillmentFeatureInput

func (FulfillmentFeatureArray) ElementType added in v5.8.0

func (FulfillmentFeatureArray) ElementType() reflect.Type

func (FulfillmentFeatureArray) ToFulfillmentFeatureArrayOutput added in v5.8.0

func (i FulfillmentFeatureArray) ToFulfillmentFeatureArrayOutput() FulfillmentFeatureArrayOutput

func (FulfillmentFeatureArray) ToFulfillmentFeatureArrayOutputWithContext added in v5.8.0

func (i FulfillmentFeatureArray) ToFulfillmentFeatureArrayOutputWithContext(ctx context.Context) FulfillmentFeatureArrayOutput

type FulfillmentFeatureArrayInput added in v5.8.0

type FulfillmentFeatureArrayInput interface {
	pulumi.Input

	ToFulfillmentFeatureArrayOutput() FulfillmentFeatureArrayOutput
	ToFulfillmentFeatureArrayOutputWithContext(context.Context) FulfillmentFeatureArrayOutput
}

FulfillmentFeatureArrayInput is an input type that accepts FulfillmentFeatureArray and FulfillmentFeatureArrayOutput values. You can construct a concrete instance of `FulfillmentFeatureArrayInput` via:

FulfillmentFeatureArray{ FulfillmentFeatureArgs{...} }

type FulfillmentFeatureArrayOutput added in v5.8.0

type FulfillmentFeatureArrayOutput struct{ *pulumi.OutputState }

func (FulfillmentFeatureArrayOutput) ElementType added in v5.8.0

func (FulfillmentFeatureArrayOutput) Index added in v5.8.0

func (FulfillmentFeatureArrayOutput) ToFulfillmentFeatureArrayOutput added in v5.8.0

func (o FulfillmentFeatureArrayOutput) ToFulfillmentFeatureArrayOutput() FulfillmentFeatureArrayOutput

func (FulfillmentFeatureArrayOutput) ToFulfillmentFeatureArrayOutputWithContext added in v5.8.0

func (o FulfillmentFeatureArrayOutput) ToFulfillmentFeatureArrayOutputWithContext(ctx context.Context) FulfillmentFeatureArrayOutput

type FulfillmentFeatureInput added in v5.8.0

type FulfillmentFeatureInput interface {
	pulumi.Input

	ToFulfillmentFeatureOutput() FulfillmentFeatureOutput
	ToFulfillmentFeatureOutputWithContext(context.Context) FulfillmentFeatureOutput
}

FulfillmentFeatureInput is an input type that accepts FulfillmentFeatureArgs and FulfillmentFeatureOutput values. You can construct a concrete instance of `FulfillmentFeatureInput` via:

FulfillmentFeatureArgs{...}

type FulfillmentFeatureOutput added in v5.8.0

type FulfillmentFeatureOutput struct{ *pulumi.OutputState }

func (FulfillmentFeatureOutput) ElementType added in v5.8.0

func (FulfillmentFeatureOutput) ElementType() reflect.Type

func (FulfillmentFeatureOutput) ToFulfillmentFeatureOutput added in v5.8.0

func (o FulfillmentFeatureOutput) ToFulfillmentFeatureOutput() FulfillmentFeatureOutput

func (FulfillmentFeatureOutput) ToFulfillmentFeatureOutputWithContext added in v5.8.0

func (o FulfillmentFeatureOutput) ToFulfillmentFeatureOutputWithContext(ctx context.Context) FulfillmentFeatureOutput

func (FulfillmentFeatureOutput) Type added in v5.8.0

The type of the feature that enabled for fulfillment.

  • SMALLTALK: Fulfillment is enabled for SmallTalk. Possible values are `SMALLTALK`.

type FulfillmentGenericWebService added in v5.8.0

type FulfillmentGenericWebService struct {
	// The password for HTTP Basic authentication.
	Password *string `pulumi:"password"`
	// The HTTP request headers to send together with fulfillment requests.
	RequestHeaders map[string]string `pulumi:"requestHeaders"`
	// The fulfillment URI for receiving POST requests. It must use https protocol.
	Uri string `pulumi:"uri"`
	// The user name for HTTP Basic authentication.
	Username *string `pulumi:"username"`
}

type FulfillmentGenericWebServiceArgs added in v5.8.0

type FulfillmentGenericWebServiceArgs struct {
	// The password for HTTP Basic authentication.
	Password pulumi.StringPtrInput `pulumi:"password"`
	// The HTTP request headers to send together with fulfillment requests.
	RequestHeaders pulumi.StringMapInput `pulumi:"requestHeaders"`
	// The fulfillment URI for receiving POST requests. It must use https protocol.
	Uri pulumi.StringInput `pulumi:"uri"`
	// The user name for HTTP Basic authentication.
	Username pulumi.StringPtrInput `pulumi:"username"`
}

func (FulfillmentGenericWebServiceArgs) ElementType added in v5.8.0

func (FulfillmentGenericWebServiceArgs) ToFulfillmentGenericWebServiceOutput added in v5.8.0

func (i FulfillmentGenericWebServiceArgs) ToFulfillmentGenericWebServiceOutput() FulfillmentGenericWebServiceOutput

func (FulfillmentGenericWebServiceArgs) ToFulfillmentGenericWebServiceOutputWithContext added in v5.8.0

func (i FulfillmentGenericWebServiceArgs) ToFulfillmentGenericWebServiceOutputWithContext(ctx context.Context) FulfillmentGenericWebServiceOutput

func (FulfillmentGenericWebServiceArgs) ToFulfillmentGenericWebServicePtrOutput added in v5.8.0

func (i FulfillmentGenericWebServiceArgs) ToFulfillmentGenericWebServicePtrOutput() FulfillmentGenericWebServicePtrOutput

func (FulfillmentGenericWebServiceArgs) ToFulfillmentGenericWebServicePtrOutputWithContext added in v5.8.0

func (i FulfillmentGenericWebServiceArgs) ToFulfillmentGenericWebServicePtrOutputWithContext(ctx context.Context) FulfillmentGenericWebServicePtrOutput

type FulfillmentGenericWebServiceInput added in v5.8.0

type FulfillmentGenericWebServiceInput interface {
	pulumi.Input

	ToFulfillmentGenericWebServiceOutput() FulfillmentGenericWebServiceOutput
	ToFulfillmentGenericWebServiceOutputWithContext(context.Context) FulfillmentGenericWebServiceOutput
}

FulfillmentGenericWebServiceInput is an input type that accepts FulfillmentGenericWebServiceArgs and FulfillmentGenericWebServiceOutput values. You can construct a concrete instance of `FulfillmentGenericWebServiceInput` via:

FulfillmentGenericWebServiceArgs{...}

type FulfillmentGenericWebServiceOutput added in v5.8.0

type FulfillmentGenericWebServiceOutput struct{ *pulumi.OutputState }

func (FulfillmentGenericWebServiceOutput) ElementType added in v5.8.0

func (FulfillmentGenericWebServiceOutput) Password added in v5.8.0

The password for HTTP Basic authentication.

func (FulfillmentGenericWebServiceOutput) RequestHeaders added in v5.8.0

The HTTP request headers to send together with fulfillment requests.

func (FulfillmentGenericWebServiceOutput) ToFulfillmentGenericWebServiceOutput added in v5.8.0

func (o FulfillmentGenericWebServiceOutput) ToFulfillmentGenericWebServiceOutput() FulfillmentGenericWebServiceOutput

func (FulfillmentGenericWebServiceOutput) ToFulfillmentGenericWebServiceOutputWithContext added in v5.8.0

func (o FulfillmentGenericWebServiceOutput) ToFulfillmentGenericWebServiceOutputWithContext(ctx context.Context) FulfillmentGenericWebServiceOutput

func (FulfillmentGenericWebServiceOutput) ToFulfillmentGenericWebServicePtrOutput added in v5.8.0

func (o FulfillmentGenericWebServiceOutput) ToFulfillmentGenericWebServicePtrOutput() FulfillmentGenericWebServicePtrOutput

func (FulfillmentGenericWebServiceOutput) ToFulfillmentGenericWebServicePtrOutputWithContext added in v5.8.0

func (o FulfillmentGenericWebServiceOutput) ToFulfillmentGenericWebServicePtrOutputWithContext(ctx context.Context) FulfillmentGenericWebServicePtrOutput

func (FulfillmentGenericWebServiceOutput) Uri added in v5.8.0

The fulfillment URI for receiving POST requests. It must use https protocol.

func (FulfillmentGenericWebServiceOutput) Username added in v5.8.0

The user name for HTTP Basic authentication.

type FulfillmentGenericWebServicePtrInput added in v5.8.0

type FulfillmentGenericWebServicePtrInput interface {
	pulumi.Input

	ToFulfillmentGenericWebServicePtrOutput() FulfillmentGenericWebServicePtrOutput
	ToFulfillmentGenericWebServicePtrOutputWithContext(context.Context) FulfillmentGenericWebServicePtrOutput
}

FulfillmentGenericWebServicePtrInput is an input type that accepts FulfillmentGenericWebServiceArgs, FulfillmentGenericWebServicePtr and FulfillmentGenericWebServicePtrOutput values. You can construct a concrete instance of `FulfillmentGenericWebServicePtrInput` via:

        FulfillmentGenericWebServiceArgs{...}

or:

        nil

type FulfillmentGenericWebServicePtrOutput added in v5.8.0

type FulfillmentGenericWebServicePtrOutput struct{ *pulumi.OutputState }

func (FulfillmentGenericWebServicePtrOutput) Elem added in v5.8.0

func (FulfillmentGenericWebServicePtrOutput) ElementType added in v5.8.0

func (FulfillmentGenericWebServicePtrOutput) Password added in v5.8.0

The password for HTTP Basic authentication.

func (FulfillmentGenericWebServicePtrOutput) RequestHeaders added in v5.8.0

The HTTP request headers to send together with fulfillment requests.

func (FulfillmentGenericWebServicePtrOutput) ToFulfillmentGenericWebServicePtrOutput added in v5.8.0

func (o FulfillmentGenericWebServicePtrOutput) ToFulfillmentGenericWebServicePtrOutput() FulfillmentGenericWebServicePtrOutput

func (FulfillmentGenericWebServicePtrOutput) ToFulfillmentGenericWebServicePtrOutputWithContext added in v5.8.0

func (o FulfillmentGenericWebServicePtrOutput) ToFulfillmentGenericWebServicePtrOutputWithContext(ctx context.Context) FulfillmentGenericWebServicePtrOutput

func (FulfillmentGenericWebServicePtrOutput) Uri added in v5.8.0

The fulfillment URI for receiving POST requests. It must use https protocol.

func (FulfillmentGenericWebServicePtrOutput) Username added in v5.8.0

The user name for HTTP Basic authentication.

type FulfillmentInput added in v5.8.0

type FulfillmentInput interface {
	pulumi.Input

	ToFulfillmentOutput() FulfillmentOutput
	ToFulfillmentOutputWithContext(ctx context.Context) FulfillmentOutput
}

type FulfillmentMap added in v5.8.0

type FulfillmentMap map[string]FulfillmentInput

func (FulfillmentMap) ElementType added in v5.8.0

func (FulfillmentMap) ElementType() reflect.Type

func (FulfillmentMap) ToFulfillmentMapOutput added in v5.8.0

func (i FulfillmentMap) ToFulfillmentMapOutput() FulfillmentMapOutput

func (FulfillmentMap) ToFulfillmentMapOutputWithContext added in v5.8.0

func (i FulfillmentMap) ToFulfillmentMapOutputWithContext(ctx context.Context) FulfillmentMapOutput

type FulfillmentMapInput added in v5.8.0

type FulfillmentMapInput interface {
	pulumi.Input

	ToFulfillmentMapOutput() FulfillmentMapOutput
	ToFulfillmentMapOutputWithContext(context.Context) FulfillmentMapOutput
}

FulfillmentMapInput is an input type that accepts FulfillmentMap and FulfillmentMapOutput values. You can construct a concrete instance of `FulfillmentMapInput` via:

FulfillmentMap{ "key": FulfillmentArgs{...} }

type FulfillmentMapOutput added in v5.8.0

type FulfillmentMapOutput struct{ *pulumi.OutputState }

func (FulfillmentMapOutput) ElementType added in v5.8.0

func (FulfillmentMapOutput) ElementType() reflect.Type

func (FulfillmentMapOutput) MapIndex added in v5.8.0

func (FulfillmentMapOutput) ToFulfillmentMapOutput added in v5.8.0

func (o FulfillmentMapOutput) ToFulfillmentMapOutput() FulfillmentMapOutput

func (FulfillmentMapOutput) ToFulfillmentMapOutputWithContext added in v5.8.0

func (o FulfillmentMapOutput) ToFulfillmentMapOutputWithContext(ctx context.Context) FulfillmentMapOutput

type FulfillmentOutput added in v5.8.0

type FulfillmentOutput struct{ *pulumi.OutputState }

func (FulfillmentOutput) ElementType added in v5.8.0

func (FulfillmentOutput) ElementType() reflect.Type

func (FulfillmentOutput) ToFulfillmentOutput added in v5.8.0

func (o FulfillmentOutput) ToFulfillmentOutput() FulfillmentOutput

func (FulfillmentOutput) ToFulfillmentOutputWithContext added in v5.8.0

func (o FulfillmentOutput) ToFulfillmentOutputWithContext(ctx context.Context) FulfillmentOutput

func (FulfillmentOutput) ToFulfillmentPtrOutput added in v5.8.0

func (o FulfillmentOutput) ToFulfillmentPtrOutput() FulfillmentPtrOutput

func (FulfillmentOutput) ToFulfillmentPtrOutputWithContext added in v5.8.0

func (o FulfillmentOutput) ToFulfillmentPtrOutputWithContext(ctx context.Context) FulfillmentPtrOutput

type FulfillmentPtrInput added in v5.8.0

type FulfillmentPtrInput interface {
	pulumi.Input

	ToFulfillmentPtrOutput() FulfillmentPtrOutput
	ToFulfillmentPtrOutputWithContext(ctx context.Context) FulfillmentPtrOutput
}

type FulfillmentPtrOutput added in v5.8.0

type FulfillmentPtrOutput struct{ *pulumi.OutputState }

func (FulfillmentPtrOutput) Elem added in v5.21.0

func (FulfillmentPtrOutput) ElementType added in v5.8.0

func (FulfillmentPtrOutput) ElementType() reflect.Type

func (FulfillmentPtrOutput) ToFulfillmentPtrOutput added in v5.8.0

func (o FulfillmentPtrOutput) ToFulfillmentPtrOutput() FulfillmentPtrOutput

func (FulfillmentPtrOutput) ToFulfillmentPtrOutputWithContext added in v5.8.0

func (o FulfillmentPtrOutput) ToFulfillmentPtrOutputWithContext(ctx context.Context) FulfillmentPtrOutput

type FulfillmentState added in v5.8.0

type FulfillmentState struct {
	// The human-readable name of the fulfillment, unique within the agent.
	DisplayName pulumi.StringPtrInput
	// Whether fulfillment is enabled.
	Enabled pulumi.BoolPtrInput
	// The field defines whether the fulfillment is enabled for certain features.
	// Structure is documented below.
	Features FulfillmentFeatureArrayInput
	// Represents configuration for a generic web service. Dialogflow supports two mechanisms for authentications: - Basic authentication with username and password. - Authentication with additional authentication headers.
	// Structure is documented below.
	GenericWebService FulfillmentGenericWebServicePtrInput
	// The unique identifier of the fulfillment. Format: projects/<Project ID>/agent/fulfillment - projects/<Project
	// ID>/locations/<Location ID>/agent/fulfillment
	Name pulumi.StringPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
}

func (FulfillmentState) ElementType added in v5.8.0

func (FulfillmentState) ElementType() reflect.Type

type Intent

type Intent struct {
	pulumi.CustomResourceState

	// The name of the action associated with the intent.
	// Note: The action name must not contain whitespaces.
	Action pulumi.StringOutput `pulumi:"action"`
	// The list of platforms for which the first responses will be copied from the messages in PLATFORM_UNSPECIFIED
	// (i.e. default platform).
	// Each value may be one of `FACEBOOK`, `SLACK`, `TELEGRAM`, `KIK`, `SKYPE`, `LINE`, `VIBER`, `ACTIONS_ON_GOOGLE`, and `GOOGLE_HANGOUTS`.
	DefaultResponsePlatforms pulumi.StringArrayOutput `pulumi:"defaultResponsePlatforms"`
	// The name of this intent to be displayed on the console.
	DisplayName pulumi.StringOutput `pulumi:"displayName"`
	// 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](https://cloud.google.com/dialogflow/docs/events-overview) for more details.
	Events pulumi.StringArrayOutput `pulumi:"events"`
	// Information about all followup intents that have this intent as a direct or indirect parent. We populate this field only
	// in the output.
	FollowupIntentInfos IntentFollowupIntentInfoArrayOutput `pulumi:"followupIntentInfos"`
	// The list of context names required for this intent to be triggered.
	// Format: projects/<Project ID>/agent/sessions/-/contexts/<Context ID>.
	InputContextNames pulumi.StringArrayOutput `pulumi:"inputContextNames"`
	// Indicates whether this is a fallback intent.
	IsFallback pulumi.BoolOutput `pulumi:"isFallback"`
	// 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.
	MlDisabled pulumi.BoolOutput `pulumi:"mlDisabled"`
	// The unique identifier of this intent. Format: projects/<Project ID>/agent/intents/<Intent ID>.
	Name pulumi.StringOutput `pulumi:"name"`
	// The unique identifier of the parent intent in the chain of followup intents.
	// Format: projects/<Project ID>/agent/intents/<Intent ID>.
	ParentFollowupIntentName pulumi.StringOutput `pulumi:"parentFollowupIntentName"`
	// 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.
	Priority pulumi.IntOutput `pulumi:"priority"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringOutput `pulumi:"project"`
	// Indicates whether to delete all contexts in the current session when this intent is matched.
	ResetContexts pulumi.BoolOutput `pulumi:"resetContexts"`
	// 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/<Project ID>/agent/intents/<Intent ID>.
	RootFollowupIntentName pulumi.StringOutput `pulumi:"rootFollowupIntentName"`
	// 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.
	//   Possible values are `WEBHOOK_STATE_ENABLED` and `WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING`.
	WebhookState pulumi.StringOutput `pulumi:"webhookState"`
}

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:

* [API documentation](https://cloud.google.com/dialogflow/docs/reference/rest/v2/projects.agent.intents) * How-to Guides

## Example Usage ### Dialogflow Intent Basic

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v5/go/gcp/diagflow"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		basicAgent, err := diagflow.NewAgent(ctx, "basicAgent", &diagflow.AgentArgs{
			DisplayName:         pulumi.String("example_agent"),
			DefaultLanguageCode: pulumi.String("en"),
			TimeZone:            pulumi.String("America/New_York"),
		})
		if err != nil {
			return err
		}
		_, err = diagflow.NewIntent(ctx, "basicIntent", &diagflow.IntentArgs{
			DisplayName: pulumi.String("basic-intent"),
		}, pulumi.DependsOn([]pulumi.Resource{
			basicAgent,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Intent can be imported using any of these accepted formats

```sh

$ pulumi import gcp:diagflow/intent:Intent default {{name}}

```

func GetIntent

func GetIntent(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *IntentState, opts ...pulumi.ResourceOption) (*Intent, error)

GetIntent gets an existing Intent resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewIntent

func NewIntent(ctx *pulumi.Context,
	name string, args *IntentArgs, opts ...pulumi.ResourceOption) (*Intent, error)

NewIntent registers a new resource with the given unique name, arguments, and options.

func (*Intent) ElementType

func (*Intent) ElementType() reflect.Type

func (*Intent) ToIntentOutput

func (i *Intent) ToIntentOutput() IntentOutput

func (*Intent) ToIntentOutputWithContext

func (i *Intent) ToIntentOutputWithContext(ctx context.Context) IntentOutput

func (*Intent) ToIntentPtrOutput

func (i *Intent) ToIntentPtrOutput() IntentPtrOutput

func (*Intent) ToIntentPtrOutputWithContext

func (i *Intent) ToIntentPtrOutputWithContext(ctx context.Context) IntentPtrOutput

type IntentArgs

type IntentArgs struct {
	// The name of the action associated with the intent.
	// Note: The action name must not contain whitespaces.
	Action pulumi.StringPtrInput
	// The list of platforms for which the first responses will be copied from the messages in PLATFORM_UNSPECIFIED
	// (i.e. default platform).
	// Each value may be one of `FACEBOOK`, `SLACK`, `TELEGRAM`, `KIK`, `SKYPE`, `LINE`, `VIBER`, `ACTIONS_ON_GOOGLE`, and `GOOGLE_HANGOUTS`.
	DefaultResponsePlatforms pulumi.StringArrayInput
	// The name of this intent to be displayed on the console.
	DisplayName pulumi.StringInput
	// 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](https://cloud.google.com/dialogflow/docs/events-overview) for more details.
	Events pulumi.StringArrayInput
	// The list of context names required for this intent to be triggered.
	// Format: projects/<Project ID>/agent/sessions/-/contexts/<Context ID>.
	InputContextNames pulumi.StringArrayInput
	// Indicates whether this is a fallback intent.
	IsFallback pulumi.BoolPtrInput
	// 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.
	MlDisabled pulumi.BoolPtrInput
	// The unique identifier of the parent intent in the chain of followup intents.
	// Format: projects/<Project ID>/agent/intents/<Intent ID>.
	ParentFollowupIntentName pulumi.StringPtrInput
	// 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.
	Priority pulumi.IntPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// Indicates whether to delete all contexts in the current session when this intent is matched.
	ResetContexts pulumi.BoolPtrInput
	// 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.
	//   Possible values are `WEBHOOK_STATE_ENABLED` and `WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING`.
	WebhookState pulumi.StringPtrInput
}

The set of arguments for constructing a Intent resource.

func (IntentArgs) ElementType

func (IntentArgs) ElementType() reflect.Type

type IntentArray

type IntentArray []IntentInput

func (IntentArray) ElementType

func (IntentArray) ElementType() reflect.Type

func (IntentArray) ToIntentArrayOutput

func (i IntentArray) ToIntentArrayOutput() IntentArrayOutput

func (IntentArray) ToIntentArrayOutputWithContext

func (i IntentArray) ToIntentArrayOutputWithContext(ctx context.Context) IntentArrayOutput

type IntentArrayInput

type IntentArrayInput interface {
	pulumi.Input

	ToIntentArrayOutput() IntentArrayOutput
	ToIntentArrayOutputWithContext(context.Context) IntentArrayOutput
}

IntentArrayInput is an input type that accepts IntentArray and IntentArrayOutput values. You can construct a concrete instance of `IntentArrayInput` via:

IntentArray{ IntentArgs{...} }

type IntentArrayOutput

type IntentArrayOutput struct{ *pulumi.OutputState }

func (IntentArrayOutput) ElementType

func (IntentArrayOutput) ElementType() reflect.Type

func (IntentArrayOutput) Index

func (IntentArrayOutput) ToIntentArrayOutput

func (o IntentArrayOutput) ToIntentArrayOutput() IntentArrayOutput

func (IntentArrayOutput) ToIntentArrayOutputWithContext

func (o IntentArrayOutput) ToIntentArrayOutputWithContext(ctx context.Context) IntentArrayOutput

type IntentFollowupIntentInfo

type IntentFollowupIntentInfo struct {
	FollowupIntentName *string `pulumi:"followupIntentName"`
	// The unique identifier of the parent intent in the chain of followup intents.
	// Format: projects/<Project ID>/agent/intents/<Intent ID>.
	ParentFollowupIntentName *string `pulumi:"parentFollowupIntentName"`
}

type IntentFollowupIntentInfoArgs

type IntentFollowupIntentInfoArgs struct {
	FollowupIntentName pulumi.StringPtrInput `pulumi:"followupIntentName"`
	// The unique identifier of the parent intent in the chain of followup intents.
	// Format: projects/<Project ID>/agent/intents/<Intent ID>.
	ParentFollowupIntentName pulumi.StringPtrInput `pulumi:"parentFollowupIntentName"`
}

func (IntentFollowupIntentInfoArgs) ElementType

func (IntentFollowupIntentInfoArgs) ToIntentFollowupIntentInfoOutput

func (i IntentFollowupIntentInfoArgs) ToIntentFollowupIntentInfoOutput() IntentFollowupIntentInfoOutput

func (IntentFollowupIntentInfoArgs) ToIntentFollowupIntentInfoOutputWithContext

func (i IntentFollowupIntentInfoArgs) ToIntentFollowupIntentInfoOutputWithContext(ctx context.Context) IntentFollowupIntentInfoOutput

type IntentFollowupIntentInfoArray

type IntentFollowupIntentInfoArray []IntentFollowupIntentInfoInput

func (IntentFollowupIntentInfoArray) ElementType

func (IntentFollowupIntentInfoArray) ToIntentFollowupIntentInfoArrayOutput

func (i IntentFollowupIntentInfoArray) ToIntentFollowupIntentInfoArrayOutput() IntentFollowupIntentInfoArrayOutput

func (IntentFollowupIntentInfoArray) ToIntentFollowupIntentInfoArrayOutputWithContext

func (i IntentFollowupIntentInfoArray) ToIntentFollowupIntentInfoArrayOutputWithContext(ctx context.Context) IntentFollowupIntentInfoArrayOutput

type IntentFollowupIntentInfoArrayInput

type IntentFollowupIntentInfoArrayInput interface {
	pulumi.Input

	ToIntentFollowupIntentInfoArrayOutput() IntentFollowupIntentInfoArrayOutput
	ToIntentFollowupIntentInfoArrayOutputWithContext(context.Context) IntentFollowupIntentInfoArrayOutput
}

IntentFollowupIntentInfoArrayInput is an input type that accepts IntentFollowupIntentInfoArray and IntentFollowupIntentInfoArrayOutput values. You can construct a concrete instance of `IntentFollowupIntentInfoArrayInput` via:

IntentFollowupIntentInfoArray{ IntentFollowupIntentInfoArgs{...} }

type IntentFollowupIntentInfoArrayOutput

type IntentFollowupIntentInfoArrayOutput struct{ *pulumi.OutputState }

func (IntentFollowupIntentInfoArrayOutput) ElementType

func (IntentFollowupIntentInfoArrayOutput) Index

func (IntentFollowupIntentInfoArrayOutput) ToIntentFollowupIntentInfoArrayOutput

func (o IntentFollowupIntentInfoArrayOutput) ToIntentFollowupIntentInfoArrayOutput() IntentFollowupIntentInfoArrayOutput

func (IntentFollowupIntentInfoArrayOutput) ToIntentFollowupIntentInfoArrayOutputWithContext

func (o IntentFollowupIntentInfoArrayOutput) ToIntentFollowupIntentInfoArrayOutputWithContext(ctx context.Context) IntentFollowupIntentInfoArrayOutput

type IntentFollowupIntentInfoInput

type IntentFollowupIntentInfoInput interface {
	pulumi.Input

	ToIntentFollowupIntentInfoOutput() IntentFollowupIntentInfoOutput
	ToIntentFollowupIntentInfoOutputWithContext(context.Context) IntentFollowupIntentInfoOutput
}

IntentFollowupIntentInfoInput is an input type that accepts IntentFollowupIntentInfoArgs and IntentFollowupIntentInfoOutput values. You can construct a concrete instance of `IntentFollowupIntentInfoInput` via:

IntentFollowupIntentInfoArgs{...}

type IntentFollowupIntentInfoOutput

type IntentFollowupIntentInfoOutput struct{ *pulumi.OutputState }

func (IntentFollowupIntentInfoOutput) ElementType

func (IntentFollowupIntentInfoOutput) FollowupIntentName

func (o IntentFollowupIntentInfoOutput) FollowupIntentName() pulumi.StringPtrOutput

func (IntentFollowupIntentInfoOutput) ParentFollowupIntentName

func (o IntentFollowupIntentInfoOutput) ParentFollowupIntentName() pulumi.StringPtrOutput

The unique identifier of the parent intent in the chain of followup intents. Format: projects/<Project ID>/agent/intents/<Intent ID>.

func (IntentFollowupIntentInfoOutput) ToIntentFollowupIntentInfoOutput

func (o IntentFollowupIntentInfoOutput) ToIntentFollowupIntentInfoOutput() IntentFollowupIntentInfoOutput

func (IntentFollowupIntentInfoOutput) ToIntentFollowupIntentInfoOutputWithContext

func (o IntentFollowupIntentInfoOutput) ToIntentFollowupIntentInfoOutputWithContext(ctx context.Context) IntentFollowupIntentInfoOutput

type IntentInput

type IntentInput interface {
	pulumi.Input

	ToIntentOutput() IntentOutput
	ToIntentOutputWithContext(ctx context.Context) IntentOutput
}

type IntentMap

type IntentMap map[string]IntentInput

func (IntentMap) ElementType

func (IntentMap) ElementType() reflect.Type

func (IntentMap) ToIntentMapOutput

func (i IntentMap) ToIntentMapOutput() IntentMapOutput

func (IntentMap) ToIntentMapOutputWithContext

func (i IntentMap) ToIntentMapOutputWithContext(ctx context.Context) IntentMapOutput

type IntentMapInput

type IntentMapInput interface {
	pulumi.Input

	ToIntentMapOutput() IntentMapOutput
	ToIntentMapOutputWithContext(context.Context) IntentMapOutput
}

IntentMapInput is an input type that accepts IntentMap and IntentMapOutput values. You can construct a concrete instance of `IntentMapInput` via:

IntentMap{ "key": IntentArgs{...} }

type IntentMapOutput

type IntentMapOutput struct{ *pulumi.OutputState }

func (IntentMapOutput) ElementType

func (IntentMapOutput) ElementType() reflect.Type

func (IntentMapOutput) MapIndex

func (IntentMapOutput) ToIntentMapOutput

func (o IntentMapOutput) ToIntentMapOutput() IntentMapOutput

func (IntentMapOutput) ToIntentMapOutputWithContext

func (o IntentMapOutput) ToIntentMapOutputWithContext(ctx context.Context) IntentMapOutput

type IntentOutput

type IntentOutput struct{ *pulumi.OutputState }

func (IntentOutput) ElementType

func (IntentOutput) ElementType() reflect.Type

func (IntentOutput) ToIntentOutput

func (o IntentOutput) ToIntentOutput() IntentOutput

func (IntentOutput) ToIntentOutputWithContext

func (o IntentOutput) ToIntentOutputWithContext(ctx context.Context) IntentOutput

func (IntentOutput) ToIntentPtrOutput

func (o IntentOutput) ToIntentPtrOutput() IntentPtrOutput

func (IntentOutput) ToIntentPtrOutputWithContext

func (o IntentOutput) ToIntentPtrOutputWithContext(ctx context.Context) IntentPtrOutput

type IntentPtrInput

type IntentPtrInput interface {
	pulumi.Input

	ToIntentPtrOutput() IntentPtrOutput
	ToIntentPtrOutputWithContext(ctx context.Context) IntentPtrOutput
}

type IntentPtrOutput

type IntentPtrOutput struct{ *pulumi.OutputState }

func (IntentPtrOutput) Elem added in v5.21.0

func (o IntentPtrOutput) Elem() IntentOutput

func (IntentPtrOutput) ElementType

func (IntentPtrOutput) ElementType() reflect.Type

func (IntentPtrOutput) ToIntentPtrOutput

func (o IntentPtrOutput) ToIntentPtrOutput() IntentPtrOutput

func (IntentPtrOutput) ToIntentPtrOutputWithContext

func (o IntentPtrOutput) ToIntentPtrOutputWithContext(ctx context.Context) IntentPtrOutput

type IntentState

type IntentState struct {
	// The name of the action associated with the intent.
	// Note: The action name must not contain whitespaces.
	Action pulumi.StringPtrInput
	// The list of platforms for which the first responses will be copied from the messages in PLATFORM_UNSPECIFIED
	// (i.e. default platform).
	// Each value may be one of `FACEBOOK`, `SLACK`, `TELEGRAM`, `KIK`, `SKYPE`, `LINE`, `VIBER`, `ACTIONS_ON_GOOGLE`, and `GOOGLE_HANGOUTS`.
	DefaultResponsePlatforms pulumi.StringArrayInput
	// The name of this intent to be displayed on the console.
	DisplayName pulumi.StringPtrInput
	// 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](https://cloud.google.com/dialogflow/docs/events-overview) for more details.
	Events pulumi.StringArrayInput
	// Information about all followup intents that have this intent as a direct or indirect parent. We populate this field only
	// in the output.
	FollowupIntentInfos IntentFollowupIntentInfoArrayInput
	// The list of context names required for this intent to be triggered.
	// Format: projects/<Project ID>/agent/sessions/-/contexts/<Context ID>.
	InputContextNames pulumi.StringArrayInput
	// Indicates whether this is a fallback intent.
	IsFallback pulumi.BoolPtrInput
	// 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.
	MlDisabled pulumi.BoolPtrInput
	// The unique identifier of this intent. Format: projects/<Project ID>/agent/intents/<Intent ID>.
	Name pulumi.StringPtrInput
	// The unique identifier of the parent intent in the chain of followup intents.
	// Format: projects/<Project ID>/agent/intents/<Intent ID>.
	ParentFollowupIntentName pulumi.StringPtrInput
	// 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.
	Priority pulumi.IntPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// Indicates whether to delete all contexts in the current session when this intent is matched.
	ResetContexts pulumi.BoolPtrInput
	// 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/<Project ID>/agent/intents/<Intent ID>.
	RootFollowupIntentName pulumi.StringPtrInput
	// 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.
	//   Possible values are `WEBHOOK_STATE_ENABLED` and `WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING`.
	WebhookState pulumi.StringPtrInput
}

func (IntentState) ElementType

func (IntentState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL