ProjectsRulesets
class ProjectsRulesets extends Resource (View source)
The "rulesets" collection of methods.
Typical usage is:
$firebaserulesService = new Google\Service\FirebaseRules(...);
$rulesets = $firebaserulesService->projects_rulesets;
Methods
Create a Ruleset
from Source
. The Ruleset
is given a unique generated
name which is returned to the caller. Source
containing syntactic or
semantics errors will result in an error response indicating the first error
encountered. For a detailed view of Source
issues, use TestRuleset.
Delete a Ruleset
by resource name. If the Ruleset
is referenced by a
Release
the operation will fail. (rulesets.delete)
Get a Ruleset
by name including the full Source
contents. (rulesets.get)
List Ruleset
metadata only and optionally filter the results by Ruleset
name. The full Source
contents of a Ruleset
may be retrieved with
GetRuleset. (rulesets.listProjectsRulesets)
Details
Ruleset
create(string $name, Ruleset $postBody, array $optParams = [])
Create a Ruleset
from Source
. The Ruleset
is given a unique generated
name which is returned to the caller. Source
containing syntactic or
semantics errors will result in an error response indicating the first error
encountered. For a detailed view of Source
issues, use TestRuleset.
(rulesets.create)
FirebaserulesEmpty
delete(string $name, array $optParams = [])
Delete a Ruleset
by resource name. If the Ruleset
is referenced by a
Release
the operation will fail. (rulesets.delete)
Ruleset
get(string $name, array $optParams = [])
Get a Ruleset
by name including the full Source
contents. (rulesets.get)
ListRulesetsResponse
listProjectsRulesets(string $name, array $optParams = [])
List Ruleset
metadata only and optionally filter the results by Ruleset
name. The full Source
contents of a Ruleset
may be retrieved with
GetRuleset. (rulesets.listProjectsRulesets)