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
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

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
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
Create a Mobile Website
View Site in Mobile | Classic
Share by: