Google Cloud Backup Dr V1 Client - Class GetBackupVaultRequest (0.4.0)

Reference documentation and code samples for the Google Cloud Backup Dr V1 Client class GetBackupVaultRequest.

Request message for getting a BackupVault.

Generated from protobuf message google.cloud.backupdr.v1.GetBackupVaultRequest

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 backupvault store resource name, in the format 'projects/{project_id}/locations/{location}/backupVaults/{resource_name}'

↳ view int

Optional. Reserved for future use to provide a BASIC & FULL view of Backup Vault

getName

Required. Name of the backupvault store resource name, in the format 'projects/{project_id}/locations/{location}/backupVaults/{resource_name}'

Returns
Type Description
string

setName

Required. Name of the backupvault store resource name, in the format 'projects/{project_id}/locations/{location}/backupVaults/{resource_name}'

Parameter
Name Description
var string
Returns
Type Description
$this

getView

Optional. Reserved for future use to provide a BASIC & FULL view of Backup Vault

Returns
Type Description
int

setView

Optional. Reserved for future use to provide a BASIC & FULL view of Backup Vault

Parameter
Name Description
var int
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. Name of the backupvault store resource name, in the format 'projects/{project_id}/locations/{location}/backupVaults/{resource_name}' Please see Google\Cloud\BackupDR\V1\BackupDRClient::backupVaultName() for help formatting this field.

Returns
Type Description
Google\Cloud\BackupDR\V1\GetBackupVaultRequest