Google Cloud Backup Dr V1 Client - Class GetBackupRequest (0.4.1)

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.

Returns
Type Description
GetBackupRequest