getVersionDialogflowV2beta1 function

Future<GetVersionDialogflowV2beta1Result> getVersionDialogflowV2beta1(
  1. GetVersionDialogflowV2beta1Args args, {
  2. InvokeOptions? options,
})

Retrieves the specified agent version. args Arguments passed to this invoke. Arguments for getVersion. options Invoke options controlling this call.

Implementation

Future<GetVersionDialogflowV2beta1Result> getVersionDialogflowV2beta1(
  GetVersionDialogflowV2beta1Args args, {
  pulumi.InvokeOptions? options,
}) async {
  final deployment = pulumi.Deployment.instance;
  final result = await deployment.invoke<Map<String, dynamic>>(
    'google-native:dialogflow/v2beta1:getVersion',
    args.toMap(),
    options: pulumi.toDeploymentInvokeOptions(options),
  );
  return GetVersionDialogflowV2beta1Result.fromMap(result);
}