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