Class ProjectsResource.RulesetsResource
The "rulesets" collection of methods.
Inherited Members
Namespace: Google.Apis.FirebaseRules.v1
Assembly: Google.Apis.FirebaseRules.v1.dll
Syntax
public class ProjectsResource.RulesetsResource
Constructors
RulesetsResource(IClientService)
Constructs a new resource.
Declaration
public RulesetsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(Ruleset, string)
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.
Declaration
public virtual ProjectsResource.RulesetsResource.CreateRequest Create(Ruleset body, string name)
Parameters
Type | Name | Description |
---|---|---|
Ruleset | body | The body of the request. |
string | name | Required. Resource name for Project which owns this |
Returns
Type | Description |
---|---|
ProjectsResource.RulesetsResource.CreateRequest |
Delete(string)
Delete a Ruleset
by resource name. If the Ruleset
is referenced by a Release
the operation will
fail.
Declaration
public virtual ProjectsResource.RulesetsResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Resource name for the ruleset to delete. Format: |
Returns
Type | Description |
---|---|
ProjectsResource.RulesetsResource.DeleteRequest |
Get(string)
Get a Ruleset
by name including the full Source
contents.
Declaration
public virtual ProjectsResource.RulesetsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Resource name for the ruleset to get. Format: |
Returns
Type | Description |
---|---|
ProjectsResource.RulesetsResource.GetRequest |
List(string)
List Ruleset
metadata only and optionally filter the results by Ruleset
name. The full Source
contents of a Ruleset
may be retrieved with GetRuleset.
Declaration
public virtual ProjectsResource.RulesetsResource.ListRequest List(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Resource name for the project. Format: |
Returns
Type | Description |
---|---|
ProjectsResource.RulesetsResource.ListRequest |