Class ProjectsResource.SitesResource.VersionsResource.CreateRequest
Creates a new version for the specified site.
Inheritance
ProjectsResource.SitesResource.VersionsResource.CreateRequest
Inherited Members
Namespace: Google.Apis.FirebaseHosting.v1beta1
Assembly: Google.Apis.FirebaseHosting.v1beta1.dll
Syntax
public class ProjectsResource.SitesResource.VersionsResource.CreateRequest : FirebaseHostingBaseServiceRequest<Version>, IClientServiceRequest<Version>, IClientServiceRequest
Constructors
CreateRequest(IClientService, Version, string)
Constructs a new Create request.
Declaration
public CreateRequest(IClientService service, Version body, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
Version | 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.Version>.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.Version>.MethodName
Parent
Required. The site in which to create the version, in the format: sites/ SITE_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.Version>.RestPath
SizeBytes
The self-reported size of the version. This value is used for a pre-emptive quota check for legacy version uploads.
Declaration
[RequestParameter("sizeBytes", RequestParameterType.Query)]
public virtual long? SizeBytes { get; set; }
Property Value
Type | Description |
---|---|
long? |
VersionId
A unique id for the new version. This is was only specified for legacy version creations, and should be blank.
Declaration
[RequestParameter("versionId", RequestParameterType.Query)]
public virtual string VersionId { 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.Version>.GetBody()
InitParameters()
Initializes Create parameter list.
Declaration
protected override void InitParameters()