getEnvironmentDialogflowV2beta1 function
Future<GetEnvironmentDialogflowV2beta1Result>
getEnvironmentDialogflowV2beta1(
- GetEnvironmentDialogflowV2beta1Args args, {
- InvokeOptions? options,
Retrieves the specified agent environment.
args Arguments passed to this invoke. Arguments for getEnvironment.
options Invoke options controlling this call.
Implementation
Future<GetEnvironmentDialogflowV2beta1Result> getEnvironmentDialogflowV2beta1(
GetEnvironmentDialogflowV2beta1Args args, {
pulumi.InvokeOptions? options,
}) async {
final deployment = pulumi.Deployment.instance;
final result = await deployment.invoke<Map<String, dynamic>>(
'google-native:dialogflow/v2beta1:getEnvironment',
args.toMap(),
options: pulumi.toDeploymentInvokeOptions(options),
);
return GetEnvironmentDialogflowV2beta1Result.fromMap(result);
}