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 messagegoogle.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 seeSqlBackupsServiceClient::backupName()for help formatting this field.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-01-09 UTC."],[],[]]