deleteRuleset method

Future<void> deleteRuleset(
  1. String name
)

Deletes the Ruleset identified by the given name. The input name should be the short name string without the project ID prefix. For example, to delete the projects/project-id/rulesets/my-ruleset, pass the short name "my-ruleset". Rejects with a not-found error if the specified Ruleset cannot be found.

name - Name of the Ruleset to delete. Returns a future that fulfills when the Ruleset is deleted.

Implementation

Future<void> deleteRuleset(String name) {
  return _client.deleteRuleset(name);
}