# Backup and DR Service V1 API - Class Google::Cloud::BackupDR::V1::GetBackupVaultRequest (v1.10.0)

1.10.0 (latest) 1.9.0 1.8.0 1.7.0 1.6.0 1.5.0 1.4.1 1.3.0 1.2.0 1.1.0 1.0.1 0.5.0 0.4.0 0.3.0 0.2.1 0.1.0 Reference documentation and code samples for the Backup and DR Service V1 API class Google::Cloud::BackupDR::V1::GetBackupVaultRequest.

Request message for getting a BackupVault.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #name

    def name() -> ::String

**Returns**

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

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. Name of the backupvault store resource name, in the format 'projects/{project_id}/locations/{location}/backupVaults/{resource_name}'
**Returns**

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

### #view

    def view() -> ::Google::Cloud::BackupDR::V1::BackupVaultView

**Returns**

- ([::Google::Cloud::BackupDR::V1::BackupVaultView](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-backupdr-v1/latest/Google-Cloud-BackupDR-V1-BackupVaultView)) --- Optional. Reserved for future use to provide a BASIC \& FULL view of Backup Vault

### #view=

    def view=(value) -> ::Google::Cloud::BackupDR::V1::BackupVaultView

**Parameter**

- **value** ([::Google::Cloud::BackupDR::V1::BackupVaultView](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-backupdr-v1/latest/Google-Cloud-BackupDR-V1-BackupVaultView)) --- Optional. Reserved for future use to provide a BASIC \& FULL view of Backup Vault
**Returns**

- ([::Google::Cloud::BackupDR::V1::BackupVaultView](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-backupdr-v1/latest/Google-Cloud-BackupDR-V1-BackupVaultView)) --- Optional. Reserved for future use to provide a BASIC \& FULL view of Backup Vault