getDebugToken function

Future<GetDebugTokenResult> getDebugToken(
  1. GetDebugTokenArgs args, {
  2. InvokeOptions? options,
})

Gets the specified DebugToken. For security reasons, the token field is never populated in the response. args Arguments passed to this invoke. Arguments for getDebugToken. options Invoke options controlling this call.

Implementation

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