Reference documentation and code samples for the Google Cloud Backup Dr V1 Client class GetBackupRequest.
Request message for getting a Backup.
Generated from protobuf message google.cloud.backupdr.v1.GetBackupRequest
Namespace
Google \ Cloud \ BackupDR \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ name
string
Required. Name of the data source resource name, in the format 'projects/{project_id}/locations/{location}/backupVaults/{backupVault}/dataSources/{datasource}/backups/{backup}'
↳ view
int
Optional. Reserved for future use to provide a BASIC & FULL view of Backup resource.
getName
Required. Name of the data source resource name, in the format
'projects/{project_id}/locations/{location}/backupVaults/{backupVault}/dataSources/{datasource}/backups/{backup}'
Returns
Type
Description
string
setName
Required. Name of the data source resource name, in the format
'projects/{project_id}/locations/{location}/backupVaults/{backupVault}/dataSources/{datasource}/backups/{backup}'
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getView
Optional. Reserved for future use to provide a BASIC & FULL view of Backup
resource.
Returns
Type
Description
int
setView
Optional. Reserved for future use to provide a BASIC & FULL view of Backup
resource.
Parameter
Name
Description
var
int
Returns
Type
Description
$this
static::build
Parameter
Name
Description
name
string
Required. Name of the data source resource name, in the format
'projects/{project_id}/locations/{location}/backupVaults/{backupVault}/dataSources/{datasource}/backups/{backup}'
Please see BackupDRClient::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 2025-09-04 UTC."],[],[],null,["# Google Cloud Backup Dr V1 Client - Class GetBackupRequest (0.7.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.7.0 (latest)](/php/docs/reference/cloud-backupdr/latest/V1.GetBackupRequest)\n- [0.6.2](/php/docs/reference/cloud-backupdr/0.6.2/V1.GetBackupRequest)\n- [0.5.1](/php/docs/reference/cloud-backupdr/0.5.1/V1.GetBackupRequest)\n- [0.4.2](/php/docs/reference/cloud-backupdr/0.4.2/V1.GetBackupRequest)\n- [0.3.0](/php/docs/reference/cloud-backupdr/0.3.0/V1.GetBackupRequest)\n- [0.2.0](/php/docs/reference/cloud-backupdr/0.2.0/V1.GetBackupRequest)\n- [0.1.0](/php/docs/reference/cloud-backupdr/0.1.0/V1.GetBackupRequest) \nReference documentation and code samples for the Google Cloud Backup Dr V1 Client class GetBackupRequest.\n\nRequest message for getting a Backup.\n\nGenerated from protobuf message `google.cloud.backupdr.v1.GetBackupRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ BackupDR \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nRequired. Name of the data source resource name, in the format\n'projects/{project_id}/locations/{location}/backupVaults/{backupVault}/dataSources/{datasource}/backups/{backup}'\n\n### setName\n\nRequired. Name of the data source resource name, in the format\n'projects/{project_id}/locations/{location}/backupVaults/{backupVault}/dataSources/{datasource}/backups/{backup}'\n\n### getView\n\nOptional. Reserved for future use to provide a BASIC \\& FULL view of Backup\nresource.\n\n### setView\n\nOptional. Reserved for future use to provide a BASIC \\& FULL view of Backup\nresource.\n\n### static::build"]]