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
System.Object
Google.Apis.Requests.ClientServiceRequest
Google.Apis.Requests.ClientServiceRequest<
Release>
ProjectsResource.ReleasesResource.CreateRequest
Implements
Google.Apis.Requests.IClientServiceRequest<
Release>
Google.Apis.Requests.IClientServiceRequest
Inherited Members
Google.Apis.Requests.ClientServiceRequest<Google.Apis.FirebaseRules.v1.Data.Release>.Execute()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.FirebaseRules.v1.Data.Release>.ExecuteAsStream()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.FirebaseRules.v1.Data.Release>.ExecuteAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.FirebaseRules.v1.Data.Release>.ExecuteAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.FirebaseRules.v1.Data.Release>.ExecuteAsStreamAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.FirebaseRules.v1.Data.Release>.ExecuteAsStreamAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.FirebaseRules.v1.Data.Release>.CreateRequest(System.Nullable<System.Boolean>)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.FirebaseRules.v1.Data.Release>.GenerateRequestUri()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.FirebaseRules.v1.Data.Release>.GetDefaultETagAction(System.String)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.FirebaseRules.v1.Data.Release>.ETagAction
Google.Apis.Requests.ClientServiceRequest<Google.Apis.FirebaseRules.v1.Data.Release>.ModifyRequest
Google.Apis.Requests.ClientServiceRequest<Google.Apis.FirebaseRules.v1.Data.Release>.ValidateParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.FirebaseRules.v1.Data.Release>.RequestParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.FirebaseRules.v1.Data.Release>.Service
Google.Apis.Requests.ClientServiceRequest._unsuccessfulResponseHandlers
Google.Apis.Requests.ClientServiceRequest._exceptionHandlers
Google.Apis.Requests.ClientServiceRequest._executeInterceptors
Google.Apis.Requests.ClientServiceRequest.AddUnsuccessfulResponseHandler(Google.Apis.Http.IHttpUnsuccessfulResponseHandler)
Google.Apis.Requests.ClientServiceRequest.AddExceptionHandler(Google.Apis.Http.IHttpExceptionHandler)
Google.Apis.Requests.ClientServiceRequest.AddExecuteInterceptor(Google.Apis.Http.IHttpExecuteInterceptor)
Google.Apis.Requests.ClientServiceRequest.Credential
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Google.Apis.FirebaseRules.v1.dll
Syntax
public class 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 |
Google.Apis.Services.IClientService |
service |
|
Release |
body |
|
System.String |
name |
|
Properties
HttpMethod
Declaration
public override string HttpMethod { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.FirebaseRules.v1.Data.Release>.HttpMethod
MethodName
Declaration
public override string MethodName { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.FirebaseRules.v1.Data.Release>.MethodName
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 |
System.String |
|
RestPath
Declaration
public override string RestPath { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.FirebaseRules.v1.Data.Release>.RestPath
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type |
Description |
System.Object |
|
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.FirebaseRules.v1.Data.Release>.GetBody()
InitParameters()
Initializes Create parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.FirebaseRules.v1.FirebaseRulesBaseServiceRequest<Google.Apis.FirebaseRules.v1.Data.Release>.InitParameters()
Implements
Google.Apis.Requests.IClientServiceRequest<TResponse>
Google.Apis.Requests.IClientServiceRequest