# NetApp V1 API - Class Google::Cloud::NetApp::V1::CreateBackupVaultRequest (v2.11.0)

2.11.0 (latest) 2.10.0 2.9.0 2.8.0 2.7.0 2.6.1 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.2 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.1 1.0.0 0.6.0 0.5.2 0.4.2 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the NetApp V1 API class Google::Cloud::NetApp::V1::CreateBackupVaultRequest.

CreateBackupVaultRequest creates a backup vault.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #backup_vault

    def backup_vault() -> ::Google::Cloud::NetApp::V1::BackupVault

**Returns**

- ([::Google::Cloud::NetApp::V1::BackupVault](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-netapp-v1/latest/Google-Cloud-NetApp-V1-BackupVault)) --- Required. A backupVault resource

### #backup_vault=

    def backup_vault=(value) -> ::Google::Cloud::NetApp::V1::BackupVault

**Parameter**

- **value** ([::Google::Cloud::NetApp::V1::BackupVault](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-netapp-v1/latest/Google-Cloud-NetApp-V1-BackupVault)) --- Required. A backupVault resource
**Returns**

- ([::Google::Cloud::NetApp::V1::BackupVault](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-netapp-v1/latest/Google-Cloud-NetApp-V1-BackupVault)) --- Required. A backupVault resource

### #backup_vault_id

    def backup_vault_id() -> ::String

**Returns**

- (::String) --- Required. The ID to use for the backupVault. The ID must be unique within the specified location. Must contain only letters, numbers and hyphen, with the first character a letter, the last a letter or a number, and a 63 character maximum.

### #backup_vault_id=

    def backup_vault_id=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The ID to use for the backupVault. The ID must be unique within the specified location. Must contain only letters, numbers and hyphen, with the first character a letter, the last a letter or a number, and a 63 character maximum.
**Returns**

- (::String) --- Required. The ID to use for the backupVault. The ID must be unique within the specified location. Must contain only letters, numbers and hyphen, with the first character a letter, the last a letter or a number, and a 63 character maximum.

### #parent

    def parent() -> ::String

**Returns**

- (::String) --- Required. The location to create the backup vaults, in the format `projects/{project_id}/locations/{location}`

### #parent=

    def parent=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The location to create the backup vaults, in the format `projects/{project_id}/locations/{location}`
**Returns**

- (::String) --- Required. The location to create the backup vaults, in the format `projects/{project_id}/locations/{location}`