getNotification function

Future<GetNotificationResult> getNotification(
  1. GetNotificationArgs args, {
  2. InvokeOptions? options,
})

View a notification configuration. args Arguments passed to this invoke. Arguments for getNotification. options Invoke options controlling this call.

Implementation

Future<GetNotificationResult> getNotification(
  GetNotificationArgs args, {
  pulumi.InvokeOptions? options,
}) async {
  final deployment = pulumi.Deployment.instance;
  final result = await deployment.invoke<Map<String, dynamic>>(
    'google-native:storage/v1:getNotification',
    args.toMap(),
    options: pulumi.toDeploymentInvokeOptions(options),
  );
  return GetNotificationResult.fromMap(result);
}