google-native logo
Google Cloud Native v0.30.0, Apr 14 23

google-native.dialogflow/v2.Environment

Explore with Pulumi AI

Creates an agent environment. Auto-naming is currently not supported for this resource.

Create Environment Resource

new Environment(name: string, args: EnvironmentArgs, opts?: CustomResourceOptions);
@overload
def Environment(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                agent_version: Optional[str] = None,
                description: Optional[str] = None,
                environment_id: Optional[str] = None,
                fulfillment: Optional[GoogleCloudDialogflowV2FulfillmentArgs] = None,
                location: Optional[str] = None,
                project: Optional[str] = None,
                text_to_speech_settings: Optional[GoogleCloudDialogflowV2TextToSpeechSettingsArgs] = None)
@overload
def Environment(resource_name: str,
                args: EnvironmentArgs,
                opts: Optional[ResourceOptions] = None)
func NewEnvironment(ctx *Context, name string, args EnvironmentArgs, opts ...ResourceOption) (*Environment, error)
public Environment(string name, EnvironmentArgs args, CustomResourceOptions? opts = null)
public Environment(String name, EnvironmentArgs args)
public Environment(String name, EnvironmentArgs args, CustomResourceOptions options)
type: google-native:dialogflow/v2:Environment
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

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

Environment Resource Properties

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

Inputs

The Environment resource accepts the following input properties:

EnvironmentId string

Required. The unique id of the new environment.

AgentVersion string

Optional. The agent version loaded into this environment. Supported formats: - projects//agent/versions/ - projects//locations//agent/versions/

Description string

Optional. The developer-provided description for this environment. The maximum length is 500 characters. If exceeded, the request is rejected.

Fulfillment Pulumi.GoogleNative.Dialogflow.V2.Inputs.GoogleCloudDialogflowV2FulfillmentArgs

Optional. The fulfillment settings to use for this environment.

Location string
Project string
TextToSpeechSettings Pulumi.GoogleNative.Dialogflow.V2.Inputs.GoogleCloudDialogflowV2TextToSpeechSettingsArgs

Optional. Text to speech settings for this environment.

EnvironmentId string

Required. The unique id of the new environment.

AgentVersion string

Optional. The agent version loaded into this environment. Supported formats: - projects//agent/versions/ - projects//locations//agent/versions/

Description string

Optional. The developer-provided description for this environment. The maximum length is 500 characters. If exceeded, the request is rejected.

Fulfillment GoogleCloudDialogflowV2FulfillmentArgs

Optional. The fulfillment settings to use for this environment.

Location string
Project string
TextToSpeechSettings GoogleCloudDialogflowV2TextToSpeechSettingsArgs

Optional. Text to speech settings for this environment.

environmentId String

Required. The unique id of the new environment.

agentVersion String

Optional. The agent version loaded into this environment. Supported formats: - projects//agent/versions/ - projects//locations//agent/versions/

description String

Optional. The developer-provided description for this environment. The maximum length is 500 characters. If exceeded, the request is rejected.

fulfillment GoogleCloudDialogflowV2FulfillmentArgs

Optional. The fulfillment settings to use for this environment.

location String
project String
textToSpeechSettings GoogleCloudDialogflowV2TextToSpeechSettingsArgs

Optional. Text to speech settings for this environment.

environmentId string

Required. The unique id of the new environment.

agentVersion string

Optional. The agent version loaded into this environment. Supported formats: - projects//agent/versions/ - projects//locations//agent/versions/

description string

Optional. The developer-provided description for this environment. The maximum length is 500 characters. If exceeded, the request is rejected.

fulfillment GoogleCloudDialogflowV2FulfillmentArgs

Optional. The fulfillment settings to use for this environment.

location string
project string
textToSpeechSettings GoogleCloudDialogflowV2TextToSpeechSettingsArgs

Optional. Text to speech settings for this environment.

environment_id str

Required. The unique id of the new environment.

agent_version str

Optional. The agent version loaded into this environment. Supported formats: - projects//agent/versions/ - projects//locations//agent/versions/

description str

Optional. The developer-provided description for this environment. The maximum length is 500 characters. If exceeded, the request is rejected.

fulfillment GoogleCloudDialogflowV2FulfillmentArgs

Optional. The fulfillment settings to use for this environment.

location str
project str
text_to_speech_settings GoogleCloudDialogflowV2TextToSpeechSettingsArgs

Optional. Text to speech settings for this environment.

environmentId String

Required. The unique id of the new environment.

agentVersion String

Optional. The agent version loaded into this environment. Supported formats: - projects//agent/versions/ - projects//locations//agent/versions/

description String

Optional. The developer-provided description for this environment. The maximum length is 500 characters. If exceeded, the request is rejected.

fulfillment Property Map

Optional. The fulfillment settings to use for this environment.

location String
project String
textToSpeechSettings Property Map

Optional. Text to speech settings for this environment.

Outputs

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

Id string

The provider-assigned unique ID for this managed resource.

Name string

The unique identifier of this agent environment. Supported formats: - projects//agent/environments/ - projects//locations//agent/environments/ The environment ID for the default environment is -.

State string

The state of this environment. This field is read-only, i.e., it cannot be set by create and update methods.

UpdateTime string

The last update time of this environment. This field is read-only, i.e., it cannot be set by create and update methods.

Id string

The provider-assigned unique ID for this managed resource.

Name string

The unique identifier of this agent environment. Supported formats: - projects//agent/environments/ - projects//locations//agent/environments/ The environment ID for the default environment is -.

State string

The state of this environment. This field is read-only, i.e., it cannot be set by create and update methods.

UpdateTime string

The last update time of this environment. This field is read-only, i.e., it cannot be set by create and update methods.

id String

The provider-assigned unique ID for this managed resource.

name String

The unique identifier of this agent environment. Supported formats: - projects//agent/environments/ - projects//locations//agent/environments/ The environment ID for the default environment is -.

state String

The state of this environment. This field is read-only, i.e., it cannot be set by create and update methods.

updateTime String

The last update time of this environment. This field is read-only, i.e., it cannot be set by create and update methods.

id string

The provider-assigned unique ID for this managed resource.

name string

The unique identifier of this agent environment. Supported formats: - projects//agent/environments/ - projects//locations//agent/environments/ The environment ID for the default environment is -.

state string

The state of this environment. This field is read-only, i.e., it cannot be set by create and update methods.

updateTime string

The last update time of this environment. This field is read-only, i.e., it cannot be set by create and update methods.

id str

The provider-assigned unique ID for this managed resource.

name str

The unique identifier of this agent environment. Supported formats: - projects//agent/environments/ - projects//locations//agent/environments/ The environment ID for the default environment is -.

state str

The state of this environment. This field is read-only, i.e., it cannot be set by create and update methods.

update_time str

The last update time of this environment. This field is read-only, i.e., it cannot be set by create and update methods.

id String

The provider-assigned unique ID for this managed resource.

name String

The unique identifier of this agent environment. Supported formats: - projects//agent/environments/ - projects//locations//agent/environments/ The environment ID for the default environment is -.

state String

The state of this environment. This field is read-only, i.e., it cannot be set by create and update methods.

updateTime String

The last update time of this environment. This field is read-only, i.e., it cannot be set by create and update methods.

Supporting Types

GoogleCloudDialogflowV2Fulfillment

Name string

The unique identifier of the fulfillment. Supported formats: - projects//agent/fulfillment - projects//locations//agent/fulfillment This field is not used for Fulfillment in an Environment.

DisplayName string

Optional. The human-readable name of the fulfillment, unique within the agent. This field is not used for Fulfillment in an Environment.

Enabled bool

Optional. Whether fulfillment is enabled.

Features List<Pulumi.GoogleNative.Dialogflow.V2.Inputs.GoogleCloudDialogflowV2FulfillmentFeature>

Optional. The field defines whether the fulfillment is enabled for certain features.

GenericWebService Pulumi.GoogleNative.Dialogflow.V2.Inputs.GoogleCloudDialogflowV2FulfillmentGenericWebService

Configuration for a generic web service.

Name string

The unique identifier of the fulfillment. Supported formats: - projects//agent/fulfillment - projects//locations//agent/fulfillment This field is not used for Fulfillment in an Environment.

DisplayName string

Optional. The human-readable name of the fulfillment, unique within the agent. This field is not used for Fulfillment in an Environment.

Enabled bool

Optional. Whether fulfillment is enabled.

Features []GoogleCloudDialogflowV2FulfillmentFeature

Optional. The field defines whether the fulfillment is enabled for certain features.

GenericWebService GoogleCloudDialogflowV2FulfillmentGenericWebService

Configuration for a generic web service.

name String

The unique identifier of the fulfillment. Supported formats: - projects//agent/fulfillment - projects//locations//agent/fulfillment This field is not used for Fulfillment in an Environment.

displayName String

Optional. The human-readable name of the fulfillment, unique within the agent. This field is not used for Fulfillment in an Environment.

enabled Boolean

Optional. Whether fulfillment is enabled.

features List<GoogleCloudDialogflowV2FulfillmentFeature>

Optional. The field defines whether the fulfillment is enabled for certain features.

genericWebService GoogleCloudDialogflowV2FulfillmentGenericWebService

Configuration for a generic web service.

name string

The unique identifier of the fulfillment. Supported formats: - projects//agent/fulfillment - projects//locations//agent/fulfillment This field is not used for Fulfillment in an Environment.

displayName string

Optional. The human-readable name of the fulfillment, unique within the agent. This field is not used for Fulfillment in an Environment.

enabled boolean

Optional. Whether fulfillment is enabled.

features GoogleCloudDialogflowV2FulfillmentFeature[]

Optional. The field defines whether the fulfillment is enabled for certain features.

genericWebService GoogleCloudDialogflowV2FulfillmentGenericWebService

Configuration for a generic web service.

name str

The unique identifier of the fulfillment. Supported formats: - projects//agent/fulfillment - projects//locations//agent/fulfillment This field is not used for Fulfillment in an Environment.

display_name str

Optional. The human-readable name of the fulfillment, unique within the agent. This field is not used for Fulfillment in an Environment.

enabled bool

Optional. Whether fulfillment is enabled.

features Sequence[GoogleCloudDialogflowV2FulfillmentFeature]

Optional. The field defines whether the fulfillment is enabled for certain features.

generic_web_service GoogleCloudDialogflowV2FulfillmentGenericWebService

Configuration for a generic web service.

name String

The unique identifier of the fulfillment. Supported formats: - projects//agent/fulfillment - projects//locations//agent/fulfillment This field is not used for Fulfillment in an Environment.

displayName String

Optional. The human-readable name of the fulfillment, unique within the agent. This field is not used for Fulfillment in an Environment.

enabled Boolean

Optional. Whether fulfillment is enabled.

features List<Property Map>

Optional. The field defines whether the fulfillment is enabled for certain features.

genericWebService Property Map

Configuration for a generic web service.

GoogleCloudDialogflowV2FulfillmentFeature

Type GoogleCloudDialogflowV2FulfillmentFeatureType

The type of the feature that enabled for fulfillment.

type GoogleCloudDialogflowV2FulfillmentFeatureType

The type of the feature that enabled for fulfillment.

type GoogleCloudDialogflowV2FulfillmentFeatureType

The type of the feature that enabled for fulfillment.

type GoogleCloudDialogflowV2FulfillmentFeatureType

The type of the feature that enabled for fulfillment.

type "TYPE_UNSPECIFIED" | "SMALLTALK"

The type of the feature that enabled for fulfillment.

GoogleCloudDialogflowV2FulfillmentFeatureResponse

Type string

The type of the feature that enabled for fulfillment.

Type string

The type of the feature that enabled for fulfillment.

type String

The type of the feature that enabled for fulfillment.

type string

The type of the feature that enabled for fulfillment.

type str

The type of the feature that enabled for fulfillment.

type String

The type of the feature that enabled for fulfillment.

GoogleCloudDialogflowV2FulfillmentFeatureType

TypeUnspecified
TYPE_UNSPECIFIED

Feature type not specified.

Smalltalk
SMALLTALK

Fulfillment is enabled for SmallTalk.

GoogleCloudDialogflowV2FulfillmentFeatureTypeTypeUnspecified
TYPE_UNSPECIFIED

Feature type not specified.

GoogleCloudDialogflowV2FulfillmentFeatureTypeSmalltalk
SMALLTALK

Fulfillment is enabled for SmallTalk.

TypeUnspecified
TYPE_UNSPECIFIED

Feature type not specified.

Smalltalk
SMALLTALK

Fulfillment is enabled for SmallTalk.

TypeUnspecified
TYPE_UNSPECIFIED

Feature type not specified.

Smalltalk
SMALLTALK

Fulfillment is enabled for SmallTalk.

TYPE_UNSPECIFIED
TYPE_UNSPECIFIED

Feature type not specified.

SMALLTALK
SMALLTALK

Fulfillment is enabled for SmallTalk.

"TYPE_UNSPECIFIED"
TYPE_UNSPECIFIED

Feature type not specified.

"SMALLTALK"
SMALLTALK

Fulfillment is enabled for SmallTalk.

GoogleCloudDialogflowV2FulfillmentGenericWebService

Uri string

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

IsCloudFunction bool

Optional. Indicates if generic web service is created through Cloud Functions integration. Defaults to false. is_cloud_function is deprecated. Cloud functions can be configured by its uri as a regular web service now.

Password string

Optional. The password for HTTP Basic authentication.

RequestHeaders Dictionary<string, string>

Optional. The HTTP request headers to send together with fulfillment requests.

Username string

Optional. The user name for HTTP Basic authentication.

Uri string

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

IsCloudFunction bool

Optional. Indicates if generic web service is created through Cloud Functions integration. Defaults to false. is_cloud_function is deprecated. Cloud functions can be configured by its uri as a regular web service now.

Password string

Optional. The password for HTTP Basic authentication.

RequestHeaders map[string]string

Optional. The HTTP request headers to send together with fulfillment requests.

Username string

Optional. The user name for HTTP Basic authentication.

uri String

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

isCloudFunction Boolean

Optional. Indicates if generic web service is created through Cloud Functions integration. Defaults to false. is_cloud_function is deprecated. Cloud functions can be configured by its uri as a regular web service now.

password String

Optional. The password for HTTP Basic authentication.

requestHeaders Map<String,String>

Optional. The HTTP request headers to send together with fulfillment requests.

username String

Optional. The user name for HTTP Basic authentication.

uri string

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

isCloudFunction boolean

Optional. Indicates if generic web service is created through Cloud Functions integration. Defaults to false. is_cloud_function is deprecated. Cloud functions can be configured by its uri as a regular web service now.

password string

Optional. The password for HTTP Basic authentication.

requestHeaders {[key: string]: string}

Optional. The HTTP request headers to send together with fulfillment requests.

username string

Optional. The user name for HTTP Basic authentication.

uri str

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

is_cloud_function bool

Optional. Indicates if generic web service is created through Cloud Functions integration. Defaults to false. is_cloud_function is deprecated. Cloud functions can be configured by its uri as a regular web service now.

password str

Optional. The password for HTTP Basic authentication.

request_headers Mapping[str, str]

Optional. The HTTP request headers to send together with fulfillment requests.

username str

Optional. The user name for HTTP Basic authentication.

uri String

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

isCloudFunction Boolean

Optional. Indicates if generic web service is created through Cloud Functions integration. Defaults to false. is_cloud_function is deprecated. Cloud functions can be configured by its uri as a regular web service now.

password String

Optional. The password for HTTP Basic authentication.

requestHeaders Map<String>

Optional. The HTTP request headers to send together with fulfillment requests.

username String

Optional. The user name for HTTP Basic authentication.

GoogleCloudDialogflowV2FulfillmentGenericWebServiceResponse

IsCloudFunction bool

Optional. Indicates if generic web service is created through Cloud Functions integration. Defaults to false. is_cloud_function is deprecated. Cloud functions can be configured by its uri as a regular web service now.

Password string

Optional. The password for HTTP Basic authentication.

RequestHeaders Dictionary<string, string>

Optional. The HTTP request headers to send together with fulfillment requests.

Uri string

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

Username string

Optional. The user name for HTTP Basic authentication.

IsCloudFunction bool

Optional. Indicates if generic web service is created through Cloud Functions integration. Defaults to false. is_cloud_function is deprecated. Cloud functions can be configured by its uri as a regular web service now.

Password string

Optional. The password for HTTP Basic authentication.

RequestHeaders map[string]string

Optional. The HTTP request headers to send together with fulfillment requests.

Uri string

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

Username string

Optional. The user name for HTTP Basic authentication.

isCloudFunction Boolean

Optional. Indicates if generic web service is created through Cloud Functions integration. Defaults to false. is_cloud_function is deprecated. Cloud functions can be configured by its uri as a regular web service now.

password String

Optional. The password for HTTP Basic authentication.

requestHeaders Map<String,String>

Optional. The HTTP request headers to send together with fulfillment requests.

uri String

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

username String

Optional. The user name for HTTP Basic authentication.

isCloudFunction boolean

Optional. Indicates if generic web service is created through Cloud Functions integration. Defaults to false. is_cloud_function is deprecated. Cloud functions can be configured by its uri as a regular web service now.

password string

Optional. The password for HTTP Basic authentication.

requestHeaders {[key: string]: string}

Optional. The HTTP request headers to send together with fulfillment requests.

uri string

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

username string

Optional. The user name for HTTP Basic authentication.

is_cloud_function bool

Optional. Indicates if generic web service is created through Cloud Functions integration. Defaults to false. is_cloud_function is deprecated. Cloud functions can be configured by its uri as a regular web service now.

password str

Optional. The password for HTTP Basic authentication.

request_headers Mapping[str, str]

Optional. The HTTP request headers to send together with fulfillment requests.

uri str

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

username str

Optional. The user name for HTTP Basic authentication.

isCloudFunction Boolean

Optional. Indicates if generic web service is created through Cloud Functions integration. Defaults to false. is_cloud_function is deprecated. Cloud functions can be configured by its uri as a regular web service now.

password String

Optional. The password for HTTP Basic authentication.

requestHeaders Map<String>

Optional. The HTTP request headers to send together with fulfillment requests.

uri String

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

username String

Optional. The user name for HTTP Basic authentication.

GoogleCloudDialogflowV2FulfillmentResponse

DisplayName string

Optional. The human-readable name of the fulfillment, unique within the agent. This field is not used for Fulfillment in an Environment.

Enabled bool

Optional. Whether fulfillment is enabled.

Features List<Pulumi.GoogleNative.Dialogflow.V2.Inputs.GoogleCloudDialogflowV2FulfillmentFeatureResponse>

Optional. The field defines whether the fulfillment is enabled for certain features.

GenericWebService Pulumi.GoogleNative.Dialogflow.V2.Inputs.GoogleCloudDialogflowV2FulfillmentGenericWebServiceResponse

Configuration for a generic web service.

Name string

The unique identifier of the fulfillment. Supported formats: - projects//agent/fulfillment - projects//locations//agent/fulfillment This field is not used for Fulfillment in an Environment.

DisplayName string

Optional. The human-readable name of the fulfillment, unique within the agent. This field is not used for Fulfillment in an Environment.

Enabled bool

Optional. Whether fulfillment is enabled.

Features []GoogleCloudDialogflowV2FulfillmentFeatureResponse

Optional. The field defines whether the fulfillment is enabled for certain features.

GenericWebService GoogleCloudDialogflowV2FulfillmentGenericWebServiceResponse

Configuration for a generic web service.

Name string

The unique identifier of the fulfillment. Supported formats: - projects//agent/fulfillment - projects//locations//agent/fulfillment This field is not used for Fulfillment in an Environment.

displayName String

Optional. The human-readable name of the fulfillment, unique within the agent. This field is not used for Fulfillment in an Environment.

enabled Boolean

Optional. Whether fulfillment is enabled.

features List<GoogleCloudDialogflowV2FulfillmentFeatureResponse>

Optional. The field defines whether the fulfillment is enabled for certain features.

genericWebService GoogleCloudDialogflowV2FulfillmentGenericWebServiceResponse

Configuration for a generic web service.

name String

The unique identifier of the fulfillment. Supported formats: - projects//agent/fulfillment - projects//locations//agent/fulfillment This field is not used for Fulfillment in an Environment.

displayName string

Optional. The human-readable name of the fulfillment, unique within the agent. This field is not used for Fulfillment in an Environment.

enabled boolean

Optional. Whether fulfillment is enabled.

features GoogleCloudDialogflowV2FulfillmentFeatureResponse[]

Optional. The field defines whether the fulfillment is enabled for certain features.

genericWebService GoogleCloudDialogflowV2FulfillmentGenericWebServiceResponse

Configuration for a generic web service.

name string

The unique identifier of the fulfillment. Supported formats: - projects//agent/fulfillment - projects//locations//agent/fulfillment This field is not used for Fulfillment in an Environment.

display_name str

Optional. The human-readable name of the fulfillment, unique within the agent. This field is not used for Fulfillment in an Environment.

enabled bool

Optional. Whether fulfillment is enabled.

features Sequence[GoogleCloudDialogflowV2FulfillmentFeatureResponse]

Optional. The field defines whether the fulfillment is enabled for certain features.

generic_web_service GoogleCloudDialogflowV2FulfillmentGenericWebServiceResponse

Configuration for a generic web service.

name str

The unique identifier of the fulfillment. Supported formats: - projects//agent/fulfillment - projects//locations//agent/fulfillment This field is not used for Fulfillment in an Environment.

displayName String

Optional. The human-readable name of the fulfillment, unique within the agent. This field is not used for Fulfillment in an Environment.

enabled Boolean

Optional. Whether fulfillment is enabled.

features List<Property Map>

Optional. The field defines whether the fulfillment is enabled for certain features.

genericWebService Property Map

Configuration for a generic web service.

name String

The unique identifier of the fulfillment. Supported formats: - projects//agent/fulfillment - projects//locations//agent/fulfillment This field is not used for Fulfillment in an Environment.

GoogleCloudDialogflowV2TextToSpeechSettings

OutputAudioEncoding Pulumi.GoogleNative.Dialogflow.V2.GoogleCloudDialogflowV2TextToSpeechSettingsOutputAudioEncoding

Audio encoding of the synthesized audio content.

EnableTextToSpeech bool

Optional. Indicates whether text to speech is enabled. Even when this field is false, other settings in this proto are still retained.

SampleRateHertz int

Optional. The synthesis sample rate (in hertz) for this audio. If not provided, then the synthesizer will use the default sample rate based on the audio encoding. If this is different from the voice's natural sample rate, then the synthesizer will honor this request by converting to the desired sample rate (which might result in worse audio quality).

SynthesizeSpeechConfigs Dictionary<string, string>

Optional. Configuration of how speech should be synthesized, mapping from language (https://cloud.google.com/dialogflow/docs/reference/language) to SynthesizeSpeechConfig.

OutputAudioEncoding GoogleCloudDialogflowV2TextToSpeechSettingsOutputAudioEncoding

Audio encoding of the synthesized audio content.

EnableTextToSpeech bool

Optional. Indicates whether text to speech is enabled. Even when this field is false, other settings in this proto are still retained.

SampleRateHertz int

Optional. The synthesis sample rate (in hertz) for this audio. If not provided, then the synthesizer will use the default sample rate based on the audio encoding. If this is different from the voice's natural sample rate, then the synthesizer will honor this request by converting to the desired sample rate (which might result in worse audio quality).

SynthesizeSpeechConfigs map[string]string

Optional. Configuration of how speech should be synthesized, mapping from language (https://cloud.google.com/dialogflow/docs/reference/language) to SynthesizeSpeechConfig.

outputAudioEncoding GoogleCloudDialogflowV2TextToSpeechSettingsOutputAudioEncoding

Audio encoding of the synthesized audio content.

enableTextToSpeech Boolean

Optional. Indicates whether text to speech is enabled. Even when this field is false, other settings in this proto are still retained.

sampleRateHertz Integer

Optional. The synthesis sample rate (in hertz) for this audio. If not provided, then the synthesizer will use the default sample rate based on the audio encoding. If this is different from the voice's natural sample rate, then the synthesizer will honor this request by converting to the desired sample rate (which might result in worse audio quality).

synthesizeSpeechConfigs Map<String,String>

Optional. Configuration of how speech should be synthesized, mapping from language (https://cloud.google.com/dialogflow/docs/reference/language) to SynthesizeSpeechConfig.

outputAudioEncoding GoogleCloudDialogflowV2TextToSpeechSettingsOutputAudioEncoding

Audio encoding of the synthesized audio content.

enableTextToSpeech boolean

Optional. Indicates whether text to speech is enabled. Even when this field is false, other settings in this proto are still retained.

sampleRateHertz number

Optional. The synthesis sample rate (in hertz) for this audio. If not provided, then the synthesizer will use the default sample rate based on the audio encoding. If this is different from the voice's natural sample rate, then the synthesizer will honor this request by converting to the desired sample rate (which might result in worse audio quality).

synthesizeSpeechConfigs {[key: string]: string}

Optional. Configuration of how speech should be synthesized, mapping from language (https://cloud.google.com/dialogflow/docs/reference/language) to SynthesizeSpeechConfig.

output_audio_encoding GoogleCloudDialogflowV2TextToSpeechSettingsOutputAudioEncoding

Audio encoding of the synthesized audio content.

enable_text_to_speech bool

Optional. Indicates whether text to speech is enabled. Even when this field is false, other settings in this proto are still retained.

sample_rate_hertz int

Optional. The synthesis sample rate (in hertz) for this audio. If not provided, then the synthesizer will use the default sample rate based on the audio encoding. If this is different from the voice's natural sample rate, then the synthesizer will honor this request by converting to the desired sample rate (which might result in worse audio quality).

synthesize_speech_configs Mapping[str, str]

Optional. Configuration of how speech should be synthesized, mapping from language (https://cloud.google.com/dialogflow/docs/reference/language) to SynthesizeSpeechConfig.

outputAudioEncoding "OUTPUT_AUDIO_ENCODING_UNSPECIFIED" | "OUTPUT_AUDIO_ENCODING_LINEAR_16" | "OUTPUT_AUDIO_ENCODING_MP3" | "OUTPUT_AUDIO_ENCODING_MP3_64_KBPS" | "OUTPUT_AUDIO_ENCODING_OGG_OPUS" | "OUTPUT_AUDIO_ENCODING_MULAW"

Audio encoding of the synthesized audio content.

enableTextToSpeech Boolean

Optional. Indicates whether text to speech is enabled. Even when this field is false, other settings in this proto are still retained.

sampleRateHertz Number

Optional. The synthesis sample rate (in hertz) for this audio. If not provided, then the synthesizer will use the default sample rate based on the audio encoding. If this is different from the voice's natural sample rate, then the synthesizer will honor this request by converting to the desired sample rate (which might result in worse audio quality).

synthesizeSpeechConfigs Map<String>

Optional. Configuration of how speech should be synthesized, mapping from language (https://cloud.google.com/dialogflow/docs/reference/language) to SynthesizeSpeechConfig.

GoogleCloudDialogflowV2TextToSpeechSettingsOutputAudioEncoding

OutputAudioEncodingUnspecified
OUTPUT_AUDIO_ENCODING_UNSPECIFIED

Not specified.

OutputAudioEncodingLinear16
OUTPUT_AUDIO_ENCODING_LINEAR_16

Uncompressed 16-bit signed little-endian samples (Linear PCM). Audio content returned as LINEAR16 also contains a WAV header.

OutputAudioEncodingMp3
OUTPUT_AUDIO_ENCODING_MP3

MP3 audio at 32kbps.

OutputAudioEncodingMp364Kbps
OUTPUT_AUDIO_ENCODING_MP3_64_KBPS

MP3 audio at 64kbps.

OutputAudioEncodingOggOpus
OUTPUT_AUDIO_ENCODING_OGG_OPUS

Opus encoded audio wrapped in an ogg container. The result will be a file which can be played natively on Android, and in browsers (at least Chrome and Firefox). The quality of the encoding is considerably higher than MP3 while using approximately the same bitrate.

OutputAudioEncodingMulaw
OUTPUT_AUDIO_ENCODING_MULAW

8-bit samples that compand 14-bit audio samples using G.711 PCMU/mu-law.

GoogleCloudDialogflowV2TextToSpeechSettingsOutputAudioEncodingOutputAudioEncodingUnspecified
OUTPUT_AUDIO_ENCODING_UNSPECIFIED

Not specified.

GoogleCloudDialogflowV2TextToSpeechSettingsOutputAudioEncodingOutputAudioEncodingLinear16
OUTPUT_AUDIO_ENCODING_LINEAR_16

Uncompressed 16-bit signed little-endian samples (Linear PCM). Audio content returned as LINEAR16 also contains a WAV header.

GoogleCloudDialogflowV2TextToSpeechSettingsOutputAudioEncodingOutputAudioEncodingMp3
OUTPUT_AUDIO_ENCODING_MP3

MP3 audio at 32kbps.

GoogleCloudDialogflowV2TextToSpeechSettingsOutputAudioEncodingOutputAudioEncodingMp364Kbps
OUTPUT_AUDIO_ENCODING_MP3_64_KBPS

MP3 audio at 64kbps.

GoogleCloudDialogflowV2TextToSpeechSettingsOutputAudioEncodingOutputAudioEncodingOggOpus
OUTPUT_AUDIO_ENCODING_OGG_OPUS

Opus encoded audio wrapped in an ogg container. The result will be a file which can be played natively on Android, and in browsers (at least Chrome and Firefox). The quality of the encoding is considerably higher than MP3 while using approximately the same bitrate.

GoogleCloudDialogflowV2TextToSpeechSettingsOutputAudioEncodingOutputAudioEncodingMulaw
OUTPUT_AUDIO_ENCODING_MULAW

8-bit samples that compand 14-bit audio samples using G.711 PCMU/mu-law.

OutputAudioEncodingUnspecified
OUTPUT_AUDIO_ENCODING_UNSPECIFIED

Not specified.

OutputAudioEncodingLinear16
OUTPUT_AUDIO_ENCODING_LINEAR_16

Uncompressed 16-bit signed little-endian samples (Linear PCM). Audio content returned as LINEAR16 also contains a WAV header.

OutputAudioEncodingMp3
OUTPUT_AUDIO_ENCODING_MP3

MP3 audio at 32kbps.

OutputAudioEncodingMp364Kbps
OUTPUT_AUDIO_ENCODING_MP3_64_KBPS

MP3 audio at 64kbps.

OutputAudioEncodingOggOpus
OUTPUT_AUDIO_ENCODING_OGG_OPUS

Opus encoded audio wrapped in an ogg container. The result will be a file which can be played natively on Android, and in browsers (at least Chrome and Firefox). The quality of the encoding is considerably higher than MP3 while using approximately the same bitrate.

OutputAudioEncodingMulaw
OUTPUT_AUDIO_ENCODING_MULAW

8-bit samples that compand 14-bit audio samples using G.711 PCMU/mu-law.

OutputAudioEncodingUnspecified
OUTPUT_AUDIO_ENCODING_UNSPECIFIED

Not specified.

OutputAudioEncodingLinear16
OUTPUT_AUDIO_ENCODING_LINEAR_16

Uncompressed 16-bit signed little-endian samples (Linear PCM). Audio content returned as LINEAR16 also contains a WAV header.

OutputAudioEncodingMp3
OUTPUT_AUDIO_ENCODING_MP3

MP3 audio at 32kbps.

OutputAudioEncodingMp364Kbps
OUTPUT_AUDIO_ENCODING_MP3_64_KBPS

MP3 audio at 64kbps.

OutputAudioEncodingOggOpus
OUTPUT_AUDIO_ENCODING_OGG_OPUS

Opus encoded audio wrapped in an ogg container. The result will be a file which can be played natively on Android, and in browsers (at least Chrome and Firefox). The quality of the encoding is considerably higher than MP3 while using approximately the same bitrate.

OutputAudioEncodingMulaw
OUTPUT_AUDIO_ENCODING_MULAW

8-bit samples that compand 14-bit audio samples using G.711 PCMU/mu-law.

OUTPUT_AUDIO_ENCODING_UNSPECIFIED
OUTPUT_AUDIO_ENCODING_UNSPECIFIED

Not specified.

OUTPUT_AUDIO_ENCODING_LINEAR16
OUTPUT_AUDIO_ENCODING_LINEAR_16

Uncompressed 16-bit signed little-endian samples (Linear PCM). Audio content returned as LINEAR16 also contains a WAV header.

OUTPUT_AUDIO_ENCODING_MP3
OUTPUT_AUDIO_ENCODING_MP3

MP3 audio at 32kbps.

OUTPUT_AUDIO_ENCODING_MP364_KBPS
OUTPUT_AUDIO_ENCODING_MP3_64_KBPS

MP3 audio at 64kbps.

OUTPUT_AUDIO_ENCODING_OGG_OPUS
OUTPUT_AUDIO_ENCODING_OGG_OPUS

Opus encoded audio wrapped in an ogg container. The result will be a file which can be played natively on Android, and in browsers (at least Chrome and Firefox). The quality of the encoding is considerably higher than MP3 while using approximately the same bitrate.

OUTPUT_AUDIO_ENCODING_MULAW
OUTPUT_AUDIO_ENCODING_MULAW

8-bit samples that compand 14-bit audio samples using G.711 PCMU/mu-law.

"OUTPUT_AUDIO_ENCODING_UNSPECIFIED"
OUTPUT_AUDIO_ENCODING_UNSPECIFIED

Not specified.

"OUTPUT_AUDIO_ENCODING_LINEAR_16"
OUTPUT_AUDIO_ENCODING_LINEAR_16

Uncompressed 16-bit signed little-endian samples (Linear PCM). Audio content returned as LINEAR16 also contains a WAV header.

"OUTPUT_AUDIO_ENCODING_MP3"
OUTPUT_AUDIO_ENCODING_MP3

MP3 audio at 32kbps.

"OUTPUT_AUDIO_ENCODING_MP3_64_KBPS"
OUTPUT_AUDIO_ENCODING_MP3_64_KBPS

MP3 audio at 64kbps.

"OUTPUT_AUDIO_ENCODING_OGG_OPUS"
OUTPUT_AUDIO_ENCODING_OGG_OPUS

Opus encoded audio wrapped in an ogg container. The result will be a file which can be played natively on Android, and in browsers (at least Chrome and Firefox). The quality of the encoding is considerably higher than MP3 while using approximately the same bitrate.

"OUTPUT_AUDIO_ENCODING_MULAW"
OUTPUT_AUDIO_ENCODING_MULAW

8-bit samples that compand 14-bit audio samples using G.711 PCMU/mu-law.

GoogleCloudDialogflowV2TextToSpeechSettingsResponse

EnableTextToSpeech bool

Optional. Indicates whether text to speech is enabled. Even when this field is false, other settings in this proto are still retained.

OutputAudioEncoding string

Audio encoding of the synthesized audio content.

SampleRateHertz int

Optional. The synthesis sample rate (in hertz) for this audio. If not provided, then the synthesizer will use the default sample rate based on the audio encoding. If this is different from the voice's natural sample rate, then the synthesizer will honor this request by converting to the desired sample rate (which might result in worse audio quality).

SynthesizeSpeechConfigs Dictionary<string, string>

Optional. Configuration of how speech should be synthesized, mapping from language (https://cloud.google.com/dialogflow/docs/reference/language) to SynthesizeSpeechConfig.

EnableTextToSpeech bool

Optional. Indicates whether text to speech is enabled. Even when this field is false, other settings in this proto are still retained.

OutputAudioEncoding string

Audio encoding of the synthesized audio content.

SampleRateHertz int

Optional. The synthesis sample rate (in hertz) for this audio. If not provided, then the synthesizer will use the default sample rate based on the audio encoding. If this is different from the voice's natural sample rate, then the synthesizer will honor this request by converting to the desired sample rate (which might result in worse audio quality).

SynthesizeSpeechConfigs map[string]string

Optional. Configuration of how speech should be synthesized, mapping from language (https://cloud.google.com/dialogflow/docs/reference/language) to SynthesizeSpeechConfig.

enableTextToSpeech Boolean

Optional. Indicates whether text to speech is enabled. Even when this field is false, other settings in this proto are still retained.

outputAudioEncoding String

Audio encoding of the synthesized audio content.

sampleRateHertz Integer

Optional. The synthesis sample rate (in hertz) for this audio. If not provided, then the synthesizer will use the default sample rate based on the audio encoding. If this is different from the voice's natural sample rate, then the synthesizer will honor this request by converting to the desired sample rate (which might result in worse audio quality).

synthesizeSpeechConfigs Map<String,String>

Optional. Configuration of how speech should be synthesized, mapping from language (https://cloud.google.com/dialogflow/docs/reference/language) to SynthesizeSpeechConfig.

enableTextToSpeech boolean

Optional. Indicates whether text to speech is enabled. Even when this field is false, other settings in this proto are still retained.

outputAudioEncoding string

Audio encoding of the synthesized audio content.

sampleRateHertz number

Optional. The synthesis sample rate (in hertz) for this audio. If not provided, then the synthesizer will use the default sample rate based on the audio encoding. If this is different from the voice's natural sample rate, then the synthesizer will honor this request by converting to the desired sample rate (which might result in worse audio quality).

synthesizeSpeechConfigs {[key: string]: string}

Optional. Configuration of how speech should be synthesized, mapping from language (https://cloud.google.com/dialogflow/docs/reference/language) to SynthesizeSpeechConfig.

enable_text_to_speech bool

Optional. Indicates whether text to speech is enabled. Even when this field is false, other settings in this proto are still retained.

output_audio_encoding str

Audio encoding of the synthesized audio content.

sample_rate_hertz int

Optional. The synthesis sample rate (in hertz) for this audio. If not provided, then the synthesizer will use the default sample rate based on the audio encoding. If this is different from the voice's natural sample rate, then the synthesizer will honor this request by converting to the desired sample rate (which might result in worse audio quality).

synthesize_speech_configs Mapping[str, str]

Optional. Configuration of how speech should be synthesized, mapping from language (https://cloud.google.com/dialogflow/docs/reference/language) to SynthesizeSpeechConfig.

enableTextToSpeech Boolean

Optional. Indicates whether text to speech is enabled. Even when this field is false, other settings in this proto are still retained.

outputAudioEncoding String

Audio encoding of the synthesized audio content.

sampleRateHertz Number

Optional. The synthesis sample rate (in hertz) for this audio. If not provided, then the synthesizer will use the default sample rate based on the audio encoding. If this is different from the voice's natural sample rate, then the synthesizer will honor this request by converting to the desired sample rate (which might result in worse audio quality).

synthesizeSpeechConfigs Map<String>

Optional. Configuration of how speech should be synthesized, mapping from language (https://cloud.google.com/dialogflow/docs/reference/language) to SynthesizeSpeechConfig.

Package Details

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