getRuleSet function
Gets a ruleset. Returns NOT_FOUND if the ruleset does not exist.
args Arguments passed to this invoke. Arguments for getRuleSet.
options Invoke options controlling this call.
Implementation
Future<GetRuleSetResult> getRuleSet(
GetRuleSetArgs args, {
pulumi.InvokeOptions? options,
}) async {
final deployment = pulumi.Deployment.instance;
final result = await deployment.invoke<Map<String, dynamic>>(
'google-native:contentwarehouse/v1:getRuleSet',
args.toMap(),
options: pulumi.toDeploymentInvokeOptions(options),
);
return GetRuleSetResult.fromMap(result);
}