Show / Hide Table of Contents

Class ProjectsResource.InstancesResource.BackupsResource.PatchRequest

Updates a pending or completed Backup.

Inheritance
System.Object
ClientServiceRequest
ClientServiceRequest<Backup>
SpannerBaseServiceRequest<Backup>
ProjectsResource.InstancesResource.BackupsResource.PatchRequest
Implements
IClientServiceRequest<Backup>
IClientServiceRequest
Inherited Members
SpannerBaseServiceRequest<Backup>.Xgafv
SpannerBaseServiceRequest<Backup>.AccessToken
SpannerBaseServiceRequest<Backup>.Alt
SpannerBaseServiceRequest<Backup>.Callback
SpannerBaseServiceRequest<Backup>.Fields
SpannerBaseServiceRequest<Backup>.Key
SpannerBaseServiceRequest<Backup>.OauthToken
SpannerBaseServiceRequest<Backup>.PrettyPrint
SpannerBaseServiceRequest<Backup>.QuotaUser
SpannerBaseServiceRequest<Backup>.UploadType
SpannerBaseServiceRequest<Backup>.UploadProtocol
ClientServiceRequest<Backup>.Execute()
ClientServiceRequest<Backup>.ExecuteAsStream()
ClientServiceRequest<Backup>.ExecuteAsync()
ClientServiceRequest<Backup>.ExecuteAsync(CancellationToken)
ClientServiceRequest<Backup>.ExecuteAsStreamAsync()
ClientServiceRequest<Backup>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<Backup>.CreateRequest(Nullable<Boolean>)
ClientServiceRequest<Backup>.GenerateRequestUri()
ClientServiceRequest<Backup>.GetDefaultETagAction(String)
ClientServiceRequest<Backup>.ETagAction
ClientServiceRequest<Backup>.ModifyRequest
ClientServiceRequest<Backup>.ValidateParameters
ClientServiceRequest<Backup>.RequestParameters
ClientServiceRequest<Backup>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Spanner.v1
Assembly: Google.Apis.Spanner.v1.dll
Syntax
public class PatchRequest : SpannerBaseServiceRequest<Backup>, IClientServiceRequest<Backup>, IClientServiceRequest

Constructors

PatchRequest(IClientService, Backup, String)

Constructs a new Patch request.

Declaration
public PatchRequest(IClientService service, Backup body, string name)
Parameters
Type Name Description
IClientService service
Backup body
System.String name

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Spanner.v1.Data.Backup>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Spanner.v1.Data.Backup>.MethodName

Name

Output only for the CreateBackup operation. Required for the UpdateBackup operation. A globally unique identifier for the backup which cannot be changed. Values are of the form projects//instances//backups/a-z*[a-z0-9] The final segment of the name must be between 2 and 60 characters in length. The backup is stored in the location(s) specified in the instance configuration of the instance containing the backup, identified by the prefix of the backup name of the form projects//instances/.

Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type Description
System.String

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Spanner.v1.Data.Backup>.RestPath

UpdateMask

Required. A mask specifying which fields (e.g. expire_time) in the Backup resource should be updated. This mask is relative to the Backup resource, not to the request message. The field mask must always be specified; this prevents any future fields from being erased accidentally by clients that do not know about them.

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

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
System.Object
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Spanner.v1.Data.Backup>.GetBody()

InitParameters()

Initializes Patch parameter list.

Declaration
protected override void InitParameters()
Overrides
Google.Apis.Spanner.v1.SpannerBaseServiceRequest<Google.Apis.Spanner.v1.Data.Backup>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In This Article
Back to top