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

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

The request payload to get the backup.

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

Namespace

Google \ Cloud \ Sql \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the backup to retrieve. Format: projects/{project}/backups/{backup}

getName

Required. The name of the backup to retrieve.

Format: projects/{project}/backups/{backup}

Returns
Type Description
string

setName

Required. The name of the backup to retrieve.

Format: projects/{project}/backups/{backup}

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. The name of the backup to retrieve. Format: projects/{project}/backups/{backup} Please see SqlBackupsServiceClient::backupName() for help formatting this field.

Returns
Type Description
GetBackupRequest