Cloud SQL Admin V1 API - Class Google::Cloud::Sql::V1::UpdateBackupRequest (v0.1.0)

Reference documentation and code samples for the Cloud SQL Admin V1 API class Google::Cloud::Sql::V1::UpdateBackupRequest.

The request payload to update the backup.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#backup

def backup() -> ::Google::Cloud::Sql::V1::Backup
Returns
  • (::Google::Cloud::Sql::V1::Backup) — Required. The backup to update. The backup’s name field is used to identify the backup to update. Format: projects/{project}/backups/{backup}

#backup=

def backup=(value) -> ::Google::Cloud::Sql::V1::Backup
Parameter
  • value (::Google::Cloud::Sql::V1::Backup) — Required. The backup to update. The backup’s name field is used to identify the backup to update. Format: projects/{project}/backups/{backup}
Returns
  • (::Google::Cloud::Sql::V1::Backup) — Required. The backup to update. The backup’s name field is used to identify the backup to update. Format: projects/{project}/backups/{backup}

#update_mask

def update_mask() -> ::Google::Protobuf::FieldMask
Returns
  • (::Google::Protobuf::FieldMask) — The list of fields that you can update. You can update only the description and retention period of the final backup.

#update_mask=

def update_mask=(value) -> ::Google::Protobuf::FieldMask
Parameter
  • value (::Google::Protobuf::FieldMask) — The list of fields that you can update. You can update only the description and retention period of the final backup.
Returns
  • (::Google::Protobuf::FieldMask) — The list of fields that you can update. You can update only the description and retention period of the final backup.