getEnvironmentDialogflowV3beta1 function

Future<GetEnvironmentDialogflowV3beta1Result> getEnvironmentDialogflowV3beta1(
  1. GetEnvironmentDialogflowV3beta1Args args, {
  2. InvokeOptions? options,
})

Retrieves the specified Environment. args Arguments passed to this invoke. Arguments for getEnvironment. options Invoke options controlling this call.

Implementation

Future<GetEnvironmentDialogflowV3beta1Result> getEnvironmentDialogflowV3beta1(
  GetEnvironmentDialogflowV3beta1Args args, {
  pulumi.InvokeOptions? options,
}) async {
  final deployment = pulumi.Deployment.instance;
  final result = await deployment.invoke<Map<String, dynamic>>(
    'google-native:dialogflow/v3beta1:getEnvironment',
    args.toMap(),
    options: pulumi.toDeploymentInvokeOptions(options),
  );
  return GetEnvironmentDialogflowV3beta1Result.fromMap(result);
}