This package is deprecated. Active development has stopped. We recommend using the Google Cloud package instead.
published on Wednesday, Nov 29, 2023 by Pulumi
This package is deprecated. Active development has stopped. We recommend using the Google Cloud package instead.
published on Wednesday, Nov 29, 2023 by Pulumi
Creates an agent environment. Auto-naming is currently not supported for this resource.
Create Environment Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Environment(name: string, args: EnvironmentArgs, opts?: CustomResourceOptions);@overload
def Environment(resource_name: str,
args: EnvironmentArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Environment(resource_name: str,
opts: Optional[ResourceOptions] = None,
environment_id: Optional[str] = None,
agent_version: Optional[str] = None,
description: Optional[str] = None,
fulfillment: Optional[GoogleCloudDialogflowV2beta1FulfillmentArgs] = None,
location: Optional[str] = None,
project: Optional[str] = None,
text_to_speech_settings: Optional[GoogleCloudDialogflowV2beta1TextToSpeechSettingsArgs] = 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/v2beta1:Environment
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "google-native_dialogflow_v2beta1_environment" "name" {
# resource properties
}Parameters
- 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.
Constructor example
The following reference example uses placeholder values for all input properties.
var exampleenvironmentResourceResourceFromDialogflowv2beta1 = new GoogleNative.Dialogflow.V2Beta1.Environment("exampleenvironmentResourceResourceFromDialogflowv2beta1", new()
{
EnvironmentId = "string",
AgentVersion = "string",
Description = "string",
Fulfillment = new GoogleNative.Dialogflow.V2Beta1.Inputs.GoogleCloudDialogflowV2beta1FulfillmentArgs
{
Name = "string",
DisplayName = "string",
Enabled = false,
Features = new[]
{
new GoogleNative.Dialogflow.V2Beta1.Inputs.GoogleCloudDialogflowV2beta1FulfillmentFeatureArgs
{
Type = GoogleNative.Dialogflow.V2Beta1.GoogleCloudDialogflowV2beta1FulfillmentFeatureType.TypeUnspecified,
},
},
GenericWebService = new GoogleNative.Dialogflow.V2Beta1.Inputs.GoogleCloudDialogflowV2beta1FulfillmentGenericWebServiceArgs
{
Uri = "string",
IsCloudFunction = false,
Password = "string",
RequestHeaders =
{
{ "string", "string" },
},
Username = "string",
},
},
Location = "string",
Project = "string",
TextToSpeechSettings = new GoogleNative.Dialogflow.V2Beta1.Inputs.GoogleCloudDialogflowV2beta1TextToSpeechSettingsArgs
{
OutputAudioEncoding = GoogleNative.Dialogflow.V2Beta1.GoogleCloudDialogflowV2beta1TextToSpeechSettingsOutputAudioEncoding.OutputAudioEncodingUnspecified,
EnableTextToSpeech = false,
SampleRateHertz = 0,
SynthesizeSpeechConfigs =
{
{ "string", "string" },
},
},
});
example, err := dialogflowv2beta1.NewEnvironment(ctx, "exampleenvironmentResourceResourceFromDialogflowv2beta1", &dialogflowv2beta1.EnvironmentArgs{
EnvironmentId: pulumi.String("string"),
AgentVersion: pulumi.String("string"),
Description: pulumi.String("string"),
Fulfillment: &dialogflow.GoogleCloudDialogflowV2beta1FulfillmentArgs{
Name: pulumi.String("string"),
DisplayName: pulumi.String("string"),
Enabled: pulumi.Bool(false),
Features: dialogflow.GoogleCloudDialogflowV2beta1FulfillmentFeatureArray{
&dialogflow.GoogleCloudDialogflowV2beta1FulfillmentFeatureArgs{
Type: dialogflowv2beta1.GoogleCloudDialogflowV2beta1FulfillmentFeatureTypeTypeUnspecified,
},
},
GenericWebService: &dialogflow.GoogleCloudDialogflowV2beta1FulfillmentGenericWebServiceArgs{
Uri: pulumi.String("string"),
IsCloudFunction: pulumi.Bool(false),
Password: pulumi.String("string"),
RequestHeaders: pulumi.StringMap{
"string": pulumi.String("string"),
},
Username: pulumi.String("string"),
},
},
Location: pulumi.String("string"),
Project: pulumi.String("string"),
TextToSpeechSettings: &dialogflow.GoogleCloudDialogflowV2beta1TextToSpeechSettingsArgs{
OutputAudioEncoding: dialogflowv2beta1.GoogleCloudDialogflowV2beta1TextToSpeechSettingsOutputAudioEncodingOutputAudioEncodingUnspecified,
EnableTextToSpeech: pulumi.Bool(false),
SampleRateHertz: pulumi.Int(0),
SynthesizeSpeechConfigs: pulumi.StringMap{
"string": pulumi.String("string"),
},
},
})
resource "google-native_dialogflow_v2beta1_environment" "exampleenvironmentResourceResourceFromDialogflowv2beta1" {
lifecycle {
create_before_destroy = true
}
environment_id = "string"
agent_version = "string"
description = "string"
fulfillment = {
name = "string"
display_name = "string"
enabled = false
features = [{
type = "TYPE_UNSPECIFIED"
}]
generic_web_service = {
uri = "string"
is_cloud_function = false
password = "string"
request_headers = {
"string" = "string"
}
username = "string"
}
}
location = "string"
project = "string"
text_to_speech_settings = {
output_audio_encoding = "OUTPUT_AUDIO_ENCODING_UNSPECIFIED"
enable_text_to_speech = false
sample_rate_hertz = 0
synthesize_speech_configs = {
"string" = "string"
}
}
}
var exampleenvironmentResourceResourceFromDialogflowv2beta1 = new com.pulumi.googlenative.dialogflow_v2beta1.Environment("exampleenvironmentResourceResourceFromDialogflowv2beta1", com.pulumi.googlenative.dialogflow_v2beta1.EnvironmentArgs.builder()
.environmentId("string")
.agentVersion("string")
.description("string")
.fulfillment(GoogleCloudDialogflowV2beta1FulfillmentArgs.builder()
.name("string")
.displayName("string")
.enabled(false)
.features(GoogleCloudDialogflowV2beta1FulfillmentFeatureArgs.builder()
.type(com.pulumi.googlenative.dialogflow_v2beta1.enums.GoogleCloudDialogflowV2beta1FulfillmentFeatureType.TypeUnspecified)
.build())
.genericWebService(GoogleCloudDialogflowV2beta1FulfillmentGenericWebServiceArgs.builder()
.uri("string")
.isCloudFunction(false)
.password("string")
.requestHeaders(Map.of("string", "string"))
.username("string")
.build())
.build())
.location("string")
.project("string")
.textToSpeechSettings(GoogleCloudDialogflowV2beta1TextToSpeechSettingsArgs.builder()
.outputAudioEncoding(com.pulumi.googlenative.dialogflow_v2beta1.enums.GoogleCloudDialogflowV2beta1TextToSpeechSettingsOutputAudioEncoding.OutputAudioEncodingUnspecified)
.enableTextToSpeech(false)
.sampleRateHertz(0)
.synthesizeSpeechConfigs(Map.of("string", "string"))
.build())
.build());
exampleenvironment_resource_resource_from_dialogflowv2beta1 = google_native.dialogflow.v2beta1.Environment("exampleenvironmentResourceResourceFromDialogflowv2beta1",
environment_id="string",
agent_version="string",
description="string",
fulfillment={
"name": "string",
"display_name": "string",
"enabled": False,
"features": [{
"type": google_native.dialogflow.v2beta1.GoogleCloudDialogflowV2beta1FulfillmentFeatureType.TYPE_UNSPECIFIED,
}],
"generic_web_service": {
"uri": "string",
"is_cloud_function": False,
"password": "string",
"request_headers": {
"string": "string",
},
"username": "string",
},
},
location="string",
project="string",
text_to_speech_settings={
"output_audio_encoding": google_native.dialogflow.v2beta1.GoogleCloudDialogflowV2beta1TextToSpeechSettingsOutputAudioEncoding.OUTPUT_AUDIO_ENCODING_UNSPECIFIED,
"enable_text_to_speech": False,
"sample_rate_hertz": 0,
"synthesize_speech_configs": {
"string": "string",
},
})
const exampleenvironmentResourceResourceFromDialogflowv2beta1 = new google_native.dialogflow.v2beta1.Environment("exampleenvironmentResourceResourceFromDialogflowv2beta1", {
environmentId: "string",
agentVersion: "string",
description: "string",
fulfillment: {
name: "string",
displayName: "string",
enabled: false,
features: [{
type: google_native.dialogflow.v2beta1.GoogleCloudDialogflowV2beta1FulfillmentFeatureType.TypeUnspecified,
}],
genericWebService: {
uri: "string",
isCloudFunction: false,
password: "string",
requestHeaders: {
string: "string",
},
username: "string",
},
},
location: "string",
project: "string",
textToSpeechSettings: {
outputAudioEncoding: google_native.dialogflow.v2beta1.GoogleCloudDialogflowV2beta1TextToSpeechSettingsOutputAudioEncoding.OutputAudioEncodingUnspecified,
enableTextToSpeech: false,
sampleRateHertz: 0,
synthesizeSpeechConfigs: {
string: "string",
},
},
});
type: google-native:dialogflow/v2beta1:Environment
properties:
agentVersion: string
description: string
environmentId: string
fulfillment:
displayName: string
enabled: false
features:
- type: TYPE_UNSPECIFIED
genericWebService:
isCloudFunction: false
password: string
requestHeaders:
string: string
uri: string
username: string
name: string
location: string
project: string
textToSpeechSettings:
enableTextToSpeech: false
outputAudioEncoding: OUTPUT_AUDIO_ENCODING_UNSPECIFIED
sampleRateHertz: 0
synthesizeSpeechConfigs:
string: string
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Environment resource accepts the following input properties:
- Environment
Id string - Required. The unique id of the new environment.
- Agent
Version 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.
Google Native. Dialogflow. V2Beta1. Inputs. Google Cloud Dialogflow V2beta1Fulfillment - Optional. The fulfillment settings to use for this environment.
- Location string
- Project string
- Text
To Pulumi.Speech Settings Google Native. Dialogflow. V2Beta1. Inputs. Google Cloud Dialogflow V2beta1Text To Speech Settings - Optional. Text to speech settings for this environment.
- Environment
Id string - Required. The unique id of the new environment.
- Agent
Version 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
Google
Cloud Dialogflow V2beta1Fulfillment Args - Optional. The fulfillment settings to use for this environment.
- Location string
- Project string
- Text
To GoogleSpeech Settings Cloud Dialogflow V2beta1Text To Speech Settings Args - Optional. Text to speech settings for this environment.
- environment_
id string - Required. The unique id of the new environment.
- agent_
version 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 object
- Optional. The fulfillment settings to use for this environment.
- location string
- project string
- text_
to_ objectspeech_ settings - Optional. Text to speech settings for this environment.
- environment
Id String - Required. The unique id of the new environment.
- agent
Version 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
Google
Cloud Dialogflow V2beta1Fulfillment - Optional. The fulfillment settings to use for this environment.
- location String
- project String
- text
To GoogleSpeech Settings Cloud Dialogflow V2beta1Text To Speech Settings - Optional. Text to speech settings for this environment.
- environment
Id string - Required. The unique id of the new environment.
- agent
Version 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
Google
Cloud Dialogflow V2beta1Fulfillment - Optional. The fulfillment settings to use for this environment.
- location string
- project string
- text
To GoogleSpeech Settings Cloud Dialogflow V2beta1Text To Speech Settings - 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
Google
Cloud Dialogflow V2beta1Fulfillment Args - Optional. The fulfillment settings to use for this environment.
- location str
- project str
- text_
to_ Googlespeech_ settings Cloud Dialogflow V2beta1Text To Speech Settings Args - Optional. Text to speech settings for this environment.
- environment
Id String - Required. The unique id of the new environment.
- agent
Version 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
- text
To Property MapSpeech Settings - 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/ - State string
- The state of this environment. This field is read-only, i.e., it cannot be set by create and update methods.
- Update
Time 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/ - State string
- The state of this environment. This field is read-only, i.e., it cannot be set by create and update methods.
- Update
Time 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/ - state string
- The state of this environment. This field is read-only, i.e., it cannot be set by create and update methods.
- update_
time 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/ - state String
- The state of this environment. This field is read-only, i.e., it cannot be set by create and update methods.
- update
Time 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/ - state string
- The state of this environment. This field is read-only, i.e., it cannot be set by create and update methods.
- update
Time 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/ - 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/ - state String
- The state of this environment. This field is read-only, i.e., it cannot be set by create and update methods.
- update
Time String - The last update time of this environment. This field is read-only, i.e., it cannot be set by create and update methods.
Look up Existing Environment Resource
Get an existing Environment resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, opts?: CustomResourceOptions): Environment@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None) -> Environmentfunc GetEnvironment(ctx *Context, name string, id IDInput, state *EnvironmentState, opts ...ResourceOption) (*Environment, error)public static Environment Get(string name, Input<string> id, CustomResourceOptions? opts = null)public static Environment get(String name, Output<String> id, CustomResourceOptions options)resources: existingEnvironment: type: google-native:dialogflow/v2beta1:Environment get: id: ${id}import {
to = google-native_dialogflow_v2beta1_environment.example
id = "${id}"
}
- name string
- The unique name of the resulting resource.
- id Input<ID>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resulting resource.
- id str
- The unique provider ID of the resource to look up.
- 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 resulting resource.
- id IDInput
- The unique provider ID of the resource to look up.
- state EnvironmentState
- Pass nil. This resource has no state arguments.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resulting resource.
- id Input<string>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resulting resource.
- id Output<String>
- The unique provider ID of the resource to look up.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Supporting Types
GoogleCloudDialogflowV2beta1Fulfillment, GoogleCloudDialogflowV2beta1FulfillmentArgs
By default, your agent responds to a matched intent with a static response. As an alternative, 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. For more information, see the fulfillment guide.- Name string
- The unique identifier of the fulfillment. Supported formats: -
projects//agent/fulfillment-projects//locations//agent/fulfillmentThis field is not used for Fulfillment in an Environment. - Display
Name string - The human-readable name of the fulfillment, unique within the agent. This field is not used for Fulfillment in an Environment.
- Enabled bool
- Whether fulfillment is enabled.
- Features
List<Pulumi.
Google Native. Dialogflow. V2Beta1. Inputs. Google Cloud Dialogflow V2beta1Fulfillment Feature> - The field defines whether the fulfillment is enabled for certain features.
- Generic
Web Pulumi.Service Google Native. Dialogflow. V2Beta1. Inputs. Google Cloud Dialogflow V2beta1Fulfillment Generic Web Service - Configuration for a generic web service.
- Name string
- The unique identifier of the fulfillment. Supported formats: -
projects//agent/fulfillment-projects//locations//agent/fulfillmentThis field is not used for Fulfillment in an Environment. - Display
Name string - The human-readable name of the fulfillment, unique within the agent. This field is not used for Fulfillment in an Environment.
- Enabled bool
- Whether fulfillment is enabled.
- Features
[]Google
Cloud Dialogflow V2beta1Fulfillment Feature - The field defines whether the fulfillment is enabled for certain features.
- Generic
Web GoogleService Cloud Dialogflow V2beta1Fulfillment Generic Web Service - Configuration for a generic web service.
- name string
- The unique identifier of the fulfillment. Supported formats: -
projects//agent/fulfillment-projects//locations//agent/fulfillmentThis field is not used for Fulfillment in an Environment. - display_
name string - The human-readable name of the fulfillment, unique within the agent. This field is not used for Fulfillment in an Environment.
- enabled bool
- Whether fulfillment is enabled.
- features list(object)
- The field defines whether the fulfillment is enabled for certain features.
- generic_
web_ objectservice - Configuration for a generic web service.
- name String
- The unique identifier of the fulfillment. Supported formats: -
projects//agent/fulfillment-projects//locations//agent/fulfillmentThis field is not used for Fulfillment in an Environment. - display
Name String - The human-readable name of the fulfillment, unique within the agent. This field is not used for Fulfillment in an Environment.
- enabled Boolean
- Whether fulfillment is enabled.
- features
List<Google
Cloud Dialogflow V2beta1Fulfillment Feature> - The field defines whether the fulfillment is enabled for certain features.
- generic
Web GoogleService Cloud Dialogflow V2beta1Fulfillment Generic Web Service - Configuration for a generic web service.
- name string
- The unique identifier of the fulfillment. Supported formats: -
projects//agent/fulfillment-projects//locations//agent/fulfillmentThis field is not used for Fulfillment in an Environment. - display
Name string - The human-readable name of the fulfillment, unique within the agent. This field is not used for Fulfillment in an Environment.
- enabled boolean
- Whether fulfillment is enabled.
- features
Google
Cloud Dialogflow V2beta1Fulfillment Feature[] - The field defines whether the fulfillment is enabled for certain features.
- generic
Web GoogleService Cloud Dialogflow V2beta1Fulfillment Generic Web Service - Configuration for a generic web service.
- name str
- The unique identifier of the fulfillment. Supported formats: -
projects//agent/fulfillment-projects//locations//agent/fulfillmentThis field is not used for Fulfillment in an Environment. - display_
name str - The human-readable name of the fulfillment, unique within the agent. This field is not used for Fulfillment in an Environment.
- enabled bool
- Whether fulfillment is enabled.
- features
Sequence[Google
Cloud Dialogflow V2beta1Fulfillment Feature] - The field defines whether the fulfillment is enabled for certain features.
- generic_
web_ Googleservice Cloud Dialogflow V2beta1Fulfillment Generic Web Service - Configuration for a generic web service.
- name String
- The unique identifier of the fulfillment. Supported formats: -
projects//agent/fulfillment-projects//locations//agent/fulfillmentThis field is not used for Fulfillment in an Environment. - display
Name String - The human-readable name of the fulfillment, unique within the agent. This field is not used for Fulfillment in an Environment.
- enabled Boolean
- Whether fulfillment is enabled.
- features List<Property Map>
- The field defines whether the fulfillment is enabled for certain features.
- generic
Web Property MapService - Configuration for a generic web service.
GoogleCloudDialogflowV2beta1FulfillmentFeature, GoogleCloudDialogflowV2beta1FulfillmentFeatureArgs
Whether fulfillment is enabled for the specific feature.- Type
Pulumi.
Google Native. Dialogflow. V2Beta1. Google Cloud Dialogflow V2beta1Fulfillment Feature Type - The type of the feature that enabled for fulfillment.
- Type
Google
Cloud Dialogflow V2beta1Fulfillment Feature Type - The type of the feature that enabled for fulfillment.
- type "TYPE_UNSPECIFIED" | "SMALLTALK"
- The type of the feature that enabled for fulfillment.
- type
Google
Cloud Dialogflow V2beta1Fulfillment Feature Type - The type of the feature that enabled for fulfillment.
- type
Google
Cloud Dialogflow V2beta1Fulfillment Feature Type - The type of the feature that enabled for fulfillment.
- type
Google
Cloud Dialogflow V2beta1Fulfillment Feature Type - The type of the feature that enabled for fulfillment.
- type "TYPE_UNSPECIFIED" | "SMALLTALK"
- The type of the feature that enabled for fulfillment.
GoogleCloudDialogflowV2beta1FulfillmentFeatureResponse, GoogleCloudDialogflowV2beta1FulfillmentFeatureResponseArgs
Whether fulfillment is enabled for the specific feature.- 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 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.
GoogleCloudDialogflowV2beta1FulfillmentFeatureType, GoogleCloudDialogflowV2beta1FulfillmentFeatureTypeArgs
The type of the feature that enabled for fulfillment.| Name | Value | Description |
|---|---|---|
| Type | TYPE_UNSPECIFIED | Feature type not specified. |
| Smalltalk | SMALLTALK | Fulfillment is enabled for SmallTalk. |
| Name | Value | Description |
|---|---|---|
| Google | TYPE_UNSPECIFIED | Feature type not specified. |
| Google | SMALLTALK | Fulfillment is enabled for SmallTalk. |
| Value | Description |
|---|---|
TYPE_UNSPECIFIED | Feature type not specified. |
SMALLTALK | Fulfillment is enabled for SmallTalk. |
| Name | Value | Description |
|---|---|---|
| Type | TYPE_UNSPECIFIED | Feature type not specified. |
| Smalltalk | SMALLTALK | Fulfillment is enabled for SmallTalk. |
| Name | Value | Description |
|---|---|---|
| Type | TYPE_UNSPECIFIED | Feature type not specified. |
| Smalltalk | SMALLTALK | Fulfillment is enabled for SmallTalk. |
| Name | Value | Description |
|---|---|---|
| TYPE_UNSPECIFIED | TYPE_UNSPECIFIED | Feature type not specified. |
| SMALLTALK | SMALLTALK | Fulfillment is enabled for SmallTalk. |
| Value | Description |
|---|---|
TYPE_UNSPECIFIED | Feature type not specified. |
SMALLTALK | Fulfillment is enabled for SmallTalk. |
GoogleCloudDialogflowV2beta1FulfillmentGenericWebService, GoogleCloudDialogflowV2beta1FulfillmentGenericWebServiceArgs
Represents configuration for a generic web service. Dialogflow supports two mechanisms for authentications: - Basic authentication with username and password. - Authentication with additional authentication headers. More information could be found at: https://cloud.google.com/dialogflow/docs/fulfillment-configure.- Uri string
- The fulfillment URI for receiving POST requests. It must use https protocol.
- Is
Cloud boolFunction - 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
- The password for HTTP Basic authentication.
- Request
Headers Dictionary<string, string> - The HTTP request headers to send together with fulfillment requests.
- Username string
- The user name for HTTP Basic authentication.
- Uri string
- The fulfillment URI for receiving POST requests. It must use https protocol.
- Is
Cloud boolFunction - 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
- The password for HTTP Basic authentication.
- Request
Headers map[string]string - The HTTP request headers to send together with fulfillment requests.
- Username string
- The user name for HTTP Basic authentication.
- uri string
- The fulfillment URI for receiving POST requests. It must use https protocol.
- is_
cloud_ boolfunction - 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
- The password for HTTP Basic authentication.
- request_
headers map(string) - The HTTP request headers to send together with fulfillment requests.
- username string
- The user name for HTTP Basic authentication.
- uri String
- The fulfillment URI for receiving POST requests. It must use https protocol.
- is
Cloud BooleanFunction - 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
- The password for HTTP Basic authentication.
- request
Headers Map<String,String> - The HTTP request headers to send together with fulfillment requests.
- username String
- The user name for HTTP Basic authentication.
- uri string
- The fulfillment URI for receiving POST requests. It must use https protocol.
- is
Cloud booleanFunction - 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
- The password for HTTP Basic authentication.
- request
Headers {[key: string]: string} - The HTTP request headers to send together with fulfillment requests.
- username string
- The user name for HTTP Basic authentication.
- uri str
- The fulfillment URI for receiving POST requests. It must use https protocol.
- is_
cloud_ boolfunction - 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
- The password for HTTP Basic authentication.
- request_
headers Mapping[str, str] - The HTTP request headers to send together with fulfillment requests.
- username str
- The user name for HTTP Basic authentication.
- uri String
- The fulfillment URI for receiving POST requests. It must use https protocol.
- is
Cloud BooleanFunction - 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
- The password for HTTP Basic authentication.
- request
Headers Map<String> - The HTTP request headers to send together with fulfillment requests.
- username String
- The user name for HTTP Basic authentication.
GoogleCloudDialogflowV2beta1FulfillmentGenericWebServiceResponse, GoogleCloudDialogflowV2beta1FulfillmentGenericWebServiceResponseArgs
Represents configuration for a generic web service. Dialogflow supports two mechanisms for authentications: - Basic authentication with username and password. - Authentication with additional authentication headers. More information could be found at: https://cloud.google.com/dialogflow/docs/fulfillment-configure.- Is
Cloud boolFunction - 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
- The password for HTTP Basic authentication.
- Request
Headers Dictionary<string, string> - 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
- The user name for HTTP Basic authentication.
- Is
Cloud boolFunction - 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
- The password for HTTP Basic authentication.
- Request
Headers map[string]string - 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
- The user name for HTTP Basic authentication.
- is_
cloud_ boolfunction - 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
- The password for HTTP Basic authentication.
- request_
headers map(string) - 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
- The user name for HTTP Basic authentication.
- is
Cloud BooleanFunction - 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
- The password for HTTP Basic authentication.
- request
Headers Map<String,String> - 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
- The user name for HTTP Basic authentication.
- is
Cloud booleanFunction - 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
- The password for HTTP Basic authentication.
- request
Headers {[key: string]: string} - 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
- The user name for HTTP Basic authentication.
- is_
cloud_ boolfunction - 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
- The password for HTTP Basic authentication.
- request_
headers Mapping[str, str] - 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
- The user name for HTTP Basic authentication.
- is
Cloud BooleanFunction - 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
- The password for HTTP Basic authentication.
- request
Headers Map<String> - 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
- The user name for HTTP Basic authentication.
GoogleCloudDialogflowV2beta1FulfillmentResponse, GoogleCloudDialogflowV2beta1FulfillmentResponseArgs
By default, your agent responds to a matched intent with a static response. As an alternative, 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. For more information, see the fulfillment guide.- Display
Name string - The human-readable name of the fulfillment, unique within the agent. This field is not used for Fulfillment in an Environment.
- Enabled bool
- Whether fulfillment is enabled.
- Features
List<Pulumi.
Google Native. Dialogflow. V2Beta1. Inputs. Google Cloud Dialogflow V2beta1Fulfillment Feature Response> - The field defines whether the fulfillment is enabled for certain features.
- Generic
Web Pulumi.Service Google Native. Dialogflow. V2Beta1. Inputs. Google Cloud Dialogflow V2beta1Fulfillment Generic Web Service Response - Configuration for a generic web service.
- Name string
- The unique identifier of the fulfillment. Supported formats: -
projects//agent/fulfillment-projects//locations//agent/fulfillmentThis field is not used for Fulfillment in an Environment.
- Display
Name string - The human-readable name of the fulfillment, unique within the agent. This field is not used for Fulfillment in an Environment.
- Enabled bool
- Whether fulfillment is enabled.
- Features
[]Google
Cloud Dialogflow V2beta1Fulfillment Feature Response - The field defines whether the fulfillment is enabled for certain features.
- Generic
Web GoogleService Cloud Dialogflow V2beta1Fulfillment Generic Web Service Response - Configuration for a generic web service.
- Name string
- The unique identifier of the fulfillment. Supported formats: -
projects//agent/fulfillment-projects//locations//agent/fulfillmentThis field is not used for Fulfillment in an Environment.
- display_
name string - The human-readable name of the fulfillment, unique within the agent. This field is not used for Fulfillment in an Environment.
- enabled bool
- Whether fulfillment is enabled.
- features list(object)
- The field defines whether the fulfillment is enabled for certain features.
- generic_
web_ objectservice - Configuration for a generic web service.
- name string
- The unique identifier of the fulfillment. Supported formats: -
projects//agent/fulfillment-projects//locations//agent/fulfillmentThis field is not used for Fulfillment in an Environment.
- display
Name String - The human-readable name of the fulfillment, unique within the agent. This field is not used for Fulfillment in an Environment.
- enabled Boolean
- Whether fulfillment is enabled.
- features
List<Google
Cloud Dialogflow V2beta1Fulfillment Feature Response> - The field defines whether the fulfillment is enabled for certain features.
- generic
Web GoogleService Cloud Dialogflow V2beta1Fulfillment Generic Web Service Response - Configuration for a generic web service.
- name String
- The unique identifier of the fulfillment. Supported formats: -
projects//agent/fulfillment-projects//locations//agent/fulfillmentThis field is not used for Fulfillment in an Environment.
- display
Name string - The human-readable name of the fulfillment, unique within the agent. This field is not used for Fulfillment in an Environment.
- enabled boolean
- Whether fulfillment is enabled.
- features
Google
Cloud Dialogflow V2beta1Fulfillment Feature Response[] - The field defines whether the fulfillment is enabled for certain features.
- generic
Web GoogleService Cloud Dialogflow V2beta1Fulfillment Generic Web Service Response - Configuration for a generic web service.
- name string
- The unique identifier of the fulfillment. Supported formats: -
projects//agent/fulfillment-projects//locations//agent/fulfillmentThis field is not used for Fulfillment in an Environment.
- display_
name str - The human-readable name of the fulfillment, unique within the agent. This field is not used for Fulfillment in an Environment.
- enabled bool
- Whether fulfillment is enabled.
- features
Sequence[Google
Cloud Dialogflow V2beta1Fulfillment Feature Response] - The field defines whether the fulfillment is enabled for certain features.
- generic_
web_ Googleservice Cloud Dialogflow V2beta1Fulfillment Generic Web Service Response - Configuration for a generic web service.
- name str
- The unique identifier of the fulfillment. Supported formats: -
projects//agent/fulfillment-projects//locations//agent/fulfillmentThis field is not used for Fulfillment in an Environment.
- display
Name String - The human-readable name of the fulfillment, unique within the agent. This field is not used for Fulfillment in an Environment.
- enabled Boolean
- Whether fulfillment is enabled.
- features List<Property Map>
- The field defines whether the fulfillment is enabled for certain features.
- generic
Web Property MapService - Configuration for a generic web service.
- name String
- The unique identifier of the fulfillment. Supported formats: -
projects//agent/fulfillment-projects//locations//agent/fulfillmentThis field is not used for Fulfillment in an Environment.
GoogleCloudDialogflowV2beta1TextToSpeechSettings, GoogleCloudDialogflowV2beta1TextToSpeechSettingsArgs
Instructs the speech synthesizer on how to generate the output audio content.- Output
Audio Pulumi.Encoding Google Native. Dialogflow. V2Beta1. Google Cloud Dialogflow V2beta1Text To Speech Settings Output Audio Encoding - Audio encoding of the synthesized audio content.
- Enable
Text boolTo Speech - Optional. Indicates whether text to speech is enabled. Even when this field is false, other settings in this proto are still retained.
- Sample
Rate intHertz - 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 Dictionary<string, string>Configs - Optional. Configuration of how speech should be synthesized, mapping from language (https://cloud.google.com/dialogflow/docs/reference/language) to SynthesizeSpeechConfig.
- Output
Audio GoogleEncoding Cloud Dialogflow V2beta1Text To Speech Settings Output Audio Encoding - Audio encoding of the synthesized audio content.
- Enable
Text boolTo Speech - Optional. Indicates whether text to speech is enabled. Even when this field is false, other settings in this proto are still retained.
- Sample
Rate intHertz - 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 map[string]stringConfigs - Optional. Configuration of how speech should be synthesized, mapping from language (https://cloud.google.com/dialogflow/docs/reference/language) to SynthesizeSpeechConfig.
- output_
audio_ "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"encoding - Audio encoding of the synthesized audio content.
- enable_
text_ boolto_ speech - Optional. Indicates whether text to speech is enabled. Even when this field is false, other settings in this proto are still retained.
- sample_
rate_ numberhertz - 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_ map(string)configs - Optional. Configuration of how speech should be synthesized, mapping from language (https://cloud.google.com/dialogflow/docs/reference/language) to SynthesizeSpeechConfig.
- output
Audio GoogleEncoding Cloud Dialogflow V2beta1Text To Speech Settings Output Audio Encoding - Audio encoding of the synthesized audio content.
- enable
Text BooleanTo Speech - Optional. Indicates whether text to speech is enabled. Even when this field is false, other settings in this proto are still retained.
- sample
Rate IntegerHertz - 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 Map<String,String>Configs - Optional. Configuration of how speech should be synthesized, mapping from language (https://cloud.google.com/dialogflow/docs/reference/language) to SynthesizeSpeechConfig.
- output
Audio GoogleEncoding Cloud Dialogflow V2beta1Text To Speech Settings Output Audio Encoding - Audio encoding of the synthesized audio content.
- enable
Text booleanTo Speech - Optional. Indicates whether text to speech is enabled. Even when this field is false, other settings in this proto are still retained.
- sample
Rate numberHertz - 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 {[key: string]: string}Configs - Optional. Configuration of how speech should be synthesized, mapping from language (https://cloud.google.com/dialogflow/docs/reference/language) to SynthesizeSpeechConfig.
- output_
audio_ Googleencoding Cloud Dialogflow V2beta1Text To Speech Settings Output Audio Encoding - Audio encoding of the synthesized audio content.
- enable_
text_ boolto_ speech - Optional. Indicates whether text to speech is enabled. Even when this field is false, other settings in this proto are still retained.
- sample_
rate_ inthertz - 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_ Mapping[str, str]configs - Optional. Configuration of how speech should be synthesized, mapping from language (https://cloud.google.com/dialogflow/docs/reference/language) to SynthesizeSpeechConfig.
- output
Audio "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"Encoding - Audio encoding of the synthesized audio content.
- enable
Text BooleanTo Speech - Optional. Indicates whether text to speech is enabled. Even when this field is false, other settings in this proto are still retained.
- sample
Rate NumberHertz - 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 Map<String>Configs - Optional. Configuration of how speech should be synthesized, mapping from language (https://cloud.google.com/dialogflow/docs/reference/language) to SynthesizeSpeechConfig.
GoogleCloudDialogflowV2beta1TextToSpeechSettingsOutputAudioEncoding, GoogleCloudDialogflowV2beta1TextToSpeechSettingsOutputAudioEncodingArgs
Required. Audio encoding of the synthesized audio content.| Name | Value | Description |
|---|---|---|
| Output | OUTPUT_AUDIO_ENCODING_UNSPECIFIED | Not specified. |
| Output | 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 | OUTPUT_AUDIO_ENCODING_MP3 | MP3 audio at 32kbps. |
| Output | OUTPUT_AUDIO_ENCODING_MP3_64_KBPS | MP3 audio at 64kbps. |
| Output | 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 | OUTPUT_AUDIO_ENCODING_MULAW | 8-bit samples that compand 14-bit audio samples using G.711 PCMU/mu-law. |
| Name | Value | Description |
|---|---|---|
| Google | OUTPUT_AUDIO_ENCODING_UNSPECIFIED | Not specified. |
| Google | OUTPUT_AUDIO_ENCODING_LINEAR_16 | Uncompressed 16-bit signed little-endian samples (Linear PCM). Audio content returned as LINEAR16 also contains a WAV header. |
| Google | OUTPUT_AUDIO_ENCODING_MP3 | MP3 audio at 32kbps. |
| Google | OUTPUT_AUDIO_ENCODING_MP3_64_KBPS | MP3 audio at 64kbps. |
| Google | 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. |
| Google | OUTPUT_AUDIO_ENCODING_MULAW | 8-bit samples that compand 14-bit audio samples using G.711 PCMU/mu-law. |
| Value | Description |
|---|---|
OUTPUT_AUDIO_ENCODING_UNSPECIFIED | Not specified. |
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 | MP3 audio at 32kbps. |
OUTPUT_AUDIO_ENCODING_MP3_64_KBPS | MP3 audio at 64kbps. |
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 | 8-bit samples that compand 14-bit audio samples using G.711 PCMU/mu-law. |
| Name | Value | Description |
|---|---|---|
| Output | OUTPUT_AUDIO_ENCODING_UNSPECIFIED | Not specified. |
| Output | 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 | OUTPUT_AUDIO_ENCODING_MP3 | MP3 audio at 32kbps. |
| Output | OUTPUT_AUDIO_ENCODING_MP3_64_KBPS | MP3 audio at 64kbps. |
| Output | 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 | OUTPUT_AUDIO_ENCODING_MULAW | 8-bit samples that compand 14-bit audio samples using G.711 PCMU/mu-law. |
| Name | Value | Description |
|---|---|---|
| Output | OUTPUT_AUDIO_ENCODING_UNSPECIFIED | Not specified. |
| Output | 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 | OUTPUT_AUDIO_ENCODING_MP3 | MP3 audio at 32kbps. |
| Output | OUTPUT_AUDIO_ENCODING_MP3_64_KBPS | MP3 audio at 64kbps. |
| Output | 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 | OUTPUT_AUDIO_ENCODING_MULAW | 8-bit samples that compand 14-bit audio samples using G.711 PCMU/mu-law. |
| Name | Value | Description |
|---|---|---|
| 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. |
| Value | Description |
|---|---|
OUTPUT_AUDIO_ENCODING_UNSPECIFIED | Not specified. |
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 | MP3 audio at 32kbps. |
OUTPUT_AUDIO_ENCODING_MP3_64_KBPS | MP3 audio at 64kbps. |
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 | 8-bit samples that compand 14-bit audio samples using G.711 PCMU/mu-law. |
GoogleCloudDialogflowV2beta1TextToSpeechSettingsResponse, GoogleCloudDialogflowV2beta1TextToSpeechSettingsResponseArgs
Instructs the speech synthesizer on how to generate the output audio content.- Enable
Text boolTo Speech - Optional. Indicates whether text to speech is enabled. Even when this field is false, other settings in this proto are still retained.
- Output
Audio stringEncoding - Audio encoding of the synthesized audio content.
- Sample
Rate intHertz - 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 Dictionary<string, string>Configs - Optional. Configuration of how speech should be synthesized, mapping from language (https://cloud.google.com/dialogflow/docs/reference/language) to SynthesizeSpeechConfig.
- Enable
Text boolTo Speech - Optional. Indicates whether text to speech is enabled. Even when this field is false, other settings in this proto are still retained.
- Output
Audio stringEncoding - Audio encoding of the synthesized audio content.
- Sample
Rate intHertz - 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 map[string]stringConfigs - Optional. Configuration of how speech should be synthesized, mapping from language (https://cloud.google.com/dialogflow/docs/reference/language) to SynthesizeSpeechConfig.
- enable_
text_ boolto_ speech - Optional. Indicates whether text to speech is enabled. Even when this field is false, other settings in this proto are still retained.
- output_
audio_ stringencoding - Audio encoding of the synthesized audio content.
- sample_
rate_ numberhertz - 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_ map(string)configs - Optional. Configuration of how speech should be synthesized, mapping from language (https://cloud.google.com/dialogflow/docs/reference/language) to SynthesizeSpeechConfig.
- enable
Text BooleanTo Speech - Optional. Indicates whether text to speech is enabled. Even when this field is false, other settings in this proto are still retained.
- output
Audio StringEncoding - Audio encoding of the synthesized audio content.
- sample
Rate IntegerHertz - 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 Map<String,String>Configs - Optional. Configuration of how speech should be synthesized, mapping from language (https://cloud.google.com/dialogflow/docs/reference/language) to SynthesizeSpeechConfig.
- enable
Text booleanTo Speech - Optional. Indicates whether text to speech is enabled. Even when this field is false, other settings in this proto are still retained.
- output
Audio stringEncoding - Audio encoding of the synthesized audio content.
- sample
Rate numberHertz - 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 {[key: string]: string}Configs - Optional. Configuration of how speech should be synthesized, mapping from language (https://cloud.google.com/dialogflow/docs/reference/language) to SynthesizeSpeechConfig.
- enable_
text_ boolto_ speech - Optional. Indicates whether text to speech is enabled. Even when this field is false, other settings in this proto are still retained.
- output_
audio_ strencoding - Audio encoding of the synthesized audio content.
- sample_
rate_ inthertz - 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_ Mapping[str, str]configs - Optional. Configuration of how speech should be synthesized, mapping from language (https://cloud.google.com/dialogflow/docs/reference/language) to SynthesizeSpeechConfig.
- enable
Text BooleanTo Speech - Optional. Indicates whether text to speech is enabled. Even when this field is false, other settings in this proto are still retained.
- output
Audio StringEncoding - Audio encoding of the synthesized audio content.
- sample
Rate NumberHertz - 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 Map<String>Configs - 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
This package is deprecated. Active development has stopped. We recommend using the Google Cloud package instead.
published on Wednesday, Nov 29, 2023 by Pulumi