Show / Hide Table of Contents

Class BackupsResource.UpdateBackupRequest

Updates the retention period and the description of the backup. You can use this API to update final backups only.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<Operation>
SQLAdminBaseServiceRequest<Operation>
BackupsResource.UpdateBackupRequest
Implements
IClientServiceRequest<Operation>
IClientServiceRequest
Inherited Members
SQLAdminBaseServiceRequest<Operation>.Xgafv
SQLAdminBaseServiceRequest<Operation>.AccessToken
SQLAdminBaseServiceRequest<Operation>.Alt
SQLAdminBaseServiceRequest<Operation>.Callback
SQLAdminBaseServiceRequest<Operation>.Fields
SQLAdminBaseServiceRequest<Operation>.Key
SQLAdminBaseServiceRequest<Operation>.OauthToken
SQLAdminBaseServiceRequest<Operation>.PrettyPrint
SQLAdminBaseServiceRequest<Operation>.QuotaUser
SQLAdminBaseServiceRequest<Operation>.UploadType
SQLAdminBaseServiceRequest<Operation>.UploadProtocol
ClientServiceRequest<Operation>.Execute()
ClientServiceRequest<Operation>.ExecuteAsStream()
ClientServiceRequest<Operation>.ExecuteAsync()
ClientServiceRequest<Operation>.ExecuteAsync(CancellationToken)
ClientServiceRequest<Operation>.ExecuteAsStreamAsync()
ClientServiceRequest<Operation>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<Operation>.CreateRequest(bool?)
ClientServiceRequest<Operation>.GenerateRequestUri()
ClientServiceRequest<Operation>.GetDefaultETagAction(string)
ClientServiceRequest<Operation>.ETagAction
ClientServiceRequest<Operation>.ModifyRequest
ClientServiceRequest<Operation>.ValidateParameters
ClientServiceRequest<Operation>.ApiVersion
ClientServiceRequest<Operation>.RequestParameters
ClientServiceRequest<Operation>.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.SQLAdmin.v1beta4
Assembly: Google.Apis.SQLAdmin.v1beta4.dll
Syntax
public class BackupsResource.UpdateBackupRequest : SQLAdminBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest

Constructors

UpdateBackupRequest(IClientService, Backup, string)

Constructs a new UpdateBackup request.

Declaration
public UpdateBackupRequest(IClientService service, Backup body, string name)
Parameters
Type Name Description
IClientService service
Backup body
string name

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<Operation>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<Operation>.MethodName

Name

Output only. The resource name of the backup. Format: projects/{project}/backups/{backup}.

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
ClientServiceRequest<Operation>.RestPath

UpdateMask

The list of fields that you can update. You can update only the description and retention period of the final backup.

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
ClientServiceRequest<Operation>.GetBody()

InitParameters()

Initializes UpdateBackup parameter list.

Declaration
protected override void InitParameters()
Overrides
SQLAdminBaseServiceRequest<Operation>.InitParameters()

Implements

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