Class ProjectsResource.RulesetsResource.CreateRequest
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.
Inheritance
ProjectsResource.RulesetsResource.CreateRequest
Inherited Members
Namespace: Google.Apis.FirebaseRules.v1
Assembly: Google.Apis.FirebaseRules.v1.dll
Syntax
public class ProjectsResource.RulesetsResource.CreateRequest : FirebaseRulesBaseServiceRequest<Ruleset>, IClientServiceRequest<Ruleset>, IClientServiceRequest
Constructors
CreateRequest(IClientService, Ruleset, string)
Constructs a new Create request.
Declaration
public CreateRequest(IClientService service, Ruleset body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
Ruleset | body | |
string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.FirebaseRules.v1.Data.Ruleset>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.FirebaseRules.v1.Data.Ruleset>.MethodName
Name
Required. Resource name for Project which owns this Ruleset
. Format: projects/{project_id}
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.FirebaseRules.v1.Data.Ruleset>.RestPath
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.FirebaseRules.v1.Data.Ruleset>.GetBody()
InitParameters()
Initializes Create parameter list.
Declaration
protected override void InitParameters()