Class ProjectsResource.SitesResource.ChannelsResource.ReleasesResource.CreateRequest
Creates a new release, which makes the content of the specified version actively display on the appropriate URL(s).
Inheritance
ProjectsResource.SitesResource.ChannelsResource.ReleasesResource.CreateRequest
Inherited Members
Namespace: Google.Apis.FirebaseHosting.v1beta1
Assembly: Google.Apis.FirebaseHosting.v1beta1.dll
Syntax
public class ProjectsResource.SitesResource.ChannelsResource.ReleasesResource.CreateRequest : FirebaseHostingBaseServiceRequest<Release>, IClientServiceRequest<Release>, IClientServiceRequest
Constructors
CreateRequest(IClientService, Release, string)
Constructs a new Create request.
Declaration
public CreateRequest(IClientService service, Release body, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
Release | body | |
string | parent |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.FirebaseHosting.v1beta1.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.FirebaseHosting.v1beta1.Data.Release>.MethodName
Parent
Required. The site or channel to which the release belongs, in either of the following formats: - sites/SITE_ID - sites/SITE_ID/channels/CHANNEL_ID
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { 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.FirebaseHosting.v1beta1.Data.Release>.RestPath
VersionName
The unique identifier for a version, in the format: sites/SITE_ID/versions/ VERSION_ID The
SITE_ID in this version identifier must match the SITE_ID in the parent
parameter. This
query parameter must be empty if the type
field in the request body is SITE_DISABLE
.
Declaration
[RequestParameter("versionName", RequestParameterType.Query)]
public virtual string VersionName { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.FirebaseHosting.v1beta1.Data.Release>.GetBody()
InitParameters()
Initializes Create parameter list.
Declaration
protected override void InitParameters()