public function updateRules(RuleSet $ruleSet)
    {
        $this->client->updateRules($this->uri->withPath('.settings/rules'), $ruleSet);
    }
public function updateRules(RuleSet $ruleSet)
    {
        $this->client->updateRules($this->uri->withPath('.settings/rules'), $ruleSet);
    }
public function updateRules ( RuleSet $ ruleSet ) { $ this -> client -> updateRules ( $ this -> uri -> withPath ( '.settings/rules' ) , $ ruleSet ) ; }
Update Firebase Database Rules.

@see https://firebase.google.com/docs/database/rest/app-management#updating-firebase-realtime-database-rules

@param RuleSet $ruleSet
Update Firebase Database Rules .