Class ProjectsResource.ReleasesResource.CreateRequest
Create a Release
. Release names should reflect the developer's deployment practices. For example, the
release name may include the environment name, application name, application version, or any other name
meaningful to the developer. Once a Release
refers to a Ruleset
, the rules can be enforced by
Firebase Rules-enabled services. More than one Release
may be 'live' concurrently. Consider the
following three Release
names for projects/foo
and the Ruleset
to which they refer. Release Name
-> Ruleset Name * projects/foo/releases/prod -> projects/foo/rulesets/uuid123 *
projects/foo/releases/prod/beta -> projects/foo/rulesets/uuid123 * projects/foo/releases/prod/v23
-> projects/foo/rulesets/uuid456 The relationships reflect a Ruleset
rollout in progress. The
prod
and prod/beta
releases refer to the same Ruleset
. However, prod/v23
refers to a new
Ruleset
. The Ruleset
reference for a Release
may be updated using the UpdateRelease method.
Inheritance
Inherited Members
Namespace: Google.Apis.FirebaseRules.v1
Assembly: Google.Apis.FirebaseRules.v1.dll
Syntax
public class ProjectsResource.ReleasesResource.CreateRequest : FirebaseRulesBaseServiceRequest<Release>, IClientServiceRequest<Release>, IClientServiceRequest
Constructors
CreateRequest(IClientService, Release, string)
Constructs a new Create request.
Declaration
public CreateRequest(IClientService service, Release body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
Release | body | |
string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Name
Required. Resource name for the project which owns this Release
. 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
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Create parameter list.
Declaration
protected override void InitParameters()