getSessionEntityType function

Future<GetSessionEntityTypeResult> getSessionEntityType(
  1. GetSessionEntityTypeArgs args, {
  2. InvokeOptions? options,
})

Retrieves the specified session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration. args Arguments passed to this invoke. Arguments for getSessionEntityType. options Invoke options controlling this call.

Implementation

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