Class: Google::Cloud::Spanner::Admin::Database::V1::UpdateBackupRequest
- Inherits:
-
Object
- Object
- Google::Cloud::Spanner::Admin::Database::V1::UpdateBackupRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/spanner/admin/database/v1/backup.rb
Overview
The request for UpdateBackup.
Instance Attribute Summary collapse
-
#backup ⇒ ::Google::Cloud::Spanner::Admin::Database::V1::Backup
Required.
-
#update_mask ⇒ ::Google::Protobuf::FieldMask
Required.
Instance Attribute Details
#backup ⇒ ::Google::Cloud::Spanner::Admin::Database::V1::Backup
Returns 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
.
331 332 333 334 |
# File 'proto_docs/google/spanner/admin/database/v1/backup.rb', line 331 class UpdateBackupRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#update_mask ⇒ ::Google::Protobuf::FieldMask
Returns 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.
331 332 333 334 |
# File 'proto_docs/google/spanner/admin/database/v1/backup.rb', line 331 class UpdateBackupRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |