Class ProjectsResource.InstancesResource.BackupsResource.PatchRequest
Updates a pending or completed Backup.
Inheritance
Inherited Members
Namespace: Google.Apis.Spanner.v1
Assembly: Google.Apis.Spanner.v1.dll
Syntax
public class ProjectsResource.InstancesResource.BackupsResource.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 | |
string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
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 |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
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 |
---|---|
object |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Patch parameter list.
Declaration
protected override void InitParameters()