Class ProjectsResource.ReleasesResource.PatchRequest
Update a Release
via PATCH. Only updates to ruleset_name
will be honored. Release
rename is not
supported. To create a Release
use the CreateRelease method.
Inheritance
ProjectsResource.ReleasesResource.PatchRequest
Inherited Members
Namespace: Google.Apis.FirebaseRules.v1
Assembly: Google.Apis.FirebaseRules.v1.dll
Syntax
public class ProjectsResource.ReleasesResource.PatchRequest : FirebaseRulesBaseServiceRequest<Release>, IClientServiceRequest<Release>, IClientServiceRequest
Constructors
PatchRequest(IClientService, UpdateReleaseRequest, string)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, UpdateReleaseRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
UpdateReleaseRequest | 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.Release>.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.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 |
---|---|
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.Release>.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.Release>.GetBody()
InitParameters()
Initializes Patch parameter list.
Declaration
protected override void InitParameters()