Show / Hide Table of Contents

Class SitesResource.VersionsResource.PatchRequest

Updates the specified metadata for the specified version. This method will fail with FAILED_PRECONDITION in the event of an invalid state transition. The supported state transitions for a version are from CREATED to FINALIZED. Use DeleteVersion to set the status of a version to DELETED.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<Version>
FirebaseHostingBaseServiceRequest<Version>
SitesResource.VersionsResource.PatchRequest
Implements
IClientServiceRequest<Version>
IClientServiceRequest
Inherited Members
FirebaseHostingBaseServiceRequest<Version>.Xgafv
FirebaseHostingBaseServiceRequest<Version>.AccessToken
FirebaseHostingBaseServiceRequest<Version>.Alt
FirebaseHostingBaseServiceRequest<Version>.Callback
FirebaseHostingBaseServiceRequest<Version>.Fields
FirebaseHostingBaseServiceRequest<Version>.Key
FirebaseHostingBaseServiceRequest<Version>.OauthToken
FirebaseHostingBaseServiceRequest<Version>.PrettyPrint
FirebaseHostingBaseServiceRequest<Version>.QuotaUser
FirebaseHostingBaseServiceRequest<Version>.UploadType
FirebaseHostingBaseServiceRequest<Version>.UploadProtocol
ClientServiceRequest<Version>.Execute()
ClientServiceRequest<Version>.ExecuteAsStream()
ClientServiceRequest<Version>.ExecuteAsync()
ClientServiceRequest<Version>.ExecuteAsync(CancellationToken)
ClientServiceRequest<Version>.ExecuteAsStreamAsync()
ClientServiceRequest<Version>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<Version>.CreateRequest(bool?)
ClientServiceRequest<Version>.GenerateRequestUri()
ClientServiceRequest<Version>.GetDefaultETagAction(string)
ClientServiceRequest<Version>.ETagAction
ClientServiceRequest<Version>.ModifyRequest
ClientServiceRequest<Version>.ValidateParameters
ClientServiceRequest<Version>.ApiVersion
ClientServiceRequest<Version>.RequestParameters
ClientServiceRequest<Version>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.FirebaseHosting.v1beta1
Assembly: Google.Apis.FirebaseHosting.v1beta1.dll
Syntax
public class SitesResource.VersionsResource.PatchRequest : FirebaseHostingBaseServiceRequest<Version>, IClientServiceRequest<Version>, IClientServiceRequest

Constructors

PatchRequest(IClientService, Version, string)

Constructs a new Patch request.

Declaration
public PatchRequest(IClientService service, Version body, string name)
Parameters
Type Name Description
IClientService service
Version 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.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

Name

The fully-qualified resource name for the version, in the format: sites/ SITE_ID/versions/VERSION_ID This name is provided in the response body when you call CreateVersion.

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.FirebaseHosting.v1beta1.Data.Version>.RestPath

UpdateMask

A set of field names from your version that you want to update. A field will be overwritten if, and only if, it's in the mask. If a mask is not provided then a default mask of only status will be used.

Declaration
[RequestParameter("updateMask", RequestParameterType.Query)]
public virtual object UpdateMask { get; set; }
Property Value
Type Description
object

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 Patch parameter list.

Declaration
protected override void InitParameters()
Overrides
FirebaseHostingBaseServiceRequest<Version>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX