Google Cloud Sql Admin V1 Client - Class UpdateBackupRequest (1.6.0)

Reference documentation and code samples for the Google Cloud Sql Admin V1 Client class UpdateBackupRequest.

The request payload to update the backup.

Generated from protobuf message google.cloud.sql.v1.UpdateBackupRequest

Namespace

Google \ Cloud \ Sql \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ backup 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 Google\Protobuf\FieldMask

The list of fields that you can update. You can update only the description and retention period of the final backup.

getBackup

Required. The backup to update.

The backup’s name field is used to identify the backup to update. Format: projects/{project}/backups/{backup}

Returns
Type Description
Backup|null

hasBackup

clearBackup

setBackup

Required. The backup to update.

The backup’s name field is used to identify the backup to update. Format: projects/{project}/backups/{backup}

Parameter
Name Description
var Backup
Returns
Type Description
$this

getUpdateMask

The list of fields that you can update. You can update only the description and retention period of the final backup.

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

The list of fields that you can update. You can update only the description and retention period of the final backup.

Parameter
Name Description
var Google\Protobuf\FieldMask
Returns
Type Description
$this

static::build

Parameters
Name Description
backup Backup

Required. The backup to update. The backup’s name field is used to identify the backup to update. Format: projects/{project}/backups/{backup}

updateMask 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
Type Description
UpdateBackupRequest