releaseStorageRuleset method
Applies the specified Ruleset ruleset to a Cloud Storage bucket.
ruleset
- Name of the ruleset to apply or a RulesetMetadata object
containing the name.
Returns a future that fulfills when the ruleset is released.
Implementation
Future<void> releaseStorageRuleset(String ruleset, String bucket) async {
await _client.updateOrCreateRelease('$_firebaseStorage/$bucket', ruleset);
}