Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
google-native.dialogflow/v2beta1.getEnvironment
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
Retrieves the specified agent environment.
Using getEnvironment
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getEnvironment(args: GetEnvironmentArgs, opts?: InvokeOptions): Promise<GetEnvironmentResult>
function getEnvironmentOutput(args: GetEnvironmentOutputArgs, opts?: InvokeOptions): Output<GetEnvironmentResult>
def get_environment(environment_id: Optional[str] = None,
location: Optional[str] = None,
project: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetEnvironmentResult
def get_environment_output(environment_id: Optional[pulumi.Input[str]] = None,
location: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetEnvironmentResult]
func LookupEnvironment(ctx *Context, args *LookupEnvironmentArgs, opts ...InvokeOption) (*LookupEnvironmentResult, error)
func LookupEnvironmentOutput(ctx *Context, args *LookupEnvironmentOutputArgs, opts ...InvokeOption) LookupEnvironmentResultOutput
> Note: This function is named LookupEnvironment
in the Go SDK.
public static class GetEnvironment
{
public static Task<GetEnvironmentResult> InvokeAsync(GetEnvironmentArgs args, InvokeOptions? opts = null)
public static Output<GetEnvironmentResult> Invoke(GetEnvironmentInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetEnvironmentResult> getEnvironment(GetEnvironmentArgs args, InvokeOptions options)
public static Output<GetEnvironmentResult> getEnvironment(GetEnvironmentArgs args, InvokeOptions options)
fn::invoke:
function: google-native:dialogflow/v2beta1:getEnvironment
arguments:
# arguments dictionary
The following arguments are supported:
- Environment
Id This property is required. string - Location
This property is required. string - Project string
- Environment
Id This property is required. string - Location
This property is required. string - Project string
- environment
Id This property is required. String - location
This property is required. String - project String
- environment
Id This property is required. string - location
This property is required. string - project string
- environment_
id This property is required. str - location
This property is required. str - project str
- environment
Id This property is required. String - location
This property is required. String - project String
getEnvironment Result
The following output properties are available:
- 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. Outputs. Google Cloud Dialogflow V2beta1Fulfillment Response - Optional. The fulfillment settings to use for this environment.
- 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.
- Text
To Pulumi.Speech Settings Google Native. Dialogflow. V2Beta1. Outputs. Google Cloud Dialogflow V2beta1Text To Speech Settings Response - Optional. Text to speech settings for this environment.
- 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.
- 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 Response - Optional. The fulfillment settings to use for this environment.
- 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.
- Text
To GoogleSpeech Settings Cloud Dialogflow V2beta1Text To Speech Settings Response - Optional. Text to speech settings for this environment.
- 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.
- 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 Response - Optional. The fulfillment settings to use for this environment.
- 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.
- text
To GoogleSpeech Settings Cloud Dialogflow V2beta1Text To Speech Settings Response - Optional. Text to speech settings for this environment.
- 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.
- 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 Response - Optional. The fulfillment settings to use for this environment.
- 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.
- text
To GoogleSpeech Settings Cloud Dialogflow V2beta1Text To Speech Settings Response - Optional. Text to speech settings for this environment.
- 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.
- 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 Response - Optional. The fulfillment settings to use for this environment.
- 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.
- text_
to_ Googlespeech_ settings Cloud Dialogflow V2beta1Text To Speech Settings Response - Optional. Text to speech settings for this environment.
- 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.
- 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.
- 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.
- text
To Property MapSpeech Settings - Optional. Text to speech settings for this environment.
- 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.
Supporting Types
GoogleCloudDialogflowV2beta1FulfillmentFeatureResponse
- Type
This property is required. string - The type of the feature that enabled for fulfillment.
- Type
This property is required. string - The type of the feature that enabled for fulfillment.
- type
This property is required. String - The type of the feature that enabled for fulfillment.
- type
This property is required. string - The type of the feature that enabled for fulfillment.
- type
This property is required. str - The type of the feature that enabled for fulfillment.
- type
This property is required. String - The type of the feature that enabled for fulfillment.
GoogleCloudDialogflowV2beta1FulfillmentGenericWebServiceResponse
- Is
Cloud Function This property is required. 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
This property is required. string - The password for HTTP Basic authentication.
- Request
Headers This property is required. Dictionary<string, string> - The HTTP request headers to send together with fulfillment requests.
- Uri
This property is required. string - The fulfillment URI for receiving POST requests. It must use https protocol.
- Username
This property is required. string - The user name for HTTP Basic authentication.
- Is
Cloud Function This property is required. 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
This property is required. string - The password for HTTP Basic authentication.
- Request
Headers This property is required. map[string]string - The HTTP request headers to send together with fulfillment requests.
- Uri
This property is required. string - The fulfillment URI for receiving POST requests. It must use https protocol.
- Username
This property is required. string - The user name for HTTP Basic authentication.
- is
Cloud Function This property is required. 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
This property is required. String - The password for HTTP Basic authentication.
- request
Headers This property is required. Map<String,String> - The HTTP request headers to send together with fulfillment requests.
- uri
This property is required. String - The fulfillment URI for receiving POST requests. It must use https protocol.
- username
This property is required. String - The user name for HTTP Basic authentication.
- is
Cloud Function This property is required. 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
This property is required. string - The password for HTTP Basic authentication.
- request
Headers This property is required. {[key: string]: string} - The HTTP request headers to send together with fulfillment requests.
- uri
This property is required. string - The fulfillment URI for receiving POST requests. It must use https protocol.
- username
This property is required. string - The user name for HTTP Basic authentication.
- is_
cloud_ function This property is required. 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
This property is required. str - The password for HTTP Basic authentication.
- request_
headers This property is required. Mapping[str, str] - The HTTP request headers to send together with fulfillment requests.
- uri
This property is required. str - The fulfillment URI for receiving POST requests. It must use https protocol.
- username
This property is required. str - The user name for HTTP Basic authentication.
- is
Cloud Function This property is required. 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
This property is required. String - The password for HTTP Basic authentication.
- request
Headers This property is required. Map<String> - The HTTP request headers to send together with fulfillment requests.
- uri
This property is required. String - The fulfillment URI for receiving POST requests. It must use https protocol.
- username
This property is required. String - The user name for HTTP Basic authentication.
GoogleCloudDialogflowV2beta1FulfillmentResponse
- Display
Name This property is required. string - The human-readable name of the fulfillment, unique within the agent. This field is not used for Fulfillment in an Environment.
- Enabled
This property is required. bool - Whether fulfillment is enabled.
- Features
This property is required. 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 Service This property is required. Pulumi.Google Native. Dialogflow. V2Beta1. Inputs. Google Cloud Dialogflow V2beta1Fulfillment Generic Web Service Response - Configuration for a generic web service.
- Name
This property is required. 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 This property is required. string - The human-readable name of the fulfillment, unique within the agent. This field is not used for Fulfillment in an Environment.
- Enabled
This property is required. bool - Whether fulfillment is enabled.
- Features
This property is required. []GoogleCloud Dialogflow V2beta1Fulfillment Feature Response - The field defines whether the fulfillment is enabled for certain features.
- Generic
Web Service This property is required. GoogleCloud Dialogflow V2beta1Fulfillment Generic Web Service Response - Configuration for a generic web service.
- Name
This property is required. 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 This property is required. String - The human-readable name of the fulfillment, unique within the agent. This field is not used for Fulfillment in an Environment.
- enabled
This property is required. Boolean - Whether fulfillment is enabled.
- features
This property is required. List<GoogleCloud Dialogflow V2beta1Fulfillment Feature Response> - The field defines whether the fulfillment is enabled for certain features.
- generic
Web Service This property is required. GoogleCloud Dialogflow V2beta1Fulfillment Generic Web Service Response - Configuration for a generic web service.
- name
This property is required. 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 This property is required. string - The human-readable name of the fulfillment, unique within the agent. This field is not used for Fulfillment in an Environment.
- enabled
This property is required. boolean - Whether fulfillment is enabled.
- features
This property is required. GoogleCloud Dialogflow V2beta1Fulfillment Feature Response[] - The field defines whether the fulfillment is enabled for certain features.
- generic
Web Service This property is required. GoogleCloud Dialogflow V2beta1Fulfillment Generic Web Service Response - Configuration for a generic web service.
- name
This property is required. 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 This property is required. str - The human-readable name of the fulfillment, unique within the agent. This field is not used for Fulfillment in an Environment.
- enabled
This property is required. bool - Whether fulfillment is enabled.
- features
This property is required. Sequence[GoogleCloud Dialogflow V2beta1Fulfillment Feature Response] - The field defines whether the fulfillment is enabled for certain features.
- generic_
web_ service This property is required. GoogleCloud Dialogflow V2beta1Fulfillment Generic Web Service Response - Configuration for a generic web service.
- name
This property is required. 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 This property is required. String - The human-readable name of the fulfillment, unique within the agent. This field is not used for Fulfillment in an Environment.
- enabled
This property is required. Boolean - Whether fulfillment is enabled.
- features
This property is required. List<Property Map> - The field defines whether the fulfillment is enabled for certain features.
- generic
Web Service This property is required. Property Map - Configuration for a generic web service.
- name
This property is required. 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.
GoogleCloudDialogflowV2beta1TextToSpeechSettingsResponse
- Enable
Text To Speech This property is required. 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 This property is required. string - Audio encoding of the synthesized audio content.
- Sample
Rate Hertz This property is required. 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 This property is required. Dictionary<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 This property is required. 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 This property is required. string - Audio encoding of the synthesized audio content.
- Sample
Rate Hertz This property is required. 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 This property is required. map[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 This property is required. Boolean - 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 This property is required. String - Audio encoding of the synthesized audio content.
- sample
Rate Hertz This property is required. 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).
- synthesize
Speech Configs This property is required. Map<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 This property is required. boolean - 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 This property is required. string - Audio encoding of the synthesized audio content.
- sample
Rate Hertz This property is required. 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).
- synthesize
Speech Configs This property is required. {[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 This property is required. 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 This property is required. str - Audio encoding of the synthesized audio content.
- sample_
rate_ hertz This property is required. 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 This property is required. Mapping[str, str] - 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 This property is required. Boolean - 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 This property is required. String - Audio encoding of the synthesized audio content.
- sample
Rate Hertz This property is required. 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).
- synthesize
Speech Configs This property is required. 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
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi