Class: Google::Spanner::Admin::Database::V1::UpdateBackupRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/spanner/admin/database/v1/doc/google/spanner/admin/database/v1/backup.rb

Overview

The request for UpdateBackup.

Instance Attribute Summary collapse

Instance Attribute Details

#backupGoogle::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.

Returns:

  • (Google::Spanner::Admin::Database::V1::Backup)

    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.


148
# File 'lib/google/cloud/spanner/admin/database/v1/doc/google/spanner/admin/database/v1/backup.rb', line 148

class UpdateBackupRequest; end

#update_maskGoogle::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.

Returns:

  • (Google::Protobuf::FieldMask)

    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.



148
# File 'lib/google/cloud/spanner/admin/database/v1/doc/google/spanner/admin/database/v1/backup.rb', line 148

class UpdateBackupRequest; end