public sealed class UpdateBackupRequest : IMessage<UpdateBackupRequest>, IEquatable<UpdateBackupRequest>, IDeepCloneable<UpdateBackupRequest>, IBufferMessage, IMessage
The request for [UpdateBackup][google.spanner.admin.database.v1.DatabaseAdmin.UpdateBackup].
Implements
IMessage<UpdateBackupRequest>, IEquatable<UpdateBackupRequest>, IDeepCloneable<UpdateBackupRequest>, IBufferMessage, IMessageNamespace
Google.Cloud.Spanner.Admin.Database.V1Assembly
Google.Cloud.Spanner.Admin.Database.V1.dll
Constructors
UpdateBackupRequest()
public UpdateBackupRequest()
UpdateBackupRequest(UpdateBackupRequest)
public UpdateBackupRequest(UpdateBackupRequest other)
Parameter | |
---|---|
Name | Description |
other | UpdateBackupRequest |
Properties
Backup
public Backup Backup { get; set; }
Required. The backup to update. backup.name
, and the fields to be updated
as specified by update_mask
are required. Other fields are ignored.
Update is only supported for the following fields:
backup.expire_time
.
Property Value | |
---|---|
Type | Description |
Backup |
UpdateMask
public FieldMask UpdateMask { get; set; }
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.
Property Value | |
---|---|
Type | Description |
FieldMask |